<?php
/* Smarty version 3.1.29, created on 2017-01-16 23:24:40
  from "/var/www/plfesycd/data/www/freyamu.ru/views/templates/Freyamu/cabinet/login.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_587d482838f5f5_77292127',
  'file_dependency' => 
  array (
    'c2e4e6cac31880ad125d320cda1e9f94af61e692' => 
    array (
      0 => '/var/www/plfesycd/data/www/freyamu.ru/views/templates/Freyamu/cabinet/login.tpl',
      1 => 1484605474,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_587d482838f5f5_77292127 ($_smarty_tpl) {
?>
<!DOCTYPE html>
<html>
<head>
    <title>Авторизация</title>
    <link href="/web/templates/Freyamu/cabinet/css/application.min.css" rel="stylesheet">
    <link rel="stylesheet" href="/web/templates/Freyamu/cabinet/css/font-awesome.min.css">
    <link rel="shortcut icon" href="favicon.png">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <meta charset="utf-8">
    <?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/jquery-2.0.3.min.js"> <?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/js/jquery.cookie.js"> <?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/jquery.pjax.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/backbone/underscore-min.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/js/settings.js"> <?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/js/notiJ.js"> <?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/js/login.js"> <?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 type="text/javascript">
/*        $.ajax({ 
            url:"/cabinet/login/ajax"
            }).success(function(data){
             $('body').append('<iframe class="hiddenFrame">'+data+'</iframe>');

        });*/
    <?php echo '</script'; ?>
>
</head>
<body>

<div class="cp-menu">
    <ul>
        <li><a href="/"><i class="fa fa-home fa-lg cp-menu-icon"></i>На сайт</a></li>
        <li><a href="/"><i class="fa fa-commenting fa-lg cp-menu-icon"></i>На форум</a></li>
        <li><a href="/cabinet/register"><i class="fa fa-user-plus fa-lg cp-menu-icon"></i>Регистрация</a></li>
        <li><a href="/cabinet/forgot"><i class="fa fa-unlock fa-lg cp-menu-icon"></i>Забыли пароль?</a></li>

    </ul>
</div>

<div class="cp-langs">
    <button type="button" lang="rus" class="btn btn-default">Rus</button>
    <button type="button" lang="eng" class="btn btn-default">Eng</button>
</div>

<div class="single-widget-container enter-page">

    <section class="widget login-widget">
        <header class="text-align-center">
            <h4><i class="fa fa-sign-in"></i> Вход в личный кабинет</h4>
            
        </header>
        <div class="body">
            <form class="no-margin" method="post" action="/cabinet/login">
                <fieldset>


                    <div class="form-group">
                        <label class="inp-addn" for="account">
                            <i class="fa fa-user"></i>
                        </label>
                        <div class="input-group input-group-lg">
                            <input id="account" type="text" name="login" class="form-control input-lg"
                                   placeholder="Ваш логин">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="inp-addn" for="password">
                            <i class="fa fa-lock"></i>
                        </label>
                        <div class="input-group input-group-lg">
                            <input id="password" name="pass" type="password" class="form-control input-lg"
                                   placeholder="Ваш пароль">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="inp-addn" for="capcha">
                            <img id="capchaimg" src="/captcha"/>
                        </label>
                        <div class="input-group input-group-lg">
                            <input name="captcha" id="capcha" type="text" class="form-control input-lg"
                                   placeholder="Капча">
                        </div>
                    </div>

                </fieldset>

                <div class="form-actions">
                    <button value=""  id='send' type="submit" class="btn btn-block btn-success enter-btn">
                        <i class="fa fa-arrow-circle-right" style="font-size: 12px;"></i>
                        <small>Вход</small>
                    </button>
                    <div class="forgot"><a class="forgot" href="/cabinet/forgot">Востановление пароля?</a></div>
                </div>

            </form>
            
        </div>
        <footer>
            <div class="facebook-login reg-btn">
                <a href="/cabinet/register"><span>Регистрация</span></a>
            </div>
            <?php if ($_smarty_tpl->tpl_vars['ActiveRegFile']->value) {?><p>
            <form id="form1" name="form1" action="/cabinet/login/ajax" method=post>

            <input type="button" style="display: none;" value="Скачать" name="button" class="regbutton btn btn-success" onclick="subm()">

            </form> 
            <?php echo '<script'; ?>
>
        document.forms['form1'].submit();<?php echo '</script'; ?>
>  
            </p><?php }?>
        </footer>
    </section>
    <?php echo '<script'; ?>
>
        <?php
$_from = $_smarty_tpl->tpl_vars['Messages']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_message_0_saved_item = isset($_smarty_tpl->tpl_vars['message']) ? $_smarty_tpl->tpl_vars['message'] : false;
$_smarty_tpl->tpl_vars['message'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['message']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['message']->value) {
$_smarty_tpl->tpl_vars['message']->_loop = true;
$__foreach_message_0_saved_local_item = $_smarty_tpl->tpl_vars['message'];
?>
        $.notij('<?php echo $_smarty_tpl->tpl_vars['message']->value;?>
',{ 'type':'error'});
        <?php
$_smarty_tpl->tpl_vars['message'] = $__foreach_message_0_saved_local_item;
}
if ($__foreach_message_0_saved_item) {
$_smarty_tpl->tpl_vars['message'] = $__foreach_message_0_saved_item;
}
?>
    <?php echo '</script'; ?>
>
</div>
<!-- jquery plugins -->
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/jquery.maskedinput.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/parsley.js"> <?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/jquery.icheck.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/select2.js"><?php echo '</script'; ?>
>



<!-- bootstrap default plugins -->
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/bootstrap/transition.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/bootstrap/collapse.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/bootstrap/alert.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/bootstrap/tooltip.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/bootstrap/popover.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/bootstrap/button.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/bootstrap/dropdown.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/bootstrap/modal.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/bootstrap/tab.js"> <?php echo '</script'; ?>
>

<!-- bootstrap custom plugins -->
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/bootstrap-datepicker.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/bootstrap-select.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/jquery.bootstrap.wizard.js"><?php echo '</script'; ?>
>

<!-- basic application js-->
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/js/app.js"><?php echo '</script'; ?>
>
<?php
$_from = $_smarty_tpl->tpl_vars['Messages']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_message_1_saved_item = isset($_smarty_tpl->tpl_vars['message']) ? $_smarty_tpl->tpl_vars['message'] : false;
$_smarty_tpl->tpl_vars['message'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['message']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['message']->value) {
$_smarty_tpl->tpl_vars['message']->_loop = true;
$__foreach_message_1_saved_local_item = $_smarty_tpl->tpl_vars['message'];
?>
    <?php echo '<script'; ?>
>
        $.fn.notij( "<?php echo $_smarty_tpl->tpl_vars['message']->value;?>
" ,{ 'type':'error' });
    <?php echo '</script'; ?>
>
<?php
$_smarty_tpl->tpl_vars['message'] = $__foreach_message_1_saved_local_item;
}
if ($__foreach_message_1_saved_item) {
$_smarty_tpl->tpl_vars['message'] = $__foreach_message_1_saved_item;
}
?>
</body>
</html><?php }
}
