<h1>PK Clear</h1>
<form action="/admin/modules/pkclear" method="post">
    <table>
        <tr>
            <td>Enable</td>
            <td>
                {if $Config.Enable}
                    <input name="Enable" id="Enable" type="checkbox" checked/>
                {else}
                    <input name="Enable" id="Enable" type="checkbox"/>
                {/if}
            </td>
        </tr>
        <tr>
            <td>Need Level</td>
            <td><input name="NeedLevel" id="NeedLevel" value="{$Config.NeedLevel}" type="text"/></td>
        </tr>
        <tr>
            <td>Need Reset</td>
            <td><input name="NeedReset" id="NeedReset" value="{$Config.NeedReset}" type="text"/></td>
        </tr>

        <tr><td colspan="2">Price Pk Clear</td></tr>
        {foreach $Valutes item=$val key=$i}
            {if $val.Name != ''}
                <tr>
                    <td>
                        Valute {$i}({$val.Name})
                    </td>
                    <td>
                        <input name="val_take_{$i}" value="{$Config.Take.Valutes[$i]}" type="text">
                    </td>
                </tr>
            {/if}
        {/foreach}
        <tr>
            <td colspan="2">
                <button class="def_adm_btn" name="pkclear_btn">Save</button>
            </td>
        </tr>
    </table>
</form>