Download project

This commit is contained in:
Roman Pyrih
2024-11-20 09:09:44 +01:00
parent 547a138d6a
commit 5ff041757f
40737 changed files with 7766183 additions and 0 deletions

View File

@@ -0,0 +1,170 @@
<?php
/* Smarty version 3.1.48, created on 2024-11-20 08:34:32
from '/home/admin/domains/masimmo.pl/public_html/admin264x7t1sv/themes/new-theme/template/components/layout/nav_bar.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.48',
'unifunc' => 'content_673d9108323a39_75507794',
'has_nocache_code' => false,
'file_dependency' =>
array (
'2abe22270f566097b1c60815ebe7c64ee97cb9c0' =>
array (
0 => '/home/admin/domains/masimmo.pl/public_html/admin264x7t1sv/themes/new-theme/template/components/layout/nav_bar.tpl',
1 => 1732017223,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_673d9108323a39_75507794 (Smarty_Internal_Template $_smarty_tpl) {
?><nav class="nav-bar d-none d-print-none d-md-block">
<span class="menu-collapse" data-toggle-url="<?php echo $_smarty_tpl->tpl_vars['toggle_navigation_url']->value;?>
">
<i class="material-icons">chevron_left</i>
<i class="material-icons">chevron_left</i>
</span>
<div class="nav-bar-overflow">
<ul class="main-menu<?php if ($_smarty_tpl->tpl_vars['collapse_menu']->value) {?> sidebar-closed<?php }?>">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tabs']->value, 'level1');
$_smarty_tpl->tpl_vars['level1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['level1']->value) {
$_smarty_tpl->tpl_vars['level1']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['level1']->value['active']) {?>
<?php $_smarty_tpl->_assignInScope('level1Href', call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['level1']->value['href'],'html','UTF-8' )));?>
<?php if (count($_smarty_tpl->tpl_vars['level1']->value['sub_tabs']) && (isset($_smarty_tpl->tpl_vars['level1']->value['sub_tabs'][0]['href']))) {?>
<?php $_smarty_tpl->_assignInScope('level1Href', call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['level1']->value['sub_tabs'][0]['href'],'html','UTF-8' )));?>
<?php }?>
<?php $_smarty_tpl->_assignInScope('level1Name', call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['level1']->value['name'],'html','UTF-8' )));?>
<?php if ($_smarty_tpl->tpl_vars['level1']->value['name'] == '') {?>
<?php $_smarty_tpl->_assignInScope('level1Name', call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['level1']->value['class_name'],'html','UTF-8' )));?>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['level1']->value['icon'] != '') {?>
<li class="link-levelone<?php if ($_smarty_tpl->tpl_vars['level1']->value['current']) {?> link-levelone-active<?php }?>" data-submenu="<?php echo $_smarty_tpl->tpl_vars['level1']->value['id_tab'];?>
" id="tab-<?php echo $_smarty_tpl->tpl_vars['level1']->value['class_name'];?>
">
<a href="<?php echo $_smarty_tpl->tpl_vars['level1Href']->value;?>
" class="link" >
<i class="material-icons"><?php echo $_smarty_tpl->tpl_vars['level1']->value['icon'];?>
</i> <span><?php echo $_smarty_tpl->tpl_vars['level1Name']->value;?>
</span>
</a>
</li>
<?php } else { ?>
<li class="category-title<?php if ($_smarty_tpl->tpl_vars['level1']->value['current']) {?> link-active<?php }?>" data-submenu="<?php echo $_smarty_tpl->tpl_vars['level1']->value['id_tab'];?>
" id="tab-<?php echo $_smarty_tpl->tpl_vars['level1']->value['class_name'];?>
">
<span class="title"><?php echo $_smarty_tpl->tpl_vars['level1Name']->value;?>
</span>
</li>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['level1']->value['sub_tabs'], 'level2');
$_smarty_tpl->tpl_vars['level2']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['level2']->value) {
$_smarty_tpl->tpl_vars['level2']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['level2']->value['active']) {?>
<?php $_smarty_tpl->_assignInScope('level2Href', call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['level2']->value['href'],'html','UTF-8' )));?>
<?php $_smarty_tpl->_assignInScope('level2Name', call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['level2']->value['name'],'html','UTF-8' )));?>
<?php if ($_smarty_tpl->tpl_vars['level2']->value['name'] == '') {?>
<?php $_smarty_tpl->_assignInScope('level2Name', call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['level2']->value['class_name'],'html','UTF-8' )));?>
<?php }?>
<?php $_smarty_tpl->_assignInScope('levelOneClass', '');?>
<?php if ($_smarty_tpl->tpl_vars['level2']->value['current'] && !$_smarty_tpl->tpl_vars['collapse_menu']->value) {?>
<?php $_smarty_tpl->_assignInScope('levelOneClass', " link-active open ul-open");?>
<?php } elseif ($_smarty_tpl->tpl_vars['level2']->value['current'] && $_smarty_tpl->tpl_vars['collapse_menu']->value) {?>
<?php $_smarty_tpl->_assignInScope('levelOneClass', " link-active");?>
<?php }?>
<li class="link-levelone<?php if (count($_smarty_tpl->tpl_vars['level2']->value['sub_tabs'])) {?> has_submenu<?php }
echo $_smarty_tpl->tpl_vars['levelOneClass']->value;?>
" data-submenu="<?php echo $_smarty_tpl->tpl_vars['level2']->value['id_tab'];?>
" id="subtab-<?php echo $_smarty_tpl->tpl_vars['level2']->value['class_name'];?>
">
<a href="<?php echo $_smarty_tpl->tpl_vars['level2Href']->value;?>
" class="link">
<i class="material-icons mi-<?php echo $_smarty_tpl->tpl_vars['level2']->value['icon'];?>
"><?php echo $_smarty_tpl->tpl_vars['level2']->value['icon'];?>
</i>
<span>
<?php echo $_smarty_tpl->tpl_vars['level2Name']->value;?>
</span>
<?php if (count($_smarty_tpl->tpl_vars['level1']->value['sub_tabs'])) {?>
<i class="material-icons sub-tabs-arrow">
<?php if ($_smarty_tpl->tpl_vars['level2']->value['current']) {?>
keyboard_arrow_up
<?php } else { ?>
keyboard_arrow_down
<?php }?>
</i>
<?php }?>
</a>
<?php if (count($_smarty_tpl->tpl_vars['level2']->value['sub_tabs'])) {?>
<ul id="collapse-<?php echo $_smarty_tpl->tpl_vars['level2']->value['id_tab'];?>
" class="submenu panel-collapse">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['level2']->value['sub_tabs'], 'level3');
$_smarty_tpl->tpl_vars['level3']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['level3']->value) {
$_smarty_tpl->tpl_vars['level3']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['level3']->value['active']) {?>
<?php $_smarty_tpl->_assignInScope('level3Href', call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['level3']->value['href'],'html','UTF-8' )));?>
<?php $_smarty_tpl->_assignInScope('level3Name', call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['level3']->value['name'],'html','UTF-8' )));?>
<?php if ($_smarty_tpl->tpl_vars['level3']->value['name'] == '') {?>
<?php $_smarty_tpl->_assignInScope('level3Name', call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['level3']->value['class_name'],'html','UTF-8' )));?>
<?php }?>
<li class="link-leveltwo<?php if ($_smarty_tpl->tpl_vars['level3']->value['current']) {?> link-active<?php }?>" data-submenu="<?php echo $_smarty_tpl->tpl_vars['level3']->value['id_tab'];?>
" id="subtab-<?php echo $_smarty_tpl->tpl_vars['level3']->value['class_name'];?>
">
<a href="<?php echo $_smarty_tpl->tpl_vars['level3Href']->value;?>
" class="link"> <?php echo $_smarty_tpl->tpl_vars['level3Name']->value;?>
</a>
</li>
<?php }?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</ul>
<?php }?>
</li>
<?php }?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }?>
<?php }?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</ul>
</div>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0], array( array('h'=>'displayAdminNavBarBeforeEnd'),$_smarty_tpl ) );?>
</nav>
<?php }
}