<?php
/* Smarty version 3.1.29, created on 2016-10-27 00:33:18
  from "/var/www/fr8992/data/www/evomu.ru/views/templates/evomu/user/login.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_5811211e830340_78740255',
  'file_dependency' => 
  array (
    '12982ae6a9c1843f2285e23e2a653bde3e70b726' => 
    array (
      0 => '/var/www/fr8992/data/www/evomu.ru/views/templates/evomu/user/login.tpl',
      1 => 1472146384,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5811211e830340_78740255 ($_smarty_tpl) {
?>

<div style="width:100%;" class="login">
    <div class="title"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['LoginTitle'];?>
</div>
    <hr>
    <form action="/user/login" method="post">
        <div class="login-box">
            <i class="icon-user"></i><input id="login" name="login" type="text" placeholder="<?php echo $_smarty_tpl->tpl_vars['Lang']->value['LoginLogin'];?>
">
        </div>
        <div class="pass-box">
            <i class="icon-lock"></i><input id="pass" name="pass" type="password" placeholder="<?php echo $_smarty_tpl->tpl_vars['Lang']->value['LoginPassword'];?>
">
        </div>
        <?php if ($_smarty_tpl->tpl_vars['CountDB']->value > 1) {?>
            <tr>
                
                <td>
                    <select name="login_db" id="select_db">
                        <?php
$_smarty_tpl->tpl_vars['num_db'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['num_db']->step = 1;$_smarty_tpl->tpl_vars['num_db']->total = (int) min(ceil(($_smarty_tpl->tpl_vars['num_db']->step > 0 ? $_smarty_tpl->tpl_vars['CountDB']->value-1+1 - (0) : 0-($_smarty_tpl->tpl_vars['CountDB']->value-1)+1)/abs($_smarty_tpl->tpl_vars['num_db']->step)),5);
if ($_smarty_tpl->tpl_vars['num_db']->total > 0) {
for ($_smarty_tpl->tpl_vars['num_db']->value = 0, $_smarty_tpl->tpl_vars['num_db']->iteration = 1;$_smarty_tpl->tpl_vars['num_db']->iteration <= $_smarty_tpl->tpl_vars['num_db']->total;$_smarty_tpl->tpl_vars['num_db']->value += $_smarty_tpl->tpl_vars['num_db']->step, $_smarty_tpl->tpl_vars['num_db']->iteration++) {
$_smarty_tpl->tpl_vars['num_db']->first = $_smarty_tpl->tpl_vars['num_db']->iteration == 1;$_smarty_tpl->tpl_vars['num_db']->last = $_smarty_tpl->tpl_vars['num_db']->iteration == $_smarty_tpl->tpl_vars['num_db']->total;?>
                            <option value="<?php echo $_smarty_tpl->tpl_vars['num_db']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['NamesDB']->value[$_smarty_tpl->tpl_vars['num_db']->value];?>
</option>
                        <?php }
}
?>

                    </select>
                </td>
            </tr>
            <br>
        <?php }?>
        <div>
            <i class="icon-picture"></i><input type="text" placeholder="<?php echo $_smarty_tpl->tpl_vars['Lang']->value['LoginCaptcha'];?>
" style="width:80px;" name="captcha" id="keystring" maxlength="6">
            <img src="/captcha" align="middle" id="captcha2" onclick="this.src='/captcha'">
        </div>

        <br>
        <button class="btn-enter auth" name="login_btn" type="submit" id="btn_s"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['LoginButton'];?>
</button>
        <img src="images/loader.gif" alt="loader" id="loader" hidden="" style="display: none;">
    </form>
    <?php echo '<script'; ?>
 type="text/javascript" src="js/subm_auth.js?2"><?php echo '</script'; ?>
>
    <hr>
    <div><a href="/user/register"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['LoginRegister'];?>
</a></div>
    <div><a href="/user/restore"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['LoginRestore'];?>
</a></div>
</div><?php }
}
