File "6fc2a97e852c442ac1bb1f79ea899c59f80cf78f_0.file.layout-admin.tmpl.php"
Full Path: /srv/www/www.cadoro.it/src/templates_c/6fc2a97e852c442ac1bb1f79ea899c59f80cf78f_0.file.layout-admin.tmpl.php
File size: 10.22 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/* Smarty version 3.1.29, created on 2024-02-21 17:52:14
from "/srv/www/www.cadoro.it/src/templates/layout-admin.tmpl" */
if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
'has_nocache_code' => false,
'version' => '3.1.29',
'unifunc' => 'content_65d62a3e7a1202_85048027',
'file_dependency' =>
array (
'6fc2a97e852c442ac1bb1f79ea899c59f80cf78f' =>
array (
0 => '/srv/www/www.cadoro.it/src/templates/layout-admin.tmpl',
1 => 1708527642,
2 => 'file',
),
),
'includes' =>
array (
'file:layout-admin-base.tmpl' => 1,
),
),false)) {
function content_65d62a3e7a1202_85048027 ($_smarty_tpl) {
$_smarty_tpl->ext->_inheritance->init($_smarty_tpl, true);
?>
<html>
<body<?php
$_smarty_tpl->ext->_inheritance->processBlock($_smarty_tpl, 0, "body_attrs", array (
0 => 'block_119497277565d62a3e769747_23793506',
1 => false,
3 => 0,
2 => 0,
));
?>
>
<?php
$_smarty_tpl->ext->_inheritance->processBlock($_smarty_tpl, 0, "body", array (
0 => 'block_71859633465d62a3e76cbc7_87229382',
1 => false,
3 => 0,
2 => 0,
));
?>
</body>
</html>
<?php $_smarty_tpl->ext->_inheritance->endChild($_smarty_tpl);
$_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, "file:layout-admin-base.tmpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 2, false);
}
/* {block 'body_attrs'} file:layout-admin.tmpl */
function block_119497277565d62a3e769747_23793506($_smarty_tpl, $_blockParentStack) {
?>
class="side-navbar preload<?php if (_a($_smarty_tpl->tpl_vars['COOKIE']->value,'navbar') == 'mini') {?> mini-navbar<?php }?>"<?php
}
/* {/block 'body_attrs'} */
/* {block 'breadcrumbs'} file:layout-admin.tmpl */
function block_167274702265d62a3e79b759_81877419($_smarty_tpl, $_blockParentStack) {
}
/* {/block 'breadcrumbs'} */
/* {block 'content'} file:layout-admin.tmpl */
function block_86842461965d62a3e79d1b9_07736742($_smarty_tpl, $_blockParentStack) {
}
/* {/block 'content'} */
/* {block 'body'} file:layout-admin.tmpl */
function block_71859633465d62a3e76cbc7_87229382($_smarty_tpl, $_blockParentStack) {
?>
<nav class="navbar-static-side" role="navigation">
<div class="sidebar-collapse">
<ul class="nav" id="side-menu">
<li class="nav-header">
<div class="dropdown profile-element">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
<span class="clear"><span class="block mt5"> <strong class="font-bold"><?php echo $_smarty_tpl->tpl_vars['principal']->value['firstname'];?>
<?php echo $_smarty_tpl->tpl_vars['principal']->value['lastname'];?>
</strong> <b class="caret"></b></span>
<span class="text-muted text-xs block"><?php echo $_smarty_tpl->tpl_vars['principal']->value['email'];?>
</span>
</a>
<ul class="dropdown-menu animated fadeInRight m-t-xs">
<li><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/logout">Esci</a></li>
</ul>
</div>
<div class="logo-element">
CAD
</div>
</li>
<li<?php if ($_smarty_tpl->tpl_vars['menu']->value == 'content') {?> class="active"<?php }?>>
<?php if (in_array($_smarty_tpl->tpl_vars['principal']->value['role'],array(1,3))) {?>
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin">
<i class="fa fa-pencil"></i>
<span class="nav-label">Gestione contenuti</span>
<span class="fa arrow"></span>
</a>
<ul class="nav nav-second-level collapse">
<li <?php if ($_smarty_tpl->tpl_vars['submenu']->value == "blog-articles") {?>class="active"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/blog-articles">Blog: Articoli</a></li>
<li <?php if ($_smarty_tpl->tpl_vars['submenu']->value == "blog-categories") {?>class="active"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/blog-categories">Blog: Categorie</a></li>
<li <?php if ($_smarty_tpl->tpl_vars['submenu']->value == "menus") {?>class="active"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/menus">Menu</a></li>
<li <?php if ($_smarty_tpl->tpl_vars['submenu']->value == "banners") {?>class="active"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/banners">Lanci</a></li>
<li <?php if ($_smarty_tpl->tpl_vars['submenu']->value == "pages") {?>class="active"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/pages">Pagine</a></li>
<li <?php if ($_smarty_tpl->tpl_vars['submenu']->value == "stores") {?>class="active"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/stores">Punti vendita</a></li>
<li <?php if ($_smarty_tpl->tpl_vars['submenu']->value == "events") {?>class="active"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/events">Eventi</a></li>
<li <?php if ($_smarty_tpl->tpl_vars['submenu']->value == "redirects") {?>class="active"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/redirects">Redirect</a></li>
<li <?php if ($_smarty_tpl->tpl_vars['submenu']->value == "flyers") {?>class="active"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/flyers">Volantini</a></li>
<li <?php if ($_smarty_tpl->tpl_vars['submenu']->value == "beacons") {?>class="active"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/beacons">iBeacon</a></li>
<li <?php if ($_smarty_tpl->tpl_vars['submenu']->value == "notifications") {?>class="active"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/notifications">Notifiche</a></li>
<li <?php if ($_smarty_tpl->tpl_vars['submenu']->value == "qrcode") {?>class="active"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/qrcode">QRcode</a></li>
</ul>
<?php }?>
</li>
<li<?php if ($_smarty_tpl->tpl_vars['menu']->value == 'catalog') {?> class="active"<?php }?>>
<?php if (in_array($_smarty_tpl->tpl_vars['principal']->value['role'],array(1,3))) {?>
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin">
<i class="fa fa-shopping-cart"></i>
<span class="nav-label">Catalogo prodotti</span>
<span class="fa arrow"></span>
</a>
<ul class="nav nav-second-level collapse">
<li <?php if ($_smarty_tpl->tpl_vars['submenu']->value == "products") {?>class="active"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/products">Prodotti: Articoli</a></li>
<li <?php if ($_smarty_tpl->tpl_vars['submenu']->value == "products-categories") {?>class="active"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/products-categories">Prodotti: Categorie</a></li>
<li <?php if ($_smarty_tpl->tpl_vars['submenu']->value == "promotions") {?>class="active"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/promotions">Promozioni</a></li>
</ul>
<?php }?>
</li>
<?php if (in_array($_smarty_tpl->tpl_vars['principal']->value['role'],array(1,2))) {?>
<li<?php if ($_smarty_tpl->tpl_vars['menu']->value == 'users') {?> class="active"<?php }?>>
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin">
<i class="fa fa-users"></i>
<span class="nav-label">Gestione utenti</span>
<span class="fa arrow"></span>
</a>
<ul class="nav nav-second-level collapse">
<?php if (in_array($_smarty_tpl->tpl_vars['principal']->value['role'],array(1))) {?>
<li <?php if ($_smarty_tpl->tpl_vars['submenu']->value == "users-be") {?>class="active"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/users-be">Utenti back-end</a></li>
<?php }?>
<li <?php if ($_smarty_tpl->tpl_vars['submenu']->value == "users") {?>class="active"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/users">Utenti registrati</a></li>
<?php if (in_array($_smarty_tpl->tpl_vars['principal']->value['role'],array(1))) {?>
<li <?php if ($_smarty_tpl->tpl_vars['submenu']->value == "setting") {?>class="active"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/setting">Impostazioni</a></li>
<?php }?>
<?php if (in_array($_smarty_tpl->tpl_vars['principal']->value['role'],array(1))) {?>
<li <?php if ($_smarty_tpl->tpl_vars['submenu']->value == "wslog") {?>class="active"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/wslog">Log WS</a></li>
<?php }?>
</ul>
</li>
<?php }?>
</ul>
</div>
</nav>
<div class="container-wrapper">
<nav class="navbar navbar-static-top white-bg" role="navigation" style="margin-bottom: 0">
<div class="navbar-header">
<a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
<?php
$_smarty_tpl->ext->_inheritance->processBlock($_smarty_tpl, 0, "breadcrumbs", array (
0 => 'block_167274702265d62a3e79b759_81877419',
1 => false,
3 => 0,
2 => 0,
), $_blockParentStack);
?>
</div>
<ul class="nav navbar-top-links navbar-right">
<li>
<a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/admin/logout">
<i class="fa fa-sign-out"></i> Esci
</a>
</li>
</ul>
</nav>
<div class="container-sheets">
<?php
$_smarty_tpl->ext->_inheritance->processBlock($_smarty_tpl, 0, "content", array (
0 => 'block_86842461965d62a3e79d1b9_07736742',
1 => false,
3 => 0,
2 => 0,
), $_blockParentStack);
?>
</div>
</div>
<?php
}
/* {/block 'body'} */
}