_decodeProperties($_smarty_tpl, array (
'version' => '3.1.39',
'unifunc' => 'content_6494329b980032_27482055',
'has_nocache_code' => false,
'file_dependency' =>
array (
'5ab54c4801436f533fffa83ec06aee95a0b8f9bc' =>
array (
0 => 'C:\\xampp\\htdocs\\hotelcommerce\\admin\\themes\\default\\template\\helpers\\kpi\\kpi.tpl',
1 => 1687433793,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6494329b980032_27482055 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'C:\\xampp\\htdocs\\hotelcommerce\\tools\\smarty\\plugins\\modifier.replace.php','function'=>'smarty_modifier_replace',),));
?>
<tpl_vars['href']->value)) && $_smarty_tpl->tpl_vars['href']->value) {?>a style="display:block" href="tpl_vars['href']->value, ENT_QUOTES, 'UTF-8', true);?>
"div id="tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
" data-toggle="tooltip" class="box-stats label-tooltip tpl_vars['color']->value, ENT_QUOTES, 'UTF-8', true);?>
" data-original-title="tpl_vars['tooltip']->value, ENT_QUOTES, 'UTF-8', true);?>
">
tpl_vars['icon']->value)) && $_smarty_tpl->tpl_vars['icon']->value) {?>
tpl_vars['title']->value, ENT_QUOTES, 'UTF-8', true);?>
tpl_vars['subtitle']->value, ENT_QUOTES, 'UTF-8', true);?>
tpl_vars['chart']->value)) && $_smarty_tpl->tpl_vars['chart']->value) {?>
tpl_vars['source']->value)) && $_smarty_tpl->tpl_vars['source']->value) {?>
tpl_vars['value']->value)) && $_smarty_tpl->tpl_vars['value']->value != '') {?>
tpl_vars['value']->value, ENT_QUOTES, 'UTF-8', true);?>
tpl_vars['href']->value)) && $_smarty_tpl->tpl_vars['href']->value) {?>adiv>
tpl_vars['source']->value)) && $_smarty_tpl->tpl_vars['source']->value) {?>
>
function refresh_tpl_vars['id']->value,'-','_'));?>
()
{
$.ajax({
url: 'tpl_vars['source']->value);?>
' + '&rand=' + new Date().getTime(),
dataType: 'json',
type: 'GET',
cache: false,
headers: { 'cache-control': 'no-cache' },
beforeSend: function() {
$('#tpl_vars['id']->value);?>
').find('.value').html('');
$('#tpl_vars['id']->value);?>
').find('.value').addClass('skeleton-loading-wave loading-container-bar loading');
},
success: function(jsonData){
if (!jsonData.has_errors)
{
if (jsonData.value != undefined)
$('#tpl_vars['id']->value);?>
.value').html(jsonData.value);
if (jsonData.data != undefined)
{
$("#tpl_vars['id']->value);?>
.boxchart svg").remove();
set_d3_tpl_vars['id']->value,'-','_'));?>
(jsonData.data);
}
}
},
complete: function () {
$('#tpl_vars['id']->value);?>
').find('.value').removeClass('skeleton-loading-wave loading-container-bar loading');
},
});
}
>
tpl_vars['chart']->value) {
echo '
>