EIOS/tpl/tpl_user_profil.html

141 lines
5.2 KiB
HTML
Raw Normal View History

2023-12-28 15:39:22 +03:00
<!-- BEGIN PAGE HEADER-->
<div class="row-fluid">
<div class="span12">
<h3 class="page-title">Профиль пользователя <b>{$user.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>ФИО: {$user.fio}</p>
{if $user.foto!=''}
<p>ФОТО: <img src="/upload/users/ava/{$user.id}_ava_orig.jpg" width="300" /></p>
{/if}
</div>
<div class="span6">
{if count($user.student)}
<p>Группа: {$user.student.grupp}</p>
<p>Номер студенческого: {$user.student.num_stud}</p>
{/if}
</div>
</div>
</div>
</div>
{if count($user.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>
{foreach from=$user.student.lections item=lection}
<tr>
<td>{$lection.name}</td>
<td>{$lection.descrip}</td>
<td>{$lection.specialnost} курс {$lection.kurs} сем. {$lection.semestr}</td>
</tr>
{if count($lection.practich)}
<tr><td colspan="3"><strong>Практические</strong></td></tr>
{foreach from=$lection.practich item=practich}<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$practich.name}</td>
<td colspan="2">{$practich.descrip}</td>
</tr>{/foreach}
{/if}
{if count($lection.controln)}
<tr><td colspan="3"><strong>Контрольные</strong></td></tr>
{foreach from=$lection.controln item=controln}<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$controln.name}</td>
<td colspan="2">{$controln.descrip}</td>
</tr>{/foreach}
{/if}
{/foreach}</table>
<table class="table"><tr><th>Название Рабочей программы</th><th>Описание рабочей программы</th><th>Специальность, курс</th></tr>
{foreach from=$user.student.workprogram item=workprogram}
<tr>
<td>{$workprogram.name}</td>
<td>{$workprogram.descrip}</td>
<td>{$workprogram.specialnost} курс {$workprogram.kurs} сем. {$workprogram.semestr}</td>
</tr>
{/foreach}</table>
</div>
</div>
{if count($up)}<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>
{foreach from=$up item=lc}
<tr>
<td>{$lc.cikl_dis}</td>
<td><b>{$lc.name_disp}</b></td>
<td><b>{$lc.semestr}</b></td>
<td><b>{$lc.fo}</b></td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>{/if}
{if count($dbnika)}{foreach from=$dbnika item=lc key=k0}<div class="widget green">
<div class="widget-title">
<h4><i class="icon-reorder"></i> {$lc.td[1].tit}: {$lc.td[1].val}, {$lc.td[2].tit}: {$lc.td[2].val}</h4>
<span class="tools"><a href="javascript:;" class="icon-chevron-down"></a></span>
</div>
<div class="widget-body">
{foreach from=$lc.td item=lc1 key=k1}
{if count($lc1.ssyl)}
<div class="widget yellow">
<div class="widget-title">
<h4><i class="icon-reorder"></i> {$lc1.tit} </h4>
<span class="tools"><a href="javascript:;" class="icon-chevron-down"></a></span>
</div>
<div class="widget-body">
{foreach from=$lc1.ssyl item=sdn key=k}
{$k+1}. <a href="{$sdn.href}">{if isset($sdn.title)}{$sdn.title}{else}{$sdn.name}{/if}</a><br>
{/foreach}
</div>
</div>
{/if}
{/foreach}
</div>
</div>{/foreach}{/if}
{/if}
</div>
</div>
</div>
</div>
</div>