<?php /* Smarty version Smarty-3.1.8, created on 2019-10-16 13:46:14
         compiled from "/home/stg70/public_html/agmc-v2/application/core/views/frontend/custom/CommonTop.tpl" */ ?>
<?php /*%%SmartyHeaderCode:7138846795da6e6e6eed6d9-57865569%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'daab7030f05d425ea162f246bbc0798b28d8d045' => 
    array (
      0 => '/home/stg70/public_html/agmc-v2/application/core/views/frontend/custom/CommonTop.tpl',
      1 => 1571049180,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '7138846795da6e6e6eed6d9-57865569',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'pageAccess' => 0,
    'view_images' => 0,
    'language' => 0,
    'resHeaderTopBlock' => 0,
    'static' => 0,
    'defaultLogo' => 0,
    'commonSiteName' => 0,
    'view_public_path' => 0,
    'commonCompanyLogo' => 0,
    'view_common_languages' => 0,
    'commonUserID' => 0,
    'showCartNotification' => 0,
    'AjaxCurrLanguage' => 0,
    'currencyForJS' => 0,
    'productsToJs' => 0,
    '__ANALYTICS_MODULE' => 0,
    '__AFFILIATE_MODULE' => 0,
    'targetPath' => 0,
    'targetPathType' => 0,
    'statPageName' => 0,
    'cartToJs' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5da6e6e702bb51_97206776',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5da6e6e702bb51_97206776')) {function content_5da6e6e702bb51_97206776($_smarty_tpl) {?><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"pageAccess",'id'=>"pageAccess",'value'=>($_smarty_tpl->tpl_vars['pageAccess']->value)),$_smarty_tpl);?>

<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"trackItem",'value'=>''),$_smarty_tpl);?>



<div class="pop_loader hide"> <div class="light-bg padding">
<img src="<?php echo $_smarty_tpl->tpl_vars['view_images']->value;?>
/loader-small.gif" width="64" height="64" alt="Loding"> <?php echo $_smarty_tpl->tpl_vars['language']->value['lblLoading'];?>
</div></div>
<div class="hide-content"></div>
<div class="popupUpSubscribe active" style="display:block;"></div>


 <?php if ((($tmp = @$_smarty_tpl->tpl_vars['resHeaderTopBlock']->value)===null||$tmp==='' ? '' : $tmp)){?>
<div class="bg-dark staticblock d-none d-lg-block"><div class="container  text-center py-1 font-small font-semibold">
    <a href="javascript:void(0);" class="float-right icon-cross-medium text-white close-static"></a>
     <?php  $_smarty_tpl->tpl_vars["static"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["static"]->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['resHeaderTopBlock']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["static"]->key => $_smarty_tpl->tpl_vars["static"]->value){
$_smarty_tpl->tpl_vars["static"]->_loop = true;
?>
     	<?php if ($_smarty_tpl->tpl_vars['static']->value['hideTitle']!='Yes'){?><?php echo htmlspecialchars_decode($_smarty_tpl->tpl_vars['static']->value['blockTitle'], ENT_QUOTES);?>
<?php }?>
         <?php echo htmlspecialchars_decode($_smarty_tpl->tpl_vars['static']->value['blockContent'], ENT_QUOTES);?>

       <?php } ?>
    </div>
    </div>
<?php }?> 
<header class="bg-grey">
    <div class="container clearfix">
        <div class="row position-relative">
               
            <div class="col align-self-center">
                <a href="javascript:void(0);" class="d-lg-none d-inline-flex text-white py-2 menu-icon float-left"><i class="icon-menu"></i></a>
                <nav class="main-menu d-lg-flex flex-lg-row flex-column font-small font-semibold p-lg-0 p-3 text-left">
                <?php echo $_smarty_tpl->smarty->registered_objects['custommenu'][0]->showMenu(array('menukey'=>'main_navigation','seperator'=>'li'),$_smarty_tpl);?>

                <div class="d-flex ml-lg-auto order-lg-last order-first align-items-lg-center align-items-end mb-lg-0 mb-4">
                    <a href="javascript:void(0);" class="d-inline-flex d-lg-none position-absolute pr-3 pt-3 right-0 top-0 text-muted menu-close"><i class="icon-close"></i></a>
                    <div class="d-lg-none d-inline-block mr-3">
                        <?php if ($_smarty_tpl->tpl_vars['defaultLogo']->value){?> 
                        <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"/",'title'=>($_smarty_tpl->tpl_vars['commonSiteName']->value),'class'=>"img-fluid",'target'=>"_self",'content'=>"<img src='".($_smarty_tpl->tpl_vars['view_public_path']->value)."/uploads/languages/logo/".($_smarty_tpl->tpl_vars['defaultLogo']->value)."' alt='".($_smarty_tpl->tpl_vars['commonSiteName']->value)."' class='img-fluid'>"),$_smarty_tpl);?>

                        <?php }else{ ?>
                            <?php if ($_smarty_tpl->tpl_vars['commonCompanyLogo']->value){?> 
                                <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"/",'title'=>($_smarty_tpl->tpl_vars['commonSiteName']->value),'class'=>"img-fluid",'target'=>"_self",'content'=>"<img src='".($_smarty_tpl->tpl_vars['commonCompanyLogo']->value)."' border='0' alt='".($_smarty_tpl->tpl_vars['commonSiteName']->value)."' class='img-fluid'>"),$_smarty_tpl);?>

                            <?php }else{ ?>
                            <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"/",'title'=>($_smarty_tpl->tpl_vars['commonSiteName']->value),'caption'=>($_smarty_tpl->tpl_vars['commonSiteName']->value)),$_smarty_tpl);?>

                            <?php }?> 
                        <?php }?>
                    </div>
                    <?php echo $_smarty_tpl->smarty->registered_objects['custommenu'][0]->showMenu(array('menukey'=>'main-utility','seperator'=>'li'),$_smarty_tpl);?>

                    <?php if (count($_smarty_tpl->tpl_vars['view_common_languages']->value)>1){?>
                    <div class="mr-auto">
                    <?php echo $_smarty_tpl->getSubTemplate ('CommonLanguageOptions.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

                    </div>
                    <?php }?>
                </div>
                </nav> 
            </div>  
              
               
            <div class="col-auto logo-blk"> 
                <div class="logo-inner-blk position-absolute" id="logo">
			    <?php if ($_smarty_tpl->tpl_vars['defaultLogo']->value){?> 
			     <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"/",'title'=>($_smarty_tpl->tpl_vars['commonSiteName']->value),'class'=>"img-fluid",'target'=>"_self",'content'=>"<img src='".($_smarty_tpl->tpl_vars['view_public_path']->value)."/uploads/languages/logo/".($_smarty_tpl->tpl_vars['defaultLogo']->value)."' alt='".($_smarty_tpl->tpl_vars['commonSiteName']->value)."' class='img-fluid'>"),$_smarty_tpl);?>

                <?php }else{ ?>
                    <?php if ($_smarty_tpl->tpl_vars['commonCompanyLogo']->value){?> 
                        <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"/",'title'=>($_smarty_tpl->tpl_vars['commonSiteName']->value),'class'=>"img-fluid",'target'=>"_self",'content'=>"<img src='".($_smarty_tpl->tpl_vars['commonCompanyLogo']->value)."' border='0' alt='".($_smarty_tpl->tpl_vars['commonSiteName']->value)."' class='img-fluid'>"),$_smarty_tpl);?>

					<?php }else{ ?>
					   <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"/",'title'=>($_smarty_tpl->tpl_vars['commonSiteName']->value),'caption'=>($_smarty_tpl->tpl_vars['commonSiteName']->value)),$_smarty_tpl);?>

					<?php }?> 
                <?php }?>
                </div>
            </div>
            <?php $_smarty_tpl->tpl_vars["commonUserID"] = new Smarty_variable((($tmp = @$_smarty_tpl->tpl_vars['commonUserID']->value)===null||$tmp==='' ? '' : $tmp), null, 0);?>
            <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"redirectLoginUrl",'id'=>"redirectLoginUrl"),$_smarty_tpl);?>

             
        </div>
    </div>

<script type="text/javascript">	
    var showCartNotification = "<?php echo (($tmp = @$_smarty_tpl->tpl_vars['showCartNotification']->value)===null||$tmp==='' ? '' : $tmp);?>
";
    var AjaxCurrLanguage     =  "<?php echo (($tmp = @$_smarty_tpl->tpl_vars['AjaxCurrLanguage']->value)===null||$tmp==='' ? '' : $tmp);?>
";
    var lblYourShoppingCart = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblYourShoppingCart'];?>
";
    var lblYourCart = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblYourCart'];?>
";
    var lblCartEmpty = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartEmpty'];?>
";
    var lblUpdate = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblUpdate'];?>
";
    var lblCartSubTotal = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartSubTotal'];?>
";
    var lblCartTotal = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartTotal'];?>
";
    var lblCartContinueShopping = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartContinueShopping'];?>
";
    var lblContinue             = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblContinue'];?>
";
    var lblContinueShopping     = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblContinueShopping'];?>
";
    var lblCartItemNameAddedSuccessfully= "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartItemNameAddedSuccessfully'];?>
";
    var lblThere                  = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblThere'];?>
";
    var lblItemsInShopping        = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblItemsInShopping'];?>
";
    var lblItemInShopping         = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblItemInShopping'];?>
";
    var lblCartCheckOut = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartCheckOut'];?>
";
    var lblCartClose = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartClose'];?>
";
    var lblCartItems = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartItems'];?>
";
    var lblCartStockNotAvailable = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartStockNotAvailable'];?>
";
    var lblCartYouHaveExceededLimit = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartYouHaveExceededLimit'];?>
";
    var lblCartProductTypeMisMatch = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartProductTypeMisMatch'];?>
";
    var lblCartInvalidCurrencyConfig = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartInvalidCurrencyConfig'];?>
";
    var lblCartCurrencyNotMatching = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartCurrencyNotMatching'];?>
";
    var lblCartProductNotTipped = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartProductNotTipped'];?>
";
    var lblCartItemAddedSuccessfully = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartItemAddedSuccessfully'];?>
";
    var lblCartItemRemovedSuccessfully = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartItemRemovedSuccessfully'];?>
";
    var lblCartItemsRemovedSuccessfully = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartItemsRemovedSuccessfully'];?>
";
    var lblPromoDiscount = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblPromoDiscount'];?>
";
    var lblAccountCredit = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblAccountCredit'];?>
";
    var lblServiceCharge = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblServiceCharge'];?>
";
    var lblShippingCharge = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblShippingCharge'];?>
";
    var lblTaxAmount = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblTaxAmount'];?>
";
    var msgConfirmGift = "<?php echo $_smarty_tpl->tpl_vars['language']->value['msgConfirmGift'];?>
";
    var lblItem = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblItem'];?>
";
    var lblQty = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblQty'];?>
";
    var lblUnitPrice = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblUnitPrice'];?>
";
    var lblDeleteItem = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblDeleteItem'];?>
";
    var lblCartProductNotTippedExisting = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartProductNotTippedExisting'];?>
";
    var lblCartPleaseSaveGiftDetails = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartPleaseSaveGiftDetails'];?>
";
    var currencyForJS = <?php echo $_smarty_tpl->tpl_vars['currencyForJS']->value;?>
;
    var lblCartSingleItemCheckoutError = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartSingleItemCheckoutError'];?>
";
    var lblCartSingleItemsCheckoutError = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblCartSingleItemsCheckoutError'];?>
";
    var AlertText= '<?php echo $_smarty_tpl->tpl_vars['language']->value['lblAlert'];?>
';
    <?php if ((($tmp = @$_smarty_tpl->tpl_vars['productsToJs']->value)===null||$tmp==='' ? '' : $tmp)!=''){?>
    var products= <?php echo $_smarty_tpl->tpl_vars['productsToJs']->value;?>
;
    <?php }?>
    var __ANALYTICS_MODULE	= <?php echo $_smarty_tpl->tpl_vars['__ANALYTICS_MODULE']->value;?>
;
    var __AFFILIATE_MODULE	= <?php echo $_smarty_tpl->tpl_vars['__AFFILIATE_MODULE']->value;?>
;
    var targetPath			= "<?php echo $_smarty_tpl->tpl_vars['targetPath']->value;?>
";
    var targetPathType		= "<?php echo $_smarty_tpl->tpl_vars['targetPathType']->value;?>
";
    var statPageName		= "<?php echo (($tmp = @$_smarty_tpl->tpl_vars['statPageName']->value)===null||$tmp==='' ? '' : $tmp);?>
";
    var enterOrderID		= "<?php echo $_smarty_tpl->tpl_vars['language']->value['errEnterOrderID'];?>
";
    var errValidOrderID		= "<?php echo $_smarty_tpl->tpl_vars['language']->value['errValidOrderID'];?>
";
    var msgCheckEmail		= "<?php echo $_smarty_tpl->tpl_vars['language']->value['msgCheckEmail'];?>
";
</script>
   <?php echo (($tmp = @$_smarty_tpl->tpl_vars['cartToJs']->value)===null||$tmp==='' ? '' : $tmp);?>


<span class="mask"></span>
</header>
<?php }} ?>