<h1>Character Market</h1>
<form action="/admin/modules/charmarket" 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>Check Email(to sell)</td>
            <td>
                {if $Config.CheckEmail}
                    <input name="CheckEmail" id="CheckEmail" type="checkbox" checked/>
                {else}
                    <input name="CheckEmail" id="CheckEmail" type="checkbox"/>
                {/if}
            </td>
        </tr>
        <tr>
            <td>Valute (Default: {$Valutes[0].Name}) Need only account valutes</td>
            <td>
                <select name="main_valute" id="main_valute">
                    {foreach $Valutes item=$val key=$i}
                        {if $val.Name != '' && $val.AccountNameColumn != ''}
                            {if $Config.Valute == $i}
                                <option value="{$i}" selected>{$val.Name}</option>
                            {else}
                                <option value="{$i}">{$val.Name}</option>
                            {/if}
                        {/if}
                    {/foreach}
                </select>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <button class="def_adm_btn" name="charmarket_btn">Save</button>
            </td>
        </tr>
    </table>
</form>