EIOS/inc/smarty/templates_c/1afcbd41aa247066ec4a4305e9a...

322 lines
15 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php /* Smarty version Smarty-3.1.13, created on 2023-01-11 10:32:22
compiled from "tpl/tpl_dekanat_summary_sheet_print.html" */ ?>
<?php /*%%SmartyHeaderCode:13065494736384955ada9757-69842298%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'1afcbd41aa247066ec4a4305e9ab3b903b91e99c' =>
array (
0 => 'tpl/tpl_dekanat_summary_sheet_print.html',
1 => 1673422342,
2 => 'file',
),
),
'nocache_hash' => '13065494736384955ada9757-69842298',
'function' =>
array (
),
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_6384955ae02952_79327805',
'variables' =>
array (
'sem' => 0,
'fakultet' => 0,
'fo' => 0,
'gruppa' => 0,
'disc' => 0,
'di' => 0,
'students' => 0,
'kk' => 0,
'stud' => 0,
),
'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6384955ae02952_79327805')) {function content_6384955ae02952_79327805($_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" />
</head>
<body id="print">
<?php if (($_smarty_tpl->tpl_vars['sem']->value>0)){?>
<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>
<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;20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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['discip'];?>
</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['ekz']=="1")){?>Экз<?php }?>
<?php if (($_smarty_tpl->tpl_vars['di']->value['zach']=="1")){?>Зач<?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;"><!--<?php echo $_smarty_tpl->tpl_vars['stud']->value['mark'][$_smarty_tpl->tpl_vars['di']->value['discip']];?>
--><b>
<?php if (($_smarty_tpl->tpl_vars['stud']->value['mark'][$_smarty_tpl->tpl_vars['di']->value['sem']][$_smarty_tpl->tpl_vars['di']->value['discip']]=="отлично")){?><font color="red">5</font><?php }else{ ?>
<?php if (($_smarty_tpl->tpl_vars['stud']->value['mark'][$_smarty_tpl->tpl_vars['di']->value['sem']][$_smarty_tpl->tpl_vars['di']->value['discip']]=="хорошо")){?><font color="blue">4</font><?php }else{ ?>
<?php if (($_smarty_tpl->tpl_vars['stud']->value['mark'][$_smarty_tpl->tpl_vars['di']->value['sem']][$_smarty_tpl->tpl_vars['di']->value['discip']]=="удовлетворительно")){?><font color="green">3</font><?php }else{ ?>
<?php if (($_smarty_tpl->tpl_vars['stud']->value['mark'][$_smarty_tpl->tpl_vars['di']->value['sem']][$_smarty_tpl->tpl_vars['di']->value['discip']]=="зачтено")){?><font color="purple">зачтено</font><?php }else{ ?>
<?php if (($_smarty_tpl->tpl_vars['stud']->value['mark'][$_smarty_tpl->tpl_vars['di']->value['sem']][$_smarty_tpl->tpl_vars['di']->value['discip']]=="неудовлетворительно")){?>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>
<?php }else{ ?> <!--ЕСЛИ УКАЗАНЫ ВСЕ СЕМЕСТРЫ-->
<style>
table {
border-collapse: separate;
border-spacing: 0;
border-top: 1px solid grey;
}
td,
th {
margin: 0;
border: 1px solid grey;
white-space: nowrap;
border-top-width: 0px;
}
div {
width: 83%;
overflow-x: scroll;
margin-left: 20em;
overflow-y: visible;
padding: 0;
}
.headcol {
position: absolute;
width: 20em;
left: 0;
top: auto;
border-top-width: 1px;
/*only relevant for first row*/
margin-top: -1px;
/*compensate for top border*/
}
.headcol:after {
content: ' ';
}
.long {
background: yellow;
letter-spacing: 0.25em;
font-size: 12px;
font-weight: bold;
font-family: Arial;
}
</style>
<div>
<table>
<tr>
<th class="headcol">ДИСЦИПЛИНА</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;
?>
<td class="long"><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['discip'];?>
</span></td>
<?php } ?>
</tr>
<tr>
<th class="headcol">СЕМЕСТР</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;
?>
<td class="long"><?php echo $_smarty_tpl->tpl_vars['di']->value['sem'];?>
</td>
<?php } ?>
</tr>
<tr>
<th class="headcol">ФОРМА КОНТРОЛЯ</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;
?>
<td class="long">
<?php if (($_smarty_tpl->tpl_vars['di']->value['ekz']=="1")){?><span style="background: red; color: white;">Экз</span><?php }?>
<?php if (($_smarty_tpl->tpl_vars['di']->value['zach']=="1")){?><span style="background: green; color: white;">Зач</span><?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>
</td>
<?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>
<th class="headcol"><?php echo ($_smarty_tpl->tpl_vars['kk']->value+1);?>
. <?php echo $_smarty_tpl->tpl_vars['stud']->value['fio'];?>
</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;
?>
<td class="long"><?php if (($_smarty_tpl->tpl_vars['stud']->value['mark'][$_smarty_tpl->tpl_vars['di']->value['sem']][$_smarty_tpl->tpl_vars['di']->value['discip']]=="отлично")){?><font color="red">5</font><?php }else{ ?>
<?php if (($_smarty_tpl->tpl_vars['stud']->value['mark'][$_smarty_tpl->tpl_vars['di']->value['sem']][$_smarty_tpl->tpl_vars['di']->value['discip']]=="хорошо")){?><font color="blue">4</font><?php }else{ ?>
<?php if (($_smarty_tpl->tpl_vars['stud']->value['mark'][$_smarty_tpl->tpl_vars['di']->value['sem']][$_smarty_tpl->tpl_vars['di']->value['discip']]=="удовлетворительно")){?><font color="green">3</font><?php }else{ ?>
<?php if (($_smarty_tpl->tpl_vars['stud']->value['mark'][$_smarty_tpl->tpl_vars['di']->value['sem']][$_smarty_tpl->tpl_vars['di']->value['discip']]=="зачтено")){?><font color="purple">зачет</font><?php }else{ ?>
<?php if (($_smarty_tpl->tpl_vars['stud']->value['mark'][$_smarty_tpl->tpl_vars['di']->value['sem']][$_smarty_tpl->tpl_vars['di']->value['discip']]=="неудовлетворительно")){?>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 }?></td>
<?php } ?>
</tr>
<?php } ?>
</table>
</div>
<?php }?>
</body>
</html>
<?php }} ?>