<?php /* Smarty version Smarty-3.1.8, created on 2019-11-12 09:31:09
         compiled from "/home/stg70/public_html/agmc-v2/application/core/views/manage/standard/MenusList.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1606783255da6e745c4ced6-54445768%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '96a6dd79990dff510ef68ed00e2d194169c67f37' => 
    array (
      0 => '/home/stg70/public_html/agmc-v2/application/core/views/manage/standard/MenusList.tpl',
      1 => 1572498161,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1606783255da6e745c4ced6-54445768',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5da6e745d28f62_03642845',
  'variables' => 
  array (
    'language' => 0,
    'view_styles' => 0,
    'resMenus' => 0,
    'editPrivilege' => 0,
    'sortByOption' => 0,
    'sortByOrder' => 0,
    'deletePrivilege' => 0,
    'menu_list' => 0,
    'listItemPrivilege' => 0,
    'menuID' => 0,
    'contentLang' => 0,
    'statusImg' => 0,
    'newstatus' => 0,
    'statusLabel' => 0,
    'view_javascript' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5da6e745d28f62_03642845')) {function content_5da6e745d28f62_03642845($_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['lblMenus'];?>
</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;?>
/grid_listing.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/right-menu.css" />
<?php echo $_smarty_tpl->getSubTemplate ('CommonCustomStyles.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

</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_container2 clearfix">
       <div class="right-sidebar">
      <div class="side_wrapper"> 
      <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('priv_href'=>"custommenu/new/",'href'=>"custommenu/new/",'caption'=>"<strong><span class='add'></span>".($_smarty_tpl->tpl_vars['language']->value['lblAddNewMenu'])."</strong>",'class'=>"custom-btnt",'history'=>"yes"),$_smarty_tpl);?>

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

      </div>
    </div>
    <!--End: Right Block-->
        <div class="left_wrapper">
      <div class="content_wrapper">
     <?php if ($_smarty_tpl->tpl_vars['resMenus']->value){?>  <?php echo $_smarty_tpl->getSubTemplate ('ContentLanguageOptions.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
<?php }?>
        <h2><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMenus'];?>
</h2>
 
        <div id="common_message" ></div>
        <?php if ($_smarty_tpl->tpl_vars['resMenus']->value){?>
        <div class="grid_table00"><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->start(array('name'=>"frmMenuList",'action'=>'','method'=>"post"),$_smarty_tpl);?>

          <table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentList" >
            <thead>
              <tr class="nodrag nodrop">
               <?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value){?> <th align="left" valign="middle"  class="checkbox_column" width="35"> <div class="chekingdiv">
                    <ul>
                      <li><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('id'=>"ListStatusLinkCheckbox",'class'=>"fixing_left",'tabindex'=>"1"),$_smarty_tpl);?>

                        <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>'','id'=>"ListStatusLink",'class'=>"status-arw fixing_left"),$_smarty_tpl);?>

                        <ul id="ListStatusSelection"  class="check_status">
                          <li> <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>'','rel'=>"ListActive",'content'=>$_smarty_tpl->tpl_vars['language']->value['lblActive']),$_smarty_tpl);?>
</li>
                          <li> <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>'','rel'=>"ListInactive",'content'=>$_smarty_tpl->tpl_vars['language']->value['lblInactive']),$_smarty_tpl);?>
</li>
                          <li> <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>'','rel'=>"ListAll",'content'=>$_smarty_tpl->tpl_vars['language']->value['lblSelectAll']),$_smarty_tpl);?>
</li>
                        </ul>
                      </li>
                    </ul>
                  </div></th><?php }?> 
                <th align="left" valign="middle" class="sort<?php if ($_smarty_tpl->tpl_vars['sortByOption']->value=='sname'){?><?php echo $_smarty_tpl->tpl_vars['sortByOrder']->value;?>
<?php }?>">
                <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"/custommenu/index/sortby/sname/orderby/".($_smarty_tpl->tpl_vars['sortByName']->value)."/",'title'=>($_smarty_tpl->tpl_vars['language']->value['lblMenuTitle']),'content'=>($_smarty_tpl->tpl_vars['language']->value['lblMenuTitle'])),$_smarty_tpl);?>

                </th>
                <th align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMenuKey'];?>
</th>
                <th align="left" valign="middle"  class="sort<?php if ($_smarty_tpl->tpl_vars['sortByOption']->value=='spos'){?><?php echo $_smarty_tpl->tpl_vars['sortByOrder']->value;?>
<?php }?>">
                <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"/custommenu/index/sortby/spos/orderby/".($_smarty_tpl->tpl_vars['sortByPosition']->value)."/",'title'=>($_smarty_tpl->tpl_vars['language']->value['lblPosition']),'content'=>($_smarty_tpl->tpl_vars['language']->value['lblPosition'])),$_smarty_tpl);?>

                </th>
           		<th align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAccess'];?>
</th>
                <th  align="left" valign="middle" width="13%"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMenuItems'];?>
</th>
                <?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value||$_smarty_tpl->tpl_vars['deletePrivilege']->value){?><th  align="left" valign="middle">&nbsp;</th><?php }?>
              </tr>
            </thead>
            <tbody>
            <?php $_smarty_tpl->tpl_vars['contentList'] = new Smarty_variable(0, null, 0);?>
            <?php  $_smarty_tpl->tpl_vars["menu_list"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["menu_list"]->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['resMenus']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["menu_list"]->key => $_smarty_tpl->tpl_vars["menu_list"]->value){
$_smarty_tpl->tpl_vars["menu_list"]->_loop = true;
?>
            <tr  id="<?php echo $_smarty_tpl->tpl_vars['menu_list']->value['menuID'];?>
"> 
              <?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value){?><td align="left" valign="top" class="checkbox_column">
			  <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('name'=>"menuBulkStatus[]",'value'=>$_smarty_tpl->tpl_vars['menu_list']->value['menuID'],'class'=>("checkbox01 ListAll List").($_smarty_tpl->tpl_vars['menu_list']->value['status'])),$_smarty_tpl);?>
 </td><?php }?>
              <td align="left" valign="top"><?php echo $_smarty_tpl->tpl_vars['menu_list']->value['menuName'];?>
</td>
              <td align="left" valign="top"><?php echo $_smarty_tpl->tpl_vars['menu_list']->value['menuKey'];?>
</td>
              <td align="left" valign="top"><?php echo $_smarty_tpl->tpl_vars['menu_list']->value['position'];?>
</td>
              <td align="left" valign="top"><?php echo $_smarty_tpl->tpl_vars['menu_list']->value['defAccess'];?>
</td>
              <td align="left" valign="top">
                 <?php $_smarty_tpl->tpl_vars["menuID"] = new Smarty_variable($_smarty_tpl->tpl_vars['menu_list']->value['menuID'], null, 0);?>
                <?php if ($_smarty_tpl->tpl_vars['listItemPrivilege']->value){?> 
                <span class="pos-relative tt-outr">
					<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('onmouseover'=>"showToolTip('".($_smarty_tpl->tpl_vars['menuID']->value)."','menu')",'onmouseout'=>"hideToolTip('".($_smarty_tpl->tpl_vars['menuID']->value)."','menu')",'href'=>"custommenu/frontendmenus/menuID/".($_smarty_tpl->tpl_vars['menuID']->value)."/lang/".($_smarty_tpl->tpl_vars['contentLang']->value)."/",'class'=>"add-link",'caption'=>$_smarty_tpl->tpl_vars['menu_list']->value['menuItemCount']),$_smarty_tpl);?>

                  <div class="tooltip" id="menu_tooltip_<?php echo $_smarty_tpl->tpl_vars['menuID']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblView'];?>
</div>
                </span>
				<?php }else{ ?>
					<?php echo $_smarty_tpl->tpl_vars['menu_list']->value['menuItemCount'];?>

				<?php }?>
                  </td>
              <?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value||$_smarty_tpl->tpl_vars['deletePrivilege']->value){?><td align="left" valign="top"> 
			  <?php if ($_smarty_tpl->tpl_vars['menu_list']->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 }?>    
				<?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)." icon-set",'id'=>($_smarty_tpl->tpl_vars['menu_list']->value['menuID']),'rel'=>($_smarty_tpl->tpl_vars['newstatus']->value),'title'=>($_smarty_tpl->tpl_vars['statusLabel']->value),'task'=>"changeStatus"),$_smarty_tpl);?>

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

				<?php }?>
				<?php if ($_smarty_tpl->tpl_vars['deletePrivilege']->value){?>
                <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('id'=>($_smarty_tpl->tpl_vars['menu_list']->value['menuID']),'class'=>"delete02 icon-set",'rel'=>$_smarty_tpl->tpl_vars['menu_list']->value['menuItemCount'],'title'=>$_smarty_tpl->tpl_vars['language']->value['lblDelete'],'task'=>'delete'),$_smarty_tpl);?>

				<?php }?>
                 </td><?php }?>
            </tr>
            <?php } ?>
            </tbody>
            
          </table>
        </div>
        <div class="fixing_right pagination_outer">
            <?php echo $_smarty_tpl->smarty->registered_objects['paginate'][0]->layout(array('key'=>"page",'label_record'=>($_smarty_tpl->tpl_vars['language']->value['lblRecorsFound']),'label_pages'=>($_smarty_tpl->tpl_vars['language']->value['lblPages'])),$_smarty_tpl);?>

            <!--end: Pagination-->
             <div class="clear"></div>
        </div>
       <?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value){?>
        <div class="fixing_left" > <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"bulkStatus",'class'=>"select-box width-auto",'options'=>"->".($_smarty_tpl->tpl_vars['language']->value['lblDonotchange'])."~*Active->".($_smarty_tpl->tpl_vars['language']->value['lblActivate'])."~*Inactive->".($_smarty_tpl->tpl_vars['language']->value['lblInactivate'])),$_smarty_tpl);?>

          <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->submit(array('name'=>"submitBulkStatus",'id'=>"submitBulkStatus",'class'=>"update_btn_table button04",'value'=>$_smarty_tpl->tpl_vars['language']->value['lblUpdate']),$_smarty_tpl);?>
 </div><?php }?>
        <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->close(array(),$_smarty_tpl);?>

        <div class="clear"></div>
        <?php }else{ ?>
        <div class="message_info" id="common_message"><?php echo $_smarty_tpl->tpl_vars['language']->value['msgNoRecords'];?>
</div>
       <?php }?>
        <!--End:From Listing-->
      </div>
        
    </div>
    <!--End: left Block-->
    <div class="clear"></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" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/table.plugin.js"></script>
<script type="text/javascript">
$('.side_wrapper ul li a[rel=menus]').addClass('selected'); 
var msgSelectItem="<?php echo $_smarty_tpl->tpl_vars['language']->value['msgSelectItem'];?>
";
var lblSelectAction="<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSelectAction'];?>
";
var msgDeleteMenus="<?php echo $_smarty_tpl->tpl_vars['language']->value['msgDeleteMenus'];?>
";
var subItemsText="<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSubMenuItemsPresent'];?>
";
var deleteText = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblDelete'];?>
";
</script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/custommenu.page.js"></script>
</body>
</html>
<?php }} ?>