EIOS/inc/smarty/templates_c/fd843da98165498b3bbcacf6126...

308 lines
18 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php /* Smarty version Smarty-3.1.13, created on 2023-01-26 11:28:03
compiled from "tpl/tpl_blog.html" */ ?>
<?php /*%%SmartyHeaderCode:13299260146254651bed1519-93181735%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'fd843da98165498b3bbcacf61267ea7381464f2c' =>
array (
0 => 'tpl/tpl_blog.html',
1 => 1674721682,
2 => 'file',
),
),
'nocache_hash' => '13299260146254651bed1519-93181735',
'function' =>
array (
),
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_6254651bf293e7_32561014',
'variables' =>
array (
'trigger' => 0,
'blog' => 0,
'bc' => 0,
'pagination' => 0,
'post' => 0,
'cm' => 0,
'p' => 0,
'bib' => 0,
),
'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6254651bf293e7_32561014')) {function content_6254651bf293e7_32561014($_smarty_tpl) {?><?php if ($_smarty_tpl->tpl_vars['trigger']->value['status']==1){?><div class="modal show" id="modal-example" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<!-- заголовок -->
<div class="modal-header">
<!--button type="button" class="close" data-dismiss="modal" aria-label="Закрыть">
<span aria-hidden="true">&times;</span>
</button-->
<h4 class="modal-title">Внимание</h4>
</div>
<!-- содержимое -->
<div class="modal-body">
<?php echo $_smarty_tpl->tpl_vars['trigger']->value['content'];?>
<hr />
<p><font size="-2">P.S. Данное окно исчезнет автоматически после выполнения действий.</font></p>
</div>
<!-- подвал -->
<div class="modal-footer">
<!--button type="button" class="btn btn-default" data-dismiss="modal">Закрыть</button-->
<a type="button" class="btn btn-primary" href="/link/<?php echo $_smarty_tpl->tpl_vars['trigger']->value['id'];?>
/">Перейти по ссылке</a>
</div>
</div>
</div>
</div><?php }?>
<div class="row-fluid">
<div class="span12">
<?php if ($_smarty_tpl->tpl_vars['blog']->value['name']!=''){?><h3 class="page-title"><?php echo $_smarty_tpl->tpl_vars['blog']->value['name'];?>
</h3><?php }?>
<ul class="breadcrumb">
<?php $_smarty_tpl->tpl_vars['bc'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['bc']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['blog']->value['breadcrumb']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['bc']->key => $_smarty_tpl->tpl_vars['bc']->value){
$_smarty_tpl->tpl_vars['bc']->_loop = true;
?>
<li<?php if (isset($_smarty_tpl->tpl_vars['bc']->value['active'])){?> class="active"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['bc']->value['url'];?>
"><?php echo $_smarty_tpl->tpl_vars['bc']->value['name'];?>
</a><span class="divider">/</span></li>
<?php } ?>
<li class="pull-right search-wrap">
<form action="/help/" method="post" class="hidden-phone">
<div class="input-append search-input-area">
<input class="" id="appendedInputButton" type="text" name="search_string" required />
<button class="btn" type="button"><i class="icon-search"></i> </button>
</div>
</form>
</li>
</ul>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<div class="row-fluid">
<?php if (isset($_smarty_tpl->tpl_vars['pagination']->value)){?><div class="span8 blog_left"><?php }else{ ?><div class="span12 blog_left"><?php }?>
<div class="row-fluid">
<?php $_smarty_tpl->tpl_vars['post'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['post']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['blog']->value['posts']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['post']->key => $_smarty_tpl->tpl_vars['post']->value){
$_smarty_tpl->tpl_vars['post']->_loop = true;
?>
<div class="blog">
<div class="span2 <?php echo $_smarty_tpl->tpl_vars['post']->value['color'];?>
"><!-- green red yellow-->
<a href="javascript:;" class="blog-features date active">
<p class="day"><?php echo $_smarty_tpl->tpl_vars['post']->value['d_d'];?>
</p>
<p class="month"><?php echo $_smarty_tpl->tpl_vars['post']->value['d_m'];?>
</p>
<p class="time"><?php echo $_smarty_tpl->tpl_vars['post']->value['time'];?>
</p>
</a>
<?php if ($_smarty_tpl->tpl_vars['post']->value['com_kol']!=''){?>
<a href="javascript:;" class="blog-features comments">
<i class=" icon-comments-alt"></i>
<p class="info"><?php echo $_smarty_tpl->tpl_vars['post']->value['com_kol'];?>
</p>
</a>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['post']->value['view']>0){?>
<a href="javascript:;" class="blog-features comments">
<i class=" icon-eye-open"></i>
<p class="info"><?php echo $_smarty_tpl->tpl_vars['post']->value['view'];?>
см.</p>
</a>
<?php }?>
</div>
<div class="span10">
<h2><a href="/blog/<?php echo $_smarty_tpl->tpl_vars['post']->value['url'];?>
/"><?php echo $_smarty_tpl->tpl_vars['post']->value['name'];?>
</a></h2>
<p>Автор: <a href="javascript:;" class="author"><?php echo $_smarty_tpl->tpl_vars['post']->value['author'];?>
</a>
</p>
<?php if (isset($_smarty_tpl->tpl_vars['post']->value['text_f'])){?>
<?php echo $_smarty_tpl->tpl_vars['post']->value['text_s'];?>
<p></p>
<?php echo $_smarty_tpl->tpl_vars['post']->value['text_f'];?>
<?php }else{ ?>
<?php if ($_smarty_tpl->tpl_vars['post']->value['img']!=''){?><img alt="" src="<?php echo $_smarty_tpl->tpl_vars['post']->value['img'];?>
"><?php }?>
<p><?php echo $_smarty_tpl->tpl_vars['post']->value['text_s'];?>
<a href="/blog/<?php echo $_smarty_tpl->tpl_vars['post']->value['url'];?>
/" class="read-more btn btn-primary">подробнее</a> </p>
<?php }?>
</div>
</div>
<?php } ?>
<?php if (isset($_smarty_tpl->tpl_vars['post']->value['text_f'])){?>
<?php if (isset($_smarty_tpl->tpl_vars['post']->value['comment'])){?>
<?php if (count($_smarty_tpl->tpl_vars['post']->value['comm']['items'])){?>
<div class="media">
<h3>Комментарии</h3><hr>
<?php $_smarty_tpl->tpl_vars['cm'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cm']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['post']->value['comm']['items']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['cm']->key => $_smarty_tpl->tpl_vars['cm']->value){
$_smarty_tpl->tpl_vars['cm']->_loop = true;
?>
<div class="media">
<a href="#" class="pull-left">
<img alt="" src="<?php echo $_smarty_tpl->tpl_vars['cm']->value['user_avatar'];?>
" class="media-object" style="width: 75px;">
</a>
<div class="media-body">
<h4 class="media-heading"><?php echo $_smarty_tpl->tpl_vars['cm']->value['user_name'];?>
</h4>
<span><?php echo $_smarty_tpl->tpl_vars['cm']->value['time'];?>
<!--| <a href="#">цитировать</a>--></span>
<p><?php echo $_smarty_tpl->tpl_vars['cm']->value['text_f'];?>
</p>
<hr>
</div>
</div>
<?php } ?>
</div>
<?php }?>
<hr>
<?php if (isset($_smarty_tpl->tpl_vars['post']->value['comm']['err'])){?><div class="alert alert-error"><button data-dismiss="alert" class="close">×</button><strong>Ошибка!</strong> <?php echo $_smarty_tpl->tpl_vars['post']->value['comm']['err'];?>
</div><?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['post']->value['comm']['msg'])){?><div class="alert alert-success"><button data-dismiss="alert" class="close">×</button><strong>Успешно!</strong> <?php echo $_smarty_tpl->tpl_vars['post']->value['comm']['msg'];?>
</div><?php }?>
<div class="post-comment">
<h3>Напишите комментарий</h3>
<form method="POST">
<textarea name="text_f" class="span10" rows="5"></textarea>
<p><button class="btn" name="comm_post" value="send" type="submit">Отправить</button></p>
</form>
</div>
<?php }?>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['pagination']->value)){?>
<div class="pagination pagination-large">
<ul>
<?php if ($_smarty_tpl->tpl_vars['pagination']->value['kol']<=15){?>
<?php $_smarty_tpl->tpl_vars['p'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['p']->step = 1;$_smarty_tpl->tpl_vars['p']->total = (int)ceil(($_smarty_tpl->tpl_vars['p']->step > 0 ? $_smarty_tpl->tpl_vars['pagination']->value['kol']+1 - (1) : 1-($_smarty_tpl->tpl_vars['pagination']->value['kol'])+1)/abs($_smarty_tpl->tpl_vars['p']->step));
if ($_smarty_tpl->tpl_vars['p']->total > 0){
for ($_smarty_tpl->tpl_vars['p']->value = 1, $_smarty_tpl->tpl_vars['p']->iteration = 1;$_smarty_tpl->tpl_vars['p']->iteration <= $_smarty_tpl->tpl_vars['p']->total;$_smarty_tpl->tpl_vars['p']->value += $_smarty_tpl->tpl_vars['p']->step, $_smarty_tpl->tpl_vars['p']->iteration++){
$_smarty_tpl->tpl_vars['p']->first = $_smarty_tpl->tpl_vars['p']->iteration == 1;$_smarty_tpl->tpl_vars['p']->last = $_smarty_tpl->tpl_vars['p']->iteration == $_smarty_tpl->tpl_vars['p']->total;?>
<li><a href="/blog/p<?php echo $_smarty_tpl->tpl_vars['p']->value;?>
/"<?php if ($_smarty_tpl->tpl_vars['pagination']->value['page']==$_smarty_tpl->tpl_vars['p']->value){?> class=" label-warning"<?php }?>><?php echo $_smarty_tpl->tpl_vars['p']->value;?>
</a></li>
<?php }} ?>
<?php }else{ ?>
<?php if ($_smarty_tpl->tpl_vars['pagination']->value['page']>4){?>
<li><a href="/blog/p1/">1</a></li>
<li><a href="#">...</a></li>
<?php $_smarty_tpl->tpl_vars['p'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['p']->step = 1;$_smarty_tpl->tpl_vars['p']->total = (int)ceil(($_smarty_tpl->tpl_vars['p']->step > 0 ? ($_smarty_tpl->tpl_vars['pagination']->value['page']+3)+1 - (($_smarty_tpl->tpl_vars['pagination']->value['page']-3)) : ($_smarty_tpl->tpl_vars['pagination']->value['page']-3)-(($_smarty_tpl->tpl_vars['pagination']->value['page']+3))+1)/abs($_smarty_tpl->tpl_vars['p']->step));
if ($_smarty_tpl->tpl_vars['p']->total > 0){
for ($_smarty_tpl->tpl_vars['p']->value = ($_smarty_tpl->tpl_vars['pagination']->value['page']-3), $_smarty_tpl->tpl_vars['p']->iteration = 1;$_smarty_tpl->tpl_vars['p']->iteration <= $_smarty_tpl->tpl_vars['p']->total;$_smarty_tpl->tpl_vars['p']->value += $_smarty_tpl->tpl_vars['p']->step, $_smarty_tpl->tpl_vars['p']->iteration++){
$_smarty_tpl->tpl_vars['p']->first = $_smarty_tpl->tpl_vars['p']->iteration == 1;$_smarty_tpl->tpl_vars['p']->last = $_smarty_tpl->tpl_vars['p']->iteration == $_smarty_tpl->tpl_vars['p']->total;?>
<li><a href="/blog/p<?php echo $_smarty_tpl->tpl_vars['p']->value;?>
/"<?php if ($_smarty_tpl->tpl_vars['pagination']->value['page']==$_smarty_tpl->tpl_vars['p']->value){?> class=" label-warning"<?php }?>><?php echo $_smarty_tpl->tpl_vars['p']->value;?>
</a></li>
<?php }} ?>
<li><a href="#">...</a></li>
<li><a href="/blog/p<?php echo $_smarty_tpl->tpl_vars['pagination']->value['kol'];?>
/"><?php echo $_smarty_tpl->tpl_vars['pagination']->value['kol'];?>
</a></li>
<?php }else{ ?>
<?php $_smarty_tpl->tpl_vars['p'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['p']->step = 1;$_smarty_tpl->tpl_vars['p']->total = (int)ceil(($_smarty_tpl->tpl_vars['p']->step > 0 ? 5+1 - (1) : 1-(5)+1)/abs($_smarty_tpl->tpl_vars['p']->step));
if ($_smarty_tpl->tpl_vars['p']->total > 0){
for ($_smarty_tpl->tpl_vars['p']->value = 1, $_smarty_tpl->tpl_vars['p']->iteration = 1;$_smarty_tpl->tpl_vars['p']->iteration <= $_smarty_tpl->tpl_vars['p']->total;$_smarty_tpl->tpl_vars['p']->value += $_smarty_tpl->tpl_vars['p']->step, $_smarty_tpl->tpl_vars['p']->iteration++){
$_smarty_tpl->tpl_vars['p']->first = $_smarty_tpl->tpl_vars['p']->iteration == 1;$_smarty_tpl->tpl_vars['p']->last = $_smarty_tpl->tpl_vars['p']->iteration == $_smarty_tpl->tpl_vars['p']->total;?>
<li><a href="/blog/p<?php echo $_smarty_tpl->tpl_vars['p']->value;?>
/"<?php if ($_smarty_tpl->tpl_vars['pagination']->value['page']==$_smarty_tpl->tpl_vars['p']->value){?> class=" label-warning"<?php }?>><?php echo $_smarty_tpl->tpl_vars['p']->value;?>
</a></li>
<?php }} ?>
<li><a href="#">...</a></li>
<?php $_smarty_tpl->tpl_vars['p'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['p']->step = 1;$_smarty_tpl->tpl_vars['p']->total = (int)ceil(($_smarty_tpl->tpl_vars['p']->step > 0 ? $_smarty_tpl->tpl_vars['pagination']->value['kol']+1 - (($_smarty_tpl->tpl_vars['pagination']->value['kol']-5)) : ($_smarty_tpl->tpl_vars['pagination']->value['kol']-5)-($_smarty_tpl->tpl_vars['pagination']->value['kol'])+1)/abs($_smarty_tpl->tpl_vars['p']->step));
if ($_smarty_tpl->tpl_vars['p']->total > 0){
for ($_smarty_tpl->tpl_vars['p']->value = ($_smarty_tpl->tpl_vars['pagination']->value['kol']-5), $_smarty_tpl->tpl_vars['p']->iteration = 1;$_smarty_tpl->tpl_vars['p']->iteration <= $_smarty_tpl->tpl_vars['p']->total;$_smarty_tpl->tpl_vars['p']->value += $_smarty_tpl->tpl_vars['p']->step, $_smarty_tpl->tpl_vars['p']->iteration++){
$_smarty_tpl->tpl_vars['p']->first = $_smarty_tpl->tpl_vars['p']->iteration == 1;$_smarty_tpl->tpl_vars['p']->last = $_smarty_tpl->tpl_vars['p']->iteration == $_smarty_tpl->tpl_vars['p']->total;?>
<li><a href="/blog/p<?php echo $_smarty_tpl->tpl_vars['p']->value;?>
/"<?php if ($_smarty_tpl->tpl_vars['pagination']->value['page']==$_smarty_tpl->tpl_vars['p']->value){?> class=" label-warning"<?php }?>><?php echo $_smarty_tpl->tpl_vars['p']->value;?>
</a></li>
<?php }} ?>
<?php }?>
<?php }?>
</ul>
</div>
<?php }?>
</div>
</div>
<?php if (isset($_smarty_tpl->tpl_vars['pagination']->value)){?>
<div class="span4 blog_right">
<div class="blog-side-bar red-box" style="padding-bottom: 15px;">
<h2 align="center"><i class="icon-tags"></i> <!--a href="https://forms.yandex.ru/u/621e0048bfd679a0c6baebaf/" style="color: white"-->Не работает карта?<!--/a--></h2>
<p>Обратитесь в информационно-технический отдел МГТУ (ауд. 318, главный корпус). При себе обязательно иметь студенческий билет или паспорт.<br /><br /> <b>Если карты вообще нет, то ее нужно заказать (ссылка на анкету для выпуска карты ниже)</b></p>
</div>
<div class="blog-side-bar blue-box" style="padding-bottom: 15px; background: #6f33a7;">
<h2 align="center"><i class="icon-question"></i> <a href="/help/" style="color: white">Инструкции по ЭИОС</a></h2>
</div>
<div class="blog-side-bar orange-box">
<!--h4><a href="http://d.zaix.ru/o9GQ.pdf" style="color: white;">Студентам 5 курсов направлений "Лечебное дело" и "Педиатрия"</a></h4>
<hr /-->
<h2 style="font-size: 170%;"><i class=" icon-tasks"></i> Важные ссылки</h2>
<ol>
<li><a href="https://forms.yandex.ru/u/5f673590b576c810b672bd1d/" style="color: white; font-size: 18px;">Анкета для выпуска карты</a></li>
<li><a href="https://mkgtu.antiplagiat.ru/" style="color: white; font-size: 18px;">Антиплагиат ВУЗ</a> <i>(<b>Студентам:</b> для проверки выпускных квалификационных работ на оригинальность обращайтесь к сотрудникам ваших кафедр!)</i></li>
<li><a href="http://local.mkgtu.ru/raspisnew/print.php" style="color: white; font-size: 18px;">Расписание</a></li>
<li><a href="/blog/46/" style="color: white; font-size: 18px;">Инструкция по организации вебинаров в Zoom для преподавателей и студентов</a></li>
<li><a href="/blog/153/" style="color: white; font-size: 18px;">Инструкция по работе с системой Mind</a></li>
<li><a href="https://forms.yandex.ru/u/5f8d7521f4187391c2c327cc/" style="color: white; font-size: 18px;">Анкета для первокурсников</a></li>
<li><a href="https://forms.yandex.ru/u/5f02ee606883a35293e46278" style="color: white; font-size: 18px;">Анкета для выпускников</a></li>
<!--li><a href="http://lib.mkgtu.ru/<?php echo $_smarty_tpl->tpl_vars['bib']->value['path'];?>
" style="color: white; font-size: 18px;">Сайт научной библиотеки</a></li>
<li><a href="http://lib.mkgtu.ru/index.php/napravleniya-podgotovki/" style="color: white; font-size: 18px;">Библиотека. Профессиональные базы данных</a></li-->
<li><a href="https://forms.yandex.ru/u/5ec66d33734968055214d346/" style="color: white; font-size: 18px;">Конкурс 2020 для преподавателей</a></li>
</ol>
<br />
</div>
<p align="center"><a href="https://www.centrinvest.ru/ru/student-cards?univ=mgtu"><img src="https://www.centrinvest.ru/images/student-cards/header-logo.svg" width="50%" /></a></p>
<div class="blog-side-bar green-box" style="padding-bottom: 15px;">
<h2><i class="icon-phone"></i> <a href="https://mkgtu.ru/art/128512/" target="_blank" style="color: white">Контактные телефоны</a></h2>
<h2><i class="icon-file-alt"></i> <a href="https://mkgtu.ru/news/999/" target="_blank" style="color: white">Реквизиты университета</a></h2>
<hr />
<h2><i class="icon-vk"></i> <a href="https://vk.com/mstu01" target="_blank" style="color: white">Мы ВКонтакте</a></h2>
<h2><i class="icon-tumblr-sign"></i> <a href="https://t.me/mgtu_01" target="_blank" style="color: white">Мы в Телеграме</a></h2>
</div>
<br />
<br />
<script type="text/javascript" src="https://vk.com/js/api/openapi.js?169"></script>
<!-- VK Widget -->
<div id="vk_subscribe"></div>
<script type="text/javascript">
VK.Widgets.Subscribe("vk_subscribe", {}, -185354802);
</script>
<br />
</div>
<?php }?>
</div>
</div>
</div>
<?php }} ?>