207 lines
6.9 KiB
PHP
207 lines
6.9 KiB
PHP
<?php /* Smarty version Smarty-3.1.13, created on 2022-09-23 14:35:07
|
||
compiled from "tpl/tpl_main.html" */ ?>
|
||
<?php /*%%SmartyHeaderCode:5849146556254651a20d7e5-15669547%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||
'file_dependency' =>
|
||
array (
|
||
'84c0113a447e4629053811504fc9ca2e3e733836' =>
|
||
array (
|
||
0 => 'tpl/tpl_main.html',
|
||
1 => 1663932903,
|
||
2 => 'file',
|
||
),
|
||
),
|
||
'nocache_hash' => '5849146556254651a20d7e5-15669547',
|
||
'function' =>
|
||
array (
|
||
),
|
||
'version' => 'Smarty-3.1.13',
|
||
'unifunc' => 'content_6254651a215b23_80455601',
|
||
'variables' =>
|
||
array (
|
||
'user' => 0,
|
||
'maincontent' => 0,
|
||
'year' => 0,
|
||
),
|
||
'has_nocache_code' => false,
|
||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||
<?php if ($_valid && !is_callable('content_6254651a215b23_80455601')) {function content_6254651a215b23_80455601($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("tpl_head.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||
|
||
|
||
<body class="fixed-top">
|
||
|
||
<?php if (!isset($_smarty_tpl->tpl_vars['user']->value['id'])){?>
|
||
<!--Если пользователь не авторизован, то перенаправляем его на страницу входа-->
|
||
<meta http-equiv="Refresh" content="0; URL=/login/" />
|
||
<?php }else{ ?>
|
||
<?php echo $_smarty_tpl->getSubTemplate ("tpl_header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||
|
||
|
||
<div id="container" class="row-fluid">
|
||
<div class="sidebar-scroll">
|
||
<div id="sidebar" class="nav-collapse collapse">
|
||
<?php echo $_smarty_tpl->getSubTemplate ("tpl_sidebar.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<div id="main-content">
|
||
<div class="container-fluid">
|
||
<?php echo $_smarty_tpl->tpl_vars['maincontent']->value;?>
|
||
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<?php }?>
|
||
|
||
<br>
|
||
<br>
|
||
<br>
|
||
<br>
|
||
<br>
|
||
<br>
|
||
|
||
<div id="footer" style="line-height: 10px;">
|
||
<span class="footer_big">2013-<?php echo $_smarty_tpl->tpl_vars['year']->value;?>
|
||
© Электронная информационно-образовательная среда ФГБОУ ВО "МГТУ"<br /><br />Разработчики: Чундышко В.Ю., Яковлев А.Л., Голеусов Р.О., Чудесова Н.Н., Паскова А.А., Кучинская Е.А., Галичева М.С.</span>
|
||
<span class="footer_min">2013-<?php echo $_smarty_tpl->tpl_vars['year']->value;?>
|
||
© ЭИОС ФГБОУ ВО "МГТУ"</span>
|
||
|
||
|
||
<!-- Yandex.Metrika counter -->
|
||
|
||
<script type="text/javascript" >
|
||
|
||
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
|
||
|
||
m[i].l=1*new Date();
|
||
|
||
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
|
||
|
||
k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
|
||
|
||
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
|
||
|
||
ym(48238847, "init", {
|
||
|
||
clickmap:true,
|
||
|
||
trackLinks:true,
|
||
|
||
accurateTrackBounce:true,
|
||
|
||
webvisor:true
|
||
|
||
});
|
||
|
||
</script>
|
||
|
||
<noscript><div><img src="https://mc.yandex.ru/watch/48238847" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
|
||
|
||
<!-- /Yandex.Metrika counter -->
|
||
|
||
</div>
|
||
<?php echo $_smarty_tpl->getSubTemplate ("tpl_javascript.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||
|
||
|
||
<div class="auth_div_wrap">
|
||
<div class="auth_div">
|
||
<form action="/" method="POST">
|
||
<div class="au_head"><span>Авторизация</span><div class="auth_div_close"><a href="#" class="auth_div_close_btn">X</a></div></div>
|
||
<div class="au_email">
|
||
<input type="text" class="" placeholder="номер зачетки или Email" name="email">
|
||
</div>
|
||
<div class="au_pass">
|
||
<input type="password" class="" placeholder="Пароль" name="pass">
|
||
</div>
|
||
<table style="width:100%;"><tr>
|
||
<td class="au_forgot">
|
||
<a href="/loginforgot/"><span>Забыли пароль?</span></a>
|
||
</td>
|
||
<td class="au_regis">
|
||
<a href="/loginnew/"><span>Регистрация</span></a>
|
||
</td>
|
||
<td class="au_enter">
|
||
<button type="submit" class="btn" name="login">Вход</button>
|
||
</td>
|
||
</tr></table>
|
||
</form>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
<style>
|
||
.write_razrab{ display:none;position:absolute;bottom:0;right:0;width:300px;height:160px;z-index: 999;background: #4a8bc1;padding:10px;}
|
||
.write_razrab_textarea{width: 96%; height: 115px;}
|
||
.write_razrab_warp{ position:fixed; right:0px; bottom:5px; z-index:999; padding: 10px; background: #8382ca; }
|
||
.write_razrab_warp a{ color:#fff; }
|
||
|
||
.auth_div_close { position:absolute; top:1%; right: 2%;}
|
||
.auth_div_close a{ color: #fff; }
|
||
.au_head { text-align:center; margin-bottom:20px; }
|
||
.au_head span{ font-size:30px;color: #fff; }
|
||
.au_email input{ width:95%;}
|
||
.au_pass input{ width:95%;}
|
||
.au_enter{ text-align:right; width:30%; }
|
||
.au_forgot{ text-align:left; width:40%; }
|
||
.au_regis{ text-align:center; width:30%; }
|
||
.au_forgot a{ color: #fff; }
|
||
.au_regis a{ color: #fff; }
|
||
.auth_div{position:absolute;top:35%;left:35%;width:300px;height:160px;z-index: 999;background: #90bb4f;padding:10px;}
|
||
.auth_div_wrap{display:none;position:fixed;top:0; bottom:0px;left:0; right:0px; z-index: 9999;background: radial-gradient(ellipse at center, #d2fffb 0%,#00000021 80%,#00000021 60%,#00000021 40%,#00000021 30%);}
|
||
@media (max-width: 430px) {
|
||
.auth_div{position:absolute;top:35%;left:5%;width:300px;height:160px;z-index: 999;background: #90bb4f;padding:10px;}
|
||
}
|
||
</style>
|
||
<script>$(document).ready(function(){
|
||
//var write_razrab_blink=function(){
|
||
// var b = $(".write_razrab_warp").attr("id");
|
||
// if(b=="wrw_1"){
|
||
// $(".write_razrab_warp").css({"background":"#a5a3ff"});
|
||
// $(".write_razrab_warp").attr("id","wrw_0");
|
||
// }else{
|
||
// $(".write_razrab_warp").css({"background":"#8382ca"});
|
||
// $(".write_razrab_warp").attr("id","wrw_1");
|
||
// }
|
||
// setTimeout(arguments.callee,5000);
|
||
//}
|
||
//setTimeout( write_razrab_blink,5000 );
|
||
|
||
$(".write_razrab_send").click(function(){
|
||
$(".write_razrab_mess").html("отправляем...");
|
||
var mess = $(".write_razrab_textarea").val();
|
||
var loca = window.location.pathname;
|
||
$.ajax({url: '/json.php',dataType:'json',type:'POST',async:false,
|
||
data:'ajdes=write_razrab_send&mess='+mess+"&loca="+loca,success: function(data){
|
||
$(".write_razrab_mess").html(data.html);
|
||
setTimeout(function(){
|
||
$(".write_razrab_mess").html("пока");
|
||
$(".write_razrab_textarea").val("");
|
||
$(".write_razrab").hide();
|
||
}, 5000);
|
||
}
|
||
});
|
||
return false;
|
||
});
|
||
$(".write_razrab_show").click(function(){
|
||
$(".write_razrab").show();
|
||
return false;
|
||
});
|
||
$(".write_razrab_close").click(function(){
|
||
$(".write_razrab").hide();
|
||
return false;
|
||
});
|
||
$(".auth_div_close_btn").click(function(){
|
||
$(".auth_div_wrap").hide();
|
||
return false;
|
||
});
|
||
$(".au_login_btn").click(function(){
|
||
$(".auth_div_wrap").show();
|
||
return false;
|
||
});
|
||
});
|
||
</script>
|
||
|
||
</body>
|
||
</html><?php }} ?>
|