<h1>Vote</h1>

    <table width="70%">
        <td width="50%">
            <form action="/admin/modules/vote" method="post">
            <table>
                <tr><th colspan="2">MMOTop</th></tr>
                <tr>
                    <td>Enable</td>
                    <td>
                        {if $Config.MMOTop.Enable}
                            <input name="MMOTopEnable" id="MMOTopEnable" type="checkbox" checked/>
                        {else}
                            <input name="MMOTopEnable" id="MMOTopEnable" type="checkbox"/>
                        {/if}
                    </td>

                </tr>
                <tr>
                    <td>Link</td>
                    <td><input name="Link" id="Link" value="{$Config.MMOTop.Link}" type="url"/></td>
                </tr>
                <tr><td colspan="2">Reward to Reset(Normal Type)</td></tr>
                {foreach $Valutes item=$val key=$i}
                    {if $val.Name != ''}
                        <tr>
                            <td>
                                Valute {$i}({$val.Name})
                            </td>
                            <td>
                                <input name="val_mmotop_normal_reward_{$i}" value="{$Config.MMOTop.Reward.Normal.Valutes[$i]}" type="text">
                            </td>
                        </tr>
                    {/if}
                {/foreach}

                <tr>
                <tr><td colspan="2">Reward to Reset(SMS Type)</td></tr>
                {foreach $Valutes item=$val key=$i}
                    {if $val.Name != ''}
                        <tr>
                            <td>
                                Valute {$i}({$val.Name})
                            </td>
                            <td>
                                <input name="val_mmotop_sms_reward_{$i}" value="{$Config.MMOTop.Reward.SMS.Valutes[$i]}" type="text">
                            </td>
                        </tr>
                    {/if}
                {/foreach}

                <tr>
                <tr>
                    <td colspan="2"><button class="def_adm_btn" name="mmotop_vote_btn">Save</button></td>
                </tr>
            </table>
            </form>
        </td>
        <td width="50%">
            <form action="/admin/modules/vote" method="post">
                <table>
                    <tr><th colspan="2">QTop</th></tr>
                    <tr>
                        <td>Enable</td>
                        <td>
                            {if $Config.QTop.Enable}
                                <input name="QTopEnable" id="QTopEnable" type="checkbox" checked/>
                            {else}
                                <input name="QTopEnable" id="QTopEnable" type="checkbox"/>
                            {/if}
                        </td>

                    </tr>
                    <tr>
                        <td>Link</td>
                        <td><input name="Link" id="Link" value="{$Config.QTop.Link}" type="url"/></td>
                    </tr>
                    <tr><td colspan="2">Reward to Reset(Normal Type)</td></tr>
                    {foreach $Valutes item=$val key=$i}
                        {if $val.Name != ''}
                            <tr>
                                <td>
                                    Valute {$i}({$val.Name})
                                </td>
                                <td>
                                    <input name="val_qtop_normal_reward_{$i}" value="{$Config.QTop.Reward.Normal.Valutes[$i]}" type="text">
                                </td>
                            </tr>
                        {/if}
                    {/foreach}

                    <tr>
                    <tr><td colspan="2">Reward to Reset(SMS Type)</td></tr>
                    {foreach $Valutes item=$val key=$i}
                        {if $val.Name != ''}
                            <tr>
                                <td>
                                    Valute {$i}({$val.Name})
                                </td>
                                <td>
                                    <input name="val_qtop_sms_reward_{$i}" value="{$Config.QTop.Reward.Normal.Valutes[$i]}" type="text">
                                </td>
                            </tr>
                        {/if}
                    {/foreach}

                    <tr>
                    <tr>
                        <td colspan="2"><button class="def_adm_btn" name="qtop_vote_btn">Save</button></td>
                    </tr>
                </table>
            </form>
        </td>
    </table>