<?php /* Smarty version Smarty-3.1.8, created on 2024-07-17 12:49:03
         compiled from "/home/agmc/beta/application/core/views/manage/standard/FrontendMenus.tpl" */ ?>
<?php /*%%SmartyHeaderCode:16035091135e71e8d70dc564-07857208%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '0da0d9ea9d2c7f14bb27306eb1c160920ae5187f' => 
    array (
      0 => '/home/agmc/beta/application/core/views/manage/standard/FrontendMenus.tpl',
      1 => 1605520856,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '16035091135e71e8d70dc564-07857208',
  'function' => 
  array (
    'menu' => 
    array (
      'parameter' => 
      array (
        'level' => 0,
      ),
      'compiled' => '',
    ),
    'menuItems' => 
    array (
      'parameter' => 
      array (
        'level' => 0,
      ),
      'compiled' => '',
    ),
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5e71e8d71d4bc0_06529619',
  'variables' => 
  array (
    'language' => 0,
    'view_styles' => 0,
    'brandID' => 0,
    'listBrand' => 0,
    'resMenusItems' => 0,
    'menuID' => 0,
    'listMenus' => 0,
    'defLang' => 0,
    'view_common_languages' => 0,
    'listItemsInOrder' => 0,
    'data' => 0,
    'entry' => 0,
    'level' => 0,
    'editPrivilege' => 0,
    'deletePrivilege' => 0,
    'view_images' => 0,
    'statusImg' => 0,
    'newstatus' => 0,
    'statusLabel' => 0,
    'deleteprivilege' => 0,
    'menuItemAction' => 0,
    'view_javascript' => 0,
  ),
  'has_nocache_code' => 0,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5e71e8d71d4bc0_06529619')) {function content_5e71e8d71d4bc0_06529619($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAdmin'];?>
 : <?php echo $_smarty_tpl->tpl_vars['language']->value['lblMenuItems'];?>
</title>
<?php echo $_smarty_tpl->getSubTemplate ('CommonStyles.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScript.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/right-menu.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/menuItemListing.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/colorbox.css" />
</head>
<body>
<div class="outer_container"> <?php echo $_smarty_tpl->getSubTemplate ('CommonTop.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

  <!--End:Header Container-->
  <!--***********************************************************************END HEADER CONTAINER******************************************************-->
  <div class="content_container">
      <div class="content_wrapper">
          
        <h2><?php echo $_smarty_tpl->tpl_vars['language']->value['lblManageFrontendMenus'];?>
</h2>
        <div id="common_message" ></div>  
      <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->start(array('name'=>"formMenuSearch",'action'=>'','method'=>"post",'enctype'=>"multipart/form-data"),$_smarty_tpl);?>

        <div class="clearfix "> 
		<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"brandID",'value'=>$_smarty_tpl->tpl_vars['brandID']->value,'options'=>$_smarty_tpl->tpl_vars['listBrand']->value,'style'=>"float:right;width:150px;margin-left:5px;padding:6px 10px"),$_smarty_tpl);?>
	
        <?php if ($_smarty_tpl->tpl_vars['resMenusItems']->value){?> 
     <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('priv_href'=>"custommenu/menuitems/",'href'=>"custommenu/menuitems/",'title'=>$_smarty_tpl->tpl_vars['language']->value['lblMenuItems'],'history'=>"yes",'class'=>"button02 curve-3 fixing_right",'content'=>($_smarty_tpl->tpl_vars['language']->value['lblManageMenuItems'])),$_smarty_tpl);?>

     <?php }?>
           <div  class="menu-list-left">
                <div class="search_container">
                    <div class="inner single-box"> 
                    
                      <ul class="clearfix">
                        <li class="column">
                           <p class="label-field01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMenu'];?>
</p>
                           <span class="form-field01"></span>
                        </li>
                        <li class="column">
                           <p class="label-field01"></p>
                           <span class="form-field01">
                            <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('tabindex'=>"1",'class'=>"select-box",'name'=>"menuID",'value'=>$_smarty_tpl->tpl_vars['menuID']->value,'options'=>$_smarty_tpl->tpl_vars['listMenus']->value),$_smarty_tpl);?>
 
                           </span>
                        </li>
                        <li class="column">
                           <p class="label-field01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lbllanguage'];?>
</p>
                           <span class="form-field01">
                            <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('tabindex'=>"1",'class'=>"select-box",'name'=>"lang",'caption'=>"->".($_smarty_tpl->tpl_vars['language']->value['lblSelect']),'value'=>$_smarty_tpl->tpl_vars['defLang']->value,'options'=>$_smarty_tpl->tpl_vars['view_common_languages']->value),$_smarty_tpl);?>
                           
                           </span>
                        </li>                       
                        <li class="column">
                          <span class="form-field01">
                             <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->submit(array('id'=>"submitSearch",'name'=>"submitSearch",'tabindex'=>"1",'class'=>"button01",'value'=>($_smarty_tpl->tpl_vars['language']->value['lblSearch'])),$_smarty_tpl);?>
 
                             <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"/custommenu/frontendmenus/",'tabindex'=>"1",'caption'=>$_smarty_tpl->tpl_vars['language']->value['lblListAll'],'class'=>"action-link"),$_smarty_tpl);?>

                          </span>
                        </li>
                      </ul>                       
                     
                      <div class="clear"></div>
                    </div>
              </div>
          </div>
          </div>
		   <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->close(array(),$_smarty_tpl);?>

          <div class="clearfix menu-position"> 
		<div  class="menu-list-left">        
           <?php if ($_smarty_tpl->tpl_vars['resMenusItems']->value){?>  
         <div class="clearfix">  <div class="info-message fixing_right"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblPleaseDrapDropMenuItems'];?>
</div>
        </div>
           <span class="seprtor"></span>
        <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->start(array('name'=>"frmMenuList",'action'=>'','method'=>"post"),$_smarty_tpl);?>

            <div class="heading">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentList" >
                    <thead>
                      <tr class="nodrag nodrop">
                        <td align="left" valign="middle" class="cols1 col"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMenuItems'];?>
</td>
                        <td align="left" valign="middle" class="cols2 col"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMenuItemType'];?>
</td>
                        <td align="left" valign="middle" class="cols3 col"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblLang'];?>
</td>
                        <td align="left" valign="middle" class="cols4 col"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAccess'];?>
</td>
                        <td align="left" valign="middle" width="22"></td>
                      </tr>
                      </thead>
                 </table>
          </div> <!--heading-->
        
		<?php if ($_smarty_tpl->tpl_vars['listItemsInOrder']->value){?>
          <ul id="sort1" class="dragtree connectedSortable">
          	  <!--menu function-->
            <?php if (!function_exists('smarty_template_function_menu')) {
    function smarty_template_function_menu($_smarty_tpl,$params) {
    $saved_tpl_vars = $_smarty_tpl->tpl_vars;
    foreach ($_smarty_tpl->smarty->template_functions['menu']['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;
?>
            	 <?php if ($_smarty_tpl->tpl_vars['entry']->value['status']=='Active'){?>
                    <?php $_smarty_tpl->tpl_vars["newstatus"] = new Smarty_variable('Inactive', null, 0);?>
                    <?php $_smarty_tpl->tpl_vars["statusLabel"] = new Smarty_variable($_smarty_tpl->tpl_vars['language']->value['lblActive'], null, 0);?>
                    <?php $_smarty_tpl->tpl_vars["statusImg"] = new Smarty_variable('status-active icon-set', null, 0);?>
                  <?php }else{ ?>
                    <?php $_smarty_tpl->tpl_vars["newstatus"] = new Smarty_variable('Active', null, 0);?>
                    <?php $_smarty_tpl->tpl_vars["statusImg"] = new Smarty_variable('status-inactive icon-set', null, 0);?>
                    <?php $_smarty_tpl->tpl_vars["statusLabel"] = new Smarty_variable($_smarty_tpl->tpl_vars['language']->value['lblInactive'], null, 0);?>
                 <?php }?> 
                    <li data-id="<?php echo $_smarty_tpl->tpl_vars['entry']->value['menuItemID'];?>
" data-orderid="<?php echo $_smarty_tpl->tpl_vars['entry']->value['orderID'];?>
" data-level="<?php echo $_smarty_tpl->tpl_vars['level']->value;?>
" data-lang="<?php echo $_smarty_tpl->tpl_vars['entry']->value['availableLang'];?>
" data-modulekey="<?php echo $_smarty_tpl->tpl_vars['entry']->value['moduleKey'];?>
" data-defaulturl="<?php echo $_smarty_tpl->tpl_vars['entry']->value['default_url'];?>
" data-sourceurl="<?php echo $_smarty_tpl->tpl_vars['entry']->value['set_cms_homepage'];?>
">
                    <div class="group">
                         <div class="positioning">
                        <?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value||(($tmp = @$_smarty_tpl->tpl_vars['deletePrivilege']->value)===null||$tmp==='' ? '' : $tmp)){?>
                         <span class="cntols-span">
                             
                              <?php if ($_smarty_tpl->tpl_vars['entry']->value['moduleKey']=='productfilterurl'){?>
                                    <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"ajax/productpriority/itemID/".($_smarty_tpl->tpl_vars['entry']->value['menuItemID'])."/",'id'=>"generatepdtlistLink",'title'=>"Set Product Priority for ".($_smarty_tpl->tpl_vars['entry']->value['menuItemName']),'class'=>"showModalPopup",'content'=>"<img src=".($_smarty_tpl->tpl_vars['view_images']->value)."/icon-agencies.png width='17px' style='margin-bottom:-2px;' />",'popuptype'=>"iframe",'popuptitle'=>"Set Product Priority for ".($_smarty_tpl->tpl_vars['entry']->value['menuItemName']),'frameheight'=>"80%",'frameWidthClass'=>"modal-lg"),$_smarty_tpl);?>

                                            <?php }?>
						 <?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value){?>
                         <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('class'=>($_smarty_tpl->tpl_vars['statusImg']->value)." changeItemStatus",'id'=>($_smarty_tpl->tpl_vars['entry']->value['menuItemID']),'rel'=>($_smarty_tpl->tpl_vars['newstatus']->value),'content'=>'','title'=>($_smarty_tpl->tpl_vars['statusLabel']->value),'orderid'=>($_smarty_tpl->tpl_vars['entry']->value['orderID'])),$_smarty_tpl);?>

                         <?php }else{ ?>
							<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('content'=>"&nbsp;"),$_smarty_tpl);?>

                        <?php }?>
                         <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('title'=>$_smarty_tpl->tpl_vars['language']->value['lblEditMenuItem'],'history'=>"yes",'class'=>"edit02 icon-set",'content'=>'','href'=>"custommenu/editItem/id/".($_smarty_tpl->tpl_vars['entry']->value['menuItemID'])."/"),$_smarty_tpl);?>

			
                        <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('id'=>($_smarty_tpl->tpl_vars['entry']->value['menuItemID']),'class'=>"delete02 icon-set noremove",'title'=>$_smarty_tpl->tpl_vars['language']->value['lblRemove'],'task'=>'deleteItem','orderid'=>($_smarty_tpl->tpl_vars['entry']->value['orderID']),'child'=>count((($tmp = @$_smarty_tpl->tpl_vars['entry']->value['children'])===null||$tmp==='' ? '' : $tmp))),$_smarty_tpl);?>

                        
                        </span><?php }?>
                             <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                  <tr>
                                    <td width="25" class="drag " align="left" valign="middle">
                                        <span class="line1"></span><span class="line2"></span><span class="line3"></span>
                                    </td>
                                    <td width="10"  align="center" valign="middle">
                                        <span class="expand <?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']))){?>hide<?php }?>" >
                                         +
                                        </span>
                                    </td>
                                    <td class="cols1 col" align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['entry']->value['menuItemName'];?>
</td>
                                    <td class="cols2 col" align="left" valign="middle">
                                            <div class="info-outer zindex">
                                           <?php echo $_smarty_tpl->tpl_vars['entry']->value['labelType'];?>

                                           <?php if ((($tmp = @$_smarty_tpl->tpl_vars['entry']->value['source'])===null||$tmp==='' ? '' : $tmp)==1){?>   
                                            <span class="info type_details"  itemid="<?php echo $_smarty_tpl->tpl_vars['entry']->value['menuItemID'];?>
" moduleid="<?php echo $_smarty_tpl->tpl_vars['entry']->value['moduleID'];?>
"></span>
                                            <span class="info-details" style="display: none;"><span class="arw"></span>
                                           <span class="add-details-outer"> 
                                            <span class="inner01">  <?php echo $_smarty_tpl->tpl_vars['language']->value['lblSource'];?>
 : <span class="bold add-details"></span> </span>
                                            </span></span>
                                            <?php }?>
                                            </div>
                                    </td>
                                    <td class="cols3 col"  align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['entry']->value['deflang'];?>
 </td>
                                    <td class="cols4 col" align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['entry']->value['defAccess'];?>
</td>
                                   
                                  
                               </tr>
                            </table>
                            </div>
                        </div>
                         <?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 id="" class="connectedSortable ui-sortable hide">
    					 <?php smarty_template_function_menu($_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_menu($_smarty_tpl,array('data'=>$_smarty_tpl->tpl_vars['listItemsInOrder']->value));?>
 <!--menu function calling-->
          </ul>
          <div class="fixing_left"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblRecordsFound'];?>
 :  <strong id="rowCntOrders"></strong></div>
              <!--end: Pagination-->
          
         <?php }else{ ?>
             <ul id="sort1" class="dragtree connectedSortable " style="min-height:25px;"> 
    		</ul>
         <?php }?> 
          <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->button(array('name'=>"submitItems",'id'=>"submitItems",'class'=>"update_btn_table curve-3 button02 fixing_right",'value'=>$_smarty_tpl->tpl_vars['language']->value['lblSave']),$_smarty_tpl);?>

          <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->close(array(),$_smarty_tpl);?>

       <?php }?> 
       <?php if (empty($_smarty_tpl->tpl_vars['resMenusItems']->value)){?>
    
    	 <div class="message_info" id="common_message"><?php echo $_smarty_tpl->tpl_vars['language']->value['msgNoRecords'];?>
</div>
    <?php }?>   
      </div> <!--menu-list-left-->
    
     <?php if ($_smarty_tpl->tpl_vars['resMenusItems']->value){?> <div  class="menu-list-right">
    
      <div class="heading">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="left" valign="middle" class="cols1 col"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMenuItems'];?>
</td>
            <td align="left" valign="middle" class="cols3 col"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblLang'];?>
</td>
          </tr>
        </table>
    </div>
    <ul id="sort2" class="dragtree connectedSortable">
	  <!--menu function-->
            <?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;
?> 
            	 <?php if ($_smarty_tpl->tpl_vars['entry']->value['status']=='Active'){?>
                    <?php $_smarty_tpl->tpl_vars["newstatus"] = new Smarty_variable('Inactive', null, 0);?>
                    <?php $_smarty_tpl->tpl_vars["statusLabel"] = new Smarty_variable($_smarty_tpl->tpl_vars['language']->value['lblActive'], null, 0);?>
                    <?php $_smarty_tpl->tpl_vars["statusImg"] = new Smarty_variable('status-active', null, 0);?>
                  <?php }else{ ?>
                    <?php $_smarty_tpl->tpl_vars["newstatus"] = new Smarty_variable('Active', null, 0);?>
                    <?php $_smarty_tpl->tpl_vars["statusImg"] = new Smarty_variable('status-inactive', null, 0);?>
                    <?php $_smarty_tpl->tpl_vars["statusLabel"] = new Smarty_variable($_smarty_tpl->tpl_vars['language']->value['lblInactive'], null, 0);?>
                <?php }?> 
                  <li data-id="<?php echo $_smarty_tpl->tpl_vars['entry']->value['menuItemID'];?>
" data-level="<?php echo $_smarty_tpl->tpl_vars['level']->value;?>
" data-lang="<?php echo $_smarty_tpl->tpl_vars['entry']->value['availableLang'];?>
" data-modulekey="<?php echo $_smarty_tpl->tpl_vars['entry']->value['moduleKey'];?>
" data-defaulturl="<?php echo $_smarty_tpl->tpl_vars['entry']->value['default_url'];?>
" data-sourceurl="<?php echo $_smarty_tpl->tpl_vars['entry']->value['set_cms_homepage'];?>
">
                    <div class="group">
                        <div class="positioning zindex">
                          <?php if ((($tmp = @$_smarty_tpl->tpl_vars['deleteprivilege']->value)===null||$tmp==='' ? '' : $tmp)){?>
                          <span class="cntols-span">
                            <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('id'=>($_smarty_tpl->tpl_vars['entry']->value['menuItemID']),'class'=>"delete00 icon-set",'title'=>$_smarty_tpl->tpl_vars['language']->value['lblDelete'],'task'=>'deleteItem'),$_smarty_tpl);?>

                          </span>
                          <?php }?>
                           <table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="25" bgcolor="#CCCCCC" class="drag " align="left" valign="middle">
                                <span class="line1"></span><span class="line2"></span><span class="line3"></span></td>
                                <td width="10" class="expand <?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']))){?><?php }else{ ?>hide<?php }?>" align="center" valign="middle">+</td>
                                <td class="cols1 col" align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['entry']->value['menuItemName'];?>
</td>
                                <td class="cols2 col" align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['entry']->value['labelType'];?>
</td>
                                <td class="cols3 col"  align="left" valign="middle">
                                	<?php echo $_smarty_tpl->tpl_vars['entry']->value['deflang'];?>
 <?php if ((($tmp = @$_smarty_tpl->tpl_vars['entry']->value['source'])===null||$tmp==='' ? '' : $tmp)==1){?>   
                        			<span class="info type_details"  itemid="<?php echo $_smarty_tpl->tpl_vars['entry']->value['menuItemID'];?>
" moduleid="<?php echo $_smarty_tpl->tpl_vars['entry']->value['moduleID'];?>
"></span>
                       				<?php }?>
                        			<span class="info-details" style="display:none;"><span class="arw"></span>
                           			<span class="inner01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMenuItemType'];?>
 : <span class="bold"><?php echo $_smarty_tpl->tpl_vars['entry']->value['labelType'];?>
</span><br />
                                    <span class="add-details-outer"> <?php echo $_smarty_tpl->tpl_vars['language']->value['lblSource'];?>
 : <span class="bold add-details"></span> </span>
                            		</span>
                       				</span>
                      			</td>
                                <td class="cols4 col" align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['entry']->value['defAccess'];?>
</td>
                              </tr>
                          </table>
                      </div>
                </div>
                <?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 id="" class="connectedSortable ui-sortable   hide"> 
                     <?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['resMenusItems']->value));?>
 <!--menu function calling-->
      </ul>
     <div class="fixing_left"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblRecordsFound'];?>
 :  <strong id="rowCntItems"></strong></div> <!--end: Pagination-->
  </div>   <!--menu-list-right-->
  <?php }?>
  </div>

    <!--End: main Block-->
  </div>
  </div>
  <!--End:Content Container-->
  <?php echo $_smarty_tpl->getSubTemplate ('CommonBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 </div>
<!--End:Outer Container-->
<?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScriptBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->messages_script(array('id'=>"common_message"),$_smarty_tpl);?>

<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->rootpath_script(array(),$_smarty_tpl);?>

<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->basepath_script(array(),$_smarty_tpl);?>

<script type="text/javascript">
$('.side_wrapper ul li a[rel=menu-items]').addClass('selected'); 
var menuItemAction = "<?php echo $_smarty_tpl->tpl_vars['menuItemAction']->value;?>
";
var msgSelectItem="<?php echo $_smarty_tpl->tpl_vars['language']->value['msgSelectItem'];?>
";
var lblSelectAction="<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSelectAction'];?>
";
var msgDeleteMenuItems="<?php echo $_smarty_tpl->tpl_vars['language']->value['msgDeleteMenuItems'];?>
";
var deleteText = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblDelete'];?>
";
var msgSelectSearchCriteria ="<?php echo $_smarty_tpl->tpl_vars['language']->value['msgSelectSearchCriteria'];?>
";
var subItemsText="<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSubItemsPresent'];?>
";
var languageMismatch="<?php echo $_smarty_tpl->tpl_vars['language']->value['lblLanguageMismatch'];?>
";
var languageMismatchRollback="<?php echo $_smarty_tpl->tpl_vars['language']->value['lblLanguageMismatchSortingRollBacked'];?>
";
var lblSorce = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSource'];?>
";

$('.info').hover(function() {
  $(this).siblings('.info-details').show();
  
},function(){
	$('.info-details').hide();
});
$('.info').customTooltip();
$('#rowCntOrders').text($('#sort1 li:not(.addNew)').length);
$('#rowCntItems').text($('#sort2 li').length);

		$("#brandID").change(function(){ 
			/*var id			=	$('#brandID').val();
			var url 		= 	window.location.href;   
			if (url.indexOf("brandID") > -1) 
				window.location.href = url+"brandID/"+ id+"/";
			*/
			var input = $("<input>")
               .attr("type", "hidden")
               .attr("name", "submitSearch").val("Search").appendTo('#formMenuSearch');
			   
			$('#formMenuSearch').submit();
		});
</script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/menuItemListing.page.js"></script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/custommenuitem.page.js"></script>
<script type="text/javascript"  src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/jquery.colorbox.js"></script>
<script type="text/javascript">

$(document).ready(function(){
        $(".showModalPopup").colorbox({iframe:true, width:"800px", height:"90%"});
});	

</script>
</body>
</html>
<?php }} ?>