EIOS/inc/smarty/templates_c/90864f099246017abc68891d34a...

244 lines
12 KiB
PHP
Raw Permalink 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-12-09 10:11:57
compiled from "tpl/tpl_portfolio.html" */ ?>
<?php /*%%SmartyHeaderCode:8985581506392dfbdb6c2d4-24539229%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'90864f099246017abc68891d34a60ab475f18e29' =>
array (
0 => 'tpl/tpl_portfolio.html',
1 => 1392034522,
2 => 'file',
),
),
'nocache_hash' => '8985581506392dfbdb6c2d4-24539229',
'function' =>
array (
),
'variables' =>
array (
'info' => 0,
'er' => 0,
'ib' => 0,
'bi' => 0,
'sa' => 0,
'block' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_6392dfbdbbab92_76736344',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6392dfbdbbab92_76736344')) {function content_6392dfbdbbab92_76736344($_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="/trudo/stranket/">Структура анкет</a></li>
</ul>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<div class="row-fluid"><!--инфочасть-->
<div class="span12">
<div class="row-fluid">
<div class="widget gray">
<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" style="display:none;">
<img src="/tpl/help/learn_portfolio_1.png" border="0" />
</div>
</div>
</div>
</div>
</div>
<div class="row-fluid"><!--инфочасть-->
<div class="span12">
<div class="row-fluid">
<div class="widget gray">
<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">
<?php echo $_smarty_tpl->tpl_vars['info']->value['descrip'];?>
<?php if (count($_smarty_tpl->tpl_vars['info']->value['err'])){?><?php $_smarty_tpl->tpl_vars['er'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['er']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['info']->value['err']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['er']->key => $_smarty_tpl->tpl_vars['er']->value){
$_smarty_tpl->tpl_vars['er']->_loop = true;
?>
<div class="alert alert-error">
<button data-dismiss="alert" class="close">×</button>
<strong>Ошибка!</strong> <?php echo $_smarty_tpl->tpl_vars['er']->value;?>
</div>
<?php } ?><?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['info']->value['msg'])){?>
<div class="alert alert-success">
<button data-dismiss="alert" class="close">×</button>
<strong>Успешно!</strong> <?php echo $_smarty_tpl->tpl_vars['info']->value['msg'];?>
</div>
<?php }?>
</div>
</div>
</div>
</div>
</div>
<?php if (count($_smarty_tpl->tpl_vars['info']->value['blocks'])){?>
<form action="" method="POST" class="form-horizontal">
<?php $_smarty_tpl->tpl_vars['ib'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ib']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['info']->value['blocks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['ib']->key => $_smarty_tpl->tpl_vars['ib']->value){
$_smarty_tpl->tpl_vars['ib']->_loop = true;
?>
<div class="row-fluid block_row" id="<?php echo $_smarty_tpl->tpl_vars['ib']->value['id'];?>
"><div class="span12">
<div class="row-fluid">
<div class="widget green">
<div class="widget-title">
<h4><i class="icon-reorder"></i> <?php echo $_smarty_tpl->tpl_vars['ib']->value['name'];?>
</h4>
<span class="tools">
<?php if ($_smarty_tpl->tpl_vars['ib']->value['type']==1){?><span class="block_row_action"><a href="#" class="btn btn-warning add_block_row" id="<?php echo $_smarty_tpl->tpl_vars['ib']->value['id'];?>
" style="margin: -4px 0px 0px 0px;"><i class="icon-plus icon-white"></i></a></span><?php }?>
<a href="javascript:;" class="icon-chevron-up"></a>
</span>
</div>
<div class="widget-body" style="display:none;">
<?php if (count($_smarty_tpl->tpl_vars['ib']->value['items'])){?>
<table class="table table-hover">
<thead><tr>
<th style="width:270px;"></th>
<th style="width:255px;"></th>
<th></th>
<th></th>
</tr></thead>
<tbody>
<?php $_smarty_tpl->tpl_vars['bi'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['bi']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['ib']->value['items']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['bi']->key => $_smarty_tpl->tpl_vars['bi']->value){
$_smarty_tpl->tpl_vars['bi']->_loop = true;
?>
<?php if ($_smarty_tpl->tpl_vars['bi']->value['type']==1){?>
<tr class="item_row" id="<?php echo $_smarty_tpl->tpl_vars['bi']->value['id'];?>
">
<td><?php echo $_smarty_tpl->tpl_vars['bi']->value['name'];?>
</td>
<td><input type="TEXT" name="bl_<?php echo $_smarty_tpl->tpl_vars['ib']->value['id'];?>
_it_<?php echo $_smarty_tpl->tpl_vars['bi']->value['id'];?>
[]" value="" /></td>
<td><?php echo $_smarty_tpl->tpl_vars['bi']->value['descrip'];?>
</td>
<td class="item_row_action">
<a href="#" class="btn btn-warning add_item_row" id="<?php echo $_smarty_tpl->tpl_vars['bi']->value['id'];?>
" style="margin: -4px 0px 0px 0px;"><i class="icon-plus icon-white"></i></a>
</td>
</tr>
<?php $_smarty_tpl->tpl_vars['sa'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['sa']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['info']->value['portfo'][$_smarty_tpl->tpl_vars['ib']->value['id']][$_smarty_tpl->tpl_vars['bi']->value['id']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['sa']->key => $_smarty_tpl->tpl_vars['sa']->value){
$_smarty_tpl->tpl_vars['sa']->_loop = true;
?>
<tr class="item_row_clone" id="<?php echo $_smarty_tpl->tpl_vars['bi']->value['id'];?>
">
<td><?php echo $_smarty_tpl->tpl_vars['sa']->value['data'];?>
</td>
<td colspan="2"><?php echo $_smarty_tpl->tpl_vars['sa']->value['znach'];?>
<input type="HIDDEN" name="bl_<?php echo $_smarty_tpl->tpl_vars['ib']->value['id'];?>
_it_<?php echo $_smarty_tpl->tpl_vars['bi']->value['id'];?>
[]" value="<?php echo $_smarty_tpl->tpl_vars['sa']->value['znach'];?>
" /></td>
<td class="item_row_action">
<a href="#" class="btn btn-danger del_item_row" id="<?php echo $_smarty_tpl->tpl_vars['bi']->value['id'];?>
" style="margin: -4px 0px 0px 0px;"><i class="icon-remove icon-white"></i></a>
</td>
</tr>
<?php } ?>
<?php }else{ ?>
<tr class="item_row" id="<?php echo $_smarty_tpl->tpl_vars['bi']->value['id'];?>
">
<td><?php echo $_smarty_tpl->tpl_vars['bi']->value['name'];?>
</td>
<td><input type="TEXT" name="bl_<?php echo $_smarty_tpl->tpl_vars['ib']->value['id'];?>
_it_<?php echo $_smarty_tpl->tpl_vars['bi']->value['id'];?>
[]" value="<?php echo $_smarty_tpl->tpl_vars['info']->value['portfo'][$_smarty_tpl->tpl_vars['ib']->value['id']][$_smarty_tpl->tpl_vars['bi']->value['id']][0]['znach'];?>
" /></td>
<td><?php echo $_smarty_tpl->tpl_vars['bi']->value['descrip'];?>
</td>
<td class="item_row_action"></td>
</tr>
<?php }?>
<?php } ?>
</tbody></table>
<?php }?>
</div>
</div>
</div>
</div></div>
<?php if ($_smarty_tpl->tpl_vars['ib']->value['type']==1){?>
<?php $_smarty_tpl->tpl_vars['block'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['block']->step = 1;$_smarty_tpl->tpl_vars['block']->total = (int)ceil(($_smarty_tpl->tpl_vars['block']->step > 0 ? (count($_smarty_tpl->tpl_vars['info']->value['portfo'][$_smarty_tpl->tpl_vars['ib']->value['id']][$_smarty_tpl->tpl_vars['bi']->value['id']])-1)+1 - (0) : 0-((count($_smarty_tpl->tpl_vars['info']->value['portfo'][$_smarty_tpl->tpl_vars['ib']->value['id']][$_smarty_tpl->tpl_vars['bi']->value['id']])-1))+1)/abs($_smarty_tpl->tpl_vars['block']->step));
if ($_smarty_tpl->tpl_vars['block']->total > 0){
for ($_smarty_tpl->tpl_vars['block']->value = 0, $_smarty_tpl->tpl_vars['block']->iteration = 1;$_smarty_tpl->tpl_vars['block']->iteration <= $_smarty_tpl->tpl_vars['block']->total;$_smarty_tpl->tpl_vars['block']->value += $_smarty_tpl->tpl_vars['block']->step, $_smarty_tpl->tpl_vars['block']->iteration++){
$_smarty_tpl->tpl_vars['block']->first = $_smarty_tpl->tpl_vars['block']->iteration == 1;$_smarty_tpl->tpl_vars['block']->last = $_smarty_tpl->tpl_vars['block']->iteration == $_smarty_tpl->tpl_vars['block']->total;?>
<div class="row-fluid block_row_clone" id="<?php echo $_smarty_tpl->tpl_vars['ib']->value['id'];?>
"><div class="span12">
<div class="row-fluid">
<div class="widget purple">
<div class="widget-title">
<h4><i class="icon-reorder"></i> <?php echo $_smarty_tpl->tpl_vars['ib']->value['name'];?>
</h4>
<span class="tools">
<span class="block_row_action"><a href="#" class="btn btn-danger add_block_row" id="<?php echo $_smarty_tpl->tpl_vars['ib']->value['id'];?>
" style="margin: -4px 0px 0px 0px;"><i class="icon-remove icon-white"></i></a></span>
<a href="javascript:;" class="icon-chevron-up"></a>
</span>
</div>
<div class="widget-body" style="display:none;">
<?php if (count($_smarty_tpl->tpl_vars['ib']->value['items'])){?>
<table class="table table-hover">
<thead><tr>
<th style="width:270px;"></th>
<th style="width:255px;"></th>
<th></th>
<th></th>
</tr></thead>
<tbody>
<?php $_smarty_tpl->tpl_vars['bi'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['bi']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['ib']->value['items']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['bi']->key => $_smarty_tpl->tpl_vars['bi']->value){
$_smarty_tpl->tpl_vars['bi']->_loop = true;
?>
<tr class="item_row" id="<?php echo $_smarty_tpl->tpl_vars['bi']->value['id'];?>
">
<td><?php echo $_smarty_tpl->tpl_vars['bi']->value['name'];?>
</td>
<td colspan="2"><?php echo $_smarty_tpl->tpl_vars['info']->value['portfo'][$_smarty_tpl->tpl_vars['ib']->value['id']][$_smarty_tpl->tpl_vars['bi']->value['id']][$_smarty_tpl->tpl_vars['block']->value]['znach'];?>
<input type="HIDDEN" name="bl_<?php echo $_smarty_tpl->tpl_vars['ib']->value['id'];?>
_it_<?php echo $_smarty_tpl->tpl_vars['bi']->value['id'];?>
[]" value="<?php echo $_smarty_tpl->tpl_vars['info']->value['portfo'][$_smarty_tpl->tpl_vars['ib']->value['id']][$_smarty_tpl->tpl_vars['bi']->value['id']][$_smarty_tpl->tpl_vars['block']->value]['znach'];?>
" /></td>
<td class="item_row_action"></td>
</tr>
<?php } ?>
</tbody></table>
<?php }?>
</div>
</div>
</div>
</div></div>
<?php }} ?>
<?php }?>
<?php } ?>
<div class="form-actions">
<button type="submit" class="btn btn-success" name="save_portfolio">Сохранить</button>
</div>
</form>
<?php }?>
</div>
</div><?php }} ?>