EIOS/inc/smarty/templates_c/66642706feb4cc6b9e4f3504e1f...

168 lines
6.9 KiB
PHP
Raw Normal View History

2023-12-28 15:39:22 +03:00
<?php /* Smarty version Smarty-3.1.13, created on 2023-03-29 13:58:54
compiled from "tpl/tpl_polls_taking_teach.html" */ ?>
<?php /*%%SmartyHeaderCode:589342586423f1885f92c4-13300807%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'66642706feb4cc6b9e4f3504e1f5efc7256ee895' =>
array (
0 => 'tpl/tpl_polls_taking_teach.html',
1 => 1680087530,
2 => 'file',
),
),
'nocache_hash' => '589342586423f1885f92c4-13300807',
'function' =>
array (
),
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_6423f1885fa224_47374418',
'variables' =>
array (
'message' => 0,
'disc' => 0,
'd' => 0,
'critery' => 0,
'k2' => 0,
'crit' => 0,
'disc2' => 0,
'id' => 0,
'sem' => 0,
),
'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6423f1885fa224_47374418')) {function content_6423f1885fa224_47374418($_smarty_tpl) {?><!-- BEGIN PAGE HEADER-->
<div class="row-fluid">
<div class="span12">
<h3 class="page-title">Список опросов</h3>
<ul class="breadcrumb">
<li><a href="/">Главная</a><span class="divider">/</span></li>
</div>
</div>
<?php if (($_smarty_tpl->tpl_vars['message']->value!='')){?>
<div class="alert alert-success">
<button data-dismiss="alert" class="close">×</button>
<strong><?php echo $_smarty_tpl->tpl_vars['message']->value;?>
</strong>
</div>
<?php }?>
<div class="row-fluid">
<div class="span12">
<div class="row-fluid">
<div class="span12">
<div class="row-fluid">
<div class="widget blue" >
<div class="widget-title">
<h4><i class="icon-reorder"></i> Прохождение опроса</h4>
<span class="tools">
<a href="javascript:;" class="icon-chevron-down"> Развернуть/Свернуть</a>
</span>
</div>
<div class="widget-body" >
<form name="polls_teachers" method="post" action="#">
<?php $_smarty_tpl->tpl_vars['d'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['d']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['disc']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['d']->key => $_smarty_tpl->tpl_vars['d']->value){
$_smarty_tpl->tpl_vars['d']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['d']->key;
?>
<h4><?php echo $_smarty_tpl->tpl_vars['d']->value['name'];?>
(<?php echo $_smarty_tpl->tpl_vars['d']->value['teacher']['fio'];?>
)</h4>
<table class="table table-bordered">
<?php $_smarty_tpl->tpl_vars['crit'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['crit']->_loop = false;
$_smarty_tpl->tpl_vars['k2'] = 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['k2']->value = $_smarty_tpl->tpl_vars['crit']->key;
?>
<tr>
<td width="5%"><?php echo $_smarty_tpl->tpl_vars['k2']->value+1;?>
</td>
<td><?php echo $_smarty_tpl->tpl_vars['crit']->value;?>
</td>
<td>
<select name="mark_teacher[<?php echo $_smarty_tpl->tpl_vars['d']->value['name'];?>
][<?php echo $_smarty_tpl->tpl_vars['d']->value['teacher']['fio'];?>
][<?php echo $_smarty_tpl->tpl_vars['crit']->value;?>
]" class="form-control">
<option value="10">10 баллов</option>
<option value="9">9 баллов</option>
<option value="8">8 баллов</option>
<option value="7">7 баллов</option>
<option value="6">6 баллов</option>
<option value="5">5 баллов</option>
<option value="4">4 балла</option>
<option value="3">3 балла</option>
<option value="2">2 балла</option>
<option value="1">1 балл</option>
</select>
</td>
</tr>
<?php } ?>
</table>
<?php } ?>
<?php $_smarty_tpl->tpl_vars['d'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['d']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['disc2']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['d']->key => $_smarty_tpl->tpl_vars['d']->value){
$_smarty_tpl->tpl_vars['d']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['d']->key;
?>
<h4><?php echo $_smarty_tpl->tpl_vars['d']->value['predmet'];?>
(<?php echo $_smarty_tpl->tpl_vars['d']->value['teacher'];?>
)</h4>
<table class="table table-bordered">
<?php $_smarty_tpl->tpl_vars['crit'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['crit']->_loop = false;
$_smarty_tpl->tpl_vars['k2'] = 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['k2']->value = $_smarty_tpl->tpl_vars['crit']->key;
?>
<tr>
<td width="5%"><?php echo $_smarty_tpl->tpl_vars['k2']->value+1;?>
</td>
<td><?php echo $_smarty_tpl->tpl_vars['crit']->value;?>
</td>
<td>
<select name="mark_teacher[<?php echo $_smarty_tpl->tpl_vars['d']->value['predmet'];?>
][<?php echo $_smarty_tpl->tpl_vars['d']->value['teacher'];?>
][<?php echo $_smarty_tpl->tpl_vars['crit']->value;?>
]" class="form-control">
<option value="10">10 баллов</option>
<option value="9">9 баллов</option>
<option value="8">8 баллов</option>
<option value="7">7 баллов</option>
<option value="6">6 баллов</option>
<option value="5">5 баллов</option>
<option value="4">4 балла</option>
<option value="3">3 балла</option>
<option value="2">2 балла</option>
<option value="1">1 балл</option>
</select>
</td>
</tr>
<?php } ?>
</table>
<?php } ?>
<input type="hidden" name="gruppa" value="<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
" />
<input type="hidden" name="sem" value="<?php echo $_smarty_tpl->tpl_vars['sem']->value;?>
" />
<br />
<br />
<input type="submit" name="polls_teachers" value="Завершить анкетирование" class="btn btn-success" />
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div><?php }} ?>