<?php
/* Smarty version 3.1.29, created on 2016-07-14 20:10:44
  from "/var/www/user179/data/www/evolutionmu.ru/views/templates/evomu/user/register.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_5787e3b491d010_63220831',
  'file_dependency' => 
  array (
    'a01fbe816ccc6d2860a40251ceaeb156335230da' => 
    array (
      0 => '/var/www/user179/data/www/evolutionmu.ru/views/templates/evomu/user/register.tpl',
      1 => 1468447024,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5787e3b491d010_63220831 ($_smarty_tpl) {
?>
<div class="register">
    <?php echo '<script'; ?>
 type="text/javascript" src="/web/templates/<?php echo $_smarty_tpl->tpl_vars['template']->value;?>
/js/reg.js"><?php echo '</script'; ?>
>
    <div class="login" style="width: 603px;background: none;border: none;">
        <div class="title"><?php echo $_smarty_tpl->tpl_vars['reg_title']->value;?>
</div>
        <form action="/user/register" method="post" id="f1">

            <div class="login-box">
                <div class="error-msg" style="display:none;"></div>
                <i class="icon-user"></i><input id="login" name="login" type="text" required minlength="4" maxlength="9" placeholder="<?php echo $_smarty_tpl->tpl_vars['Lang']->value['RegisterLogin'];?>
"/>
            </div>
            <div class="name-box">
                <i class="icon-user"></i><input id="name" name="name" type="text" minlength="4" maxlength="9" required placeholder="<?php echo $_smarty_tpl->tpl_vars['Lang']->value['RegisterName'];?>
"/>
            </div>
            <div class="pass-box">
                <div class="error-msg" style="display:none;">В пароле должны быть и цифры!</div>
                <i class="icon-lock" style="color: rgb(238, 70, 70);"></i><input id="pass" required name="pass" minlength="4" maxlength="9" type="password" placeholder="<?php echo $_smarty_tpl->tpl_vars['Lang']->value['RegisterPassword'];?>
"/>
            </div>
            <div class="repass-box">
                <div class="error-msg" style="display:none;"></div>
                <i class="icon-ok"></i><input id="repass" name="repass" type="password" minlength="4" maxlength="9" required placeholder="<?php echo $_smarty_tpl->tpl_vars['Lang']->value['RegisterRePassword'];?>
"/>
            </div>
            <div class="email-box">
                <div class="error-msg" style="display:none;"></div>
                <i class="icon-envelope"></i><input id="mail" name="email" type="email" minlength="4" maxlength="30" required placeholder="<?php echo $_smarty_tpl->tpl_vars['Lang']->value['RegisterEmail'];?>
" />
            </div>
            <div class="referal-box">
                <div class="error-msg" style="display:none;"></div>
                <i class="icon-referal"></i><input id="referal" name="referer" type="text" value="<?php echo $_smarty_tpl->tpl_vars['LinkReferrer']->value;?>
" minlength="4" maxlength="10" placeholder="<?php echo $_smarty_tpl->tpl_vars['Lang']->value['RegisterReferer'];?>
"/>
            </div>
            <?php if ($_smarty_tpl->tpl_vars['CountDB']->value > 1) {?>
            <div class="select-server-box">
                <select name="select_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>
            </div>
            <?php }?>
            <div>
                <i class="icon-picture"></i><input required type="text" placeholder="<?php echo $_smarty_tpl->tpl_vars['Lang']->value['RegisterCaptcha'];?>
" style="width:80px;" name="captcha" id="keystring" maxlength="6">
                <img src="/captcha" align="middle" id="captcha2" onclick="this.src='/captcha'">
            </div>
            <br>
            <div class="rules-box">
                <div class="error-msg" style="display:none;"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['RegisterRules1'];?>
</div>
                <input type="checkbox" name="checkbox" id="agreement" required>
                <label for="agreement"><span></span><?php echo $_smarty_tpl->tpl_vars['Lang']->value['RegisterRules2'];?>
</label>
            </div>
            <button name="register_btn" class="btn-enter auth" type="submit" id="btn_s"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['RegisterButton'];?>
</button>

        </form>
    </div>

</div><?php }
}
