EIOS/inc/smarty/templates_c/ac9ea00009af1c21e1301876d2c...

99 lines
3.5 KiB
PHP
Raw Normal View History

2023-12-28 15:39:22 +03:00
<?php /* Smarty version Smarty-3.1.13, created on 2022-04-11 22:05:56
compiled from "tpl/tpl_workprogram.html" */ ?>
<?php /*%%SmartyHeaderCode:102315905762547c14e7ce44-63818165%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'ac9ea00009af1c21e1301876d2cabb7199f2c642' =>
array (
0 => 'tpl/tpl_workprogram.html',
1 => 1493789975,
2 => 'file',
),
),
'nocache_hash' => '102315905762547c14e7ce44-63818165',
'function' =>
array (
),
'variables' =>
array (
'lections' => 0,
'lc' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_62547c14ea6072_54247946',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_62547c14ea6072_54247946')) {function content_62547c14ea6072_54247946($_smarty_tpl) {?><!-- BEGIN PAGE HEADER-->
<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/workprogram/">Рабочие программы</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><i class="icon-bullhorn"></i> Дата</th>
<th class="hidden-phone"><i class="icon-question-sign"></i> Название</th>
<th><i class="icon-bookmark"></i> Описание</th>
<th><i class="icon-bookmark"></i> Файл</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><?php echo $_smarty_tpl->tpl_vars['lc']->value['data_u'];?>
</td>
<td class="hidden-phone"><b><?php echo $_smarty_tpl->tpl_vars['lc']->value['name'];?>
</b></td>
<td><?php echo $_smarty_tpl->tpl_vars['lc']->value['descrip'];?>
</td>
<td 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/workprogram/<?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 } ?>
</tbody>
</table>
<?php }?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php }} ?>