<?php
/* Smarty version 3.1.29, created on 2017-06-21 14:45:29
  from "/var/www/h3ysh156/data/www/freyamu.ru/views/templates/default/admin/general/index.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_594a7879a9fa08_33551299',
  'file_dependency' => 
  array (
    '1698f0da5a8a722b1797cb699cb3d653d0b0eaf5' => 
    array (
      0 => '/var/www/h3ysh156/data/www/freyamu.ru/views/templates/default/admin/general/index.tpl',
      1 => 1479256534,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_594a7879a9fa08_33551299 ($_smarty_tpl) {
?>
<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">
                    <?php if ($_smarty_tpl->tpl_vars['Config']->value['default_lang'] == "ru") {?>
                        <option selected value="ru">Russian</option>
                        <option value="en">English</option>
                    <?php } elseif ($_smarty_tpl->tpl_vars['Config']->value['default_lang'] == "en") {?>
                        <option value="ru">Russian</option>
                        <option selected value="en">English</option>
                    <?php }?>
                </select>
            </td>
        </tr>
        <tr>
            <td>Template</td>
            <td>
                <input name="template" id="template" value="<?php echo $_smarty_tpl->tpl_vars['Config']->value['template'];?>
"/>
            </td>
        </tr>
        <tr>
            <td>Login simple page</td>
            <td>
                <?php if ($_smarty_tpl->tpl_vars['Config']->value['LoginSimplePage']) {?>
                    <input name="LoginSimplePage" id="LoginSimplePage" type="checkbox" checked/>
                <?php } else { ?>
                    <input name="LoginSimplePage" id="LoginSimplePage" type="checkbox"/>
                <?php }?>
            </td>
        </tr>
        <tr>
            <td>Register simple page</td>
            <td>
                <?php if ($_smarty_tpl->tpl_vars['Config']->value['RegisterSimplePage']) {?>
                    <input name="RegisterSimplePage" id="RegisterSimplePage" type="checkbox" checked/>
                <?php } else { ?>
                    <input name="RegisterSimplePage" id="RegisterSimplePage" type="checkbox"/>
                <?php }?>
            </td>
        </tr>
        <tr>
            <td>Restore simple page</td>
            <td>
                <?php if ($_smarty_tpl->tpl_vars['Config']->value['RestoreSimplePage']) {?>
                    <input name="RestoreSimplePage" id="RestoreSimplePage" type="checkbox" checked/>
                <?php } else { ?>
                    <input name="RestoreSimplePage" id="RestoreSimplePage" type="checkbox"/>
                <?php }?>
            </td>
        </tr>
        <tr>
            <td>Rage Fight</td>
            <td>
                <?php if ($_smarty_tpl->tpl_vars['Config']->value['RF']) {?>
                    <input name="RF" id="RF" type="checkbox" checked/>
                <?php } else { ?>
                    <input name="RF" id="RF" type="checkbox"/>
                <?php }?>
            </td>
        </tr>
        <tr><th colspan="2">Intro Page</th></tr>
        <tr>
            <td>Enable</td>
            <td>
                <?php if ($_smarty_tpl->tpl_vars['Config']->value['IntroEnable']) {?>
                    <input name="IntroEnable" id="IntroEnable" type="checkbox" checked/>
                <?php } else { ?>
                    <input name="IntroEnable" id="IntroEnable" type="checkbox"/>
                <?php }?>
            </td>
        </tr>
        <tr>
            <td>Action Time(Count Hour)</td>
            <td>
                <input name="IntroActionTime" type="text" id="IntroActionTime" value="<?php echo $_smarty_tpl->tpl_vars['Config']->value['IntroActionTime'];?>
"/>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <button class="def_adm_btn" name="general_btn">Save</button>
            </td>
        </tr>

    </table>
</form><?php }
}
