48 lines
1.4 KiB
PHP
48 lines
1.4 KiB
PHP
<?php
|
|
/* Smarty version 3.1.39, created on 2023-06-22 13:37:33
|
|
from 'C:\xampp\htdocs\hotelcommerce\admin\themes\default\template\controllers\cms_content\content.tpl' */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '3.1.39',
|
|
'unifunc' => 'content_6494327d8d9635_59819745',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'42d01187f294ce530cb278e77aa2840e58ed7d1b' =>
|
|
array (
|
|
0 => 'C:\\xampp\\htdocs\\hotelcommerce\\admin\\themes\\default\\template\\controllers\\cms_content\\content.tpl',
|
|
1 => 1687433793,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_6494327d8d9635_59819745 (Smarty_Internal_Template $_smarty_tpl) {
|
|
if ((isset($_smarty_tpl->tpl_vars['cms_breadcrumb']->value))) {?>
|
|
<ul class="breadcrumb cat_bar">
|
|
<?php echo $_smarty_tpl->tpl_vars['cms_breadcrumb']->value;?>
|
|
|
|
</ul>
|
|
<?php }?>
|
|
|
|
<?php echo $_smarty_tpl->tpl_vars['content']->value;?>
|
|
|
|
<?php if ((isset($_smarty_tpl->tpl_vars['url_prev']->value))) {?>
|
|
<?php echo '<script'; ?>
|
|
type="text/javascript">
|
|
$(document).ready(function () {
|
|
var re = /url_preview=(.*)/;
|
|
var url = re.exec(window.location.href);
|
|
if (typeof url !== 'undefined' && url !== null && typeof url[1] !== 'undefined' && url[1] === "1")
|
|
window.open("<?php echo $_smarty_tpl->tpl_vars['url_prev']->value;?>
|
|
", "_blank");
|
|
});
|
|
<?php echo '</script'; ?>
|
|
>
|
|
<?php }
|
|
}
|
|
}
|