199 lines
8.7 KiB
HTML
199 lines
8.7 KiB
HTML
|
<!-- 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/lection/">Лекции</a></li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<!--div class="alert alert-success"><button class="close" data-dismiss="alert">×</button><strong>Уважаемый студент!</strong> Если Вы находитесь на ИУП, то Вы можете выбрать те, предметы, которые Вам необходимо изучать.</div>
|
|||
|
<p><a href="#myModal1" class="btn btn-success" data-toggle="modal">Перейти к выбору дисциплин</a></p>
|
|||
|
<div id="myModal1" class="modal fade">
|
|||
|
<div class="modal-dialog">
|
|||
|
<div class="modal-content">
|
|||
|
<div class="modal-header">
|
|||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|||
|
<h4 class="modal-title">Выбор изучаемых дисциплин</h4>
|
|||
|
{$test_one}<br />
|
|||
|
{$test_two}<br />
|
|||
|
{$test_three}<br />
|
|||
|
{$test_four}<br />
|
|||
|
{$test_five}<br />
|
|||
|
</div>
|
|||
|
<div class="modal-body">
|
|||
|
{if count($optional_lectures)}
|
|||
|
<table class="table table-striped table-bordered table-advance table-hover">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th><i class="icon-bullhorn"></i>№</th>
|
|||
|
<th>Название</th>
|
|||
|
<th>Выбрать</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
{foreach from=$optional_lectures item=lc}
|
|||
|
<tr>
|
|||
|
<td>{$lc.code}</td>
|
|||
|
|
|||
|
<td class="hidden-phone"><b>{$lc.name}</b></td>
|
|||
|
<th><center><input type="checkbox" /></center></th>
|
|||
|
</tr>
|
|||
|
{if count($lc.pr)}
|
|||
|
{foreach from=$lc.pr item=lcpr}
|
|||
|
<tr class="tooltips" data-placement="top" data-original-title="Практические работы">
|
|||
|
<td style="background-color: #fcf8e3!important;"><i class="icon-cogs"></i> {$lcpr.data_u}</td>
|
|||
|
<td style="background-color: #fcf8e3!important;" colspan="2"></td>
|
|||
|
<td style="background-color: #fcf8e3!important;">{$lcpr.name}</td>
|
|||
|
<td style="background-color: #fcf8e3!important;">{$lcpr.descrip}</td>
|
|||
|
<td nowarp style="background-color: #fcf8e3!important;">{if $lcpr.file!=''}
|
|||
|
{if $lcpr.file=="-1"}
|
|||
|
<span class="label label-mini">заблокировано</span>
|
|||
|
{else}
|
|||
|
<i class="icon-file"></i> <a href="/upload/practic/{$lcpr.file}">скачать файл</a>
|
|||
|
{/if}
|
|||
|
{else}
|
|||
|
<span class="label label-important label-mini">нет файла</span>
|
|||
|
{/if}</td>
|
|||
|
</tr>
|
|||
|
{/foreach}
|
|||
|
{/if}
|
|||
|
{if count($lc.cr)}
|
|||
|
{foreach from=$lc.cr item=lccr}
|
|||
|
<tr class="tooltips" data-placement="top" data-original-title="Контрольные работы">
|
|||
|
<td style="background-color: #d9edf7!important;"><i class="icon-edit"></i>{$lccr.data_u}</td>
|
|||
|
<td style="background-color: #d9edf7!important;" colspan="2"></td>
|
|||
|
<td style="background-color: #d9edf7!important;">{$lccr.name}</td>
|
|||
|
<td style="background-color: #d9edf7!important;">{$lccr.descrip}</td>
|
|||
|
<td style="background-color: #d9edf7!important;" nowarp>{if $lccr.file!=''}
|
|||
|
{if $lccr.file=="-1"}
|
|||
|
<span class="label label-mini">заблокировано</span>
|
|||
|
{else}
|
|||
|
<i class="icon-file"></i> <a href="/upload/controln/{$lccr.file}">скачать файл</a>
|
|||
|
{/if}
|
|||
|
{else}
|
|||
|
<span class="label label-important label-mini">нет файла</span>
|
|||
|
{/if}</td>
|
|||
|
</tr>
|
|||
|
{/foreach}
|
|||
|
{/if}
|
|||
|
|
|||
|
{/foreach}
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
{/if}
|
|||
|
</div>
|
|||
|
<div class="modal-footer">
|
|||
|
<button type="button" class="btn btn-default" data-dismiss="modal">Закрыть</button>
|
|||
|
<button type="button" class="btn btn-primary">Сохранить изменения</button>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</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">
|
|||
|
{if count($lections)}
|
|||
|
<table class="table table-striped table-bordered table-advance table-hover">
|
|||
|
<thead>
|
|||
|
<tr>
|
|||
|
<th class="hidden-phone"><i class="icon-bullhorn"></i> Дата</th>
|
|||
|
<th>Название</th>
|
|||
|
<th class="hidden-phone">Описание</th>
|
|||
|
<th width="10%">Файл</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody>
|
|||
|
{foreach from=$lections item=lc}
|
|||
|
<tr>
|
|||
|
<td class="hidden-phone">{$lc.data_u}</td>
|
|||
|
<td>
|
|||
|
{if ($lc.type=="лек")}<span class="label label-default label-mini">Лекция</span>{/if}
|
|||
|
{if ($lc.type=="лаб")}<span class="label label-warning label-mini">Практическая</span>{/if}
|
|||
|
{if ($lc.type=="контр")}<span class="label label-important label-mini">Контрольная</span>{/if}
|
|||
|
{if ($lc.type=="курс")}<span class="label label-success">Курсовая</span>{/if}
|
|||
|
{if ($lc.type=="раб")}<span class="label label-info label-mini">Раб.программа</span>{/if}
|
|||
|
{if ($lc.type=="практика")}<span class="label label-inverse label-mini">Практика</span>{/if}
|
|||
|
|
|||
|
<sub>{$lc.kurs} курс /{$lc.semestr} сем.</sub><br />
|
|||
|
<b>{$lc.name}</b> <br />
|
|||
|
{if $lc.id_user != ''} <i><a href="/pm/writeuser/{$lc.id_user}/">Преподаватель: {$lc.fio_prepod}</a></i>{/if}
|
|||
|
</td>
|
|||
|
<td class="hidden-phone">{$lc.descrip}</td>
|
|||
|
<td>{if $lc.file!=''}
|
|||
|
{if $lc.file=="-1"}
|
|||
|
<span class="label label-mini">заблокировано</span>
|
|||
|
{else}
|
|||
|
{foreach from=$lc.mfile item=file key=k}
|
|||
|
{if ($file != "")}{$k+1}. <i class="icon-file"></i> <a href="/upload/lections/{$file}" target="_blank">скачать</a>;<br /> {/if}
|
|||
|
{/foreach}
|
|||
|
{/if}
|
|||
|
{else}
|
|||
|
<span class="label label-important label-mini">нет файла</span>
|
|||
|
{/if}</td>
|
|||
|
</tr>
|
|||
|
{if count($lc.pr)}
|
|||
|
{foreach from=$lc.pr item=lcpr}
|
|||
|
<tr class="tooltips" data-placement="top" data-original-title="Практические работы">
|
|||
|
<td style="background-color: #fcf8e3!important;"><i class="icon-cogs"></i> {$lcpr.data_u}</td>
|
|||
|
<td style="background-color: #fcf8e3!important;" colspan="2"></td>
|
|||
|
<td style="background-color: #fcf8e3!important;">{$lcpr.name}</td>
|
|||
|
<td style="background-color: #fcf8e3!important;">{$lcpr.descrip}</td>
|
|||
|
<td nowarp style="background-color: #fcf8e3!important;">{if $lcpr.file!=''}
|
|||
|
{if $lcpr.file=="-1"}
|
|||
|
<span class="label label-mini">заблокировано</span>
|
|||
|
{else}
|
|||
|
<i class="icon-file"></i> <a href="/upload/practic/{$lcpr.file}">скачать файл</a>
|
|||
|
{/if}
|
|||
|
{else}
|
|||
|
<span class="label label-important label-mini">нет файла</span>
|
|||
|
{/if}</td>
|
|||
|
</tr>
|
|||
|
{/foreach}
|
|||
|
{/if}
|
|||
|
{if count($lc.cr)}
|
|||
|
{foreach from=$lc.cr item=lccr}
|
|||
|
<tr class="tooltips" data-placement="top" data-original-title="Контрольные работы">
|
|||
|
<td style="background-color: #d9edf7!important;"><i class="icon-edit"></i>{$lccr.data_u}</td>
|
|||
|
<td style="background-color: #d9edf7!important;" colspan="2"></td>
|
|||
|
<td style="background-color: #d9edf7!important;">{$lccr.name}</td>
|
|||
|
<td style="background-color: #d9edf7!important;">{$lccr.descrip}</td>
|
|||
|
<td style="background-color: #d9edf7!important;" nowarp>{if $lccr.file!=''}
|
|||
|
{if $lccr.file=="-1"}
|
|||
|
<span class="label label-mini">заблокировано</span>
|
|||
|
{else}
|
|||
|
<i class="icon-file"></i> <a href="/upload/controln/{$lccr.file}">скачать файл</a>
|
|||
|
{/if}
|
|||
|
{else}
|
|||
|
<span class="label label-important label-mini">нет файла</span>
|
|||
|
{/if}</td>
|
|||
|
</tr>
|
|||
|
{/foreach}
|
|||
|
{/if}
|
|||
|
|
|||
|
{/foreach}
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
{/if}
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|