EIOS/inc/smarty/templates_c/80cd5d60eb2efa8caf8a49b7f8b...

185 lines
9.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 2022-04-12 11:57:20
compiled from "tpl/tpl_teach_consolidated_print.html" */ ?>
<?php /*%%SmartyHeaderCode:103984424962553ef021b7a9-37723790%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'80cd5d60eb2efa8caf8a49b7f8b687032ad79ca4' =>
array (
0 => 'tpl/tpl_teach_consolidated_print.html',
1 => 1640686827,
2 => 'file',
),
),
'nocache_hash' => '103984424962553ef021b7a9-37723790',
'function' =>
array (
),
'variables' =>
array (
'fakultet' => 0,
'fo' => 0,
'sem' => 0,
'gruppa' => 0,
'num' => 0,
'disc' => 0,
'di' => 0,
'students' => 0,
'kk' => 0,
'stud' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_62553ef0284e25_20547171',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_62553ef0284e25_20547171')) {function content_62553ef0284e25_20547171($_smarty_tpl) {?><!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>Сводная ведомость</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" />
<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;
border: 0!important;
}
</style>
</head>
<body id="print">
<table align="center" border="0" cellspacing="0" style="border-collapse:collapse; width:797px; border:0!important;" >
<tbody>
<tr>
<td style="border-bottom:0px solid black; border-left:0px solid black; border-right:0px solid black; border-top:0px solid black; hvertical-align:top; width:797px">
<p style="font-size: 10pt; text-align: center;">Федеральное государственное бюджетное образовательное учреждение высшего образования</p>
<p style="font-size: 10pt; text-align: center; font-weight: bold;">«МАЙКОПСКИЙ ГОСУДАРСТВЕННЫЙ ТЕХНОЛОГИЧЕСКИЙ УНИВЕРСИТЕТ»</p>
<p style="font-size: 10pt; text-align: center; font-weight: bold;"><?php if (($_smarty_tpl->tpl_vars['fakultet']->value!="Филиал МГТУ")){?><?php echo $_smarty_tpl->tpl_vars['fakultet']->value;?>
<?php }else{ ?>Филиал МГТУ в поселке Яблоновском<?php }?></p>
<p style="font-size: 10pt; text-align: center;">Форма обучения: <u><?php echo $_smarty_tpl->tpl_vars['fo']->value;?>
</u></p>
<p style="font-size: 10pt; text-align: center; font-weight: bold;">СВОДНАЯ ВЕДОМОСТЬ</p>
<!--p style="font-size: 10pt;">Семестр <u>&nbsp;<?php echo $_smarty_tpl->tpl_vars['sem']->value;?>
&nbsp;</u>&nbsp;&nbsp; <u>&nbsp;2020/2021&nbsp;</u> учебного года&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Курс <u>&nbsp;<?php echo ceil(($_smarty_tpl->tpl_vars['sem']->value/2));?>
&nbsp;</u> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; группа <u>&nbsp;<?php echo $_smarty_tpl->tpl_vars['gruppa']->value;?>
-<?php echo ceil(($_smarty_tpl->tpl_vars['sem']->value/2));?>
<?php echo $_smarty_tpl->tpl_vars['num']->value;?>
&nbsp;</u></p-->
<p style="font-size: 10pt;">Семестр <u>&nbsp;<?php echo $_smarty_tpl->tpl_vars['sem']->value;?>
&nbsp;</u>&nbsp;&nbsp; <u>&nbsp;2021/2022&nbsp;</u> учебного года&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Курс <u>&nbsp;<?php echo ceil(($_smarty_tpl->tpl_vars['sem']->value/2));?>
&nbsp;</u> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; группа <u>&nbsp;<?php echo $_smarty_tpl->tpl_vars['gruppa']->value;?>
</u></p>
<table width="100%" border="1">
<tr height="250">
<th rowspan="2"> п/п</th>
<th rowspan="2">ФИО студента</th>
<?php $_smarty_tpl->tpl_vars['di'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['di']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['disc']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['di']->key => $_smarty_tpl->tpl_vars['di']->value){
$_smarty_tpl->tpl_vars['di']->_loop = true;
?>
<th><span style="writing-mode: tb-rl;-moz-transform: rotate(180deg);
-webkit-transform: rotate(180deg);
-o-transform: rotate(180deg);"><?php echo $_smarty_tpl->tpl_vars['di']->value['name'];?>
</span></th>
<?php } ?>
</tr>
<tr>
<?php $_smarty_tpl->tpl_vars['di'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['di']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['disc']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['di']->key => $_smarty_tpl->tpl_vars['di']->value){
$_smarty_tpl->tpl_vars['di']->_loop = true;
?>
<th width="5%" nobr>
<?php if (($_smarty_tpl->tpl_vars['di']->value['control']==1)){?>Экз<?php }?>
<?php if (($_smarty_tpl->tpl_vars['di']->value['control']==2)){?>Зач<?php }?>
<?php if (($_smarty_tpl->tpl_vars['di']->value['control']==3)){?>КР<?php }?>
<?php if (($_smarty_tpl->tpl_vars['di']->value['control']==4)){?>КП<?php }?>
<?php if (($_smarty_tpl->tpl_vars['di']->value['control']==5)){?>О<?php }?>
<sup>
<?php if (($_smarty_tpl->tpl_vars['di']->value['type']==2)){?>1<?php }?>
<?php if (($_smarty_tpl->tpl_vars['di']->value['type']==3)){?>П<?php }?>
<?php if (($_smarty_tpl->tpl_vars['di']->value['type']==4)){?>К<?php }?>
</sup>
</th>
<?php } ?>
</tr>
<!--tr>
<?php $_smarty_tpl->tpl_vars['di'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['di']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['disc']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['di']->key => $_smarty_tpl->tpl_vars['di']->value){
$_smarty_tpl->tpl_vars['di']->_loop = true;
?>
<th><i>
<?php if (($_smarty_tpl->tpl_vars['di']->value['type']==2)){?>Первичная<?php }?>
<?php if (($_smarty_tpl->tpl_vars['di']->value['type']==3)){?>Повторная<?php }?>
<?php if (($_smarty_tpl->tpl_vars['di']->value['type']==4)){?>С комиссией<?php }?>
</i></th>
<?php } ?>
</tr-->
<?php $_smarty_tpl->tpl_vars['stud'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['stud']->_loop = false;
$_smarty_tpl->tpl_vars['kk'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['students']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['stud']->key => $_smarty_tpl->tpl_vars['stud']->value){
$_smarty_tpl->tpl_vars['stud']->_loop = true;
$_smarty_tpl->tpl_vars['kk']->value = $_smarty_tpl->tpl_vars['stud']->key;
?>
<tr>
<td style="border: 1px solid black!important;"><?php echo ($_smarty_tpl->tpl_vars['kk']->value+1);?>
</td>
<td style="border: 1px solid black!important;"><?php echo $_smarty_tpl->tpl_vars['stud']->value['fio'];?>
</td>
<?php $_smarty_tpl->tpl_vars['di'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['di']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['disc']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['di']->key => $_smarty_tpl->tpl_vars['di']->value){
$_smarty_tpl->tpl_vars['di']->_loop = true;
?>
<td style="border: 1px solid black!important;"><b>
<?php if (($_smarty_tpl->tpl_vars['di']->value['marked'][$_smarty_tpl->tpl_vars['stud']->value['id_stud']]=="отлично")){?><font color="red">5</font><?php }else{ ?>
<?php if (($_smarty_tpl->tpl_vars['di']->value['marked'][$_smarty_tpl->tpl_vars['stud']->value['id_stud']]=="хорошо")){?><font color="blue">4</font><?php }else{ ?>
<?php if (($_smarty_tpl->tpl_vars['di']->value['marked'][$_smarty_tpl->tpl_vars['stud']->value['id_stud']]=="удовлетворительно")){?><font color="green">3</font><?php }else{ ?>
<?php if (($_smarty_tpl->tpl_vars['di']->value['marked'][$_smarty_tpl->tpl_vars['stud']->value['id_stud']]=="зачтено")){?><font color="purple">зачтено</font><?php }else{ ?>
<?php if (($_smarty_tpl->tpl_vars['di']->value['marked'][$_smarty_tpl->tpl_vars['stud']->value['id_stud']]=="неудовлетворительно")){?>2<?php }else{ ?>
<?php echo $_smarty_tpl->tpl_vars['di']->value['marked'][$_smarty_tpl->tpl_vars['stud']->value['id_stud']];?>
<?php }?><?php }?><?php }?><?php }?><?php }?></b>
</td>
<?php } ?>
</tr>
<?php } ?>
</table>
<br />
<br />
<table width="100%" border="0" style="border:0 solid black!important;">
<tr>
<td width="40%">Декан факультета ___________________</td>
<td width="60%" align="right"><p align="right">Представитель УМУ __________________</p></td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</body>
</html>
<?php }} ?>