<?php
/* Smarty version 3.1.29, created on 2016-08-03 11:03:41
  from "/var/www/user179/data/www/evomu.ru/views/templates/evomu/user/restore.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_57a1a55db39b75_22513923',
  'file_dependency' => 
  array (
    '0b42ccdab1f8efd422a344f38bce5d1e98dbd8f5' => 
    array (
      0 => '/var/www/user179/data/www/evomu.ru/views/templates/evomu/user/restore.tpl',
      1 => 1470087126,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_57a1a55db39b75_22513923 ($_smarty_tpl) {
?>
<div id="restore">
    <h1><?php echo $_smarty_tpl->tpl_vars['Lang']->value['RestoreTitle'];?>
</h1>
    <form action="/user/restore" name="recover-form" method="post">
        <div align="center" style="margin:20px 0 20px 0;">
            <table class="cells" style="width:100%">
                <tr>
                    <td width="35%"><b><?php echo $_smarty_tpl->tpl_vars['Lang']->value['RestoreLogin'];?>
</b></td>
                    <td width="65%"><input type="text" name="login" value="" size="20" required maxlength="10" class="custom" style="width:90%"></td>
                </tr>
                <tr>
                    <td><b><?php echo $_smarty_tpl->tpl_vars['Lang']->value['RestoreEmail'];?>
</b></td>
                    <td><input type="text" name="email" value="" size="20" maxlength="35" required class="custom" style="width:90%"></td>
                </tr>
                <?php if ($_smarty_tpl->tpl_vars['CountDB']->value > 1) {?>
                <tr>
                    <td><b><?php echo $_smarty_tpl->tpl_vars['Lang']->value['RestoreDb'];?>
</b></td>
                    <td>
                        <select name="restore_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>
                <?php }?>
                <tr>
                    <td colspan="2" align="left"><span class="small" style="color:#575757">
					<?php echo $_smarty_tpl->tpl_vars['Lang']->value['RestoreMessage'];?>

				</span></td>
                </tr>
            </table>
            <p><input type="hidden" name="recover" value="1"><input type="submit" class="newButton" value="<?php echo $_smarty_tpl->tpl_vars['Lang']->value['RestoreButton'];?>
" name="restore_pass_btn" style="width:100%"></p>
        </div>
    </form>
</div><?php }
}
