Sindbad~EG File Manager

Current Path : /home/frekansk/.trash/wp-content/themes/turitor/template-parts/headers/
Upload File :
Current File : /home/frekansk/.trash/wp-content/themes/turitor/template-parts/headers/header-default.php

<?php
 

   if ( defined( 'FW' ) ) { 
         $header_settings =  turitor_option('theme_header_default_settings');

         if(isset($header_settings['no'])){
            // sticky header
            $course_category_en        = $header_settings['no']['course_category_en'];
            $course_search_en          = $header_settings['no']['course_search_en'];

            $turitor_header_nav_sticky = $header_settings['no']['header_nav_sticky'];
            $turitor_shop_btn_show     = $header_settings['no']['shop_btn_show'];
            $author_btn_show           = $header_settings['no']['author_btn_show'];
            // of canvas 
            $header_offcanvas_settings = $header_settings['no']['header_offcanvas_settings'];
            $header_offcanvas_show     = $header_offcanvas_settings['header_offcanvas_show'];
         
         }
 
   }else{

      $turitor_shop_btn_show     = 'no';
      $turitor_header_nav_sticky = 'no';
      //  offcanvas 
      $header_offcanvas_show     = 'no';
      $author_btn_show           = 'no';
      $course_search_en          = 'no';
      $course_category_en        = 'no';

   }
   $profile_url = '#';
   if (function_exists('learn_press_get_page_link')) {
      $profile_url = learn_press_get_page_link( 'profile' ); 
   }
  
  
?>

<!-- header nav start-->
<div class="header-wrapper">
   
<header id="header" class="header header-default  <?php echo esc_attr($turitor_header_nav_sticky=='yes'?'navbar-sticky':''); ?>">

<!-- navbar container start -->
<div class="navbar-container">
    <div class="container">
                   <nav class="navbar navbar-expand-lg navbar-light">
                      <a class="navbar-brand" href="<?php echo esc_url( home_url('/')); ?>">
                            <img src="<?php 
                               echo esc_url(
                                  turitor_src(
                                     'general_main_logo',
                                     TURITOR_IMG . '/logo/logo-alt.png'
                                  )
                               );
                            ?>" alt="<?php bloginfo('name'); ?>">
                      </a>
                      <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#primary-nav"
                            aria-controls="primary-nav" aria-expanded="false" aria-label="Toggle navigation">
                            <span class="navbar-toggler-icon"><i class="tsicon tsicon-menu"></i></span>
                      </button>
                      <?php get_template_part( 'template-parts/navigations/nav', 'primary' ); ?>
                      <!-- collapse end -->
                      <?php if(defined('FW')): ?>
                         <ul class="header-nav-right-info form-inline">
                            <?php if($author_btn_show == 'yes'): ?>
                               <li class="header-login-user">
                                  <a href="<?php echo esc_url($profile_url); ?>"><i class="tsicon tsicon-user"></i></a>
                               </li>
                            <?php endif; ?>
                            <?php if($turitor_shop_btn_show == "yes"): ?>

                                  <li class="header-cart">
                                     <div class="cart-link">
                                        <a class="cart-contents" href="<?php echo esc_url(learn_press_get_checkout_url()); ?>">
                                        <span class="tsicon tsicon-cart"></span>
                                           <sup> <?php turitor_cart_count(); ?> </sup>
                                        </a>
                                     </div>
                                  </li>
                               <?php endif; ?> 

                               <!-- off canvas -->
                               <?php if($header_offcanvas_show == 'yes'): ?>
                                  <li class="header-humburger">
                                     <a href="#" class="navSidebar-button">
                                        <i class="tsicon tsicon-menu"></i>
                                     </a>
                                  </li>
                               <?php endif; ?>
                         </ul>
                      <?php endif; ?>
                </nav>
                <!-- nav end -->
    </div>
    <!-- container end -->
</div>
<!-- navbar contianer end -->
</header>

</div>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists