230 lines
7.1 KiB
HTML
230 lines
7.1 KiB
HTML
<!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">
|
||
{if ($sem > 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;">{if ($fakultet != "Филиал МГТУ")}{$fakultet}{else}Филиал МГТУ в поселке Яблоновском{/if}</p>
|
||
<p style="font-size: 10pt; text-align: center;">Форма обучения: <u>{$fo}</u></p>
|
||
<p style="font-size: 10pt; text-align: center; font-weight: bold;">СВОДНАЯ ВЕДОМОСТЬ</p>
|
||
<p style="font-size: 10pt;">Семестр <u> {$sem} </u> <u> 20 /20 </u> учебного года Курс <u> {($sem/2)|ceil} </u> группа <u> {$gruppa}</u></p>
|
||
|
||
<table width="100%" border="1">
|
||
<tr height="250">
|
||
<th rowspan="2">№ п/п</th>
|
||
<th rowspan="2">ФИО студента</th>
|
||
{foreach from=$disc item=di}
|
||
<th><span style="writing-mode: tb-rl;-moz-transform: rotate(180deg);
|
||
-webkit-transform: rotate(180deg);
|
||
-o-transform: rotate(180deg);">{$di.discip}</span></th>
|
||
{/foreach}
|
||
</tr>
|
||
<tr>
|
||
{foreach from=$disc item=di}
|
||
<th width="5%" nobr>
|
||
{if ($di.ekz == "1")}Экз{/if}
|
||
{if ($di.zach == "1")}Зач{/if}
|
||
{if ($di.control == 3)}КР{/if}
|
||
{if ($di.control == 4)}КП{/if}
|
||
{if ($di.control == 5)}О{/if}
|
||
<sup>
|
||
{if ($di.type == 2)}1{/if}
|
||
{if ($di.type == 3)}П{/if}
|
||
{if ($di.type == 4)}К{/if}
|
||
</sup>
|
||
</th>
|
||
{/foreach}
|
||
</tr>
|
||
<!--tr>
|
||
{foreach from=$disc item=di}
|
||
<th><i>
|
||
{if ($di.type == 2)}Первичная{/if}
|
||
{if ($di.type == 3)}Повторная{/if}
|
||
{if ($di.type == 4)}С комиссией{/if}
|
||
</i></th>
|
||
{/foreach}
|
||
</tr-->
|
||
{foreach from=$students item=stud key=kk}
|
||
<tr>
|
||
<td style="border: 1px solid black!important;">{($kk+1)}</td>
|
||
<td style="border: 1px solid black!important; ">{$stud.fio}</td>
|
||
{foreach from=$disc item=di}
|
||
<td style="border: 1px solid black!important;"><!--{$stud.mark[$di.discip]}--><b>
|
||
{if ($stud.mark[$di.sem][$di.discip] == "отлично")}<font color="red">5</font>{else}
|
||
{if ($stud.mark[$di.sem][$di.discip] == "хорошо")}<font color="blue">4</font>{else}
|
||
{if ($stud.mark[$di.sem][$di.discip] == "удовлетворительно")}<font color="green">3</font>{else}
|
||
{if ($stud.mark[$di.sem][$di.discip] == "зачтено")}<font color="purple">зачтено</font>{else}
|
||
{if ($stud.mark[$di.sem][$di.discip] == "неудовлетворительно")}2{else}
|
||
{$di.marked[$stud.id_stud]}
|
||
{/if}{/if}{/if}{/if}{/if}</b>
|
||
</td>
|
||
{/foreach}
|
||
</tr>
|
||
{/foreach}
|
||
</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>
|
||
{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>
|
||
{foreach from=$disc item=di}
|
||
<td class="long"><span style="writing-mode: tb-rl;-moz-transform: rotate(180deg);
|
||
-webkit-transform: rotate(180deg);
|
||
-o-transform: rotate(180deg);">{$di.discip}</span></td>
|
||
{/foreach}
|
||
|
||
</tr>
|
||
|
||
<tr>
|
||
<th class="headcol">СЕМЕСТР</th>
|
||
{foreach from=$disc item=di}
|
||
<td class="long">{$di.sem}</td>
|
||
{/foreach}
|
||
|
||
</tr>
|
||
|
||
<tr>
|
||
<th class="headcol">ФОРМА КОНТРОЛЯ</th>
|
||
{foreach from=$disc item=di}
|
||
<td class="long">
|
||
{if ($di.ekz == "1")}<span style="background: red; color: white;">Экз</span>{/if}
|
||
{if ($di.zach == "1")}<span style="background: green; color: white;">Зач</span>{/if}
|
||
{if ($di.control == 3)}КР{/if}
|
||
{if ($di.control == 4)}КП{/if}
|
||
{if ($di.control == 5)}О{/if}
|
||
<sup>
|
||
{if ($di.type == 2)}1{/if}
|
||
{if ($di.type == 3)}П{/if}
|
||
{if ($di.type == 4)}К{/if}
|
||
</sup>
|
||
</td>
|
||
{/foreach}
|
||
|
||
</tr>
|
||
|
||
{foreach from=$students item=stud key=kk}
|
||
<tr>
|
||
<th class="headcol">{($kk+1)}. {$stud.fio}</th>
|
||
{foreach from=$disc item=di}
|
||
<td class="long">{if ($stud.mark[$di.sem][$di.discip] == "отлично")}<font color="red">5</font>{else}
|
||
{if ($stud.mark[$di.sem][$di.discip] == "хорошо")}<font color="blue">4</font>{else}
|
||
{if ($stud.mark[$di.sem][$di.discip] == "удовлетворительно")}<font color="green">3</font>{else}
|
||
{if ($stud.mark[$di.sem][$di.discip] == "зачтено")}<font color="purple">зачет</font>{else}
|
||
{if ($stud.mark[$di.sem][$di.discip] == "неудовлетворительно")}2{else}
|
||
{$di.marked[$stud.id_stud]}-
|
||
{/if}{/if}{/if}{/if}{/if}</td>
|
||
{/foreach}
|
||
|
||
</tr>
|
||
{/foreach}
|
||
|
||
|
||
</table>
|
||
</div>
|
||
|
||
|
||
{/if}
|
||
|
||
|
||
|
||
|
||
</body>
|
||
</html>
|