EIOS/inc/smarty/templates_c/eb179dc2df22b15fa949071ec7a...

117 lines
4.3 KiB
PHP
Raw Permalink Normal View History

2023-12-28 15:39:22 +03:00
<?php /* Smarty version Smarty-3.1.13, created on 2023-03-30 14:39:01
compiled from "tpl/tpl_polls_teachers_result.html" */ ?>
<?php /*%%SmartyHeaderCode:55207211364255e68156090-50868689%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'eb179dc2df22b15fa949071ec7aeac7960832550' =>
array (
0 => 'tpl/tpl_polls_teachers_result.html',
1 => 1680176340,
2 => 'file',
),
),
'nocache_hash' => '55207211364255e68156090-50868689',
'function' =>
array (
),
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_64255e68190b33_27458907',
'variables' =>
array (
'gruppa' => 0,
'sem' => 0,
'count' => 0,
'critery' => 0,
'k' => 0,
'crit' => 0,
'resultats' => 0,
'res' => 0,
),
'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_64255e68190b33_27458907')) {function content_64255e68190b33_27458907($_smarty_tpl) {?><!-- BEGIN PAGE HEADER-->
<div class="row-fluid">
<div class="span12">
<h3 class="page-title">Оценка дисциплины и преподавателя (результаты, рейтинг)</h3>
<ul class="breadcrumb">
<li><a href="/polls/teachers/" class="btn btn-danger">Оценка дисциплины и преподавателя</a></li>
</ul>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<h4 align="center">Группа <?php echo $_smarty_tpl->tpl_vars['gruppa']->value['sokr'];?>
<?php echo $_smarty_tpl->tpl_vars['gruppa']->value['fo'];?>
, <?php echo $_smarty_tpl->tpl_vars['sem']->value;?>
семестр</h4>
<p><b>Количество студентов, принявших участие в опросе: <?php echo $_smarty_tpl->tpl_vars['count']->value;?>
</b></p>
<p><u>Описание критериев: </u></p>
<?php $_smarty_tpl->tpl_vars['crit'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['crit']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['critery']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['crit']->key => $_smarty_tpl->tpl_vars['crit']->value){
$_smarty_tpl->tpl_vars['crit']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['crit']->key;
?>
<?php echo $_smarty_tpl->tpl_vars['k']->value+1;?>
- <?php echo $_smarty_tpl->tpl_vars['crit']->value;?>
<br />
<?php } ?>
<table class="table table-bordered">
<tr>
<th>#</th>
<th>ФИО преподавателя</th>
<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>
<th>Сумма средних</th>
</tr>
<?php $_smarty_tpl->tpl_vars['res'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['res']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['resultats']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['res']->key => $_smarty_tpl->tpl_vars['res']->value){
$_smarty_tpl->tpl_vars['res']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['res']->key;
?>
<tr>
<td><?php echo $_smarty_tpl->tpl_vars['k']->value+1;?>
</td>
<td><?php echo $_smarty_tpl->tpl_vars['res']->value['fio'];?>
</td>
<td><?php echo $_smarty_tpl->tpl_vars['res']->value['predmet'];?>
</td>
<td><?php echo round($_smarty_tpl->tpl_vars['res']->value[1],1);?>
</td>
<td><?php echo round($_smarty_tpl->tpl_vars['res']->value[2],1);?>
</td>
<td><?php echo round($_smarty_tpl->tpl_vars['res']->value[3],1);?>
</td>
<td><?php echo round($_smarty_tpl->tpl_vars['res']->value[4],1);?>
</td>
<td><?php echo round($_smarty_tpl->tpl_vars['res']->value[5],1);?>
</td>
<td><?php echo round($_smarty_tpl->tpl_vars['res']->value[6],1);?>
</td>
<td><?php echo round($_smarty_tpl->tpl_vars['res']->value[7],1);?>
</td>
<td><?php echo round($_smarty_tpl->tpl_vars['res']->value[8],1);?>
</td>
<td><?php echo round($_smarty_tpl->tpl_vars['res']->value['sum_mark'],1);?>
</td>
</tr>
<?php } ?>
</table>
</div>
</div><?php }} ?>