<?php /* Smarty version Smarty-3.1.8, created on 2019-10-16 15:43:28
         compiled from "/home/stg70/public_html/agmc-v2/application/core/views/manage/standard/AjaxBannerMenu.tpl" */ ?>
<?php /*%%SmartyHeaderCode:11527048905da7026061fb98-52021182%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '4a87705898793d323619989109bdfcd7d9d670a3' => 
    array (
      0 => '/home/stg70/public_html/agmc-v2/application/core/views/manage/standard/AjaxBannerMenu.tpl',
      1 => 1571049180,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '11527048905da7026061fb98-52021182',
  'function' => 
  array (
    'menuItems' => 
    array (
      'parameter' => 
      array (
        'level' => 0,
      ),
      'compiled' => '',
    ),
  ),
  'variables' => 
  array (
    'resMenuList' => 0,
    'menuList' => 0,
    'data' => 0,
    'level' => 0,
    'entry' => 0,
    'bannerMenuIds' => 0,
    'menuItemName' => 0,
  ),
  'has_nocache_code' => 0,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5da70260696866_60247906',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5da70260696866_60247906')) {function content_5da70260696866_60247906($_smarty_tpl) {?>    <div class="div-city width-86per">
        <?php if ($_smarty_tpl->tpl_vars['resMenuList']->value){?>
            <?php  $_smarty_tpl->tpl_vars["menuList"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["menuList"]->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['resMenuList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["menuList"]->key => $_smarty_tpl->tpl_vars["menuList"]->value){
$_smarty_tpl->tpl_vars["menuList"]->_loop = true;
?> 
                <?php if (!empty($_smarty_tpl->tpl_vars['menuList']->value[2])&&is_array($_smarty_tpl->tpl_vars['menuList']->value[2])){?>			 
                <h5> <strong><?php echo $_smarty_tpl->tpl_vars['menuList']->value[1];?>
</strong></h5>
                    <ul class="levl-03 categorytree" >
                                 
                        <?php if (!function_exists('smarty_template_function_menuItems')) {
    function smarty_template_function_menuItems($_smarty_tpl,$params) {
    $saved_tpl_vars = $_smarty_tpl->tpl_vars;
    foreach ($_smarty_tpl->smarty->template_functions['menuItems']['parameter'] as $key => $value) {$_smarty_tpl->tpl_vars[$key] = new Smarty_variable($value);};
    foreach ($params as $key => $value) {$_smarty_tpl->tpl_vars[$key] = new Smarty_variable($value);}?>
                          <?php  $_smarty_tpl->tpl_vars["entry"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["entry"]->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["entry"]->key => $_smarty_tpl->tpl_vars["entry"]->value){
$_smarty_tpl->tpl_vars["entry"]->_loop = true;
?> 
                            <li data-level="<?php echo $_smarty_tpl->tpl_vars['level']->value;?>
" style="width:97%;<?php if ($_smarty_tpl->tpl_vars['level']->value>1){?>padding-left: 20px!important;<?php }?>">
                           <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"menuorder_".($_smarty_tpl->tpl_vars['entry']->value['menuItemID']),'value'=>($_smarty_tpl->tpl_vars['entry']->value['orderID'])),$_smarty_tpl);?>
                                         
                            <?php $_smarty_tpl->tpl_vars["menuItemName"] = new Smarty_variable($_smarty_tpl->tpl_vars['entry']->value['menuItemName'], null, 0);?>                            
                             <?php if ($_smarty_tpl->tpl_vars['entry']->value['moduleKey']!='seperator'&&$_smarty_tpl->tpl_vars['entry']->value['moduleKey']!='url'&&$_smarty_tpl->tpl_vars['entry']->value['moduleKey']!='text'){?>
                            <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('value'=>$_smarty_tpl->tpl_vars['bannerMenuIds']->value,'tabindex'=>"3",'onchange'=>"setSelected('menu')",'class'=>"menuTree",'name'=>"menuItemID",'options'=>((($_smarty_tpl->tpl_vars['entry']->value['menuItemID']).("->")).("&nbsp;")).($_smarty_tpl->tpl_vars['menuItemName']->value)),$_smarty_tpl);?>

                            <?php }elseif($_smarty_tpl->tpl_vars['entry']->value['moduleKey']=='text'){?>
                                <h5><strong><?php echo $_smarty_tpl->tpl_vars['menuItemName']->value;?>
</strong></h5>
                              <?php }?>
                             <?php if (isset($_smarty_tpl->tpl_vars['entry']->value['children'])&&is_array($_smarty_tpl->tpl_vars['entry']->value['children'])&&!empty($_smarty_tpl->tpl_vars['entry']->value['children'])){?>
                               <ul> 
                                 <?php smarty_template_function_menuItems($_smarty_tpl,array('data'=>$_smarty_tpl->tpl_vars['entry']->value['children'],'level'=>$_smarty_tpl->tpl_vars['level']->value+1));?>
  <!--menu function calling-->
                               </ul>                          
                            <?php }else{ ?>
                                 <?php if ((is_array($_smarty_tpl->tpl_vars['entry']->value))&&(is_numeric($_smarty_tpl->tpl_vars['entry']->value['menuItemID']))){?> 
                            </li> 
                                <?php }?>
                            <?php }?>
                          <?php } ?>  
                        <?php $_smarty_tpl->tpl_vars = $saved_tpl_vars;}}?>

                        <?php smarty_template_function_menuItems($_smarty_tpl,array('data'=>$_smarty_tpl->tpl_vars['menuList']->value[2]));?>
 <!--menu function calling-->
                    </ul>					
                <?php }?>
                <?php } ?>  
                <?php }?>         	
   </div>
<?php }} ?>