116 lines
4.8 KiB
PHP
116 lines
4.8 KiB
PHP
|
<?php /* Smarty version Smarty-3.1.13, created on 2022-04-12 11:56:58
|
||
|
compiled from "tpl/tpl_teacher_consolidated.html" */ ?>
|
||
|
<?php /*%%SmartyHeaderCode:47773884962553edadeb656-18560192%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
||
|
'file_dependency' =>
|
||
|
array (
|
||
|
'4e5952651499f96ed9038ac21085e420c540d45b' =>
|
||
|
array (
|
||
|
0 => 'tpl/tpl_teacher_consolidated.html',
|
||
|
1 => 1638353775,
|
||
|
2 => 'file',
|
||
|
),
|
||
|
),
|
||
|
'nocache_hash' => '47773884962553edadeb656-18560192',
|
||
|
'function' =>
|
||
|
array (
|
||
|
),
|
||
|
'variables' =>
|
||
|
array (
|
||
|
'grupps' => 0,
|
||
|
'k' => 0,
|
||
|
'gr' => 0,
|
||
|
),
|
||
|
'has_nocache_code' => false,
|
||
|
'version' => 'Smarty-3.1.13',
|
||
|
'unifunc' => 'content_62553edae10042_24649799',
|
||
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
||
|
<?php if ($_valid && !is_callable('content_62553edae10042_24649799')) {function content_62553edae10042_24649799($_smarty_tpl) {?><!-- 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="/teach/consolidated/">Сводные ведомости</a></li>
|
||
|
<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="15%">Группы</th>
|
||
|
<th width="50%">Семестры</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><?php echo $_smarty_tpl->tpl_vars['gr']->value['sokr'];?>
|
||
|
(<?php echo $_smarty_tpl->tpl_vars['gr']->value['fo'];?>
|
||
|
)</td>
|
||
|
<td>
|
||
|
<div>
|
||
|
<a href="/dekanat/consolidated/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
|
/0/1/" target="_blank" class="btn btn-light">1</a>
|
||
|
<a href="/dekanat/consolidated/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
|
/0/2/" target="_blank" class="btn btn-light">2</a>
|
||
|
<a href="/dekanat/consolidated/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
|
/0/3/" target="_blank" class="btn btn-light">3</a>
|
||
|
<a href="/dekanat/consolidated/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
|
/0/4/" target="_blank" class="btn btn-light">4</a>
|
||
|
<a href="/dekanat/consolidated/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
|
/0/5/" target="_blank" class="btn btn-light">5</a>
|
||
|
<a href="/dekanat/consolidated/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
|
/0/6/" target="_blank" class="btn btn-light">6</a>
|
||
|
<a href="/dekanat/consolidated/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
|
/0/7/" target="_blank" class="btn btn-light">7</a>
|
||
|
<a href="/dekanat/consolidated/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
|
/0/8/" target="_blank" class="btn btn-light">8</a>
|
||
|
<a href="/dekanat/consolidated/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
|
/0/9/" target="_blank" class="btn btn-light">9</a>
|
||
|
<a href="/dekanat/consolidated/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
|
/0/10/" target="_blank" class="btn btn-light">10</a>
|
||
|
<a href="/dekanat/consolidated/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
|
/0/11/" target="_blank" class="btn btn-light">11</a>
|
||
|
<a href="/dekanat/consolidated/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id_grupp'];?>
|
||
|
/0/12/" target="_blank" class="btn btn-light">12</a>
|
||
|
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<?php } ?>
|
||
|
|
||
|
</table>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<!--script type="text/javascript">
|
||
|
$(document).ready(function(){
|
||
|
//выбираем номер группы в потоке и после этого отображаем семестр
|
||
|
$('.sel-sem').click(function(){
|
||
|
var id = $(this).data('id'); //айдишник группы
|
||
|
var num = $('#sel-'+id+'').val(); //номер группы в потоке
|
||
|
|
||
|
for (var i = 1; i<=12; i++){
|
||
|
$('#sem-'+id+' a:nth-child('+i+')').attr('href', '/dekanat/consolidated/'+id+'/'+num+'/'+i+'/');
|
||
|
}
|
||
|
|
||
|
//alert(num);
|
||
|
|
||
|
$('#sem-'+id+'').css('display', 'block');
|
||
|
});
|
||
|
});
|
||
|
</script--><?php }} ?>
|