123 lines
5.0 KiB
PHP
123 lines
5.0 KiB
PHP
<?php /* Smarty version Smarty-3.1.13, created on 2023-04-13 09:44:30
|
|
compiled from "tpl/tpl_it_cards_block.html" */ ?>
|
|
<?php /*%%SmartyHeaderCode:16765661286433e3162d8d76-96554925%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'99eb1e7ca0a0038f707dc4e441a8d06ef94b7b3e' =>
|
|
array (
|
|
0 => 'tpl/tpl_it_cards_block.html',
|
|
1 => 1681368264,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'nocache_hash' => '16765661286433e3162d8d76-96554925',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'version' => 'Smarty-3.1.13',
|
|
'unifunc' => 'content_6433e316301ad6_33093664',
|
|
'variables' =>
|
|
array (
|
|
'count' => 0,
|
|
'grupps' => 0,
|
|
'grupp' => 0,
|
|
'student' => 0,
|
|
'ks' => 0,
|
|
),
|
|
'has_nocache_code' => false,
|
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
|
<?php if ($_valid && !is_callable('content_6433e316301ad6_33093664')) {function content_6433e316301ad6_33093664($_smarty_tpl) {?><!-- BEGIN PAGE HEADER-->
|
|
<div class="row-fluid">
|
|
<div class="span12">
|
|
<h3 class="page-title">Деактивация карт (выпустившиеся студенты, которые не продолжают дальнейшее обучение в вузе) </h3>
|
|
|
|
<ul class="breadcrumb">
|
|
<li class="active"><a href="/it/cards_block/2023/" class="btn btn-primary">2023 год</a></li>
|
|
<li class="active"><a href="/it/cards_block/2022/" class="btn btn-primary">2022 год</a></li>
|
|
<li class="active"><a href="/it/cards_block/2021/" class="btn btn-primary">2021 год</a></li>
|
|
<li class="active"><a href="/it/cards_block/2020/" class="btn btn-primary">2020 год</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
<div class="span12">
|
|
|
|
<table class="table table-bordered">
|
|
<tr align="center">
|
|
<td style="background: white;" width="33%"><?php echo $_smarty_tpl->tpl_vars['count']->value['vib'];?>
|
|
чел. - выбывший <sub>(можно убирать)</sub></td>
|
|
<td style="background: green;" width="33%"><?php echo $_smarty_tpl->tpl_vars['count']->value['prod'];?>
|
|
чел. - учится дальше</td>
|
|
<td style="background: orange;" width="33%"><?php echo $_smarty_tpl->tpl_vars['count']->value['teach'];?>
|
|
чел. - преподаватель</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<!--СПИСОК ГРУПП ВЫПУСКНИКОВ-->
|
|
<div class="row-fluid">
|
|
<div class="span12">
|
|
<div class="row-fluid">
|
|
<div class="widget purple" >
|
|
<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-bordered">
|
|
<tr>
|
|
<th>№ п/п</th>
|
|
<th>ФИО</th>
|
|
<th>Доп. информация</th>
|
|
<th>Группа</th>
|
|
|
|
</tr>
|
|
<?php $_smarty_tpl->tpl_vars['grupp'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['grupp']->_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['grupp']->key => $_smarty_tpl->tpl_vars['grupp']->value){
|
|
$_smarty_tpl->tpl_vars['grupp']->_loop = true;
|
|
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['grupp']->key;
|
|
?>
|
|
<?php $_smarty_tpl->tpl_vars['student'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['student']->_loop = false;
|
|
$_smarty_tpl->tpl_vars['ks'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->tpl_vars['grupp']->value['students']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['student']->key => $_smarty_tpl->tpl_vars['student']->value){
|
|
$_smarty_tpl->tpl_vars['student']->_loop = true;
|
|
$_smarty_tpl->tpl_vars['ks']->value = $_smarty_tpl->tpl_vars['student']->key;
|
|
?>
|
|
<tr style="<?php if ($_smarty_tpl->tpl_vars['student']->value['teacher']['id']>0){?>background: orange;<?php }?><?php if (($_smarty_tpl->tpl_vars['student']->value['duplicates']>1)){?>background: green;<?php }?>">
|
|
<td><?php echo $_smarty_tpl->tpl_vars['ks']->value+1;?>
|
|
</td>
|
|
<td><?php echo $_smarty_tpl->tpl_vars['student']->value['user']['fio'];?>
|
|
</td>
|
|
<td><?php if ($_smarty_tpl->tpl_vars['student']->value['teacher']['id']>0){?>Преподаватель<br /><?php }?> <?php if (($_smarty_tpl->tpl_vars['student']->value['duplicates']>1)){?>есть еще профили<?php }?></td>
|
|
<td><?php echo $_smarty_tpl->tpl_vars['grupp']->value['sokr'];?>
|
|
<?php echo $_smarty_tpl->tpl_vars['grupp']->value['fo'];?>
|
|
</td>
|
|
|
|
</tr>
|
|
<?php } ?>
|
|
<?php } ?>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!--СПИСОК ГРУПП ВЫПУСКНИКОВ-->
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<?php }} ?>
|