130 lines
6.7 KiB
PHP
130 lines
6.7 KiB
PHP
<?php /* Smarty version Smarty-3.1.13, created on 2022-08-08 08:20:50
|
|
compiled from "tpl/tpl_rejt_admincelpok.html" */ ?>
|
|
<?php /*%%SmartyHeaderCode:100827219962f09d328c2ed9-79799210%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'8f3397069938367cc04fe1029c1c8d666625981d' =>
|
|
array (
|
|
0 => 'tpl/tpl_rejt_admincelpok.html',
|
|
1 => 1553024685,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'nocache_hash' => '100827219962f09d328c2ed9-79799210',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'variables' =>
|
|
array (
|
|
'des' => 0,
|
|
'items' => 0,
|
|
'razdel' => 0,
|
|
'item' => 0,
|
|
),
|
|
'has_nocache_code' => false,
|
|
'version' => 'Smarty-3.1.13',
|
|
'unifunc' => 'content_62f09d32959726_98913990',
|
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
|
<?php if ($_valid && !is_callable('content_62f09d32959726_98913990')) {function content_62f09d32959726_98913990($_smarty_tpl) {?><div id="page-wrap">
|
|
<div class="row-fluid">
|
|
<div class="span12">
|
|
<br><br><br>
|
|
<?php if ($_smarty_tpl->tpl_vars['des']->value=="show"){?>
|
|
<div class="widget blue">
|
|
<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">
|
|
<form method="post">
|
|
<table class="table table-bordered table-advance">
|
|
<thead>
|
|
<tr>
|
|
<th style="30%">Подраздел</th>
|
|
<th style="30%">Параметр</th>
|
|
<th style="5%" class="alert-error">Целевой</th>
|
|
<th style="5%" class="alert-error">Стимулир</th>
|
|
<th style="5%" class="alert-info">Целевой</th>
|
|
<th style="5%" class="alert-info">Стимулир</th>
|
|
<th style="5%" class="alert-success">Целевой</th>
|
|
<th style="5%" class="alert-success">Стимулир</th>
|
|
<th style="5%" class="alert">Целевой</th>
|
|
<th style="5%" class="alert">Стимулир</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php $_smarty_tpl->tpl_vars["razdel"] = new Smarty_variable('', null, 0);?>
|
|
<?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
|
|
$_from = $_smarty_tpl->tpl_vars['items']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
|
|
$_smarty_tpl->tpl_vars['item']->_loop = true;
|
|
?>
|
|
<?php if ($_smarty_tpl->tpl_vars['razdel']->value!=$_smarty_tpl->tpl_vars['item']->value['rname']){?><tr>
|
|
<td colspan="2"><strong><?php echo $_smarty_tpl->tpl_vars['item']->value['rname'];?>
|
|
</strong></td>
|
|
<td colspan="2" style="text-align:center;" class="alert-error">профессор</td>
|
|
<td colspan="2" style="text-align:center;" class="alert-info">доцент</td>
|
|
<td colspan="2" style="text-align:center;" class="alert-success">старш.препод</td>
|
|
<td colspan="2" style="text-align:center;" class="alert">ассис.препод</td>
|
|
</tr><?php $_smarty_tpl->tpl_vars["razdel"] = new Smarty_variable($_smarty_tpl->tpl_vars['item']->value['rname'], null, 0);?><?php }?>
|
|
<tr>
|
|
<td><?php echo $_smarty_tpl->tpl_vars['item']->value['iname'];?>
|
|
</td>
|
|
<td><?php echo $_smarty_tpl->tpl_vars['item']->value['ipname'];?>
|
|
</td>
|
|
|
|
<td class="alert-error"><input type="text" class="form-control" name="value[<?php echo $_smarty_tpl->tpl_vars['item']->value['rid'];?>
|
|
_<?php echo $_smarty_tpl->tpl_vars['item']->value['iid'];?>
|
|
_<?php echo $_smarty_tpl->tpl_vars['item']->value['ipid'];?>
|
|
][1][cel]" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['values'][1]['cel'];?>
|
|
" style="width:60px;"></td>
|
|
<td class="alert-error"><input type="text" class="form-control" name="value[<?php echo $_smarty_tpl->tpl_vars['item']->value['rid'];?>
|
|
_<?php echo $_smarty_tpl->tpl_vars['item']->value['iid'];?>
|
|
_<?php echo $_smarty_tpl->tpl_vars['item']->value['ipid'];?>
|
|
][1][stim]" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['values'][1]['stim'];?>
|
|
" style="width:60px;"></td>
|
|
<td class="alert-info"><input type="text" class="form-control" name="value[<?php echo $_smarty_tpl->tpl_vars['item']->value['rid'];?>
|
|
_<?php echo $_smarty_tpl->tpl_vars['item']->value['iid'];?>
|
|
_<?php echo $_smarty_tpl->tpl_vars['item']->value['ipid'];?>
|
|
][2][cel]" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['values'][2]['cel'];?>
|
|
" style="width:60px;"></td>
|
|
<td class="alert-info"><input type="text" class="form-control" name="value[<?php echo $_smarty_tpl->tpl_vars['item']->value['rid'];?>
|
|
_<?php echo $_smarty_tpl->tpl_vars['item']->value['iid'];?>
|
|
_<?php echo $_smarty_tpl->tpl_vars['item']->value['ipid'];?>
|
|
][2][stim]" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['values'][2]['stim'];?>
|
|
" style="width:60px;"></td>
|
|
<td class="alert-success"><input type="text" class="form-control" name="value[<?php echo $_smarty_tpl->tpl_vars['item']->value['rid'];?>
|
|
_<?php echo $_smarty_tpl->tpl_vars['item']->value['iid'];?>
|
|
_<?php echo $_smarty_tpl->tpl_vars['item']->value['ipid'];?>
|
|
][3][cel]" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['values'][3]['cel'];?>
|
|
" style="width:60px;"></td>
|
|
<td class="alert-success"><input type="text" class="form-control" name="value[<?php echo $_smarty_tpl->tpl_vars['item']->value['rid'];?>
|
|
_<?php echo $_smarty_tpl->tpl_vars['item']->value['iid'];?>
|
|
_<?php echo $_smarty_tpl->tpl_vars['item']->value['ipid'];?>
|
|
][3][stim]" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['values'][3]['stim'];?>
|
|
" style="width:60px;"></td>
|
|
<td class="alert"><input type="text" class="form-control" name="value[<?php echo $_smarty_tpl->tpl_vars['item']->value['rid'];?>
|
|
_<?php echo $_smarty_tpl->tpl_vars['item']->value['iid'];?>
|
|
_<?php echo $_smarty_tpl->tpl_vars['item']->value['ipid'];?>
|
|
][4][cel]" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['values'][4]['cel'];?>
|
|
" style="width:60px;"></td>
|
|
<td class="alert"><input type="text" class="form-control" name="value[<?php echo $_smarty_tpl->tpl_vars['item']->value['rid'];?>
|
|
_<?php echo $_smarty_tpl->tpl_vars['item']->value['iid'];?>
|
|
_<?php echo $_smarty_tpl->tpl_vars['item']->value['ipid'];?>
|
|
][4][stim]" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['values'][4]['stim'];?>
|
|
" style="width:60px;"></td>
|
|
</tr>
|
|
<?php } ?>
|
|
<tr>
|
|
<td colspan="4"><input type="submit" name="save" value="Сохранить"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<?php }?>
|
|
</div>
|
|
</div>
|
|
</div><?php }} ?>
|