EIOS/inc/smarty/templates_c/13415c0dd6b6867b03bdccd6836...

136 lines
4.9 KiB
PHP

<?php /* Smarty version Smarty-3.1.13, created on 2023-05-29 13:21:11
compiled from "tpl/tpl_dekanat_timetable.html" */ ?>
<?php /*%%SmartyHeaderCode:104622044964747c978e6c25-78081573%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'13415c0dd6b6867b03bdccd6836fd3e5cdceb9eb' =>
array (
0 => 'tpl/tpl_dekanat_timetable.html',
1 => 1640601746,
2 => 'file',
),
),
'nocache_hash' => '104622044964747c978e6c25-78081573',
'function' =>
array (
),
'variables' =>
array (
'id_grupp' => 0,
'grupps' => 0,
'grupp' => 0,
'toweek' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_64747c979689c6_70146209',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_64747c979689c6_70146209')) {function content_64747c979689c6_70146209($_smarty_tpl) {?><!-- BEGIN PAGE HEADER-->
<div class="row-fluid">
<div class="span12">
<h3 class="page-title">Расписание занятий</h3>
<ul class="breadcrumb">
<li><a href="#" class="btn btn-primary">Обычные</a></li>
</ul>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<?php if ((!isset($_smarty_tpl->tpl_vars['id_grupp']->value))){?>
<p>Выберите группу</p>
<div class="row-fluid">
<div class="span4">
<div class="widget green">
<div class="widget-title">
<h4>ОФО</h4>
</div>
<div class="widget-body">
<ul>
<?php $_smarty_tpl->tpl_vars['grupp'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['grupp']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['grupps']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['grupp']->key => $_smarty_tpl->tpl_vars['grupp']->value){
$_smarty_tpl->tpl_vars['grupp']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['grupp']->key;
?>
<?php if (($_smarty_tpl->tpl_vars['grupp']->value['fo']=="ОФО")){?><li><a href="/dekanat/timetable/<?php echo $_smarty_tpl->tpl_vars['grupp']->value['id'];?>
/"><?php echo $_smarty_tpl->tpl_vars['grupp']->value['sokr'];?>
</a></li><?php }?>
<?php } ?>
</ul>
</div>
</div>
</div>
<div class="span4">
<div class="widget red">
<div class="widget-title">
<h4>ЗФО</h4>
</div>
<div class="widget-body">
<ul>
<?php $_smarty_tpl->tpl_vars['grupp'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['grupp']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['grupps']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['grupp']->key => $_smarty_tpl->tpl_vars['grupp']->value){
$_smarty_tpl->tpl_vars['grupp']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['grupp']->key;
?>
<?php if (($_smarty_tpl->tpl_vars['grupp']->value['fo']=="ЗФО")){?><li><a href="/dekanat/timetable/<?php echo $_smarty_tpl->tpl_vars['grupp']->value['id'];?>
/"><?php echo $_smarty_tpl->tpl_vars['grupp']->value['sokr'];?>
</a></li><?php }?>
<?php } ?>
</ul>
</div>
</div>
</div>
<div class="span4">
<div class="widget orange">
<div class="widget-title">
<h4>ОЗФО</h4>
</div>
<div class="widget-body">
<ul>
<?php $_smarty_tpl->tpl_vars['grupp'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['grupp']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['grupps']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['grupp']->key => $_smarty_tpl->tpl_vars['grupp']->value){
$_smarty_tpl->tpl_vars['grupp']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['grupp']->key;
?>
<?php if (($_smarty_tpl->tpl_vars['grupp']->value['fo']=="ОЗФО")){?><li><a href="/dekanat/timetable/<?php echo $_smarty_tpl->tpl_vars['grupp']->value['id'];?>
/"><?php echo $_smarty_tpl->tpl_vars['grupp']->value['sokr'];?>
</a></li><?php }?>
<?php } ?>
</ul>
<div class="space15"></div>
<div class="space15"></div>
<div class="space10"></div>
</div>
</div>
</div>
</div>
<?php }else{ ?> <!--РАСПИСАНИЕ КОКНРЕТНОЙ ГРУППЫ-->
<table class="table table-bordered">
<tr>
<th></th>
<th>1 пара </th>
<th>2 пара</th>
<th>3 пара</th>
<th>4 пара</th>
<th>5 пара</th>
<th>6 пара</th>
<th>7 пара</th>
<th>8 пара</th>
</tr>
</table>
<?php echo $_smarty_tpl->tpl_vars['toweek']->value;?>
<?php }?>
</div>
</div>
<?php }} ?>