EIOS/inc/smarty/templates_c/1da5821d8537ea5586252ea3b5b...

159 lines
5.6 KiB
PHP

<?php /* Smarty version Smarty-3.1.13, created on 2022-04-11 23:20:30
compiled from "tpl/tpl_loginnew.html" */ ?>
<?php /*%%SmartyHeaderCode:66544724962548d8e9ea895-24391493%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'1da5821d8537ea5586252ea3b5bff97811f18109' =>
array (
0 => 'tpl/tpl_loginnew.html',
1 => 1634892781,
2 => 'file',
),
),
'nocache_hash' => '66544724962548d8e9ea895-24391493',
'function' =>
array (
),
'variables' =>
array (
'access' => 0,
'grupps' => 0,
'gr' => 0,
'msg' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_62548d8ea11477_27979590',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_62548d8ea11477_27979590')) {function content_62548d8ea11477_27979590($_smarty_tpl) {?><!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8" />
<title>Регистрация</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta content="" name="description" />
<meta content="" name="author" />
<link href="/tpl/assets/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
<link href="/tpl/assets/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" />
<link href="/tpl/assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
<link href="/tpl/css/style.css" rel="stylesheet" />
<link href="/tpl/css/style-responsive.css" rel="stylesheet" />
<link href="/tpl/css/style-default.css" rel="stylesheet" id="style_color" />
<script>
<?php if (($_smarty_tpl->tpl_vars['access']->value==0)){?>let pass = prompt('Студенты, обращайтесь в деканат! Введите секретный код (для деканатов):');
if (pass != '01'){
alert("Отказано в доступе!");
location.href="https://eios.mkgtu.ru/";
}
<?php }?>
</script>
</head>
<body class="lock">
<div class="lock-header">
<a class="center" id="logo" href="/">
<img class="center" alt="logo" src="/tpl/img/logo.png">
</a>
</div>
<div class="login-wrap">
<h2>Регистрация</h2>
<form action="/" method="POST">
<div class="metro double-size green">
<div class="input-append lock-input">
<input type="text" class="" placeholder="Email" name="email">
</div>
</div>
<div class="metro double-size yellow">
<div class="input-append lock-input">
<input type="password" class="" placeholder="Пароль" name="pass">
</div>
</div>
<div class="metro double-size deep-red">
<div class="input-append lock-input">
<input type="password" class="" placeholder="Повторите пароль" name="pass1">
</div>
</div>
<div class="metro double-size navy-blue">
<div class="input-append lock-input">
<input type="text" class="" placeholder="Фамилия Имя Отчество" name="fio">
</div>
</div>
<div class="metro double-size green">
<div class="input-append lock-input">
<input type="text" class="" placeholder="Номер зачетной книжки" name="num">
</div>
</div>
<div class="metro double-size yellow">
<div class="input-append lock-input">
<select name="high_school" class="">
<option value="1">МГТУ</option>
<option value="2">Филиал МГТУ</option>
</select>
</div>
</div>
<div class="metro double-size yellow">
<div class="input-append lock-input">
<select name="grupp" class="">
<option>Выберите группу</option>
<?php $_smarty_tpl->tpl_vars['gr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['gr']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['grupps']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['gr']->key => $_smarty_tpl->tpl_vars['gr']->value){
$_smarty_tpl->tpl_vars['gr']->_loop = true;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['gr']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['gr']->value['sokr'];?>
-<?php echo $_smarty_tpl->tpl_vars['gr']->value['kurs'];?>
<?php echo $_smarty_tpl->tpl_vars['gr']->value['fo'];?>
</option>
<?php } ?>
</select>
</div>
</div>
<div class="metro single-size">
<!--div class="input-append lock-input">
<select name="high_school" class="">
<option value="0">МГТУ</option>
<option value="1">Филиал МГТУ</option>
</select>
</div-->
</div>
<div class="metro single-size">
<!--div class="input-append lock-input">
<select name="high_school" class="">
<option value="0">МГТУ</option>
<option value="1">Филиал МГТУ</option>
</select>
</div-->
</div>
<div class="metro single-size nav-block-grey login"></div>
<div class="metro single-size terques login">
<button type="submit" class="btn login-btn" name="register">
далее
<i class=" icon-long-arrow-right"></i>
</button>
</div>
</form>
<?php if (isset($_smarty_tpl->tpl_vars['msg']->value)){?>
<div class="login-footer">
<div class="forgot-hint pull-right">
<?php echo $_smarty_tpl->tpl_vars['msg']->value;?>
</div>
</div>
<?php }?>
</div>
</body>
</html><?php }} ?>