EIOS/inc/smarty/templates_c/f61c1b1642e5714e1a56b249097...

246 lines
11 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-14 12:39:51
compiled from "tpl/tpl_user_profil.html" */ ?>
<?php /*%%SmartyHeaderCode:17744592826257ebe729b747-37117333%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'f61c1b1642e5714e1a56b2490978a812f6d4f70b' =>
array (
0 => 'tpl/tpl_user_profil.html',
1 => 1496155317,
2 => 'file',
),
),
'nocache_hash' => '17744592826257ebe729b747-37117333',
'function' =>
array (
),
'variables' =>
array (
'user' => 0,
'lection' => 0,
'practich' => 0,
'controln' => 0,
'workprogram' => 0,
'up' => 0,
'lc' => 0,
'dbnika' => 0,
'lc1' => 0,
'k' => 0,
'sdn' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_6257ebe72e4952_35764273',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6257ebe72e4952_35764273')) {function content_6257ebe72e4952_35764273($_smarty_tpl) {?><!-- BEGIN PAGE HEADER-->
<div class="row-fluid">
<div class="span12">
<h3 class="page-title">Профиль пользователя <b><?php echo $_smarty_tpl->tpl_vars['user']->value['fio'];?>
</b></h3>
<ul class="breadcrumb">
<li><a href="/">Главная</a><span class="divider">/</span></li>
<li class="active">Профайл</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">
<div class="row-fluid">
<div class="span6">
<p>ФИО: <?php echo $_smarty_tpl->tpl_vars['user']->value['fio'];?>
</p>
<?php if ($_smarty_tpl->tpl_vars['user']->value['foto']!=''){?>
<p>ФОТО: <img src="/upload/users/ava/<?php echo $_smarty_tpl->tpl_vars['user']->value['id'];?>
_ava_orig.jpg" width="300" /></p>
<?php }?>
</div>
<div class="span6">
<?php if (count($_smarty_tpl->tpl_vars['user']->value['student'])){?>
<p>Группа: <?php echo $_smarty_tpl->tpl_vars['user']->value['student']['grupp'];?>
</p>
<p>Номер студенческого: <?php echo $_smarty_tpl->tpl_vars['user']->value['student']['num_stud'];?>
</p>
<?php }?>
</div>
</div>
</div>
</div>
<?php if (count($_smarty_tpl->tpl_vars['user']->value['student'])){?>
<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">
<table class="table"><tr><th>Название лекции</th><th>Описание лекции</th><th>Специальность, курс</th></tr>
<?php $_smarty_tpl->tpl_vars['lection'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['lection']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['user']->value['student']['lections']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['lection']->key => $_smarty_tpl->tpl_vars['lection']->value){
$_smarty_tpl->tpl_vars['lection']->_loop = true;
?>
<tr>
<td><?php echo $_smarty_tpl->tpl_vars['lection']->value['name'];?>
</td>
<td><?php echo $_smarty_tpl->tpl_vars['lection']->value['descrip'];?>
</td>
<td><?php echo $_smarty_tpl->tpl_vars['lection']->value['specialnost'];?>
курс <?php echo $_smarty_tpl->tpl_vars['lection']->value['kurs'];?>
сем. <?php echo $_smarty_tpl->tpl_vars['lection']->value['semestr'];?>
</td>
</tr>
<?php if (count($_smarty_tpl->tpl_vars['lection']->value['practich'])){?>
<tr><td colspan="3"><strong>Практические</strong></td></tr>
<?php $_smarty_tpl->tpl_vars['practich'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['practich']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['lection']->value['practich']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['practich']->key => $_smarty_tpl->tpl_vars['practich']->value){
$_smarty_tpl->tpl_vars['practich']->_loop = true;
?><tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $_smarty_tpl->tpl_vars['practich']->value['name'];?>
</td>
<td colspan="2"><?php echo $_smarty_tpl->tpl_vars['practich']->value['descrip'];?>
</td>
</tr><?php } ?>
<?php }?>
<?php if (count($_smarty_tpl->tpl_vars['lection']->value['controln'])){?>
<tr><td colspan="3"><strong>Контрольные</strong></td></tr>
<?php $_smarty_tpl->tpl_vars['controln'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['controln']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['lection']->value['controln']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['controln']->key => $_smarty_tpl->tpl_vars['controln']->value){
$_smarty_tpl->tpl_vars['controln']->_loop = true;
?><tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $_smarty_tpl->tpl_vars['controln']->value['name'];?>
</td>
<td colspan="2"><?php echo $_smarty_tpl->tpl_vars['controln']->value['descrip'];?>
</td>
</tr><?php } ?>
<?php }?>
<?php } ?></table>
<table class="table"><tr><th>Название Рабочей программы</th><th>Описание рабочей программы</th><th>Специальность, курс</th></tr>
<?php $_smarty_tpl->tpl_vars['workprogram'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['workprogram']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['user']->value['student']['workprogram']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['workprogram']->key => $_smarty_tpl->tpl_vars['workprogram']->value){
$_smarty_tpl->tpl_vars['workprogram']->_loop = true;
?>
<tr>
<td><?php echo $_smarty_tpl->tpl_vars['workprogram']->value['name'];?>
</td>
<td><?php echo $_smarty_tpl->tpl_vars['workprogram']->value['descrip'];?>
</td>
<td><?php echo $_smarty_tpl->tpl_vars['workprogram']->value['specialnost'];?>
курс <?php echo $_smarty_tpl->tpl_vars['workprogram']->value['kurs'];?>
сем. <?php echo $_smarty_tpl->tpl_vars['workprogram']->value['semestr'];?>
</td>
</tr>
<?php } ?></table>
</div>
</div>
<?php if (count($_smarty_tpl->tpl_vars['up']->value)){?><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">
<table class="table table-striped table-bordered table-advance table-hover">
<thead>
<tr>
<th><i class="icon-bullhorn"></i> Цикл дисциплин</th>
<th class="hidden-phone"> Дисциплина</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['up']->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['cikl_dis'];?>
</td>
<td><b><?php echo $_smarty_tpl->tpl_vars['lc']->value['name_disp'];?>
</b></td>
<td><b><?php echo $_smarty_tpl->tpl_vars['lc']->value['semestr'];?>
</b></td>
<td><b><?php echo $_smarty_tpl->tpl_vars['lc']->value['fo'];?>
</b></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div><?php }?>
<?php if (count($_smarty_tpl->tpl_vars['dbnika']->value)){?><?php $_smarty_tpl->tpl_vars['lc'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['lc']->_loop = false;
$_smarty_tpl->tpl_vars['k0'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['dbnika']->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;
$_smarty_tpl->tpl_vars['k0']->value = $_smarty_tpl->tpl_vars['lc']->key;
?><div class="widget green">
<div class="widget-title">
<h4><i class="icon-reorder"></i> <?php echo $_smarty_tpl->tpl_vars['lc']->value['td'][1]['tit'];?>
: <?php echo $_smarty_tpl->tpl_vars['lc']->value['td'][1]['val'];?>
, <?php echo $_smarty_tpl->tpl_vars['lc']->value['td'][2]['tit'];?>
: <?php echo $_smarty_tpl->tpl_vars['lc']->value['td'][2]['val'];?>
</h4>
<span class="tools"><a href="javascript:;" class="icon-chevron-down"></a></span>
</div>
<div class="widget-body">
<?php $_smarty_tpl->tpl_vars['lc1'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['lc1']->_loop = false;
$_smarty_tpl->tpl_vars['k1'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['lc']->value['td']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['lc1']->key => $_smarty_tpl->tpl_vars['lc1']->value){
$_smarty_tpl->tpl_vars['lc1']->_loop = true;
$_smarty_tpl->tpl_vars['k1']->value = $_smarty_tpl->tpl_vars['lc1']->key;
?>
<?php if (count($_smarty_tpl->tpl_vars['lc1']->value['ssyl'])){?>
<div class="widget yellow">
<div class="widget-title">
<h4><i class="icon-reorder"></i> <?php echo $_smarty_tpl->tpl_vars['lc1']->value['tit'];?>
</h4>
<span class="tools"><a href="javascript:;" class="icon-chevron-down"></a></span>
</div>
<div class="widget-body">
<?php $_smarty_tpl->tpl_vars['sdn'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['sdn']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['lc1']->value['ssyl']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['sdn']->key => $_smarty_tpl->tpl_vars['sdn']->value){
$_smarty_tpl->tpl_vars['sdn']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['sdn']->key;
?>
<?php echo $_smarty_tpl->tpl_vars['k']->value+1;?>
. <a href="<?php echo $_smarty_tpl->tpl_vars['sdn']->value['href'];?>
"><?php if (isset($_smarty_tpl->tpl_vars['sdn']->value['title'])){?><?php echo $_smarty_tpl->tpl_vars['sdn']->value['title'];?>
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['sdn']->value['name'];?>
<?php }?></a><br>
<?php } ?>
</div>
</div>
<?php }?>
<?php } ?>
</div>
</div><?php } ?><?php }?>
<?php }?>
</div>
</div>
</div>
</div>
</div>
<?php }} ?>