109 lines
4.7 KiB
PHP
109 lines
4.7 KiB
PHP
<?php /* Smarty version Smarty-3.1.13, created on 2022-11-30 10:20:44
|
||
compiled from "tpl/tpl_dekanat_summary_sheet.html" */ ?>
|
||
<?php /*%%SmartyHeaderCode:1686312648638492f9585960-43108713%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||
'file_dependency' =>
|
||
array (
|
||
'abb6b728744a574cc5d205507debf8e1fba5edf6' =>
|
||
array (
|
||
0 => 'tpl/tpl_dekanat_summary_sheet.html',
|
||
1 => 1669792843,
|
||
2 => 'file',
|
||
),
|
||
),
|
||
'nocache_hash' => '1686312648638492f9585960-43108713',
|
||
'function' =>
|
||
array (
|
||
),
|
||
'version' => 'Smarty-3.1.13',
|
||
'unifunc' => 'content_638492f95d1606_02931459',
|
||
'variables' =>
|
||
array (
|
||
'grupps' => 0,
|
||
'k' => 0,
|
||
'gr' => 0,
|
||
),
|
||
'has_nocache_code' => false,
|
||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||
<?php if ($_valid && !is_callable('content_638492f95d1606_02931459')) {function content_638492f95d1606_02931459($_smarty_tpl) {?><!-- BEGIN PAGE HEADER-->
|
||
<div class="row-fluid">
|
||
<div class="span12">
|
||
<h3 class="page-title">Сводные ведомости</h3>
|
||
<ul class="breadcrumb">
|
||
<li><a href="/dekanat/consolidated_iup/" class="btn btn-primary">Студенты по ИУП</a></li>
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row-fluid">
|
||
<div class="span12">
|
||
|
||
<table class="table table-bordered">
|
||
<tr>
|
||
<th width="5%">№ п/п</th>
|
||
<th width="10%">Группы</th>
|
||
<th width="10%">Код специальности</th>
|
||
<th width="10%">Год набора</th>
|
||
<th width="65%">Семестры</th>
|
||
</tr>
|
||
|
||
<?php $_smarty_tpl->tpl_vars['gr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['gr']->_loop = false;
|
||
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
|
||
$_from = $_smarty_tpl->tpl_vars['grupps']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['gr']->key => $_smarty_tpl->tpl_vars['gr']->value){
|
||
$_smarty_tpl->tpl_vars['gr']->_loop = true;
|
||
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['gr']->key;
|
||
?>
|
||
<tr>
|
||
<td><?php echo ($_smarty_tpl->tpl_vars['k']->value+1);?>
|
||
</td>
|
||
<td><b><?php echo $_smarty_tpl->tpl_vars['gr']->value['sokr'];?>
|
||
(<?php echo $_smarty_tpl->tpl_vars['gr']->value['fo'];?>
|
||
)</b></td>
|
||
<td> <?php echo $_smarty_tpl->tpl_vars['gr']->value['specialnost'];?>
|
||
</td>
|
||
<td> <?php echo $_smarty_tpl->tpl_vars['gr']->value['year_start'];?>
|
||
</td>
|
||
<td>
|
||
<?php if (($_smarty_tpl->tpl_vars['gr']->value['specialnost']!='')&&($_smarty_tpl->tpl_vars['gr']->value['year_start']!='')){?>
|
||
<div>
|
||
<a href="/dekanat/summarySheet/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
/0/1/" target="_blank" class="btn btn-light">1</a>
|
||
<a href="/dekanat/summarySheet/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
/0/2/" target="_blank" class="btn btn-light">2</a>
|
||
<a href="/dekanat/summarySheet/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
/0/3/" target="_blank" class="btn btn-light">3</a>
|
||
<a href="/dekanat/summarySheet/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
/0/4/" target="_blank" class="btn btn-light">4</a>
|
||
<a href="/dekanat/summarySheet/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
/0/5/" target="_blank" class="btn btn-light">5</a>
|
||
<a href="/dekanat/summarySheet/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
/0/6/" target="_blank" class="btn btn-light">6</a>
|
||
<a href="/dekanat/summarySheet/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
/0/7/" target="_blank" class="btn btn-light">7</a>
|
||
<a href="/dekanat/summarySheet/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
/0/8/" target="_blank" class="btn btn-light">8</a>
|
||
<a href="/dekanat/summarySheet/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
/0/9/" target="_blank" class="btn btn-light">9</a>
|
||
<a href="/dekanat/summarySheet/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
/0/10/" target="_blank" class="btn btn-light">10</a>
|
||
<a href="/dekanat/summarySheet/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
/0/11/" target="_blank" class="btn btn-light">11</a>
|
||
<a href="/dekanat/summarySheet/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
/0/12/" target="_blank" class="btn btn-light">12</a>
|
||
<a href="/dekanat/summarySheet/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
/0/0/" target="_blank" class="btn btn-light">ВСЕ СЕМЕСТРЫ</a>
|
||
|
||
</div>
|
||
<?php }else{ ?>
|
||
<p style="color: red;">Невозможно сформировать (не вся информация о группе)</p>
|
||
<?php }?>
|
||
</td>
|
||
</tr>
|
||
<?php } ?>
|
||
|
||
</table>
|
||
|
||
</div>
|
||
</div><?php }} ?>
|