<h1>General Configs</h1>
<form method="post" action="/admin/general">
    <table width="30%">
        <tr>
            <td>Default Lang</td>
            <td>
                <select name="default_lang" id="def_lang">
                    {if $Config.default_lang == "ru"}
                        <option selected value="ru">Russian</option>
                        <option value="en">English</option>
                    {elseif $Config.default_lang == "en"}
                        <option value="ru">Russian</option>
                        <option selected value="en">English</option>
                    {/if}
                </select>
            </td>
        </tr>
        <tr>
            <td>Template</td>
            <td>
                <input name="template" id="template" value="{$Config.template}"/>
            </td>
        </tr>
        <tr>
            <td>Login simple page</td>
            <td>
                {if $Config.LoginSimplePage}
                    <input name="LoginSimplePage" id="LoginSimplePage" type="checkbox" checked/>
                {else}
                    <input name="LoginSimplePage" id="LoginSimplePage" type="checkbox"/>
                {/if}
            </td>
        </tr>
        <tr>
            <td>Register simple page</td>
            <td>
                {if $Config.RegisterSimplePage}
                    <input name="RegisterSimplePage" id="RegisterSimplePage" type="checkbox" checked/>
                {else}
                    <input name="RegisterSimplePage" id="RegisterSimplePage" type="checkbox"/>
                {/if}
            </td>
        </tr>
        <tr>
            <td>Restore simple page</td>
            <td>
                {if $Config.RestoreSimplePage}
                    <input name="RestoreSimplePage" id="RestoreSimplePage" type="checkbox" checked/>
                {else}
                    <input name="RestoreSimplePage" id="RestoreSimplePage" type="checkbox"/>
                {/if}
            </td>
        </tr>
        <tr>
            <td>Rage Fight</td>
            <td>
                {if $Config.RF}
                    <input name="RF" id="RF" type="checkbox" checked/>
                {else}
                    <input name="RF" id="RF" type="checkbox"/>
                {/if}
            </td>
        </tr>
        <tr><th colspan="2">Intro Page</th></tr>
        <tr>
            <td>Enable</td>
            <td>
                {if $Config.IntroEnable}
                    <input name="IntroEnable" id="IntroEnable" type="checkbox" checked/>
                {else}
                    <input name="IntroEnable" id="IntroEnable" type="checkbox"/>
                {/if}
            </td>
        </tr>
        <tr>
            <td>Action Time(Count Hour)</td>
            <td>
                <input name="IntroActionTime" type="text" id="IntroActionTime" value="{$Config.IntroActionTime}"/>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <button class="def_adm_btn" name="general_btn">Save</button>
            </td>
        </tr>

    </table>
</form>