EIOS/inc/smarty/templates_c/0a8efd6b523d9d6e81e15261070...

161 lines
8.2 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 20:29:24
compiled from "tpl/tpl_learn_ocenki.html" */ ?>
<?php /*%%SmartyHeaderCode:64438440625465744c2a51-97580803%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0a8efd6b523d9d6e81e15261070c87a504799167' =>
array (
0 => 'tpl/tpl_learn_ocenki.html',
1 => 1608126095,
2 => 'file',
),
),
'nocache_hash' => '64438440625465744c2a51-97580803',
'function' =>
array (
),
'variables' =>
array (
'regim' => 0,
'liquidation' => 0,
'liq' => 0,
'ocenki' => 0,
'oc' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_625465744fe932_09246783',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_625465744fe932_09246783')) {function content_625465744fe932_09246783($_smarty_tpl) {?><div class="row-fluid">
<div class="span12">
<h3 class="page-title">Фиксация хода образовательного процесса</h3>
<ul class="breadcrumb">
<li><a href="/">Главная</a><span class="divider">/</span></li>
<li class="active"><a href="/learn/ocenki/">Обучение - Оценки</a></li>
</ul>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<div class="row-fluid">
<?php if ($_smarty_tpl->tpl_vars['regim']->value=='ocenki_view'){?>
<?php if (count($_smarty_tpl->tpl_vars['liquidation']->value)){?>
<div class="widget red">
<div class="widget-title">
<h4>Выполнение учебного плана</h4>
<span class="tools"><a href="javascript:;" class="icon-chevron-down"></a></span>
</div>
<div class="widget-body">
<table class="table table-striped table-bordered table-advance table-hover">
<?php $_smarty_tpl->tpl_vars['liq'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['liq']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['liquidation']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['liq']->key => $_smarty_tpl->tpl_vars['liq']->value){
$_smarty_tpl->tpl_vars['liq']->_loop = true;
?>
<thead><tr>
<th>#<?php echo $_smarty_tpl->tpl_vars['liq']->value['pp'];?>
. <?php echo $_smarty_tpl->tpl_vars['liq']->value['name'];?>
<br /><a href="/pm/writeuser/<?php echo $_smarty_tpl->tpl_vars['liq']->value['id_teacher'];?>
/" class="badge badge-warning" style="color: white;">Написать преподавателю</a></th>
<th style="text-align: center;">Дата сдачи</th>
<th style="text-align: center;">Отметка</th>
</tr></thead>
<tbody><tr>
<td>
<b><?php echo $_smarty_tpl->tpl_vars['liq']->value['type'];?>
(<?php echo $_smarty_tpl->tpl_vars['liq']->value['iup'];?>
)</b><br />
Семестр: <?php echo $_smarty_tpl->tpl_vars['liq']->value['semestr'];?>
<br />
Форма контроля: <?php echo $_smarty_tpl->tpl_vars['liq']->value['control'];?>
<br />
Преподаватель: <?php echo $_smarty_tpl->tpl_vars['liq']->value['teacher']['fio'];?>
<br />
Выдано: <?php echo $_smarty_tpl->tpl_vars['liq']->value['date_create'];?>
<br />
Действительно до <?php echo $_smarty_tpl->tpl_vars['liq']->value['date_end'];?>
</td>
<td width="10%"><?php if ($_smarty_tpl->tpl_vars['liq']->value['date_mark']=='01.01.1970'){?> НЕТ <?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['liq']->value['date_mark'];?>
<?php }?></td>
<td width="10%" style="text-align: center; font-size: 14px; font-weight: bold; background: #f8ffd1;"><?php echo $_smarty_tpl->tpl_vars['liq']->value['mark'];?>
</td>
</tr></tbody>
<?php } ?>
</table>
</div>
</div>
<?php }?>
<?php if (count($_smarty_tpl->tpl_vars['ocenki']->value)){?>
<div class="widget orange">
<div class="widget-title">
<h4>Ваши оценки</h4>
<span class="tools"><a href="javascript:;" class="icon-chevron-down"></a></span>
</div>
<div class="widget-body">
<span class="display-phone" style="font-weight: bold;">
<span style="color: #006400;">Зеленым цветом</span> выделены обычные оценки; <br />
<span style="color: #FFD700;">желтым</span> - модульные; <br />
<span style="color: #8B0000;">красным</span> - итоговые.
</span>
<table class="table table-striped table-bordered table-advance table-hover">
<thead><tr>
<th>Дисциплина</th>
<!--th>Специальность</th-->
<th class="hidden-phone">Курс/Семестр</th>
<th class="hidden-phone">Тип</th>
<th class="hidden-phone" style="text-align: center;">Успеваемость</th>
<th class="hidden-phone" style="text-align: center;"><!--Текущая оценка (модуль)--> Модуль</th>
<th class="hidden-phone" style="text-align: center;"><!--Промежуточная оценка (зачет,экзамен)--> Зачет/Экзамен</th>
<th class="display-phone" style="text-align: center;">Успеваемость</th>
</tr></thead>
<tbody>
<?php $_smarty_tpl->tpl_vars['oc'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['oc']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['ocenki']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['oc']->key => $_smarty_tpl->tpl_vars['oc']->value){
$_smarty_tpl->tpl_vars['oc']->_loop = true;
?>
<tr>
<td><b><?php echo $_smarty_tpl->tpl_vars['oc']->value['name'];?>
</b><?php if ($_smarty_tpl->tpl_vars['oc']->value['type']!="lection"){?><br /> <i>(<?php echo $_smarty_tpl->tpl_vars['oc']->value['descrip'];?>
)</i><?php }?></td>
<!--td><?php echo $_smarty_tpl->tpl_vars['oc']->value['specialnost'];?>
</td-->
<td class="hidden-phone"><?php echo $_smarty_tpl->tpl_vars['oc']->value['kurs'];?>
-<?php echo $_smarty_tpl->tpl_vars['oc']->value['semestr'];?>
</td>
<td class="hidden-phone"><?php if ($_smarty_tpl->tpl_vars['oc']->value['type']=="lection"){?>Лекция<?php }?><?php if ($_smarty_tpl->tpl_vars['oc']->value['type']=="practich"){?>Практическая<?php }?><?php if ($_smarty_tpl->tpl_vars['oc']->value['type']=="controln"){?>Контрольная<?php }?></td>
<td class="hidden-phone" width="10%" style="text-align: center; font-size: 14px; font-weight: bold; background: #d1ffea;"><?php if ($_smarty_tpl->tpl_vars['oc']->value['type']!="lection"){?><?php echo $_smarty_tpl->tpl_vars['oc']->value['oc'][2];?>
<?php }?></td>
<td class="hidden-phone" width="10%" style="text-align: center; font-size: 14px; font-weight: bold; background: #f8ffd1;"><?php echo $_smarty_tpl->tpl_vars['oc']->value['oc'][1];?>
</td>
<td class="hidden-phone" width="10%" style="text-align: center; font-size: 14px; font-weight: bold; background: #ffd1d1;"><?php if ($_smarty_tpl->tpl_vars['oc']->value['type']=="lection"){?><?php echo $_smarty_tpl->tpl_vars['oc']->value['oc'][2];?>
<?php }?></td>
<td class="display-phone" style="text-align: center; font-size: 14px; font-weight: bold;">
<?php if ($_smarty_tpl->tpl_vars['oc']->value['oc'][2]!=''){?><?php if ($_smarty_tpl->tpl_vars['oc']->value['type']!="lection"){?><span style="background: #006400; color: white; padding: 5px; margin: 5px;"> <?php echo $_smarty_tpl->tpl_vars['oc']->value['oc'][2];?>
</span> <br /><br /><?php }?><?php }?>
<?php if ($_smarty_tpl->tpl_vars['oc']->value['oc'][1]!=''){?><span style="background: #FFD700; color: black; padding: 5px; margin: 5px;"> <?php echo $_smarty_tpl->tpl_vars['oc']->value['oc'][1];?>
</span> <br /><br /><?php }?>
<?php if ($_smarty_tpl->tpl_vars['oc']->value['oc'][2]!=''){?><?php if ($_smarty_tpl->tpl_vars['oc']->value['type']=="lection"){?><span style="background: #8B0000; color: white; padding: 5px; margin: 5px;"> <?php echo $_smarty_tpl->tpl_vars['oc']->value['oc'][2];?>
</span> <?php }?><?php }?>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
<?php }?>
<?php }?>
</div>
</div>
</div><?php }} ?>