125 lines
5.3 KiB
PHP
125 lines
5.3 KiB
PHP
|
<?php /* Smarty version Smarty-3.1.13, created on 2022-04-11 20:49:13
|
||
|
compiled from "tpl/tpl_kontrrab.html" */ ?>
|
||
|
<?php /*%%SmartyHeaderCode:163869115162546a19bfa123-79028667%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
||
|
'file_dependency' =>
|
||
|
array (
|
||
|
'03f418a6b49ae1f01b8140f56a9cf142becb9969' =>
|
||
|
array (
|
||
|
0 => 'tpl/tpl_kontrrab.html',
|
||
|
1 => 1603366914,
|
||
|
2 => 'file',
|
||
|
),
|
||
|
),
|
||
|
'nocache_hash' => '163869115162546a19bfa123-79028667',
|
||
|
'function' =>
|
||
|
array (
|
||
|
),
|
||
|
'variables' =>
|
||
|
array (
|
||
|
'lections' => 0,
|
||
|
'lc' => 0,
|
||
|
'lcpr' => 0,
|
||
|
),
|
||
|
'has_nocache_code' => false,
|
||
|
'version' => 'Smarty-3.1.13',
|
||
|
'unifunc' => 'content_62546a19c21b06_53985745',
|
||
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
||
|
<?php if ($_valid && !is_callable('content_62546a19c21b06_53985745')) {function content_62546a19c21b06_53985745($_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/kontrrab/">Контрольные работы</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="row-fluid">
|
||
|
<div class="span12">
|
||
|
<div class="row-fluid">
|
||
|
|
||
|
<div class="span12">
|
||
|
<div class="row-fluid">
|
||
|
<div class="widget green">
|
||
|
<div class="widget-title">
|
||
|
<h4><i class="icon-reorder"></i> Список всех контрольных работ </h4>
|
||
|
<span class="tools">
|
||
|
<a href="javascript:;" class="icon-chevron-down"></a>
|
||
|
</span>
|
||
|
</div>
|
||
|
<div class="widget-body">
|
||
|
<?php if (count($_smarty_tpl->tpl_vars['lections']->value)){?>
|
||
|
<table class="table table-striped table-bordered table-advance table-hover">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>Дата</th>
|
||
|
<th>Название</th>
|
||
|
<th>Описание</th>
|
||
|
<th>Файл</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<?php $_smarty_tpl->tpl_vars['lc'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['lc']->_loop = false;
|
||
|
$_from = $_smarty_tpl->tpl_vars['lections']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
|
foreach ($_from as $_smarty_tpl->tpl_vars['lc']->key => $_smarty_tpl->tpl_vars['lc']->value){
|
||
|
$_smarty_tpl->tpl_vars['lc']->_loop = true;
|
||
|
?>
|
||
|
<tr>
|
||
|
<td style="background-color: #d9edf7!important;"><?php echo $_smarty_tpl->tpl_vars['lc']->value['data_u'];?>
|
||
|
</td>
|
||
|
<td style="background-color: #d9edf7!important;"><b><?php echo $_smarty_tpl->tpl_vars['lc']->value['name'];?>
|
||
|
</b></td>
|
||
|
<td style="background-color: #d9edf7!important;"><?php echo $_smarty_tpl->tpl_vars['lc']->value['descrip'];?>
|
||
|
</td>
|
||
|
<td style="background-color: #d9edf7!important;" nowarp><?php if ($_smarty_tpl->tpl_vars['lc']->value['file']!=''){?>
|
||
|
<?php if ($_smarty_tpl->tpl_vars['lc']->value['file']=="-1"){?>
|
||
|
<span class="label label-mini" data-placement="top" data-original-title="Необходимо получить подтверждение Вашего статуса студента!">заблокировано</span>
|
||
|
<?php }else{ ?>
|
||
|
<i class="icon-file"></i> <a href="/upload/controln/<?php echo $_smarty_tpl->tpl_vars['lc']->value['file'];?>
|
||
|
">скачать файл</a>
|
||
|
<?php }?>
|
||
|
<?php }else{ ?>
|
||
|
<span class="label label-important label-mini">нет файла</span>
|
||
|
<?php }?></td>
|
||
|
</tr>
|
||
|
<?php if (count($_smarty_tpl->tpl_vars['lc']->value['le'])){?>
|
||
|
<?php $_smarty_tpl->tpl_vars['lcpr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['lcpr']->_loop = false;
|
||
|
$_from = $_smarty_tpl->tpl_vars['lc']->value['le']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
|
foreach ($_from as $_smarty_tpl->tpl_vars['lcpr']->key => $_smarty_tpl->tpl_vars['lcpr']->value){
|
||
|
$_smarty_tpl->tpl_vars['lcpr']->_loop = true;
|
||
|
?>
|
||
|
<tr class="tooltips" data-placement="top" data-original-title="Лекционный материал">
|
||
|
<td><?php echo $_smarty_tpl->tpl_vars['lcpr']->value['data_u'];?>
|
||
|
</td>
|
||
|
<td><?php echo $_smarty_tpl->tpl_vars['lcpr']->value['name'];?>
|
||
|
</td>
|
||
|
<td><?php echo $_smarty_tpl->tpl_vars['lcpr']->value['descrip'];?>
|
||
|
</td>
|
||
|
<td nowarp><?php if ($_smarty_tpl->tpl_vars['lcpr']->value['file']!=''){?>
|
||
|
<?php if ($_smarty_tpl->tpl_vars['lcpr']->value['file']=="-1"){?>
|
||
|
<span class="label label-mini" data-placement="top" data-original-title="Необходимо получить подтверждение Вашего статуса студента!">заблокировано</span>
|
||
|
<?php }else{ ?>
|
||
|
<i class="icon-file"></i> <a href="/upload/lections/<?php echo $_smarty_tpl->tpl_vars['lcpr']->value['file'];?>
|
||
|
">скачать файл</a>
|
||
|
<?php }?>
|
||
|
<?php }else{ ?>
|
||
|
<span class="label label-important label-mini">нет файла</span>
|
||
|
<?php }?></td>
|
||
|
</tr>
|
||
|
<?php } ?>
|
||
|
<?php }?>
|
||
|
<?php } ?>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<?php }?>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<?php }} ?>
|