<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
    <?php $jellythemes = muziq_jellythemes_theme_options(); ?>
    <meta charset="<?php bloginfo( 'charset' ); ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
  <!-- LOADER -->
  <div id="mask" class="<?php echo (isset($jellythemes['loader']) && $jellythemes['loader'] ? 'disabled' : ''); ?>">
      <div class="loader">
        <div class="cssload-container">
          <div class="cssload-shaft1"></div>
          <div class="cssload-shaft2"></div>
          <div class="cssload-shaft3"></div>
          <div class="cssload-shaft4"></div>
          <div class="cssload-shaft5"></div>
          <div class="cssload-shaft6"></div>
          <div class="cssload-shaft7"></div>
          <div class="cssload-shaft8"></div>
          <div class="cssload-shaft9"></div>
          <div class="cssload-shaft10"></div>
        </div>
      </div>
  </div>
  <?php if (!is_page_template('homepage-soon.php')): ?>
  <!-- HEADER -->
  <header id="jHeader">
    <nav class="navbar navbar-default">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="<?php echo esc_url(home_url('/')); ?>"><img src="<?php echo esc_url($jellythemes['logo']['url']); ?>" alt="<?php echo strip_tags($jellythemes['blogname']); ?>"></a>
      </div>
      <?php $pid = !empty($post) ? get_post_meta($post->ID, '_muziq_jellythemes_menu_name', true) : 0; ?>
      <?php wp_nav_menu(array('container' => 'div', 'menu_class' => 'nav navbar-nav navbar-right','container_id' => 'navbar-muziq', 'container_class' => 'collapse navbar-collapse navbar-ex1-collapse', 'theme_location' => 'main', 'menu' => $pid, 'walker' => new muziq_jellythemes_walker_nav_menu)); ?>
    </nav>
  </header>
  <?php endif; ?>
