EIOS/inc/smarty/templates_c/6a4bc821e122c4eadd370da4262...

302 lines
11 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php /* Smarty version Smarty-3.1.13, created on 2022-06-22 14:52:17
compiled from "tpl/tpl_dekanat_edit_ved.html" */ ?>
<?php /*%%SmartyHeaderCode:211375176662b2f88b173eb2-54427259%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'6a4bc821e122c4eadd370da4262366ca13ab79d2' =>
array (
0 => 'tpl/tpl_dekanat_edit_ved.html',
1 => 1655898737,
2 => 'file',
),
),
'nocache_hash' => '211375176662b2f88b173eb2-54427259',
'function' =>
array (
),
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_62b2f88b1c4c43_12587324',
'variables' =>
array (
'msg' => 0,
'id_ved' => 0,
'statement' => 0,
'grupp' => 0,
'info' => 0,
'grupps' => 0,
'teachers' => 0,
'teach' => 0,
),
'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_62b2f88b1c4c43_12587324')) {function content_62b2f88b1c4c43_12587324($_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="/dekanat/liquidation_ved/">Вернуться</a></li>
</ul>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<?php if (($_smarty_tpl->tpl_vars['msg']->value==-1)){?>
<div class="alert alert-warning">
<button data-dismiss="alert" class="close">×</button>
<strong>Направление уже есть!</strong>
</div>
<?php }?>
<?php if (($_smarty_tpl->tpl_vars['msg']->value==1)){?>
<div class="alert alert-success">
<button data-dismiss="alert" class="close">×</button>
<strong>Направление создано!</strong>
</div>
<?php }?>
<?php if (($_smarty_tpl->tpl_vars['msg']->value==2)){?>
<div class="alert alert-success">
<button data-dismiss="alert" class="close">×</button>
<strong>Ведомость создана!</strong>
</div>
<?php }?>
<div class="row-fluid">
<div class="span12">
<div class="row-fluid">
<!--Сформировать ведомость-->
<div class="widget green">
<div class="widget-title">
<h4><i class="icon-reorder"></i> Редактирование</h4>
<span class="tools"><a href="javascript:;" class="icon-chevron-up"> Развернуть/Свернуть</a></span>
</div>
<div class="widget-body" >
<form name="edit_form" action="#" method="post" class="form-horizontal">
<div class="control-group">
<label class="control-label">Номер ведомости</label>
<div class="controls">
№ <?php echo $_smarty_tpl->tpl_vars['id_ved']->value;?>
<?php if (($_smarty_tpl->tpl_vars['statement']->value['print_st']==1)){?><span class="badge badge-light">РАСПЕЧАТАНА</span><?php }?>
</div>
</div>
<div class="control-group">
<label class="control-label">Дата создания</label>
<div class="controls">
<?php echo $_smarty_tpl->tpl_vars['statement']->value['date_create'];?>
</div>
</div>
<div class="control-group">
<label class="control-label">Факультет</label>
<div class="controls">
<?php echo $_smarty_tpl->tpl_vars['statement']->value['fakultet'];?>
</div>
</div>
<div class="control-group">
<label class="control-label">Группа</label>
<div class="controls">
<?php echo $_smarty_tpl->tpl_vars['grupp']->value['sokr'];?>
<?php echo $_smarty_tpl->tpl_vars['grupp']->value['fo'];?>
(<?php echo $_smarty_tpl->tpl_vars['grupp']->value['specialnost'];?>
)
</div>
</div>
<div class="control-group">
<label class="control-label">Дисциплина</label>
<div class="controls">
<?php echo $_smarty_tpl->tpl_vars['info']->value['name'];?>
</div>
</div>
<div class="control-group">
<label class="control-label">Семестр</label>
<div class="controls">
<?php echo $_smarty_tpl->tpl_vars['info']->value['semestr'];?>
</div>
</div>
<input type="submit" name="edit_ved" value="Сохранить" class="btn btn-success" />
<div class="control-group">
<label class="control-label">Группа студентов</label>
<div class="controls">
<div class="input-prepend">
<select name="grupp_v" class="form-control">
<?php $_smarty_tpl->tpl_vars['grupp'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['grupp']->_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['grupp']->key => $_smarty_tpl->tpl_vars['grupp']->value){
$_smarty_tpl->tpl_vars['grupp']->_loop = true;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['grupp']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['grupp']->value['sokr'];?>
-<?php echo $_smarty_tpl->tpl_vars['grupp']->value['kurs'];?>
<?php echo $_smarty_tpl->tpl_vars['grupp']->value['fo'];?>
</option>
<?php } ?>
</select>
</div>
<span class="help-inline"> Начните вводить первые буквы...</span>
</div>
</div>
<div class="hide-content2" style="display: none;">
<div class="control-group">
<label class="control-label">
Студент<br />
<span class="badge badge-info sel-all-stud">Выбрать всех</span><br /><br />
Подгруппа: <input type="text" name="numgrupp" value="1" style="max-width: 100%;"/>
<span class="badge badge-warning sel-pd-stud">Выбрать подгруппу</span><br />
</label>
<div class="controls">
<div class="input-prepend student-ved">
</div>
</div>
</div>
<div class="control-group">
<label class="control-label">Преподаватель</label>
<div class="contros">
<select data-placeholder="Укажите преподавателя" class="chzn-select span6" tabindex="6" name="teacher" style="width: 350px!important;">
<option value="0">Выберите преподавателя</option>
<?php $_smarty_tpl->tpl_vars['teach'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['teach']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['teachers']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['teach']->key => $_smarty_tpl->tpl_vars['teach']->value){
$_smarty_tpl->tpl_vars['teach']->_loop = true;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['teach']->value['id_user'];?>
"><?php echo $_smarty_tpl->tpl_vars['teach']->value['fio'];?>
</option>
<?php } ?>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label">Тип</label>
<div class="controls">
<div class="input-prepend">
<select name="type" class="form-control">
<option value="1">Досрочная</option>
<option value="2">Первичная</option>
<option value="3">Повторная</option>
<option value="4">С комиссией</option>
</select>
</div>
<span class="help-inline"></span>
</div>
</div>
<div class="control-group">
<label class="control-label">Учебный план:</label>
<div class="controls">
<div class="input-prepend">
<select name="iup" class="form-control">
<option value="1">Индивидуальный</option>
<option value="0">Обычный</option>
</select>
</div>
<span class="help-inline"></span>
</div>
</div>
<div class="control-group">
<label class="control-label">Дисциплина</label>
<div class="controls">
<div class="input-prepend">
<input type="text" name="name" class="form-control" required />
</div>
<span class="help-inline">Например: Алгебра и геометрия</span>
</div>
</div>
<div class="control-group">
<label class="control-label">Форма контроля</label>
<div class="controls">
<div class="input-prepend">
<select name="control" class="form-control">
<option value="1">Экзамен</option>
<option value="2">Зачет</option>
<option value="6">Зачет с оценкой</option>
<option value="3">Курсовая работа</option>
<option value="4">Курсовой проект</option>
<option value="5">Отчет по практике</option>
</select>
</div>
<span class="help-inline"></span>
</div>
</div>
<div class="control-group">
<label class="control-label">На дату:</label>
<div class="controls">
<div class="input-prepend">
<input type="date" name="date_end" class="form-control" />
</div>
<span class="help-inline"></span>
</div>
</div>
<div class="control-group">
<label class="control-label">Семестр</label>
<div class="controls">
<div class="input-prepend">
<select name="semestr" class="form-control">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
</div>
<span class="help-inline"></span>
</div>
</div>
<input type="submit" name="add_ved" value="Сформировать ведомость и направить преподавателю" class="btn btn-success" />
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php }} ?>