68 lines
2.7 KiB
HTML
68 lines
2.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="/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>
|
|
|
|
{foreach from=$grupps item=gr key=k}
|
|
<tr>
|
|
<td>{($k+1)}</td>
|
|
<td>{$gr.sokr} ({$gr.fo})</td>
|
|
<td>
|
|
<div>
|
|
<a href="/dekanat/consolidated/{$gr.id_grupp}/0/1/" target="_blank" class="btn btn-light">1</a>
|
|
<a href="/dekanat/consolidated/{$gr.id_grupp}/0/2/" target="_blank" class="btn btn-light">2</a>
|
|
<a href="/dekanat/consolidated/{$gr.id_grupp}/0/3/" target="_blank" class="btn btn-light">3</a>
|
|
<a href="/dekanat/consolidated/{$gr.id_grupp}/0/4/" target="_blank" class="btn btn-light">4</a>
|
|
<a href="/dekanat/consolidated/{$gr.id_grupp}/0/5/" target="_blank" class="btn btn-light">5</a>
|
|
<a href="/dekanat/consolidated/{$gr.id_grupp}/0/6/" target="_blank" class="btn btn-light">6</a>
|
|
<a href="/dekanat/consolidated/{$gr.id_grupp}/0/7/" target="_blank" class="btn btn-light">7</a>
|
|
<a href="/dekanat/consolidated/{$gr.id_grupp}/0/8/" target="_blank" class="btn btn-light">8</a>
|
|
<a href="/dekanat/consolidated/{$gr.id_grupp}/0/9/" target="_blank" class="btn btn-light">9</a>
|
|
<a href="/dekanat/consolidated/{$gr.id_grupp}/0/10/" target="_blank" class="btn btn-light">10</a>
|
|
<a href="/dekanat/consolidated/{$gr.id_grupp}/0/11/" target="_blank" class="btn btn-light">11</a>
|
|
<a href="/dekanat/consolidated/{$gr.id_grupp}/0/12/" target="_blank" class="btn btn-light">12</a>
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
|
|
</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--> |