EIOS/inc/smarty/templates_c/0a19667e3936bd2ae7389ad04b7...

125 lines
5.0 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:36:10
compiled from "tpl/tpl_practic.html" */ ?>
<?php /*%%SmartyHeaderCode:6768344206254670a0a8157-03249585%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0a19667e3936bd2ae7389ad04b733ec282d07799' =>
array (
0 => 'tpl/tpl_practic.html',
1 => 1603366973,
2 => 'file',
),
),
'nocache_hash' => '6768344206254670a0a8157-03249585',
'function' =>
array (
),
'variables' =>
array (
'lections' => 0,
'lc' => 0,
'lcpr' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_6254670a0d3528_96418174',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6254670a0d3528_96418174')) {function content_6254670a0d3528_96418174($_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/practic/">Практические работы</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/practic/<?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 }} ?>