EIOS/inc/smarty/templates_c/714d238d5d875995b56c21d3f9e...

319 lines
20 KiB
PHP
Raw Permalink Normal View History

2023-12-28 15:39:22 +03:00
<?php /* Smarty version Smarty-3.1.13, created on 2022-04-11 22:58:39
compiled from "tpl/tpl_teacher_ocenki_print.html" */ ?>
<?php /*%%SmartyHeaderCode:19109611036254886f6cbe86-28126226%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'714d238d5d875995b56c21d3f9ef344b5cff6135' =>
array (
0 => 'tpl/tpl_teacher_ocenki_print.html',
1 => 1554968532,
2 => 'file',
),
),
'nocache_hash' => '19109611036254886f6cbe86-28126226',
'function' =>
array (
'shapka' =>
array (
'parameter' =>
array (
's' => 0,
),
'compiled' => '',
),
'niztable' =>
array (
'parameter' =>
array (
's' => 1,
),
'compiled' => '',
),
),
'variables' =>
array (
'fo' => 0,
's' => 0,
'semestr' => 0,
'kurs' => 0,
'gruppa' => 0,
'disciplina' => 0,
'page' => 0,
'site' => 0,
'regim' => 0,
'ocenki' => 0,
'ol' => 0,
'k' => 0,
'os' => 0,
'pr' => 0,
),
'has_nocache_code' => 0,
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_6254886f7491f4_07042292',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6254886f7491f4_07042292')) {function content_6254886f7491f4_07042292($_smarty_tpl) {?>
<?php if (!function_exists('smarty_template_function_shapka')) {
function smarty_template_function_shapka($_smarty_tpl,$params) {
$saved_tpl_vars = $_smarty_tpl->tpl_vars;
foreach ($_smarty_tpl->smarty->template_functions['shapka']['parameter'] as $key => $value) {$_smarty_tpl->tpl_vars[$key] = new Smarty_variable($value);};
foreach ($params as $key => $value) {$_smarty_tpl->tpl_vars[$key] = new Smarty_variable($value);}?>
<center style="font-size:12px;">Федеральное государственное бюджетное образовательное учреждение высшего образования</center>
<center style="font-size:20px;font-weight:bold;">"МАЙКОПСКИЙ ГОСУДАРСТВЕННЫЙ ТЕХНОЛОГИЧЕСКИЙ УНИВЕРСИТЕТ"</center>
<center style="font-weight:bold;">Факультет ______________________</center>
<center><?php if ($_smarty_tpl->tpl_vars['fo']->value=="оч"){?>очная<?php }?><?php if ($_smarty_tpl->tpl_vars['fo']->value=="заоч"){?>заочная<?php }?> форма обучения</center>
<?php if ($_smarty_tpl->tpl_vars['s']->value==0){?><center style="font-weight:bold;">ЗАЧЕТНО-ЭКЗАМЕНАЦИОННАЯ ВЕДОМОСТЬ №</center><?php }?>
<?php if ($_smarty_tpl->tpl_vars['s']->value==1){?><center style="font-weight:bold;">ВЕДОМОСТЬ ТЕКУЩЕЙ АТТЕСТАЦИИ №</center><?php }?>
<?php if ($_smarty_tpl->tpl_vars['s']->value==2){?><center style="font-weight:bold;">ВЕДОМОСТЬ КУРСОВЫХ №</center><?php }?>
<table class="tb_noborder tb_w_700">
<tr><td>Семестр <b><?php echo $_smarty_tpl->tpl_vars['semestr']->value;?>
</b> <b><?php if (date('m')>=10){?><?php echo date('Y');?>
</b> / <b><?php echo date('Y')+1;?>
<?php }else{ ?><?php echo date('Y')-1;?>
</b> / <b><?php echo date('Y');?>
<?php }?></b> учебного года</td><td>Курс <b><?php echo $_smarty_tpl->tpl_vars['kurs']->value;?>
</b> группа <b><?php echo $_smarty_tpl->tpl_vars['gruppa']->value;?>
-<?php echo $_smarty_tpl->tpl_vars['kurs']->value;?>
__</b></td></tr>
<tr><td><!--<?php if ('s'==0){?>форма контроля <b>зачет</b><?php }?>--></td><td>Наименование дисциплины <b><?php echo $_smarty_tpl->tpl_vars['disciplina']->value;?>
</b></td></tr>
<tr><td>Ф.И.О. преподавателя ______________________</td><td>Дата проведения формы контроля: "___" __________ 2019 год</td></tr>
</table>
<br>
<?php $_smarty_tpl->tpl_vars = $saved_tpl_vars;
foreach (Smarty::$global_tpl_vars as $key => $value) if(!isset($_smarty_tpl->tpl_vars[$key])) $_smarty_tpl->tpl_vars[$key] = $value;}}?>
<?php if (!function_exists('smarty_template_function_niztable')) {
function smarty_template_function_niztable($_smarty_tpl,$params) {
$saved_tpl_vars = $_smarty_tpl->tpl_vars;
foreach ($_smarty_tpl->smarty->template_functions['niztable']['parameter'] as $key => $value) {$_smarty_tpl->tpl_vars[$key] = new Smarty_variable($value);};
foreach ($params as $key => $value) {$_smarty_tpl->tpl_vars[$key] = new Smarty_variable($value);}?>
<br>
<table class="tb_noborder tb_w_700">
<tr><td>Число обучающихся на экзамене(зачете)</td><td class="tb_td_niz"></td></tr>
<tr><td>из них получивших "отлично" ("зачтено")</td><td class="tb_td_niz"></td></tr>
<tr><td>получивших "хорошо"</td><td class="tb_td_niz"></td></tr>
<tr><td>получивших "удовлетворительно"</td><td class="tb_td_niz"></td></tr>
<tr><td>получивших "неудовлетворительно" ("не зачтено")</td><td class="tb_td_niz"></td></tr>
<tr><td>число обучающихся, не явившихся на экзамен(зачет)</td><td class="tb_td_niz"></td></tr>
<tr><td>число обучающихся, не выполнивших учебный план</td><td class="tb_td_niz"></td></tr>
<tr><td>число обучающихся, досрочно сдавших сессию</td><td class="tb_td_niz"></td></tr>
<tr><td>Дата формирования ведомости</td><td class="tb_td_niz"></td></tr>
<tr><td>преподаватель</td><td class="tb_td_niz"></td></tr>
</table>
<div class="new_page"></div>
<?php $_smarty_tpl->tpl_vars = $saved_tpl_vars;
foreach (Smarty::$global_tpl_vars as $key => $value) if(!isset($_smarty_tpl->tpl_vars[$key])) $_smarty_tpl->tpl_vars[$key] = $value;}}?>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8" />
<title><?php echo $_smarty_tpl->tpl_vars['page']->value['name'];?>
<?php echo $_smarty_tpl->tpl_vars['site']->value['name'];?>
</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta content="" name="description" />
<meta content="" name="author" />
<link href="/tpl/css/print.css" rel="stylesheet" />
</head>
<style>
.tb_noborder{ border:none; }
.tb_noborder td{ border:none; }
.tb_nocenter{ margin: }
.tb_td_niz{ border-bottom:1px solid #000!important;width:60%; }
.tb_w_700{ width:70%; }
.table td{ line-height:20px; padding:20px;}
</style>
<body class="fixed-top">
<div class="row-fluid">
<div class="span12">
<div class="row-fluid">
<?php if ($_smarty_tpl->tpl_vars['regim']->value=='ocenki_grupps'){?>
<div class="span12">
<div class="row-fluid">
<?php if (count($_smarty_tpl->tpl_vars['ocenki']->value['students'])){?>
<?php $_smarty_tpl->tpl_vars['ol'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ol']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['ocenki']->value['lections']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['ol']->key => $_smarty_tpl->tpl_vars['ol']->value){
$_smarty_tpl->tpl_vars['ol']->_loop = true;
?>
<?php smarty_template_function_shapka($_smarty_tpl,array('gruppname'=>$_smarty_tpl->tpl_vars['ocenki']->value['grupp']['name'],'gruppa'=>$_smarty_tpl->tpl_vars['ocenki']->value['grupp']['sokr'],'kurs'=>$_smarty_tpl->tpl_vars['ocenki']->value['grupp']['kurs'],'semestr'=>$_smarty_tpl->tpl_vars['ol']->value['semestr'],'fo'=>$_smarty_tpl->tpl_vars['ocenki']->value['grupp']['fo'],'specialnost'=>$_smarty_tpl->tpl_vars['ocenki']->value['grupp']['specialnost'],'disciplina'=>$_smarty_tpl->tpl_vars['ol']->value['name'],'s'=>0));?>
<table class="table table-striped table-bordered table-advance table-hover tb_w_700">
<thead><tr>
<th></th>
<th>Фамилия, инициалы</th>
<th> зачетной книжки</th>
<th>Отметка о выполнении<br>(невыполнении)<br>учебного плана<br>("УПВ"/"УПНВ")</th>
<th>Зачетная оценка</th>
</tr></thead>
<tbody><?php $_smarty_tpl->tpl_vars['os'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['os']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['ocenki']->value['students']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['os']->key => $_smarty_tpl->tpl_vars['os']->value){
$_smarty_tpl->tpl_vars['os']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['os']->key;
?><tr>
<td><?php echo $_smarty_tpl->tpl_vars['k']->value+1;?>
</td>
<td><?php echo $_smarty_tpl->tpl_vars['os']->value['user']['fio'];?>
</td>
<td class="center"><?php if ($_smarty_tpl->tpl_vars['os']->value['num_zach']!=''){?><?php echo $_smarty_tpl->tpl_vars['os']->value['num_zach'];?>
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['os']->value['num_stud'];?>
<?php }?></td>
<td class="center"><?php echo $_smarty_tpl->tpl_vars['ocenki']->value['saves']['upv'][$_smarty_tpl->tpl_vars['ol']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']];?>
</td>
<td class="center"><?php echo $_smarty_tpl->tpl_vars['ocenki']->value['saves']['ol'][$_smarty_tpl->tpl_vars['ol']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][2];?>
</td>
</tr><?php } ?></tbody>
</table>
<?php smarty_template_function_niztable($_smarty_tpl,array());?>
<?php smarty_template_function_shapka($_smarty_tpl,array('gruppname'=>$_smarty_tpl->tpl_vars['ocenki']->value['grupp']['name'],'gruppa'=>$_smarty_tpl->tpl_vars['ocenki']->value['grupp']['sokr'],'kurs'=>$_smarty_tpl->tpl_vars['ocenki']->value['grupp']['kurs'],'semestr'=>$_smarty_tpl->tpl_vars['ol']->value['semestr'],'fo'=>$_smarty_tpl->tpl_vars['ocenki']->value['grupp']['fo'],'specialnost'=>$_smarty_tpl->tpl_vars['ocenki']->value['grupp']['specialnost'],'disciplina'=>$_smarty_tpl->tpl_vars['ol']->value['name'],'s'=>1));?>
<table class="table table-striped table-bordered table-advance table-hover tb_w_700">
<thead><tr>
<th></th>
<th>Фамилия, инициалы</th>
<th> зачетной книжки</th>
<th>Пропуски</th>
<th>Текущая аттестация</th>
</tr></thead>
<tbody><?php $_smarty_tpl->tpl_vars['os'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['os']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['ocenki']->value['students']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['os']->key => $_smarty_tpl->tpl_vars['os']->value){
$_smarty_tpl->tpl_vars['os']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['os']->key;
?><tr>
<td><?php echo $_smarty_tpl->tpl_vars['k']->value+1;?>
</td>
<td><?php echo $_smarty_tpl->tpl_vars['os']->value['user']['fio'];?>
</td>
<td class="center"><?php if ($_smarty_tpl->tpl_vars['os']->value['num_zach']!=''){?><?php echo $_smarty_tpl->tpl_vars['os']->value['num_zach'];?>
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['os']->value['num_stud'];?>
<?php }?></td>
<td class="center"><?php echo $_smarty_tpl->tpl_vars['ocenki']->value['saves']['propusk'][$_smarty_tpl->tpl_vars['ol']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']];?>
</td>
<td class="center"><?php echo $_smarty_tpl->tpl_vars['ocenki']->value['saves']['ol'][$_smarty_tpl->tpl_vars['ol']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][1];?>
</td>
</tr><?php } ?></tbody>
</table>
<?php smarty_template_function_niztable($_smarty_tpl,array());?>
<?php if (count($_smarty_tpl->tpl_vars['ol']->value['kursov'])){?>
<?php $_smarty_tpl->tpl_vars['pr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pr']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['ol']->value['kursov']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['pr']->key => $_smarty_tpl->tpl_vars['pr']->value){
$_smarty_tpl->tpl_vars['pr']->_loop = true;
?>
<?php smarty_template_function_shapka($_smarty_tpl,array('gruppname'=>$_smarty_tpl->tpl_vars['ocenki']->value['grupp']['name'],'gruppa'=>$_smarty_tpl->tpl_vars['ocenki']->value['grupp']['sokr'],'kurs'=>$_smarty_tpl->tpl_vars['ocenki']->value['grupp']['kurs'],'semestr'=>$_smarty_tpl->tpl_vars['ol']->value['semestr'],'fo'=>$_smarty_tpl->tpl_vars['ocenki']->value['grupp']['fo'],'specialnost'=>$_smarty_tpl->tpl_vars['ocenki']->value['grupp']['specialnost'],'disciplina'=>$_smarty_tpl->tpl_vars['ol']->value['name'],'s'=>2));?>
<table class="table table-striped table-bordered table-advance table-hover tb_w_700">
<thead><tr>
<th>ФИО</th>
<th>Номер зачетки</th>
<th>Промежуточная(зачет,экзамен)</th>
</tr></thead>
<tbody><?php $_smarty_tpl->tpl_vars['os'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['os']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['ocenki']->value['students']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['os']->key => $_smarty_tpl->tpl_vars['os']->value){
$_smarty_tpl->tpl_vars['os']->_loop = true;
?><tr>
<td><?php echo $_smarty_tpl->tpl_vars['os']->value['user']['fio'];?>
</td>
<td class="center"><?php if ($_smarty_tpl->tpl_vars['os']->value['num_zach']!=''){?><?php echo $_smarty_tpl->tpl_vars['os']->value['num_zach'];?>
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['os']->value['num_stud'];?>
<?php }?></td>
<td class="center"><?php echo $_smarty_tpl->tpl_vars['ocenki']->value['saves']['kur'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][2];?>
</td>
</tr><?php } ?></tbody>
</table>
<?php } ?>
<?php smarty_template_function_niztable($_smarty_tpl,array());?>
<?php }?>
<h2>Остальные предметы <?php echo $_smarty_tpl->tpl_vars['ol']->value['name'];?>
<?php echo $_smarty_tpl->tpl_vars['ol']->value['specialnost'];?>
курс:<?php echo $_smarty_tpl->tpl_vars['ol']->value['kurs'];?>
сем.:<?php echo $_smarty_tpl->tpl_vars['ol']->value['semestr'];?>
</h2>
<table class="table table-striped table-bordered table-advance table-hover">
<thead><tr>
<th rowspan="2">ФИО</th>
<th rowspan="2">Номер зачетки</th>
<?php if (count($_smarty_tpl->tpl_vars['ol']->value['practich'])){?><th colspan="<?php echo count($_smarty_tpl->tpl_vars['ol']->value['practich']);?>
">Практические</th><?php }?>
<?php if (count($_smarty_tpl->tpl_vars['ol']->value['controln'])){?><th colspan="<?php echo count($_smarty_tpl->tpl_vars['ol']->value['controln']);?>
">Контрольные</th><?php }?>
<?php if (count($_smarty_tpl->tpl_vars['ol']->value['praktika'])){?><th colspan="<?php echo count($_smarty_tpl->tpl_vars['ol']->value['praktika']);?>
">Практика</th><?php }?>
</tr>
<tr>
<?php if (count($_smarty_tpl->tpl_vars['ol']->value['practich'])){?><?php $_smarty_tpl->tpl_vars['pr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pr']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['ol']->value['practich']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['pr']->key => $_smarty_tpl->tpl_vars['pr']->value){
$_smarty_tpl->tpl_vars['pr']->_loop = true;
?><th><?php echo $_smarty_tpl->tpl_vars['pr']->value['descrip'];?>
</th><?php } ?><?php }?>
<?php if (count($_smarty_tpl->tpl_vars['ol']->value['controln'])){?><?php $_smarty_tpl->tpl_vars['pr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pr']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['ol']->value['controln']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['pr']->key => $_smarty_tpl->tpl_vars['pr']->value){
$_smarty_tpl->tpl_vars['pr']->_loop = true;
?><th><?php echo $_smarty_tpl->tpl_vars['pr']->value['descrip'];?>
</th><?php } ?><?php }?>
<?php if (count($_smarty_tpl->tpl_vars['ol']->value['praktika'])){?><?php $_smarty_tpl->tpl_vars['pr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pr']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['ol']->value['praktika']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['pr']->key => $_smarty_tpl->tpl_vars['pr']->value){
$_smarty_tpl->tpl_vars['pr']->_loop = true;
?><th><?php echo $_smarty_tpl->tpl_vars['pr']->value['descrip'];?>
</th><?php } ?><?php }?>
</tr></thead>
<tbody><?php $_smarty_tpl->tpl_vars['os'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['os']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['ocenki']->value['students']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['os']->key => $_smarty_tpl->tpl_vars['os']->value){
$_smarty_tpl->tpl_vars['os']->_loop = true;
?><tr>
<td><?php echo $_smarty_tpl->tpl_vars['os']->value['user']['fio'];?>
</td>
<td class="center"><?php if ($_smarty_tpl->tpl_vars['os']->value['num_zach']!=''){?><?php echo $_smarty_tpl->tpl_vars['os']->value['num_zach'];?>
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['os']->value['num_stud'];?>
<?php }?></td>
<?php if (count($_smarty_tpl->tpl_vars['ol']->value['practich'])){?><?php $_smarty_tpl->tpl_vars['pr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pr']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['ol']->value['practich']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['pr']->key => $_smarty_tpl->tpl_vars['pr']->value){
$_smarty_tpl->tpl_vars['pr']->_loop = true;
?><td class="center"><?php echo $_smarty_tpl->tpl_vars['ocenki']->value['saves']['pr'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][2];?>
</td><?php } ?><?php }?>
<?php if (count($_smarty_tpl->tpl_vars['ol']->value['controln'])){?><?php $_smarty_tpl->tpl_vars['pr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pr']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['ol']->value['controln']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['pr']->key => $_smarty_tpl->tpl_vars['pr']->value){
$_smarty_tpl->tpl_vars['pr']->_loop = true;
?><td class="center"><?php echo $_smarty_tpl->tpl_vars['ocenki']->value['saves']['co'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][2];?>
</td><?php } ?><?php }?>
<?php if (count($_smarty_tpl->tpl_vars['ol']->value['praktika'])){?><?php $_smarty_tpl->tpl_vars['pr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pr']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['ol']->value['praktika']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['pr']->key => $_smarty_tpl->tpl_vars['pr']->value){
$_smarty_tpl->tpl_vars['pr']->_loop = true;
?><td class="center"><?php echo $_smarty_tpl->tpl_vars['ocenki']->value['saves']['pra'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][2];?>
</td><?php } ?><?php }?>
</tr><?php } ?></tbody>
</table>
<div class="new_page"></div>
<?php } ?>
<?php }?>
</div>
</div>
<?php }?>
</div>
</div>
</div>
</body>
</html><?php }} ?>