EIOS/rabprog/tpl/page_shahtplan.html

377 lines
20 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{if $view=='pere'}
<h2>ТИТУЛ</h2>
{foreach from=$rez.title key=name item=value}
<b>{$name}</b>: {$value}<br>
{/foreach}
<h2>ПРАКТИКИ</h2>
<table class="table">
<thead><tr>
<th>Курс</th>
<th>Семе</th>
<th>Недели</th>
<th>Дни</th>
<th>Тип</th>
<th>Имя</th>
</tr></thead>
{foreach from=$rez.praktik key=k item=value}
<tr>
<td>{$value.kurs}</td>
<td>{$value.seme}</td>
<td>{$value.week}</td>
<td>{$value.days}</td>
<td>{$value.tp}</td>
<td>{$value.name}</td>
</tr>
{/foreach}
</table>
<h2>КОМПЕТЕЦНИИ</h2>
<table class="table">
<thead><tr>
<th>Индекс</th>
<th>Компетенция</th>
</tr></thead>
{foreach from=$rez.competen key=kod item=value}
<tr>
<td>{$value.index}</td>
<td>{$value.comp}</td>
</tr>
<tr>
<td colspan="2">
{foreach from=$value.discips item=dt}
<b>{$dt.shifr}</b> {$dt.discip};
{/foreach}
</td>
</tr>
{/foreach}
</table>
<h2>ПЛАН</h2>
<table class="table">
<thead><tr>
<th>ЗЕ</th>
<th>счВпл</th>
<th>Инд</th>
<th>Имя</th>
<th>Экз</th>
<th>Зач</th>
<th>ЗачСоц</th>
<th>КП</th>
<th>КР</th>
<th>кодКаф</th>
<th>Каф</th>
</tr></thead>
{foreach from=$rez.plan key=k item=value}
<tr>
<td>{$value.ezfo_ze}</td>
<td>{$value.schitatVplane}</td>
<td>{$value.index}</td>
<td>{$value.name}</td>
<td>{$value.ekzamen}</td>
<td>{$value.zachet}</td>
<td>{$value.zachetsocenk}</td>
<td>{$value.kp}</td>
<td>{$value.kr}</td>
<td>{$value.kafcod}</td>
<td>{$value.kafname}</td>
</tr>
<tr>
<td colspan="11">
{foreach from=$value.data key=kurs item=dt}
КУРС:<b>{$kurs}</b>
{foreach from=$dt key=sem item=ss}
<u>{$sem}</u>: {foreach from=$ss key=nm item=vl}
{$nm}={$vl};
{/foreach}
{/foreach}<br>
{/foreach}
</td>
</tr>
{/foreach}
</table>
{/if}
{if $view=='one'}
<h3>Просмотр одного плана "{$PLAN.title.shifr} {$PLAN.title.naprav}"</h3>
<ul class="nav nav-pills mb-3" id="pills-tab" role="tablist">
<li class="nav-item" role="presentation">
<button class="nav-link active" id="pills-home-tab" data-bs-toggle="pill" data-bs-target="#pills-title" type="button" role="tab" aria-controls="pills-title" aria-selected="true">Оглавление</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="pills-profile-tab" data-bs-toggle="pill" data-bs-target="#pills-plan" type="button" role="tab" aria-controls="pills-plan" aria-selected="false">План</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="pills-praktik-tab" data-bs-toggle="pill" data-bs-target="#pills-praktik" type="button" role="tab" aria-controls="pills-praktik" aria-selected="false">Практики</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="pills-contact-tab" data-bs-toggle="pill" data-bs-target="#pills-competen" type="button" role="tab" aria-controls="pills-competen" aria-selected="false">Компетенции</button>
</li>
</ul>
<div class="tab-content" id="pills-tabContent">
<div class="tab-pane fade show active" id="pills-title" role="tabpanel" aria-labelledby="pills-title-tab">
<p>Программа: <strong>{$PLAN.title.program}</strong></p>
<p>Шифр: <strong>{$PLAN.title.shifr}</strong></p>
<p>Направление: <strong>{$PLAN.title.naprav}</strong></p>
<p>Профиль: <strong>{$PLAN.title.profil}</strong></p>
<p>Кафедра: <strong>{$PLAN.title.kafedra}</strong></p>
<p>Факультет: <strong>{$PLAN.title.fakultet}</strong></p>
<p>Квалификация: <strong>{$PLAN.title.kvalif}</strong></p>
<p>Год начала подготовки: <strong>{$PLAN.title.god_nach_podgot}</strong></p>
<p>Форма обучения: <strong>{$PLAN.title.fo}</strong></p>
<p>Образовательный стандарт: <strong>{$PLAN.title.obr_stabdart}</strong></p>
<p>Срок получения образования: <strong>{$PLAN.title.srok_poluch_obr}</strong></p>
<p>Дата загрузки: <strong>{date('H:i d.m.Y',$PLAN.title.data_c)}</strong></p>
</div>
<div class="tab-pane fade" id="pills-plan" role="tabpanel" aria-labelledby="pills-plan-tab">
<!--pre>{print_r($PLAN.plan)}</pre-->
<div class="table-responsive tableFixHead">
{if $PLAN.title.fo=='Форма обучения: Заочная'}
<table class="table table-striped table-bordered border-info">
<thead>
<tr>
<th class="col-1" rowspan="3">Каф</th>
<th class="col-1" rowspan="3">Индекс</th>
<th rowspan="3">Название</th>
<th rowspan="3">Экз</th>
<th rowspan="3">Зач</th>
<th rowspan="3">ЗачОц</th>
<th rowspan="3">Кр</th>
<th rowspan="3">КП</th>
<th rowspan="3">Ко</th>
<th colspan="9">Курс1</th>
<th colspan="9">Курс2</th>
<th colspan="9">Курс3</th>
<th colspan="9">Курс4</th>
<th colspan="9">Курс5</th>
<th colspan="9">Курс6</th>
</tr>
<tr>
<th colspan="3" style="top: 38px;">Сеc1</th>
<th colspan="3" style="top: 38px;">Сеc2</th>
<th colspan="3" style="top: 38px;">Сеc3</th>
<th colspan="3" style="top: 38px;">Сеc1</th>
<th colspan="3" style="top: 38px;">Сеc2</th>
<th colspan="3" style="top: 38px;">Сеc3</th>
<th colspan="3" style="top: 38px;">Сеc1</th>
<th colspan="3" style="top: 38px;">Сеc2</th>
<th colspan="3" style="top: 38px;">Сеc3</th>
<th colspan="3" style="top: 38px;">Сеc1</th>
<th colspan="3" style="top: 38px;">Сеc2</th>
<th colspan="3" style="top: 38px;">Сеc3</th>
<th colspan="3" style="top: 38px;">Сеc1</th>
<th colspan="3" style="top: 38px;">Сеc2</th>
<th colspan="3" style="top: 38px;">Сеc3</th>
<th colspan="3" style="top: 38px;">Сеc1</th>
<th colspan="3" style="top: 38px;">Сеc2</th>
<th colspan="3" style="top: 38px;">Сеc3</th>
</tr>
<tr>
<th style="top: 76px;">Лек</th><th style="top: 76px;">Лаб</th><th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th><th style="top: 76px;">Лаб</th><th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th><th style="top: 76px;">Лаб</th><th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th><th style="top: 76px;">Лаб</th><th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th><th style="top: 76px;">Лаб</th><th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th><th style="top: 76px;">Лаб</th><th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th><th style="top: 76px;">Лаб</th><th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th><th style="top: 76px;">Лаб</th><th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th><th style="top: 76px;">Лаб</th><th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th><th style="top: 76px;">Лаб</th><th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th><th style="top: 76px;">Лаб</th><th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th><th style="top: 76px;">Лаб</th><th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th><th style="top: 76px;">Лаб</th><th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th><th style="top: 76px;">Лаб</th><th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th><th style="top: 76px;">Лаб</th><th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th><th style="top: 76px;">Лаб</th><th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th><th style="top: 76px;">Лаб</th><th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th><th style="top: 76px;">Лаб</th><th style="top: 76px;">Пр</th>
</tr>
</thead>
<tbody class="tableBody">
{foreach from=$PLAN.plan item=item key=k}{if $k}
<tr>
<td><span data-bs-toggle="tooltip" data-bs-placement="top" title="{$item.kafname}">{$item.kafcod}</span></td>
<td>{$item.index}</td>
<td>{$item.name}</td>
<td>{$item.ekzamen}</td>
<td>{$item.zachet}</td>
<td>{$item.zachetsocenk}</td>
<td>{$item.kr}</td>
<td>{$item.kp}</td>
<td>{$item.kontrol}</td>
<td>{$item.data[1][1].lekcii}</td><td>{$item.data[1][1].labs}</td><td>{$item.data[1][1].pr}</td>
<td>{$item.data[1][2].lekcii}</td><td>{$item.data[1][2].labs}</td><td>{$item.data[1][2].pr}</td>
<td>{$item.data[1][3].lekcii}</td><td>{$item.data[1][3].labs}</td><td>{$item.data[1][3].pr}</td>
<td>{$item.data[2][4].lekcii}</td><td>{$item.data[2][4].labs}</td><td>{$item.data[2][4].pr}</td>
<td>{$item.data[2][5].lekcii}</td><td>{$item.data[2][5].labs}</td><td>{$item.data[2][5].pr}</td>
<td>{$item.data[2][6].lekcii}</td><td>{$item.data[2][6].labs}</td><td>{$item.data[2][6].pr}</td>
<td>{$item.data[3][7].lekcii}</td><td>{$item.data[3][7].labs}</td><td>{$item.data[3][7].pr}</td>
<td>{$item.data[3][8].lekcii}</td><td>{$item.data[3][8].labs}</td><td>{$item.data[3][8].pr}</td>
<td>{$item.data[3][9].lekcii}</td><td>{$item.data[3][9].labs}</td><td>{$item.data[3][9].pr}</td>
<td>{$item.data[4][10].lekcii}</td><td>{$item.data[4][10].labs}</td><td>{$item.data[4][10].pr}</td>
<td>{$item.data[4][11].lekcii}</td><td>{$item.data[4][11].labs}</td><td>{$item.data[4][11].pr}</td>
<td>{$item.data[4][12].lekcii}</td><td>{$item.data[4][12].labs}</td><td>{$item.data[4][12].pr}</td>
<td>{$item.data[4][13].lekcii}</td><td>{$item.data[4][13].labs}</td><td>{$item.data[4][13].pr}</td>
<td>{$item.data[5][14].lekcii}</td><td>{$item.data[5][14].labs}</td><td>{$item.data[5][14].pr}</td>
<td>{$item.data[5][15].lekcii}</td><td>{$item.data[5][15].labs}</td><td>{$item.data[5][15].pr}</td>
<td>{$item.data[5][16].lekcii}</td><td>{$item.data[5][16].labs}</td><td>{$item.data[5][16].pr}</td>
<td>{$item.data[6][17].lekcii}</td><td>{$item.data[6][17].labs}</td><td>{$item.data[6][17].pr}</td>
<td>{$item.data[6][18].lekcii}</td><td>{$item.data[6][18].labs}</td><td>{$item.data[6][18].pr}</td>
</tr>
{/if}{/foreach}
</tbody>
</table>
{else}
<table class="table table-striped table-bordered border-info">
<thead>
<tr>
<th class="col-1" rowspan="3">Каф</th>
<th class="col-1" rowspan="3">Индекс</th>
<th rowspan="3">Название</th>
<th rowspan="3">Экз</th>
<th rowspan="3">Зач</th>
<th rowspan="3">ЗачОц</th>
<th rowspan="3">Кр</th>
<th rowspan="3">КП</th>
<th rowspan="3">Ко</th>
<th colspan="6">Курс1</th>
<th colspan="6">Курс2</th>
<th colspan="6">Курс3</th>
<th colspan="6">Курс4</th>
<th colspan="6">Курс5</th>
<th colspan="6">Курс6</th>
</tr>
<tr>
<th colspan="3" style="top: 38px;">Сем1</th>
<th colspan="3" style="top: 38px;">Сем2</th>
<th colspan="3" style="top: 38px;">Сем3</th>
<th colspan="3" style="top: 38px;">Сем4</th>
<th colspan="3" style="top: 38px;">Сем5</th>
<th colspan="3" style="top: 38px;">Сем6</th>
<th colspan="3" style="top: 38px;">Сем7</th>
<th colspan="3" style="top: 38px;">Сем8</th>
<th colspan="3" style="top: 38px;">Сем9</th>
<th colspan="3" style="top: 38px;">Сем10</th>
<th colspan="3" style="top: 38px;">Сем11</th>
<th colspan="3" style="top: 38px;">Сем12</th>
</tr>
<tr>
<th style="top: 76px;">Лек</th>
<th style="top: 76px;">Лаб</th>
<th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th>
<th style="top: 76px;">Лаб</th>
<th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th>
<th style="top: 76px;">Лаб</th>
<th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th>
<th style="top: 76px;">Лаб</th>
<th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th>
<th style="top: 76px;">Лаб</th>
<th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th>
<th style="top: 76px;">Лаб</th>
<th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th>
<th style="top: 76px;">Лаб</th>
<th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th>
<th style="top: 76px;">Лаб</th>
<th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th>
<th style="top: 76px;">Лаб</th>
<th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th>
<th style="top: 76px;">Лаб</th>
<th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th>
<th style="top: 76px;">Лаб</th>
<th style="top: 76px;">Пр</th>
<th style="top: 76px;">Лек</th>
<th style="top: 76px;">Лаб</th>
<th style="top: 76px;">Пр</th>
</tr>
</thead>
<tbody class="tableBody">
{foreach from=$PLAN.plan item=item key=k}{if $k}
<tr>
<td><span data-bs-toggle="tooltip" data-bs-placement="top" title="{$item.kafname}">{$item.kafcod}</span></td>
<td>{$item.index}</td>
<td>{$item.name}</td>
<td>{$item.ekzamen}</td>
<td>{$item.zachet}</td>
<td>{$item.zachetsocenk}</td>
<td>{$item.kr}</td>
<td>{$item.kp}</td>
<td>{$item.kontrol}</td>
<td>{$item.data[1][1].lekcii}</td><td>{$item.data[1][1].labs}</td><td>{$item.data[1][1].pr}</td>
<td>{$item.data[1][2].lekcii}</td><td>{$item.data[1][2].labs}</td><td>{$item.data[1][2].pr}</td>
<td>{$item.data[2][3].lekcii}</td><td>{$item.data[2][3].labs}</td><td>{$item.data[2][3].pr}</td>
<td>{$item.data[2][4].lekcii}</td><td>{$item.data[2][4].labs}</td><td>{$item.data[2][4].pr}</td>
<td>{$item.data[3][5].lekcii}</td><td>{$item.data[3][5].labs}</td><td>{$item.data[3][5].pr}</td>
<td>{$item.data[3][6].lekcii}</td><td>{$item.data[3][6].labs}</td><td>{$item.data[3][6].pr}</td>
<td>{$item.data[4][7].lekcii}</td><td>{$item.data[4][7].labs}</td><td>{$item.data[4][7].pr}</td>
<td>{$item.data[4][8].lekcii}</td><td>{$item.data[4][8].labs}</td><td>{$item.data[4][8].pr}</td>
<td>{$item.data[5][9].lekcii}</td><td>{$item.data[5][9].labs}</td><td>{$item.data[5][9].pr}</td>
<td>{$item.data[5][10].lekcii}</td><td>{$item.data[5][10].labs}</td><td>{$item.data[5][10].pr}</td>
<td>{$item.data[6][11].lekcii}</td><td>{$item.data[6][11].labs}</td><td>{$item.data[6][11].pr}</td>
<td>{$item.data[6][12].lekcii}</td><td>{$item.data[6][12].labs}</td><td>{$item.data[6][12].pr}</td>
</tr>
{/if}{/foreach}
</tbody>
</table>
{/if}
</div>
</div>
<div class="tab-pane fade" id="pills-praktik" role="tabpanel" aria-labelledby="pills-praktik-tab">
<table class="table">
<thead>
<tr>
<th>Название</th>
<th>Курс</th>
<th>Семестр</th>
<th>Недели</th>
<th>Дни</th>
<th>Тип</th>
</tr>
</thead>
<tbody>
{foreach from=$PLAN.praktik item=prakt}
<tr>
<td>{$prakt.name}</td>
<td>{$prakt.kurs}</td>
<td>{$prakt.seme}</td>
<td>{$prakt.week}</td>
<td>{$prakt.days}</td>
<td>{$prakt.tp}</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
<div class="tab-pane fade" id="pills-competen" role="tabpanel" aria-labelledby="pills-competen-tab">
<table class="table">
<thead>
<tr>
<th>Индекс</th>
<th>Компетенция</th>
<th>Дисциплины</th>
</tr>
</thead>
<tbody>
{foreach from=$PLAN.competen item=comp key=cod}
<tr>
<td>{$comp.index}</td>
<td>{$comp.comp}</td>
<td>
{if isset($comp.discips)}{foreach from=$comp.discips item=disc}
<span><b>{$disc.shifr}</b> {$disc.discip};</span>
{/foreach}{/if}
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
{/if}