735 lines
40 KiB
PHP
735 lines
40 KiB
PHP
<?php /* Smarty version Smarty-3.1.13, created on 2022-04-11 20:31:26
|
||
compiled from "tpl/tpl_teacher_ocenki.html" */ ?>
|
||
<?php /*%%SmartyHeaderCode:508115114625465ee667904-71532918%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||
'file_dependency' =>
|
||
array (
|
||
'a2115ab4afb9f40a229c4bf64c4890bd85106c1f' =>
|
||
array (
|
||
0 => 'tpl/tpl_teacher_ocenki.html',
|
||
1 => 1637671201,
|
||
2 => 'file',
|
||
),
|
||
),
|
||
'nocache_hash' => '508115114625465ee667904-71532918',
|
||
'function' =>
|
||
array (
|
||
'ocenki' =>
|
||
array (
|
||
'parameter' =>
|
||
array (
|
||
's' => 1,
|
||
),
|
||
'compiled' => '',
|
||
),
|
||
),
|
||
'variables' =>
|
||
array (
|
||
'lections' => 0,
|
||
'user' => 0,
|
||
'us' => 0,
|
||
'name1' => 0,
|
||
'olid' => 0,
|
||
'osid' => 0,
|
||
't' => 0,
|
||
'value' => 0,
|
||
's' => 0,
|
||
'o' => 0,
|
||
'regim' => 0,
|
||
'data_c1' => 0,
|
||
'gruppss' => 0,
|
||
'grup' => 0,
|
||
'grupps' => 0,
|
||
'gr' => 0,
|
||
'ocenki' => 0,
|
||
'ol' => 0,
|
||
'os' => 0,
|
||
'pr' => 0,
|
||
),
|
||
'has_nocache_code' => 0,
|
||
'version' => 'Smarty-3.1.13',
|
||
'unifunc' => 'content_625465ee771f92_79155494',
|
||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||
<?php if ($_valid && !is_callable('content_625465ee771f92_79155494')) {function content_625465ee771f92_79155494($_smarty_tpl) {?><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/ocenki/">Обучать - Оценки</a></li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<div class="row-fluid">
|
||
<div class="span12">
|
||
<p>Оценки выставляются за "Лекции", сначала вам необходимо создать лекцию, а потом выставлять оценки!</p>
|
||
<?php echo $_smarty_tpl->tpl_vars['lections']->value;?>
|
||
|
||
<?php if (isset($_smarty_tpl->tpl_vars['user']->value['statuses'])){?>
|
||
<?php $_smarty_tpl->tpl_vars['us'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['us']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['user']->value['statuses']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['us']->key => $_smarty_tpl->tpl_vars['us']->value){
|
||
$_smarty_tpl->tpl_vars['us']->_loop = true;
|
||
?>
|
||
<?php if ($_smarty_tpl->tpl_vars['us']->value==21){?><p>Ваш статус: Зам.декана, у вас есть возможность <a href="/teach/ocenki/fakultet/" target="_blank">просмотреть оценки всего факультета</a>.</p><?php }?>
|
||
<?php } ?>
|
||
<?php }?>
|
||
</div>
|
||
</div>
|
||
<?php if (!function_exists('smarty_template_function_ocenki')) {
|
||
function smarty_template_function_ocenki($_smarty_tpl,$params) {
|
||
$saved_tpl_vars = $_smarty_tpl->tpl_vars;
|
||
foreach ($_smarty_tpl->smarty->template_functions['ocenki']['parameter'] as $key => $value) {$_smarty_tpl->tpl_vars[$key] = new Smarty_variable($value);};
|
||
foreach ($params as $key => $value) {$_smarty_tpl->tpl_vars[$key] = new Smarty_variable($value);}?>
|
||
<input type="HIDDEN" name="<?php echo $_smarty_tpl->tpl_vars['name1']->value;?>
|
||
[<?php echo $_smarty_tpl->tpl_vars['olid']->value;?>
|
||
][<?php echo $_smarty_tpl->tpl_vars['osid']->value;?>
|
||
][<?php echo $_smarty_tpl->tpl_vars['t']->value;?>
|
||
]" value="<?php echo $_smarty_tpl->tpl_vars['value']->value;?>
|
||
" id="<?php echo $_smarty_tpl->tpl_vars['olid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['osid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['t']->value;?>
|
||
">
|
||
<?php if ($_smarty_tpl->tpl_vars['s']->value==1){?>
|
||
<div class="ocenki">
|
||
<div class="ocenka<?php if ($_smarty_tpl->tpl_vars['value']->value==1){?> sel<?php }?>" id="o1_<?php echo $_smarty_tpl->tpl_vars['olid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['osid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['t']->value;?>
|
||
">1</div>
|
||
<div class="ocenka<?php if ($_smarty_tpl->tpl_vars['value']->value==2){?> sel<?php }?>" id="o2_<?php echo $_smarty_tpl->tpl_vars['olid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['osid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['t']->value;?>
|
||
">2</div>
|
||
<div class="ocenka<?php if ($_smarty_tpl->tpl_vars['value']->value==3){?> sel<?php }?>" id="o3_<?php echo $_smarty_tpl->tpl_vars['olid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['osid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['t']->value;?>
|
||
">3</div>
|
||
<div class="ocenka<?php if ($_smarty_tpl->tpl_vars['value']->value==4){?> sel<?php }?>" id="o4_<?php echo $_smarty_tpl->tpl_vars['olid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['osid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['t']->value;?>
|
||
">4</div>
|
||
<div class="ocenka<?php if ($_smarty_tpl->tpl_vars['value']->value==5){?> sel<?php }?>" id="o5_<?php echo $_smarty_tpl->tpl_vars['olid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['osid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['t']->value;?>
|
||
">5</div>
|
||
<?php if ($_smarty_tpl->tpl_vars['o']->value==1||$_smarty_tpl->tpl_vars['o']->value==2){?>
|
||
<div class="ocenka<?php if ($_smarty_tpl->tpl_vars['value']->value=='зачет'){?> sel<?php }?>" id="o6_<?php echo $_smarty_tpl->tpl_vars['olid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['osid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['t']->value;?>
|
||
">зачет</div>
|
||
<div class="ocenka<?php if ($_smarty_tpl->tpl_vars['value']->value=='незачет'){?> sel<?php }?>" id="o7_<?php echo $_smarty_tpl->tpl_vars['olid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['osid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['t']->value;?>
|
||
">незачет</div>
|
||
<?php }?>
|
||
<?php if ($_smarty_tpl->tpl_vars['o']->value==1||$_smarty_tpl->tpl_vars['o']->value==2){?>
|
||
<div class="ocenka<?php if ($_smarty_tpl->tpl_vars['value']->value=='неявка'){?> sel<?php }?>" id="o8_<?php echo $_smarty_tpl->tpl_vars['olid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['osid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['t']->value;?>
|
||
">неявка</div>
|
||
<div class="ocenka<?php if ($_smarty_tpl->tpl_vars['value']->value=='неаттест.'){?> sel<?php }?>" id="o9_<?php echo $_smarty_tpl->tpl_vars['olid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['osid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['t']->value;?>
|
||
">неаттест.</div>
|
||
<?php }?>
|
||
<?php if ($_smarty_tpl->tpl_vars['o']->value==3){?>
|
||
<div class="ocenka<?php if ($_smarty_tpl->tpl_vars['value']->value=='выполнен'){?> sel<?php }?>" id="o10_<?php echo $_smarty_tpl->tpl_vars['olid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['osid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['t']->value;?>
|
||
">выполнен</div>
|
||
<div class="ocenka<?php if ($_smarty_tpl->tpl_vars['value']->value=='невыполнен'){?> sel<?php }?>" id="o11_<?php echo $_smarty_tpl->tpl_vars['olid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['osid']->value;?>
|
||
_<?php echo $_smarty_tpl->tpl_vars['t']->value;?>
|
||
">невыполнен</div>
|
||
<?php }?>
|
||
</div>
|
||
<?php }?>
|
||
<?php $_smarty_tpl->tpl_vars = $saved_tpl_vars;
|
||
foreach (Smarty::$global_tpl_vars as $key => $value) if(!isset($_smarty_tpl->tpl_vars[$key])) $_smarty_tpl->tpl_vars[$key] = $value;}}?>
|
||
|
||
|
||
<script>$(document).ready(function(){
|
||
$(".ocenka").click(function(){
|
||
var id=$(this).attr("id").split("_");
|
||
var val=$(this).text();
|
||
if($(this).hasClass("sel")){
|
||
val=0;
|
||
$(this).parent('.ocenki').find('.ocenka').removeClass("sel");
|
||
$(this).removeClass("sel");
|
||
}else{
|
||
$(this).parent('.ocenki').find('.ocenka').removeClass("sel");
|
||
$(this).addClass("sel");
|
||
}
|
||
$("#"+id[1]+"_"+id[2]+"_"+id[3]).val(val);
|
||
});
|
||
});
|
||
</script>
|
||
<style>
|
||
.ocenki{}
|
||
.ocenka{float:left;padding:2px;border:1px solid #eaeaea;cursor:pointer;min-width:12px;text-align:center;}
|
||
.ocenka.sel{background:#8fde8f;color:#fff;}
|
||
.ocenka:hover{background:#8fde8f;color:#fff;}
|
||
</style>
|
||
<div class="row-fluid">
|
||
<div class="span12">
|
||
<div class="row-fluid">
|
||
<?php if ($_smarty_tpl->tpl_vars['regim']->value=='ocenki_fakultet'){?>
|
||
<div class="row-fluid">
|
||
<div class="span6">
|
||
<h3>Просмотр всех групп факультета, для печати оценок</h3>
|
||
</div>
|
||
<div class="span6">
|
||
<p>Укажите начальную дату периода, с которого надо отображать оценки(начало семестра)</p>
|
||
<input type="date" name="date_c1" id="date_c1" value="<?php echo date('Y-m-d',$_smarty_tpl->tpl_vars['data_c1']->value);?>
|
||
" />
|
||
</div>
|
||
</div>
|
||
<table class="table">
|
||
<thead><tr>
|
||
<th>Группа</th>
|
||
<th>Преподаватель</th>
|
||
<th>Кол-во студентов</th>
|
||
<th>Кол-во оценок</th>
|
||
<th>Сводная</th>
|
||
<th>Аттестация</th>
|
||
</tr></thead>
|
||
<?php $_smarty_tpl->tpl_vars['grup'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['grup']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['gruppss']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['grup']->key => $_smarty_tpl->tpl_vars['grup']->value){
|
||
$_smarty_tpl->tpl_vars['grup']->_loop = true;
|
||
?>
|
||
<tr>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['grup']->value['sokr'];?>
|
||
-<?php echo $_smarty_tpl->tpl_vars['grup']->value['kurs'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['grup']->value['fo'];?>
|
||
</td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['grup']->value['fio'];?>
|
||
<div class="fio-prepods"> </div></td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['grup']->value['kolstud'];?>
|
||
</td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['grup']->value['kolocenki'];?>
|
||
</td>
|
||
<td>
|
||
<?php if ($_smarty_tpl->tpl_vars['grup']->value['kolstud']!=0&&$_smarty_tpl->tpl_vars['grup']->value['kolocenki']!=0){?>
|
||
<a class="btn btn-primary" href="/teach/ocenki/fakultet3/<?php echo $_smarty_tpl->tpl_vars['grup']->value['id'];?>
|
||
/" target="_blank">Текущая </a>
|
||
<a class="btn btn-info" href="/teach/ocenki/fakultet4/<?php echo $_smarty_tpl->tpl_vars['grup']->value['id'];?>
|
||
/" target="_blank">Промежуточная</a>
|
||
<?php }else{ ?>
|
||
<?php if ($_smarty_tpl->tpl_vars['grup']->value['kolstud']==0){?>нет студентов; <?php }?>
|
||
<?php if ($_smarty_tpl->tpl_vars['grup']->value['kolocenki']==0){?>нет оценок; <?php }?>
|
||
<?php }?>
|
||
</td>
|
||
<td>
|
||
<?php if ($_smarty_tpl->tpl_vars['grup']->value['kolstud']!=0&&$_smarty_tpl->tpl_vars['grup']->value['kolocenki']!=0){?>
|
||
<a class="btn btn-success" href="/teach/ocenki/fakultet1/<?php echo $_smarty_tpl->tpl_vars['grup']->value['id'];?>
|
||
/" target="_blank">Текущая </a>
|
||
<a class="btn btn-warning" href="/teach/ocenki/fakultet2/<?php echo $_smarty_tpl->tpl_vars['grup']->value['id'];?>
|
||
/" target="_blank">Промежуточная</a>
|
||
<?php }else{ ?>
|
||
<?php if ($_smarty_tpl->tpl_vars['grup']->value['kolstud']==0){?>нет студентов; <?php }?>
|
||
<?php if ($_smarty_tpl->tpl_vars['grup']->value['kolocenki']==0){?>нет оценок; <?php }?>
|
||
<?php }?>
|
||
</td>
|
||
</tr>
|
||
<?php } ?>
|
||
</table>
|
||
|
||
<!--Здесь сам парсер -->
|
||
<script type="text/javascript">
|
||
$(document).ready(function() { //ждем, когда страница полностью загрузится
|
||
$("#date_c1").change(function(){
|
||
var val = $(this).val();
|
||
//alert(val);//2019-12-13
|
||
$.ajax({
|
||
url: '/json.php', dataType: 'json', type: 'POST', async: false, data: 'ajdes=teacher_ocenki_fakultet_setdatac&datac='+val,
|
||
success: function(data){
|
||
document.location.reload(true);
|
||
}
|
||
});
|
||
return false;
|
||
});
|
||
//теперь начинаем парсить
|
||
var http = new XMLHttpRequest();
|
||
http.open('GET', 'http://ru.stackoverflow.com', true); // составить асинхронный (по умолчанию true) GET запрос страницы
|
||
http.onreadystatechange = function () { // обратная связь: отдаёт ответ на запрос
|
||
if (this.readyState == 4 && this.status == 200) { // отследить момент, когда пришёл полный ответ
|
||
alert( this.responseText ); // this.responseText — ответ в виде текста
|
||
}
|
||
}
|
||
http.send(); // отправить запрос
|
||
var ind = 0; //порядковый номер строки, с которой мы будем работать
|
||
$('.fio-prepods').each(function(){ //перебираем все элементы
|
||
ind++; //увеличиваем на единицу - то есть переходим на новую строку
|
||
//$(this).html(ind);
|
||
//вытаскиваем айдишник группы, которую аттестовываем
|
||
var address = $('table tr:nth-child('+ind+') td:nth-child(5)').html();
|
||
var mas = address.split('/'); //находим айдишник группы, с которой мы будем работать
|
||
var href = mas[4]; //сам айдишник группы
|
||
});
|
||
});
|
||
</script>
|
||
<?php }?>
|
||
<?php if ($_smarty_tpl->tpl_vars['regim']->value=='ocenki_grupps'){?>
|
||
<?php if (count($_smarty_tpl->tpl_vars['grupps']->value)){?>
|
||
<div class="widget orange">
|
||
<div class="widget-title">
|
||
<h4>Список ваших групп, выберите группу для выставления оценок</h4>
|
||
<span class="tools"><a href="javascript:;" class="icon-chevron-down"></a></span>
|
||
</div>
|
||
<div class="widget-body">
|
||
<table class="table table-striped table-bordered table-advance table-hover">
|
||
<thead><tr>
|
||
<th>Группа</th>
|
||
<th>Форма обучения</th>
|
||
<th>Название</th>
|
||
<th>Описание</th>
|
||
<th>Специальность</th>
|
||
<th>Кол-во студентов</th>
|
||
<th>Кол-во лекций</th>
|
||
<th>Оценки</th>
|
||
</tr></thead>
|
||
<tbody>
|
||
<?php $_smarty_tpl->tpl_vars['gr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['gr']->_loop = false;
|
||
$_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;
|
||
?>
|
||
<tr>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['gr']->value['sokr'];?>
|
||
-<?php echo $_smarty_tpl->tpl_vars['gr']->value['kurs'];?>
|
||
</td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['gr']->value['fo'];?>
|
||
</td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['gr']->value['name'];?>
|
||
</td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['gr']->value['descrip'];?>
|
||
</td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['gr']->value['specialnost'];?>
|
||
</td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['gr']->value['students'];?>
|
||
</td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['gr']->value['lekcii'];?>
|
||
</td>
|
||
<td><?php if ($_smarty_tpl->tpl_vars['gr']->value['students']!=0&&$_smarty_tpl->tpl_vars['gr']->value['lekcii']!=0){?><a class="btn btn-success" href="/teach/ocenki/grupp/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id'];?>
|
||
/"><i class="icon-gear"></i></a><a class="btn btn-warning" href="/teach/ocenki/gruppo/<?php echo $_smarty_tpl->tpl_vars['gr']->value['id'];?>
|
||
/" target="_blank"><i class="icon-download"></i></a><?php }else{ ?><?php if ($_smarty_tpl->tpl_vars['gr']->value['students']==0){?>нет студентов<?php }else{ ?>нет лекций<?php }?><?php }?></td>
|
||
</tr>
|
||
<?php } ?>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<?php }?>
|
||
<?php }?>
|
||
<?php if ($_smarty_tpl->tpl_vars['regim']->value=='ocenki_gruppa'){?>
|
||
<div class="span12">
|
||
<div class="row-fluid">
|
||
<?php if (count($_smarty_tpl->tpl_vars['ocenki']->value['students'])){?>
|
||
<h3>Группа <?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['sokr'];?>
|
||
-<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['kurs'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['fo'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['name'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['specialnost'];?>
|
||
</h3>
|
||
<?php $_smarty_tpl->tpl_vars['ol'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ol']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['ocenki']->value['lections']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['ol']->key => $_smarty_tpl->tpl_vars['ol']->value){
|
||
$_smarty_tpl->tpl_vars['ol']->_loop = true;
|
||
?>
|
||
<div class="widget green">
|
||
<div class="widget-title">
|
||
<h4>МАТЕРИАЛ: <?php echo $_smarty_tpl->tpl_vars['ol']->value['name'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['ol']->value['specialnost'];?>
|
||
курс:<?php echo $_smarty_tpl->tpl_vars['ol']->value['kurs'];?>
|
||
сем.:<?php echo $_smarty_tpl->tpl_vars['ol']->value['semestr'];?>
|
||
</h4>
|
||
<span class="tools"><a href="javascript:;" class="icon-chevron-up"> Развернуть/Свернуть</a></span>
|
||
</div>
|
||
<div class="widget-body" style="display: none;">
|
||
<div class="widget gray">
|
||
<div class="widget-title">
|
||
<h4 style="width:50%;">ЛЕКЦИЯ: <?php echo $_smarty_tpl->tpl_vars['ol']->value['name'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['ol']->value['specialnost'];?>
|
||
курс:<?php echo $_smarty_tpl->tpl_vars['ol']->value['kurs'];?>
|
||
сем.:<?php echo $_smarty_tpl->tpl_vars['ol']->value['semestr'];?>
|
||
</h4>
|
||
<span class="tools" style="width: 20%;"><a href="javascript:;" class="icon-chevron-up"> Развернуть/Свернуть</a></span>
|
||
</div>
|
||
<div class="widget-body" style="display: none;"><form method="POST">
|
||
<table class="table table-striped table-bordered table-advance table-hover">
|
||
<thead>
|
||
<tr>
|
||
<th>Группа</th>
|
||
<th>ФИО</th>
|
||
<th>Номер зачетки</th>
|
||
<th>Пропуски</th>
|
||
<th>Текущая аттестация(модуль)</th>
|
||
<th>УПВ</th>
|
||
<th>Промежуточная аттестация(зачет,экзамен)</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<?php $_smarty_tpl->tpl_vars['os'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['os']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['ocenki']->value['students']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['os']->key => $_smarty_tpl->tpl_vars['os']->value){
|
||
$_smarty_tpl->tpl_vars['os']->_loop = true;
|
||
?>
|
||
<?php if ($_smarty_tpl->tpl_vars['os']->value['user']['status']!="-1"){?>
|
||
<tr data-id="<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['sokr'];?>
|
||
-<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['kurs'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['os']->value['num_grupp'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['fo'];?>
|
||
">
|
||
<td><?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['sokr'];?>
|
||
-<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['kurs'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['os']->value['num_grupp'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['fo'];?>
|
||
</td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['os']->value['user']['fio'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['os']->value['stud']['status'];?>
|
||
</td>
|
||
<td><?php if ($_smarty_tpl->tpl_vars['os']->value['num_zach']!=''){?><?php echo $_smarty_tpl->tpl_vars['os']->value['num_zach'];?>
|
||
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['os']->value['num_stud'];?>
|
||
<?php }?></td>
|
||
<td><input type="TEXT" name="propusk[<?php echo $_smarty_tpl->tpl_vars['ol']->value['id'];?>
|
||
][<?php echo $_smarty_tpl->tpl_vars['os']->value['id'];?>
|
||
]" value="<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['saves']['propusk'][$_smarty_tpl->tpl_vars['ol']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']];?>
|
||
" style="width:32px;"></td>
|
||
<td><?php smarty_template_function_ocenki($_smarty_tpl,array('name1'=>"ol",'olid'=>$_smarty_tpl->tpl_vars['ol']->value['id'],'osid'=>$_smarty_tpl->tpl_vars['os']->value['id'],'t'=>1,'o'=>1,'value'=>$_smarty_tpl->tpl_vars['ocenki']->value['saves']['ol'][$_smarty_tpl->tpl_vars['ol']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][1]));?>
|
||
</td>
|
||
<td><input type="TEXT" name="upv[<?php echo $_smarty_tpl->tpl_vars['ol']->value['id'];?>
|
||
][<?php echo $_smarty_tpl->tpl_vars['os']->value['id'];?>
|
||
]" value="<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['saves']['upv'][$_smarty_tpl->tpl_vars['ol']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']];?>
|
||
" style="width:32px;"></td>
|
||
<td><?php smarty_template_function_ocenki($_smarty_tpl,array('name1'=>"ol",'olid'=>$_smarty_tpl->tpl_vars['ol']->value['id'],'osid'=>$_smarty_tpl->tpl_vars['os']->value['id'],'t'=>2,'o'=>2,'value'=>$_smarty_tpl->tpl_vars['ocenki']->value['saves']['ol'][$_smarty_tpl->tpl_vars['ol']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][2]));?>
|
||
</td>
|
||
</tr>
|
||
<?php }?>
|
||
<?php } ?>
|
||
</tbody>
|
||
</table>
|
||
<input type="SUBMIT" name="save[ol]" value="Сохранить">
|
||
</form></div>
|
||
</div>
|
||
<?php if (count($_smarty_tpl->tpl_vars['ol']->value['practich'])){?>
|
||
<?php $_smarty_tpl->tpl_vars['pr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pr']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['ol']->value['practich']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['pr']->key => $_smarty_tpl->tpl_vars['pr']->value){
|
||
$_smarty_tpl->tpl_vars['pr']->_loop = true;
|
||
?>
|
||
<div class="widget gray1">
|
||
<div class="widget-title">
|
||
<h4>Практические: <?php echo $_smarty_tpl->tpl_vars['pr']->value['name'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['pr']->value['descrip'];?>
|
||
</h4>
|
||
<span class="tools"><a href="javascript:;" class="icon-chevron-up"> Развернуть/Свернуть</a></span>
|
||
</div>
|
||
<div class="widget-body" style="display: none;"><form method="POST">
|
||
<table class="table table-striped table-bordered table-advance table-hover">
|
||
<thead><tr>
|
||
<th>Группа</th>
|
||
<th>ФИО</th>
|
||
<th>Номер зачетки</th>
|
||
<!--th>Пропуски</th>
|
||
<th>УПВ</th-->
|
||
<th>Оценка</th>
|
||
</tr></thead>
|
||
<tbody>
|
||
<?php $_smarty_tpl->tpl_vars['os'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['os']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['ocenki']->value['students']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['os']->key => $_smarty_tpl->tpl_vars['os']->value){
|
||
$_smarty_tpl->tpl_vars['os']->_loop = true;
|
||
?>
|
||
<?php if ($_smarty_tpl->tpl_vars['os']->value['user']['status']!="-1"){?>
|
||
<tr>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['sokr'];?>
|
||
-<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['kurs'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['os']->value['num_grupp'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['fo'];?>
|
||
</td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['os']->value['user']['fio'];?>
|
||
</td>
|
||
<td><?php if ($_smarty_tpl->tpl_vars['os']->value['num_zach']!=''){?><?php echo $_smarty_tpl->tpl_vars['os']->value['num_zach'];?>
|
||
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['os']->value['num_stud'];?>
|
||
<?php }?></td>
|
||
<!--td><input type="TEXT" name="propusk[<?php echo $_smarty_tpl->tpl_vars['pr']->value['id'];?>
|
||
][<?php echo $_smarty_tpl->tpl_vars['os']->value['id'];?>
|
||
]" value="<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['saves']['propusk'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']];?>
|
||
" style="width:32px;"></td>
|
||
<td><input type="TEXT" name="upv[<?php echo $_smarty_tpl->tpl_vars['pr']->value['id'];?>
|
||
][<?php echo $_smarty_tpl->tpl_vars['os']->value['id'];?>
|
||
]" value="<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['saves']['upv'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']];?>
|
||
" style="width:32px;"></td-->
|
||
<td><?php smarty_template_function_ocenki($_smarty_tpl,array('name1'=>"pr",'olid'=>$_smarty_tpl->tpl_vars['pr']->value['id'],'osid'=>$_smarty_tpl->tpl_vars['os']->value['id'],'t'=>1,'s'=>0));?>
|
||
<?php smarty_template_function_ocenki($_smarty_tpl,array('name1'=>"pr",'olid'=>$_smarty_tpl->tpl_vars['pr']->value['id'],'osid'=>$_smarty_tpl->tpl_vars['os']->value['id'],'t'=>2,'o'=>3,'value'=>$_smarty_tpl->tpl_vars['ocenki']->value['saves']['pr'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][2]));?>
|
||
</td>
|
||
</tr>
|
||
<?php }?>
|
||
<?php } ?>
|
||
</tbody>
|
||
</table>
|
||
<input type="SUBMIT" name="save[pr]" value="Сохранить">
|
||
</form></div>
|
||
</div>
|
||
<?php } ?>
|
||
<?php }?>
|
||
<?php if (count($_smarty_tpl->tpl_vars['ol']->value['sr'])){?>
|
||
<?php $_smarty_tpl->tpl_vars['pr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pr']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['ol']->value['sr']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['pr']->key => $_smarty_tpl->tpl_vars['pr']->value){
|
||
$_smarty_tpl->tpl_vars['pr']->_loop = true;
|
||
?>
|
||
<div class="widget gray2">
|
||
<div class="widget-title">
|
||
<h4>Самостоятельные задания: <?php echo $_smarty_tpl->tpl_vars['pr']->value['name'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['pr']->value['descrip'];?>
|
||
</h4>
|
||
<span class="tools"><a href="javascript:;" class="icon-chevron-up"> Развернуть/Свернуть</a></span>
|
||
</div>
|
||
<div class="widget-body" style="display: none;"><form method="POST">
|
||
<table class="table table-striped table-bordered table-advance table-hover">
|
||
<thead><tr>
|
||
<th>Группа</th>
|
||
<th>ФИО</th>
|
||
<th>Номер зачетки</th>
|
||
<!--h>Пропуски</th>
|
||
<th>УПВ</th-->
|
||
<th>Оценка</th>
|
||
</tr></thead>
|
||
<tbody>
|
||
<?php $_smarty_tpl->tpl_vars['os'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['os']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['ocenki']->value['students']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['os']->key => $_smarty_tpl->tpl_vars['os']->value){
|
||
$_smarty_tpl->tpl_vars['os']->_loop = true;
|
||
?>
|
||
<?php if ($_smarty_tpl->tpl_vars['os']->value['user']['status']!="-1"){?>
|
||
<tr>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['sokr'];?>
|
||
-<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['kurs'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['os']->value['num_grupp'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['fo'];?>
|
||
</td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['os']->value['user']['fio'];?>
|
||
</td>
|
||
<td><?php if ($_smarty_tpl->tpl_vars['os']->value['num_zach']!=''){?><?php echo $_smarty_tpl->tpl_vars['os']->value['num_zach'];?>
|
||
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['os']->value['num_stud'];?>
|
||
<?php }?></td>
|
||
<!--td><input type="TEXT" name="propusk[<?php echo $_smarty_tpl->tpl_vars['pr']->value['id'];?>
|
||
][<?php echo $_smarty_tpl->tpl_vars['os']->value['id'];?>
|
||
]" value="<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['saves']['propusk'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']];?>
|
||
" style="width:32px;"></td>
|
||
<td><input type="TEXT" name="upv[<?php echo $_smarty_tpl->tpl_vars['pr']->value['id'];?>
|
||
][<?php echo $_smarty_tpl->tpl_vars['os']->value['id'];?>
|
||
]" value="<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['saves']['upv'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']];?>
|
||
" style="width:32px;"></td-->
|
||
<td><?php smarty_template_function_ocenki($_smarty_tpl,array('name1'=>"co",'olid'=>$_smarty_tpl->tpl_vars['pr']->value['id'],'osid'=>$_smarty_tpl->tpl_vars['os']->value['id'],'t'=>1,'s'=>0));?>
|
||
<?php smarty_template_function_ocenki($_smarty_tpl,array('name1'=>"co",'olid'=>$_smarty_tpl->tpl_vars['pr']->value['id'],'osid'=>$_smarty_tpl->tpl_vars['os']->value['id'],'t'=>2,'o'=>3,'value'=>$_smarty_tpl->tpl_vars['ocenki']->value['saves']['co'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][2]));?>
|
||
</td>
|
||
</tr>
|
||
<?php }?>
|
||
<?php } ?>
|
||
</tbody>
|
||
</table>
|
||
<input type="SUBMIT" name="save[co]" value="Сохранить">
|
||
</form></div>
|
||
</div>
|
||
<?php } ?>
|
||
<?php }?>
|
||
<?php if (count($_smarty_tpl->tpl_vars['ol']->value['controln'])){?>
|
||
<?php $_smarty_tpl->tpl_vars['pr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pr']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['ol']->value['controln']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['pr']->key => $_smarty_tpl->tpl_vars['pr']->value){
|
||
$_smarty_tpl->tpl_vars['pr']->_loop = true;
|
||
?>
|
||
<div class="widget gray2">
|
||
<div class="widget-title">
|
||
<h4>Контрольные: <?php echo $_smarty_tpl->tpl_vars['pr']->value['name'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['pr']->value['descrip'];?>
|
||
</h4>
|
||
<span class="tools"><a href="javascript:;" class="icon-chevron-up"> Развернуть/Свернуть</a></span>
|
||
</div>
|
||
<div class="widget-body" style="display: none;"><form method="POST">
|
||
<table class="table table-striped table-bordered table-advance table-hover">
|
||
<thead><tr>
|
||
<th>Группа</th>
|
||
<th>ФИО</th>
|
||
<th>Номер зачетки</th>
|
||
<!--h>Пропуски</th>
|
||
<th>УПВ</th-->
|
||
<th>Оценка</th>
|
||
</tr></thead>
|
||
<tbody>
|
||
<?php $_smarty_tpl->tpl_vars['os'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['os']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['ocenki']->value['students']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['os']->key => $_smarty_tpl->tpl_vars['os']->value){
|
||
$_smarty_tpl->tpl_vars['os']->_loop = true;
|
||
?>
|
||
<?php if ($_smarty_tpl->tpl_vars['os']->value['user']['status']!="-1"){?>
|
||
<tr>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['sokr'];?>
|
||
-<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['kurs'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['os']->value['num_grupp'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['fo'];?>
|
||
</td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['os']->value['user']['fio'];?>
|
||
</td>
|
||
<td><?php if ($_smarty_tpl->tpl_vars['os']->value['num_zach']!=''){?><?php echo $_smarty_tpl->tpl_vars['os']->value['num_zach'];?>
|
||
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['os']->value['num_stud'];?>
|
||
<?php }?></td>
|
||
<!--td><input type="TEXT" name="propusk[<?php echo $_smarty_tpl->tpl_vars['pr']->value['id'];?>
|
||
][<?php echo $_smarty_tpl->tpl_vars['os']->value['id'];?>
|
||
]" value="<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['saves']['propusk'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']];?>
|
||
" style="width:32px;"></td>
|
||
<td><input type="TEXT" name="upv[<?php echo $_smarty_tpl->tpl_vars['pr']->value['id'];?>
|
||
][<?php echo $_smarty_tpl->tpl_vars['os']->value['id'];?>
|
||
]" value="<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['saves']['upv'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']];?>
|
||
" style="width:32px;"></td-->
|
||
<td><?php smarty_template_function_ocenki($_smarty_tpl,array('name1'=>"co",'olid'=>$_smarty_tpl->tpl_vars['pr']->value['id'],'osid'=>$_smarty_tpl->tpl_vars['os']->value['id'],'t'=>1,'s'=>0));?>
|
||
<?php smarty_template_function_ocenki($_smarty_tpl,array('name1'=>"co",'olid'=>$_smarty_tpl->tpl_vars['pr']->value['id'],'osid'=>$_smarty_tpl->tpl_vars['os']->value['id'],'t'=>2,'o'=>3,'value'=>$_smarty_tpl->tpl_vars['ocenki']->value['saves']['co'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][2]));?>
|
||
</td>
|
||
</tr>
|
||
<?php }?>
|
||
<?php } ?>
|
||
</tbody>
|
||
</table>
|
||
<input type="SUBMIT" name="save[co]" value="Сохранить">
|
||
</form></div>
|
||
</div>
|
||
<?php } ?>
|
||
<?php }?>
|
||
<?php if (count($_smarty_tpl->tpl_vars['ol']->value['praktika'])){?>
|
||
<?php $_smarty_tpl->tpl_vars['pr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pr']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['ol']->value['praktika']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['pr']->key => $_smarty_tpl->tpl_vars['pr']->value){
|
||
$_smarty_tpl->tpl_vars['pr']->_loop = true;
|
||
?>
|
||
<?php if ($_smarty_tpl->tpl_vars['os']->value['user']['status']!="-1"){?>
|
||
<div class="widget gray2">
|
||
<div class="widget-title">
|
||
<h4>Практика: <?php echo $_smarty_tpl->tpl_vars['pr']->value['name'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['pr']->value['descrip'];?>
|
||
</h4>
|
||
<span class="tools"><a href="javascript:;" class="icon-chevron-up"> Развернуть/Свернуть</a></span>
|
||
</div>
|
||
<div class="widget-body" style="display: none;"><form method="POST">
|
||
<table class="table table-striped table-bordered table-advance table-hover">
|
||
<thead><tr>
|
||
<th>Группа</th>
|
||
<th>ФИО</th>
|
||
<th>Номер зачетки</th>
|
||
<!--th>Пропуски</th>
|
||
<th>УПВ</th-->
|
||
<th>Оценка</th>
|
||
</tr></thead>
|
||
<tbody>
|
||
<?php $_smarty_tpl->tpl_vars['os'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['os']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['ocenki']->value['students']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['os']->key => $_smarty_tpl->tpl_vars['os']->value){
|
||
$_smarty_tpl->tpl_vars['os']->_loop = true;
|
||
?>
|
||
<tr>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['sokr'];?>
|
||
-<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['kurs'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['os']->value['num_grupp'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['fo'];?>
|
||
</td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['os']->value['user']['fio'];?>
|
||
</td>
|
||
<td><?php if ($_smarty_tpl->tpl_vars['os']->value['num_zach']!=''){?><?php echo $_smarty_tpl->tpl_vars['os']->value['num_zach'];?>
|
||
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['os']->value['num_stud'];?>
|
||
<?php }?></td>
|
||
<!--td><input type="TEXT" name="propusk[<?php echo $_smarty_tpl->tpl_vars['pr']->value['id'];?>
|
||
][<?php echo $_smarty_tpl->tpl_vars['os']->value['id'];?>
|
||
]" value="<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['saves']['propusk'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']];?>
|
||
" style="width:32px;"></td>
|
||
<td><input type="TEXT" name="upv[<?php echo $_smarty_tpl->tpl_vars['pr']->value['id'];?>
|
||
][<?php echo $_smarty_tpl->tpl_vars['os']->value['id'];?>
|
||
]" value="<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['saves']['upv'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']];?>
|
||
" style="width:32px;"></td-->
|
||
<td><?php smarty_template_function_ocenki($_smarty_tpl,array('name1'=>"pra",'olid'=>$_smarty_tpl->tpl_vars['pr']->value['id'],'osid'=>$_smarty_tpl->tpl_vars['os']->value['id'],'t'=>1,'s'=>0));?>
|
||
<?php smarty_template_function_ocenki($_smarty_tpl,array('name1'=>"pra",'olid'=>$_smarty_tpl->tpl_vars['pr']->value['id'],'osid'=>$_smarty_tpl->tpl_vars['os']->value['id'],'t'=>2,'o'=>3,'value'=>$_smarty_tpl->tpl_vars['ocenki']->value['saves']['pra'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][2]));?>
|
||
</td>
|
||
</tr>
|
||
<?php } ?>
|
||
</tbody>
|
||
</table>
|
||
<input type="SUBMIT" name="save[pra]" value="Сохранить">
|
||
</form></div>
|
||
</div>
|
||
<?php }?>
|
||
<?php } ?>
|
||
<?php }?>
|
||
<?php if (count($_smarty_tpl->tpl_vars['ol']->value['kursov'])){?>
|
||
<?php $_smarty_tpl->tpl_vars['pr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pr']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['ol']->value['kursov']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['pr']->key => $_smarty_tpl->tpl_vars['pr']->value){
|
||
$_smarty_tpl->tpl_vars['pr']->_loop = true;
|
||
?>
|
||
<?php if ($_smarty_tpl->tpl_vars['os']->value['user']['status']!="-1"){?>
|
||
<div class="widget gray2">
|
||
<div class="widget-title">
|
||
<h4>Курсовые: <?php echo $_smarty_tpl->tpl_vars['pr']->value['name'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['pr']->value['descrip'];?>
|
||
</h4>
|
||
<span class="tools"><a href="javascript:;" class="icon-chevron-up"> Развернуть/Свернуть</a></span>
|
||
</div>
|
||
<div class="widget-body" style="display: none;"><form method="POST">
|
||
<table class="table table-striped table-bordered table-advance table-hover">
|
||
<thead><tr>
|
||
<th>Группа</th>
|
||
<th>ФИО</th>
|
||
<th>Номер зачетки</th>
|
||
<!--th>Пропуски</th>
|
||
<th>УПВ</th-->
|
||
<th>Оценка</th>
|
||
</tr></thead>
|
||
<tbody>
|
||
<?php $_smarty_tpl->tpl_vars['os'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['os']->_loop = false;
|
||
$_from = $_smarty_tpl->tpl_vars['ocenki']->value['students']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
foreach ($_from as $_smarty_tpl->tpl_vars['os']->key => $_smarty_tpl->tpl_vars['os']->value){
|
||
$_smarty_tpl->tpl_vars['os']->_loop = true;
|
||
?>
|
||
<tr>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['sokr'];?>
|
||
-<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['kurs'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['os']->value['num_grupp'];?>
|
||
<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['grupp']['fo'];?>
|
||
</td>
|
||
<td><?php echo $_smarty_tpl->tpl_vars['os']->value['user']['fio'];?>
|
||
</td>
|
||
<td><?php if ($_smarty_tpl->tpl_vars['os']->value['num_zach']!=''){?><?php echo $_smarty_tpl->tpl_vars['os']->value['num_zach'];?>
|
||
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['os']->value['num_stud'];?>
|
||
<?php }?></td>
|
||
<!--td><input type="TEXT" name="propusk[<?php echo $_smarty_tpl->tpl_vars['pr']->value['id'];?>
|
||
][<?php echo $_smarty_tpl->tpl_vars['os']->value['id'];?>
|
||
]" value="<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['saves']['propusk'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']];?>
|
||
" style="width:32px;"></td>
|
||
<td><input type="TEXT" name="upv[<?php echo $_smarty_tpl->tpl_vars['pr']->value['id'];?>
|
||
][<?php echo $_smarty_tpl->tpl_vars['os']->value['id'];?>
|
||
]" value="<?php echo $_smarty_tpl->tpl_vars['ocenki']->value['saves']['upv'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']];?>
|
||
" style="width:32px;"></td-->
|
||
<td><?php smarty_template_function_ocenki($_smarty_tpl,array('name1'=>"kur",'olid'=>$_smarty_tpl->tpl_vars['pr']->value['id'],'osid'=>$_smarty_tpl->tpl_vars['os']->value['id'],'t'=>1,'s'=>0));?>
|
||
<?php smarty_template_function_ocenki($_smarty_tpl,array('name1'=>"kur",'olid'=>$_smarty_tpl->tpl_vars['pr']->value['id'],'osid'=>$_smarty_tpl->tpl_vars['os']->value['id'],'t'=>2,'o'=>3,'value'=>$_smarty_tpl->tpl_vars['ocenki']->value['saves']['kur'][$_smarty_tpl->tpl_vars['pr']->value['id']][$_smarty_tpl->tpl_vars['os']->value['id']][2]));?>
|
||
</td>
|
||
</tr>
|
||
<?php } ?>
|
||
</tbody>
|
||
</table>
|
||
<input type="SUBMIT" name="save[kur]" value="Сохранить">
|
||
</form></div>
|
||
</div>
|
||
<?php }?>
|
||
<?php } ?>
|
||
<?php }?>
|
||
</div>
|
||
</div>
|
||
<?php } ?>
|
||
|
||
<?php }?>
|
||
</div>
|
||
</div>
|
||
<?php }?>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<?php }} ?>
|