<?php /* Smarty version Smarty-3.1.8, created on 2020-12-13 17:12:41
         compiled from "/home/agmc/beta/application/core/views/manage/standard/CommonTop.tpl" */ ?>
<?php /*%%SmartyHeaderCode:6444809295e26cace9c7698-17491240%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '51cc27bece544a40afcc8b8b682e446a44eb3aa5' => 
    array (
      0 => '/home/agmc/beta/application/core/views/manage/standard/CommonTop.tpl',
      1 => 1605520856,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '6444809295e26cace9c7698-17491240',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5e26cace9eb138_40688272',
  'variables' => 
  array (
    'language' => 0,
    'view_common_languages' => 0,
    'view_root_path' => 0,
    'view_common_languageImage' => 0,
    'resCommonLanguages' => 0,
    'view_common_languageName' => 0,
    'profileEditPrivilege' => 0,
    'view_common_manageUserName' => 0,
    'view_common_site_name' => 0,
    'notify_count' => 0,
    'view_images' => 0,
    'showCount' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5e26cace9eb138_40688272')) {function content_5e26cace9eb138_40688272($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include '/home/agmc/beta/library/template/plugins/modifier.date_format.php';
?> <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->basepath_script(array(),$_smarty_tpl);?>

 <!--[if lte IE 7]> 
 <div id="ie7-display" style="background:#FC3;font:20px/25px bold Arial, Helvetica, sans-serif;margin:20px;padding:20px;border:#C90 1px solid;position:fixed;top:45%;left:20%;right:20%;color:#000;z-index:10000;text-align:center">For better view "Please Update Your Browser",you are using an old version of Internet explorer!!!!!</div>
<script type="text/javascript">
setTimeout(function(){ $("#ie7-display").slideUp();},10000);
</script>
<![endif]-->
<div class="header_container">
    <!-- Start:Header Container Middle -->
    <div class="header_container_middle clearfix">
    <div class="right-link-list fixing_right">
    	<ul class="clearfix">
        	<li class="logout">  <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"adminuser/logout/",'class'=>"bg-color-tarsition",'title'=>($_smarty_tpl->tpl_vars['language']->value['lblLogout']),'content'=>"<span class='icon-top'>&nbsp;</span>"),$_smarty_tpl);?>
</li>
           <?php if (count($_smarty_tpl->tpl_vars['view_common_languages']->value)>1){?><li>
<div class="languageSelectionBox1 clearfix bg-color-tarsition">
  <div class="flagbox"><img src="<?php echo $_smarty_tpl->tpl_vars['view_root_path']->value;?>
/public/uploads/languages/<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['view_common_languageImage']->value, ENT_QUOTES, 'UTF-8', true);?>
" width="14" height="11" alt="<?php echo (($tmp = @$_smarty_tpl->tpl_vars['resCommonLanguages']->value['languageName'])===null||$tmp==='' ? '' : $tmp);?>
" /></div>
  <div class=" <?php if (count($_smarty_tpl->tpl_vars['view_common_languages']->value)>1){?>languagebox_head<?php }else{ ?>languagebox_single<?php }?>"><?php echo $_smarty_tpl->tpl_vars['view_common_languageName']->value;?>
</div>
  <div class="languageList1" id="languageDropdown">
    <ul>
      <?php  $_smarty_tpl->tpl_vars["resCommonLanguages"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["resCommonLanguages"]->_loop = false;
 $_smarty_tpl->tpl_vars["key"] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['view_common_languages']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["resCommonLanguages"]->key => $_smarty_tpl->tpl_vars["resCommonLanguages"]->value){
$_smarty_tpl->tpl_vars["resCommonLanguages"]->_loop = true;
 $_smarty_tpl->tpl_vars["key"]->value = $_smarty_tpl->tpl_vars["resCommonLanguages"]->key;
?>
      <?php if ($_smarty_tpl->tpl_vars['view_common_languageName']->value!=$_smarty_tpl->tpl_vars['resCommonLanguages']->value['languageName']){?>
      <li id="common_language1_<?php echo $_smarty_tpl->tpl_vars['resCommonLanguages']->value['languageID'];?>
" class="bg-color-tarsition">
        <div class="flagbox"><img src="<?php echo $_smarty_tpl->tpl_vars['view_root_path']->value;?>
/public/uploads/languages/<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['resCommonLanguages']->value['languageImage'], ENT_QUOTES, 'UTF-8', true);?>
" width="14" height="11" alt="<?php echo $_smarty_tpl->tpl_vars['resCommonLanguages']->value['languageName'];?>
" /></div>
        <div class="languagebox1"><?php echo $_smarty_tpl->tpl_vars['resCommonLanguages']->value['languageName'];?>
</div>
      </li>
      <?php }?>
      <?php } ?>
    </ul>
  </div>
</div></li><?php }?>
             <li class="user-mng bg-color-tarsition">
          <?php if ($_smarty_tpl->tpl_vars['profileEditPrivilege']->value){?> <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"adminuser/profileedit/",'class'=>"drop-bx ",'caption'=>($_smarty_tpl->tpl_vars['view_common_manageUserName']->value)),$_smarty_tpl);?>
<?php }else{ ?>	<span class="drop-bx"><?php echo $_smarty_tpl->tpl_vars['view_common_manageUserName']->value;?>
</span> <?php }?>
            </li>
            <li class="quick-link-blck">
            	<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('class'=>"orders-icon icon-top",'href'=>"/order/index/",'priv_href'=>"order/index/",'title'=>($_smarty_tpl->tpl_vars['language']->value['lblOrders'])),$_smarty_tpl);?>

                
            </li>
        </ul>
 </div>	
<?php $_smarty_tpl->tpl_vars["today"] = new Smarty_variable(smarty_modifier_date_format(time(),"%d-%m-%Y"), null, 0);?> 
      <!-- Start:Logo Container-->
     <div class="logo">
        <h1><?php echo $_smarty_tpl->tpl_vars['view_common_site_name']->value;?>
</h1>
    </div>
      <!-- End:Logo Container -->
    </div>
    <!-- End:Header Container Middle -->
    <div class="header_container_bottom clearfix">
    <!--	<div class="quickmenu">
        	<span class="qk-mm">
            	<span class="icon-top"></span>
            </span>
            
        </div>-->
      <!-- Start:Header Menu -->
     <?php echo $_smarty_tpl->getSubTemplate ('CommonTopMenu.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

      <!-- End:Header Menu -->
    </div>
    <!-- End:Header Container Bottom -->
    <?php if ($_smarty_tpl->tpl_vars['notify_count']->value>0){?>
      <?php $_smarty_tpl->tpl_vars["showCount"] = new Smarty_variable('1', null, 0);?>
    <?php }else{ ?>
     <?php $_smarty_tpl->tpl_vars["showCount"] = new Smarty_variable('0', null, 0);?>
    <?php }?>
  </div>
<div id="ajaxLoader" class="overlay ajax-loader hide">
    <div class="loader-img">
        <img src="<?php echo $_smarty_tpl->tpl_vars['view_images']->value;?>
/ajax-loader.gif">
    </div>
</div>
<script type="text/javascript">
    var showCount='<?php echo $_smarty_tpl->tpl_vars['showCount']->value;?>
'
	
    $('.notification').click(function(){		
		
	if($(".notify-bx").is(':visible')){
	  $(".notify-bx").hide(500,function(){ $(".notify").removeClass("active");});
	  //$(".notify").removeClass("active");
	}
  else
  {
	if(showCount==1)
	{
		$(".notify-bx").show();   
		$(".notify").addClass("active");
	}
  }
    
    });
   $(document).mouseup(function (e)
{
    var container = $(".notify-bx");

    if (container.has(e.target).length === 0)
    {
        container.hide(1,function(){ $(".notify").removeClass("active");});
		
    }
});
$(".main_menu li:first").addClass("dashboard").find("a").html("<span class='icon-top'></span>");
//$(".dashboard a").append("<span class='icon-top'></span>");
</script><?php }} ?>