55 lines
2.1 KiB
PHP
55 lines
2.1 KiB
PHP
<?php
|
|
/* Smarty version 3.1.39, created on 2023-06-22 13:38:03
|
|
from 'C:\xampp\htdocs\hotelcommerce\admin\themes\default\template\helpers\kpi\row.tpl' */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '3.1.39',
|
|
'unifunc' => 'content_6494329ba07988_46638165',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'ce9f801f679c53b1c28022028a222c7addc79051' =>
|
|
array (
|
|
0 => 'C:\\xampp\\htdocs\\hotelcommerce\\admin\\themes\\default\\template\\helpers\\kpi\\row.tpl',
|
|
1 => 1687433793,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_6494329ba07988_46638165 (Smarty_Internal_Template $_smarty_tpl) {
|
|
?><div class="panel kpi-container">
|
|
<?php if ($_smarty_tpl->tpl_vars['refresh']->value) {?>
|
|
<div class="kpi-refresh"><button class="close refresh" type="button" onclick="refresh_kpis();"><i class="process-icon-refresh" style="font-size:1em"></i></button></div>
|
|
<?php }?>
|
|
<?php if ((count($_smarty_tpl->tpl_vars['kpis']->value)) > 0) {?>
|
|
<div class="row">
|
|
<?php $_smarty_tpl->_assignInScope('col', (int)(12/count($_smarty_tpl->tpl_vars['kpis']->value)));?>
|
|
<?php
|
|
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kpis']->value, 'i', false, NULL, 'kpi', array (
|
|
'iteration' => true,
|
|
));
|
|
$_smarty_tpl->tpl_vars['i']->do_else = true;
|
|
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['i']->value) {
|
|
$_smarty_tpl->tpl_vars['i']->do_else = false;
|
|
$_smarty_tpl->tpl_vars['__smarty_foreach_kpi']->value['iteration']++;
|
|
?>
|
|
<?php if ((isset($_smarty_tpl->tpl_vars['__smarty_foreach_kpi']->value['iteration']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_kpi']->value['iteration'] : null) > $_smarty_tpl->tpl_vars['col']->value+1) {?>
|
|
</div>
|
|
<div class="row">
|
|
<?php }?>
|
|
<div class="col-sm-6 col-lg-<?php echo $_smarty_tpl->tpl_vars['col']->value;?>
|
|
"><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
|
|
</div>
|
|
<?php
|
|
}
|
|
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
|
</div>
|
|
<?php }?>
|
|
</div>
|
|
<?php }
|
|
}
|