396 lines
30 KiB
PHP
396 lines
30 KiB
PHP
|
<?php /* Smarty version Smarty-3.1.13, created on 2022-04-12 14:10:31
|
|||
|
compiled from "tpl/tpl_teacher_ocenki_fakultet.html" */ ?>
|
|||
|
<?php /*%%SmartyHeaderCode:123539547362555e27afe415-17803219%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|||
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
|||
|
'file_dependency' =>
|
|||
|
array (
|
|||
|
'137c61f0fe509851905b7999bbb8c9d6cd2706d6' =>
|
|||
|
array (
|
|||
|
0 => 'tpl/tpl_teacher_ocenki_fakultet.html',
|
|||
|
1 => 1551939238,
|
|||
|
2 => 'file',
|
|||
|
),
|
|||
|
),
|
|||
|
'nocache_hash' => '123539547362555e27afe415-17803219',
|
|||
|
'function' =>
|
|||
|
array (
|
|||
|
'shapka' =>
|
|||
|
array (
|
|||
|
'parameter' =>
|
|||
|
array (
|
|||
|
's' => 0,
|
|||
|
),
|
|||
|
'compiled' => '',
|
|||
|
),
|
|||
|
'niztable' =>
|
|||
|
array (
|
|||
|
'parameter' =>
|
|||
|
array (
|
|||
|
's' => 1,
|
|||
|
),
|
|||
|
'compiled' => '',
|
|||
|
),
|
|||
|
),
|
|||
|
'variables' =>
|
|||
|
array (
|
|||
|
'user' => 0,
|
|||
|
'fo' => 0,
|
|||
|
's' => 0,
|
|||
|
'semestr' => 0,
|
|||
|
'kurs' => 0,
|
|||
|
'gruppa' => 0,
|
|||
|
'disciplina' => 0,
|
|||
|
'fioprep' => 0,
|
|||
|
'datas' => 0,
|
|||
|
'kolstud' => 0,
|
|||
|
'tekatt5' => 0,
|
|||
|
'zach' => 0,
|
|||
|
'tekatt4' => 0,
|
|||
|
'tekatt3' => 0,
|
|||
|
'tekatt2' => 0,
|
|||
|
'nezach' => 0,
|
|||
|
'neyavk' => 0,
|
|||
|
'neupv' => 0,
|
|||
|
'Gdata' => 0,
|
|||
|
'page' => 0,
|
|||
|
'site' => 0,
|
|||
|
'regim' => 0,
|
|||
|
'ocenki' => 0,
|
|||
|
'typeatt' => 0,
|
|||
|
'ol' => 0,
|
|||
|
'k' => 0,
|
|||
|
'os' => 0,
|
|||
|
'pr' => 0,
|
|||
|
),
|
|||
|
'has_nocache_code' => 0,
|
|||
|
'version' => 'Smarty-3.1.13',
|
|||
|
'unifunc' => 'content_62555e27be76b9_03064749',
|
|||
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
|||
|
<?php if ($_valid && !is_callable('content_62555e27be76b9_03064749')) {function content_62555e27be76b9_03064749($_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;"><u><?php echo $_smarty_tpl->tpl_vars['user']->value['teacher']['fakultet'];?>
|
|||
|
</u></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><u><?php echo $_smarty_tpl->tpl_vars['semestr']->value;?>
|
|||
|
</u></b> <u><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></u> учебного года</td><td>Курс <b><u><?php echo $_smarty_tpl->tpl_vars['kurs']->value;?>
|
|||
|
</u></b> группа <b><u><?php echo $_smarty_tpl->tpl_vars['gruppa']->value;?>
|
|||
|
-<?php echo $_smarty_tpl->tpl_vars['kurs']->value;?>
|
|||
|
</u></b></td></tr>
|
|||
|
<tr><td><!--<?php if ('s'==0){?>форма контроля <b><u>зачет</u></b><?php }?>--></td><td>Наименование дисциплины <b><u><?php echo $_smarty_tpl->tpl_vars['disciplina']->value;?>
|
|||
|
</u></b></td></tr>
|
|||
|
<tr><td>Ф.И.О. преподавателя <u><b><?php echo $_smarty_tpl->tpl_vars['fioprep']->value;?>
|
|||
|
</b></u></td><td>Дата проведения формы контроля: <?php if (isset($_smarty_tpl->tpl_vars['datas']->value)){?><u><b> </b><!--<b><?php echo $_smarty_tpl->tpl_vars['datas']->value;?>
|
|||
|
</b>--></u><?php }else{ ?>"___" __________ <?php echo date('Y');?>
|
|||
|
год<?php }?></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"><?php if (isset($_smarty_tpl->tpl_vars['kolstud']->value)){?><?php echo $_smarty_tpl->tpl_vars['kolstud']->value;?>
|
|||
|
<?php }?></td></tr>
|
|||
|
<tr><td>из них получивших "отлично" ("зачтено")</td><td class="tb_td_niz"><?php if (isset($_smarty_tpl->tpl_vars['tekatt5']->value)&&$_smarty_tpl->tpl_vars['tekatt5']->value!=0){?><?php echo $_smarty_tpl->tpl_vars['tekatt5']->value;?>
|
|||
|
<?php }else{ ?><?php if (isset($_smarty_tpl->tpl_vars['zach']->value)){?><?php echo $_smarty_tpl->tpl_vars['zach']->value;?>
|
|||
|
<?php }?><?php }?></td></tr>
|
|||
|
<tr><td>получивших "хорошо"</td><td class="tb_td_niz"><?php if (isset($_smarty_tpl->tpl_vars['tekatt4']->value)&&$_smarty_tpl->tpl_vars['tekatt4']->value!=0){?><?php echo $_smarty_tpl->tpl_vars['tekatt4']->value;?>
|
|||
|
<?php }?></td></tr>
|
|||
|
<tr><td>получивших "удовлетворительно"</td><td class="tb_td_niz"><?php if (isset($_smarty_tpl->tpl_vars['tekatt3']->value)&&$_smarty_tpl->tpl_vars['tekatt3']->value!=0){?><?php echo $_smarty_tpl->tpl_vars['tekatt3']->value;?>
|
|||
|
<?php }?></td></tr>
|
|||
|
<tr><td>получивших "неудовлетворительно" ("не зачтено")</td><td class="tb_td_niz"><?php if (isset($_smarty_tpl->tpl_vars['tekatt2']->value)&&$_smarty_tpl->tpl_vars['tekatt2']->value!=0){?><?php echo $_smarty_tpl->tpl_vars['tekatt2']->value;?>
|
|||
|
<?php }else{ ?><?php if (isset($_smarty_tpl->tpl_vars['nezach']->value)){?><?php echo $_smarty_tpl->tpl_vars['nezach']->value;?>
|
|||
|
<?php }?><?php }?></td></tr>
|
|||
|
<tr><td>число обучающихся, не явившихся на экзамен(зачет)</td><td class="tb_td_niz"><?php if (isset($_smarty_tpl->tpl_vars['neyavk']->value)){?><?php echo $_smarty_tpl->tpl_vars['neyavk']->value;?>
|
|||
|
<?php }?></td></tr>
|
|||
|
<tr><td>число обучающихся, не выполнивших учебный план</td><td class="tb_td_niz"><?php if (isset($_smarty_tpl->tpl_vars['neupv']->value)){?><?php echo $_smarty_tpl->tpl_vars['neupv']->value;?>
|
|||
|
<?php }?></td></tr>
|
|||
|
<tr><td>число обучающихся, досрочно сдавших сессию</td><td class="tb_td_niz"></td></tr>
|
|||
|
<tr><td>Дата формирования ведомости</td><td class="tb_td_niz"><?php if (isset($_smarty_tpl->tpl_vars['Gdata']->value)){?><?php echo $_smarty_tpl->tpl_vars['Gdata']->value;?>
|
|||
|
<?php }?></td></tr>
|
|||
|
<tr><td>преподаватель</td><td class="tb_td_niz"><?php if (isset($_smarty_tpl->tpl_vars['fioprep']->value)){?><?php echo $_smarty_tpl->tpl_vars['fioprep']->value;?>
|
|||
|
<?php }?></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:90%; }
|
|||
|
table th{
|
|||
|
font-size:12px;
|
|||
|
}
|
|||
|
table td{
|
|||
|
font-size:12px;
|
|||
|
padding:6px;
|
|||
|
line-height:12px;
|
|||
|
}
|
|||
|
</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_fakultet'){?>
|
|||
|
<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 if ($_smarty_tpl->tpl_vars['typeatt']->value==2){?>
|
|||
|
<?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'],'fioprep'=>$_smarty_tpl->tpl_vars['ol']->value['fioprep'],'datas'=>$_smarty_tpl->tpl_vars['ocenki']->value['datas']['ol'][$_smarty_tpl->tpl_vars['ol']->value['id']],'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>
|
|||
|
<?php $_smarty_tpl->tpl_vars["neupv"] = new Smarty_variable("0", null, 0);?>
|
|||
|
<?php $_smarty_tpl->tpl_vars["tekatt5"] = new Smarty_variable("0", null, 0);?>
|
|||
|
<?php $_smarty_tpl->tpl_vars["tekatt4"] = new Smarty_variable("0", null, 0);?>
|
|||
|
<?php $_smarty_tpl->tpl_vars["tekatt3"] = new Smarty_variable("0", null, 0);?>
|
|||
|
<?php $_smarty_tpl->tpl_vars["tekatt2"] = new Smarty_variable("0", null, 0);?>
|
|||
|
<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>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['ocenki']->value['saves']['upv'][$_smarty_tpl->tpl_vars['ol']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']]!="УПВ"){?><?php $_smarty_tpl->tpl_vars["neupv"] = new Smarty_variable($_smarty_tpl->tpl_vars['neupv']->value+1, null, 0);?><?php }?>
|
|||
|
</tr><?php } ?></tbody>
|
|||
|
</table>
|
|||
|
<?php smarty_template_function_niztable($_smarty_tpl,array('kolstud'=>count($_smarty_tpl->tpl_vars['ocenki']->value['students']),'Gdata'=>$_smarty_tpl->tpl_vars['Gdata']->value,'neupv'=>$_smarty_tpl->tpl_vars['neupv']->value,'tekatt5'=>$_smarty_tpl->tpl_vars['tekatt5']->value,'tekatt4'=>$_smarty_tpl->tpl_vars['tekatt4']->value,'tekatt3'=>$_smarty_tpl->tpl_vars['tekatt3']->value,'tekatt2'=>$_smarty_tpl->tpl_vars['tekatt2']->value,'fioprep'=>$_smarty_tpl->tpl_vars['ol']->value['fioprep']));?>
|
|||
|
|
|||
|
<?php }?>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['typeatt']->value==1){?>
|
|||
|
<?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'],'fioprep'=>$_smarty_tpl->tpl_vars['ol']->value['fioprep'],'datas'=>$_smarty_tpl->tpl_vars['ocenki']->value['datas']['ol'][$_smarty_tpl->tpl_vars['ol']->value['id']],'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>
|
|||
|
<?php $_smarty_tpl->tpl_vars["neupv"] = new Smarty_variable("0", null, 0);?>
|
|||
|
<?php $_smarty_tpl->tpl_vars["tekatt5"] = new Smarty_variable("0", null, 0);?>
|
|||
|
<?php $_smarty_tpl->tpl_vars["tekatt4"] = new Smarty_variable("0", null, 0);?>
|
|||
|
<?php $_smarty_tpl->tpl_vars["tekatt3"] = new Smarty_variable("0", null, 0);?>
|
|||
|
<?php $_smarty_tpl->tpl_vars["tekatt2"] = new Smarty_variable("0", null, 0);?>
|
|||
|
<?php $_smarty_tpl->tpl_vars["neyavk"] = new Smarty_variable("0", null, 0);?>
|
|||
|
<?php $_smarty_tpl->tpl_vars["zach"] = new Smarty_variable("0", null, 0);?>
|
|||
|
<?php $_smarty_tpl->tpl_vars["nezach"] = new Smarty_variable("0", null, 0);?>
|
|||
|
<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 if ($_smarty_tpl->tpl_vars['ocenki']->value['saves']['ol'][$_smarty_tpl->tpl_vars['ol']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][1]=="зачет"){?>зачтено<?php }else{ ?><?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];?>
|
|||
|
<?php }?></td>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['ocenki']->value['saves']['ol'][$_smarty_tpl->tpl_vars['ol']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][1]==5){?><?php $_smarty_tpl->tpl_vars["tekatt5"] = new Smarty_variable($_smarty_tpl->tpl_vars['tekatt5']->value+1, null, 0);?><?php }?>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['ocenki']->value['saves']['ol'][$_smarty_tpl->tpl_vars['ol']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][1]==4){?><?php $_smarty_tpl->tpl_vars["tekatt4"] = new Smarty_variable($_smarty_tpl->tpl_vars['tekatt4']->value+1, null, 0);?><?php }?>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['ocenki']->value['saves']['ol'][$_smarty_tpl->tpl_vars['ol']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][1]==3){?><?php $_smarty_tpl->tpl_vars["tekatt3"] = new Smarty_variable($_smarty_tpl->tpl_vars['tekatt3']->value+1, null, 0);?><?php }?>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['ocenki']->value['saves']['ol'][$_smarty_tpl->tpl_vars['ol']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][1]==2){?><?php $_smarty_tpl->tpl_vars["tekatt2"] = new Smarty_variable($_smarty_tpl->tpl_vars['tekatt2']->value+1, null, 0);?><?php }?>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['ocenki']->value['saves']['ol'][$_smarty_tpl->tpl_vars['ol']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][1]=="неявка"){?><?php $_smarty_tpl->tpl_vars["neyavk"] = new Smarty_variable($_smarty_tpl->tpl_vars['neyavk']->value+1, null, 0);?><?php }?>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['ocenki']->value['saves']['ol'][$_smarty_tpl->tpl_vars['ol']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][1]=="зачет"){?><?php $_smarty_tpl->tpl_vars["zach"] = new Smarty_variable($_smarty_tpl->tpl_vars['zach']->value+1, null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars["nezach"] = new Smarty_variable($_smarty_tpl->tpl_vars['nezach']->value+1, null, 0);?><?php }?>
|
|||
|
</tr><?php } ?></tbody>
|
|||
|
</table>
|
|||
|
<?php smarty_template_function_niztable($_smarty_tpl,array('kolstud'=>count($_smarty_tpl->tpl_vars['ocenki']->value['students']),'Gdata'=>$_smarty_tpl->tpl_vars['Gdata']->value,'neupv'=>$_smarty_tpl->tpl_vars['neupv']->value,'tekatt5'=>$_smarty_tpl->tpl_vars['tekatt5']->value,'tekatt4'=>$_smarty_tpl->tpl_vars['tekatt4']->value,'tekatt3'=>$_smarty_tpl->tpl_vars['tekatt3']->value,'tekatt2'=>$_smarty_tpl->tpl_vars['tekatt2']->value,'neyavk'=>$_smarty_tpl->tpl_vars['neyavk']->value,'fioprep'=>$_smarty_tpl->tpl_vars['ol']->value['fioprep'],'zach'=>$_smarty_tpl->tpl_vars['zach']->value,'nezach'=>$_smarty_tpl->tpl_vars['nezach']->value));?>
|
|||
|
|
|||
|
<?php }?>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['typeatt']->value==1){?>
|
|||
|
<?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'],'fioprep'=>$_smarty_tpl->tpl_vars['ol']->value['fioprep'],'datas'=>$_smarty_tpl->tpl_vars['ocenki']->value['datas']['kur'][$_smarty_tpl->tpl_vars['ol']->value['id']],'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>
|
|||
|
<?php $_smarty_tpl->tpl_vars["neupv"] = new Smarty_variable("0", null, 0);?>
|
|||
|
<?php $_smarty_tpl->tpl_vars["tekatt5"] = new Smarty_variable("0", null, 0);?>
|
|||
|
<?php $_smarty_tpl->tpl_vars["tekatt4"] = new Smarty_variable("0", null, 0);?>
|
|||
|
<?php $_smarty_tpl->tpl_vars["tekatt3"] = new Smarty_variable("0", null, 0);?>
|
|||
|
<?php $_smarty_tpl->tpl_vars["tekatt2"] = new Smarty_variable("0", null, 0);?>
|
|||
|
<?php $_smarty_tpl->tpl_vars["neyavk"] = new Smarty_variable("0", null, 0);?>
|
|||
|
<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>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['ocenki']->value['saves']['kur'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][2]==5){?><?php $_smarty_tpl->tpl_vars["tekatt5"] = new Smarty_variable($_smarty_tpl->tpl_vars['tekatt5']->value+1, null, 0);?><?php }?>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['ocenki']->value['saves']['kur'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][2]==4){?><?php $_smarty_tpl->tpl_vars["tekatt4"] = new Smarty_variable($_smarty_tpl->tpl_vars['tekatt4']->value+1, null, 0);?><?php }?>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['ocenki']->value['saves']['kur'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][2]==3){?><?php $_smarty_tpl->tpl_vars["tekatt3"] = new Smarty_variable($_smarty_tpl->tpl_vars['tekatt3']->value+1, null, 0);?><?php }?>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['ocenki']->value['saves']['kur'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][2]==2){?><?php $_smarty_tpl->tpl_vars["tekatt2"] = new Smarty_variable($_smarty_tpl->tpl_vars['tekatt2']->value+1, null, 0);?><?php }?>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['ocenki']->value['saves']['ol'][$_smarty_tpl->tpl_vars['ol']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][1]=="неявка"){?><?php $_smarty_tpl->tpl_vars["neyavk"] = new Smarty_variable($_smarty_tpl->tpl_vars['neyavk']->value+1, null, 0);?><?php }?>
|
|||
|
</tr><?php } ?></tbody>
|
|||
|
</table>
|
|||
|
<?php } ?>
|
|||
|
<?php smarty_template_function_niztable($_smarty_tpl,array('kolstud'=>count($_smarty_tpl->tpl_vars['ocenki']->value['students']),'Gdata'=>$_smarty_tpl->tpl_vars['Gdata']->value,'neupv'=>$_smarty_tpl->tpl_vars['neupv']->value,'tekatt5'=>$_smarty_tpl->tpl_vars['tekatt5']->value,'tekatt4'=>$_smarty_tpl->tpl_vars['tekatt4']->value,'tekatt3'=>$_smarty_tpl->tpl_vars['tekatt3']->value,'tekatt2'=>$_smarty_tpl->tpl_vars['tekatt2']->value,'neyavk'=>$_smarty_tpl->tpl_vars['neyavk']->value,'fioprep'=>$_smarty_tpl->tpl_vars['ol']->value['fioprep']));?>
|
|||
|
|
|||
|
<?php }?>
|
|||
|
<?php }?>
|
|||
|
<?php if ($_smarty_tpl->tpl_vars['typeatt']->value==1){?>
|
|||
|
<?php if (count($_smarty_tpl->tpl_vars['ol']->value['practich'])||count($_smarty_tpl->tpl_vars['ol']->value['controln'])||count($_smarty_tpl->tpl_vars['ol']->value['praktika'])){?>
|
|||
|
<h2>Остальные предметы</h2>
|
|||
|
<p><u><?php echo $_smarty_tpl->tpl_vars['ol']->value['name'];?>
|
|||
|
</u><br>Специальность:<?php echo $_smarty_tpl->tpl_vars['ol']->value['specialnost'];?>
|
|||
|
<br>курс:<u><?php echo $_smarty_tpl->tpl_vars['ol']->value['kurs'];?>
|
|||
|
</u> сем.:<u><?php echo $_smarty_tpl->tpl_vars['ol']->value['semestr'];?>
|
|||
|
</u><br>Преподаватель: <u><?php echo $_smarty_tpl->tpl_vars['ol']->value['fioprep'];?>
|
|||
|
</u></p>
|
|||
|
<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>
|
|||
|
<?php }?>
|
|||
|
<?php }?>
|
|||
|
|
|||
|
<div class="new_page"></div>
|
|||
|
|
|||
|
<?php } ?>
|
|||
|
<?php }else{ ?>нет студентов
|
|||
|
<?php }?>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<?php }?>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</body>
|
|||
|
</html><?php }} ?>
|