<!DOCTYPE html>
<!--[if IE]><![endif]-->
<!--[if IE 8 ]><html dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>" class="ie8"><![endif]-->
<!--[if IE 9 ]><html dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>" class="ie9"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>">
<!--<![endif]-->
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo $title; ?></title>
<base href="<?php echo $base; ?>" />
<?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
<?php if ($keywords) { ?>
<meta name="keywords" content= "<?php echo $keywords; ?>" />
<?php } ?>
    <!-- CSS Global Compulsory -->
    <link rel="stylesheet" href="catalog/view/assets/vendor/bootstrap/bootstrap.min.css">

    <!-- CSS Implementing Plugins -->
    <link rel="stylesheet" href="catalog/view/assets/vendor/icon-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="catalog/view/assets/vendor/icon-line/css/simple-line-icons.css">
    <link rel="stylesheet" href="catalog/view/assets/vendor/icon-hs/style.css">
    <link rel="stylesheet" href="catalog/view/assets/vendor/hamburgers/hamburgers.min.css">
    <link rel="stylesheet" href="catalog/view/assets/vendor/animate.css">
    <link rel="stylesheet" href="catalog/view/assets/vendor/slick-carousel/slick/slick.css">
	<link rel="stylesheet" href="catalog/view/assets/vendor/hs-megamenu/src/hs.megamenu.css">
	<link  rel="stylesheet" href="catalog/view/assets/vendor/animate.css">
  
    <!-- CSS wogaoding -->
    <link rel="stylesheet" href="catalog/view/assets/css/wogaoding.css">
    <link rel="stylesheet" href="catalog/view/assets/css/wogaoding-components.css">
	<link rel="stylesheet" href="catalog/view/assets/css/wogaoding-globals.css">
	
   <!-- CSS Customization -->
    <link rel="stylesheet" href="catalog/view/assets/css/custom.css">

    <!-- JS Global Compulsory -->
    <script src="catalog/view/assets/vendor/jquery/jquery.min.js"></script>
    <script src="catalog/view/assets/vendor/jquery-migrate/jquery-migrate.min.js"></script>
    <script src="catalog/view/assets/vendor/popper.min.js"></script>
    <script src="catalog/view/assets/vendor/bootstrap/bootstrap.min.js"></script>

    <!-- JS Implementing Plugins -->
    <script src="catalog/view/assets/vendor/appear.js"></script>
	<script src="catalog/view/assets/vendor/hs-megamenu/src/hs.megamenu.js"></script>
    <script src="catalog/view/assets/vendor/slick-carousel/slick/slick.js"></script>

    <!-- JS wogaoding -->
    <script src="catalog/view/assets/js/hs.core.js"></script>
    <script src="catalog/view/assets/js/components/hs.header.js"></script>
    <script src="catalog/view/assets/js/helpers/hs.hamburgers.js"></script>
    <script src="catalog/view/assets/js/components/hs.scroll-nav.js"></script>
	<script src="catalog/view/assets/js/components/hs.popup.js"></script>
    <script src="catalog/view/assets/js/components/hs.carousel.js"></script>
    <script src="catalog/view/assets/js/components/hs.go-to.js"></script>
	<script  src="catalog/view/assets/js/components/hs.onscroll-animation.js"></script>

    <!-- JS Customization -->
    <script src="catalog/view/assets/js/custom.js"></script>

  
              <!-- JS Plugins Init. -->
              <script >
                $(document).ready(function () {
 
                  // initialization of carousel
                  $.HSCore.components.HSCarousel.init('.js-carousel');

                  // initialization of go to
                  $.HSCore.components.HSGoTo.init('.js-go-to');				  
      });			  
			
    $(window).on('load', function () {
      // initialization of HSScrollNav component
      $.HSCore.components.HSScrollNav.init($('#js-scroll-nav'), {
        duration: 700
      });
      // initialization of header
      $.HSCore.components.HSHeader.init($('#js-header'));
      $.HSCore.helpers.HSHamburgers.init('.hamburger');	
	  
      // initialization of HSMegaMenu component
      $('.js-mega-menu').HSMegaMenu();	  
	  
                  });
              </script>
			  
<?php foreach ($styles as $style) { ?>
<link href="<?php echo $style['href']; ?>" type="text/css" rel="<?php echo $style['rel']; ?>" media="<?php echo $style['media']; ?>" />
<?php } ?>
<script src="catalog/view/javascript/common.js" type="text/javascript"></script>
<?php foreach ($links as $link) { ?>
<link href="<?php echo $link['href']; ?>" rel="<?php echo $link['rel']; ?>" />
<?php } ?>
<?php foreach ($scripts as $script) { ?>
<script src="<?php echo $script; ?>" type="text/javascript"></script>
<?php } ?>
<?php foreach ($analytics as $analytic) { ?>
<?php echo $analytic; ?>
<?php } ?>
<?php if ($vie_config->get('config_vie_custom_js')) { ?>
<?php echo html_entity_decode($vie_config->get('config_vie_custom_js'), ENT_QUOTES, 'UTF-8'); ?>
<?php } ?> 
 <?php
if(isset($_COOKIE["customer_autologin_cookie"]) && $_COOKIE["customer_autologin_cookie"]!=''){
	$_SESSION['default']['customer_id']=$_COOKIE["customer_autologin_cookie"];
?>
<script>
if (sessionStorage.reloadHeader) {
} else {
    sessionStorage.reloadHeader = 1;
	location.reload();
}
</script>
<?php
}
?>
</head>
<body class="<?php echo $class; ?>">
<main>