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:53:49
|
||
|
compiled from "tpl/tpl_sr.html" */ ?>
|
||
|
<?php /*%%SmartyHeaderCode:204810426162546b2d4019d3-24671970%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
||
|
'file_dependency' =>
|
||
|
array (
|
||
|
'63bf3aa01d10d15adf2b2ddddc70f219bf9c82c4' =>
|
||
|
array (
|
||
|
0 => 'tpl/tpl_sr.html',
|
||
|
1 => 1603366989,
|
||
|
2 => 'file',
|
||
|
),
|
||
|
),
|
||
|
'nocache_hash' => '204810426162546b2d4019d3-24671970',
|
||
|
'function' =>
|
||
|
array (
|
||
|
),
|
||
|
'variables' =>
|
||
|
array (
|
||
|
'lections' => 0,
|
||
|
'lc' => 0,
|
||
|
'lcpr' => 0,
|
||
|
),
|
||
|
'has_nocache_code' => false,
|
||
|
'version' => 'Smarty-3.1.13',
|
||
|
'unifunc' => 'content_62546b2d42a1b0_78157197',
|
||
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
||
|
<?php if ($_valid && !is_callable('content_62546b2d42a1b0_78157197')) {function content_62546b2d42a1b0_78157197($_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/sr/">Задания для самостоятельной работы студента</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/sr/<?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 }} ?>
|