127 lines
5.9 KiB
PHP
127 lines
5.9 KiB
PHP
<?php /* Smarty version Smarty-3.1.13, created on 2022-12-09 10:12:14
|
|
compiled from "tpl/tpl_portfolio_show.html" */ ?>
|
|
<?php /*%%SmartyHeaderCode:2862540066392dfce1dba65-49268073%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'603cdfc90b07f7867f247adc22ddd73cd42bf8f1' =>
|
|
array (
|
|
0 => 'tpl/tpl_portfolio_show.html',
|
|
1 => 1392034522,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'nocache_hash' => '2862540066392dfce1dba65-49268073',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'variables' =>
|
|
array (
|
|
'info' => 0,
|
|
'ib' => 0,
|
|
'bi' => 0,
|
|
'sa' => 0,
|
|
'block' => 0,
|
|
),
|
|
'has_nocache_code' => false,
|
|
'version' => 'Smarty-3.1.13',
|
|
'unifunc' => 'content_6392dfce215636_53684911',
|
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
|
<?php if ($_valid && !is_callable('content_6392dfce215636_53684911')) {function content_6392dfce215636_53684911($_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">
|
|
<?php if (count($_smarty_tpl->tpl_vars['info']->value['blocks'])){?>
|
|
<?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">
|
|
<a href="javascript:;" class="icon-chevron-down"></a>
|
|
</span>
|
|
</div>
|
|
<div class="widget-body">
|
|
<?php if ($_smarty_tpl->tpl_vars['ib']->value['type']==0){?>
|
|
<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 $_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>
|
|
<td><?php echo $_smarty_tpl->tpl_vars['sa']->value['data'];?>
|
|
</td>
|
|
<td colspan="2"><?php echo $_smarty_tpl->tpl_vars['sa']->value['znach'];?>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
<?php } ?>
|
|
<?php } ?>
|
|
</tbody></table>
|
|
<?php }else{ ?>
|
|
<?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']])-1)+1 - (0) : 0-((count($_smarty_tpl->tpl_vars['info']->value['portfo'][$_smarty_tpl->tpl_vars['ib']->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;?>
|
|
<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['info']->value['portfo'][$_smarty_tpl->tpl_vars['ib']->value['id']][$_smarty_tpl->tpl_vars['bi']->value['id']][$_smarty_tpl->tpl_vars['block']->value]['znach']!=''){?>
|
|
<tr>
|
|
<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'];?>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
<?php }?>
|
|
<?php } ?>
|
|
</tbody></table>
|
|
<?php }} ?>
|
|
<?php }?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div></div>
|
|
<?php } ?>
|
|
<?php }?>
|
|
</div>
|
|
</div><?php }} ?>
|