125 lines
4.9 KiB
PHP
125 lines
4.9 KiB
PHP
|
<?php /* Smarty version Smarty-3.1.13, created on 2022-04-11 22:07:00
|
||
|
compiled from "tpl/tpl_kursov.html" */ ?>
|
||
|
<?php /*%%SmartyHeaderCode:68332816462547c5443efe5-59422125%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
||
|
'file_dependency' =>
|
||
|
array (
|
||
|
'4524437777853397606a0f732ff39619a3b86eec' =>
|
||
|
array (
|
||
|
0 => 'tpl/tpl_kursov.html',
|
||
|
1 => 1603366921,
|
||
|
2 => 'file',
|
||
|
),
|
||
|
),
|
||
|
'nocache_hash' => '68332816462547c5443efe5-59422125',
|
||
|
'function' =>
|
||
|
array (
|
||
|
),
|
||
|
'variables' =>
|
||
|
array (
|
||
|
'lections' => 0,
|
||
|
'lc' => 0,
|
||
|
'lcpr' => 0,
|
||
|
),
|
||
|
'has_nocache_code' => false,
|
||
|
'version' => 'Smarty-3.1.13',
|
||
|
'unifunc' => 'content_62547c54468666_56463535',
|
||
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
||
|
<?php if ($_valid && !is_callable('content_62547c54468666_56463535')) {function content_62547c54468666_56463535($_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/kursov/">Курсовые работы</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">заблокировано</span>
|
||
|
<?php }else{ ?>
|
||
|
<i class="icon-file"></i> <a href="/upload/kursov/<?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">заблокировано</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 }} ?>
|