<?php

/**

 * The header for our theme

 *

 * This is the template that displays all of the <head> section and everything up until <div id="content">

 *

 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials

 *

 * @package WordPress

 * @subpackage Twenty_Seventeen

 * @since 1.0

 * @version 1.0

 */

global $wpdb;

?><!DOCTYPE html>

<html <?php language_attributes(); ?> class="no-js no-svg">

<head>

<meta charset="<?php bloginfo( 'charset' ); ?>">

<link type="image/ico" rel="icon"  href="<?php echo get_template_directory_uri(); ?>/assets/images/favicon.ico">

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

<link rel="profile" href="http://gmpg.org/xfn/11">

 <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/assets/css/animate.css">

<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/assets/css/bootstrap.min.css">

<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/assets/css/owl.carousel.css">

<link href="<?php echo get_template_directory_uri(); ?>/assets/css/bootstrap-datetimepicker.css" rel="stylesheet">

<link rel="stylesheet" href="/cal_jquery/jquery-ui.css">

<?php wp_head(); ?>

<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/assets/css/responsive.css">



<!-- Global site tag (gtag.js) - Google Analytics -https://www.sacramentolimousineservice.net/-->

<script src="https://www.googletagmanager.com/gtag/js?id=UA-157983220-1"></script>

<script>

  window.dataLayer = window.dataLayer || [];

  function gtag(){dataLayer.push(arguments);}

  gtag('js', new Date());

  gtag('config', 'UA-157983220-1');

</script>

</head>

<?

global $CustomerId;

$CustomerId=$_COOKIE["cookCustomersId"];

$wppageid=get_the_ID();

//echo $wppageid;

?>	

<body <?php body_class(); ?>>

<div id="page" class="site">

<? if($wppageid==2482){}else{?>

<!--#header-->

<header id="masthead" class="site-header" role="banner">

   <div class="headerTopStrip">

   <div class="container">   

	   

	 <?php wp_nav_menu( array('theme_location' => 'headerTopMenu', 'container' => 'ul', 'menu_class'=> 'headerMenu headerLeft Cf' ) ); ?>

	    <?php //wp_nav_menu( array('theme_location' => 'top-right-menu', 'container' => 'ul', 'menu_class'=> 'headerMenu headerRight Cf' ) ); ?>	   

<ul id="menu-top-right-menu" class="headerMenu headerRight Cf">

        <? if($CustomerId!=''){								

				$ul_customers_name=$_COOKIE["cookCustomersName"];

		?>

        <li id="menu-item-1721" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-1204 current_page_item menu-item-1721 welcomText"><a href="/customer-page.php">Welcome,

          <?=$ul_customers_name?> <span class="tx-account-reservation"><span class="tx-m-account">My Account</span> (View Reservation) </span>

          </a></li>

        <li id="menu-item-1744" class="linkBtn menu-item menu-item-type-custom menu-item-object-custom menu-item-1744 logoutBtn"><a href="/proccessform.php?actions=logoutcustomer">Logout</a></li>

        <? }else{?>

        <li id="menu-item-1744" class="linkBtn menu-item menu-item-type-custom menu-item-object-custom menu-item-1744"><a href="/affiliates/">Drive for us</a></li>

        <li id="menu-item-1721" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-1204 current_page_item menu-item-1721 signInBtn"><a href="/sign-in/">Sign in</a></li>

        <li id="menu-item-1722" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1722"><a href="/blog/">Blog</a></li>

        <? }?>

      </ul>

   </div>

   </div>

    <!--/.headerTopStrip -->

    <div class="logoAndNavBar">

      <div class="container">

    <div class="navbar-header"><a class="navbar-brand" href="/"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/logo.png" width="377" height="65" alt="Limo Service Sacramento" title="Limo Service Sacramento homepage"></a>

          </div>

          <!--/.logobar -->

          <div class="hedaerRight">

            <?php wp_nav_menu( array('theme_location' => 'top', 'container' => 'ul', 'menu_class'=> 'nav navbar-nav navbar-right' ) ); ?>

          </div>

          <!--/.navbar-collapse --> 

          

       

      </div>

      <!--/.container --> 

    </div>

    <!--/.logoAndNavBar --> 

  </header>  

  <!--/#header--> 

  

  <? }?>

  

   <!--/.divButtonTRow --> 

     <div class="divButtonTRow">

<div class="container">

 <!-- <a href="#reviewsModal" data-toggle="modal" class="CommanBtnwr ourReviewsBtn mSizeHide"><i class="fa fa-star-o"></i> Our Reviews</a>

  <a href="#reviewsModal" data-toggle="modal" class="CommanBtnwr ourReviewsBtn mSizeShow"><i class="fa fa-star-o"></i> Reviews</a>-->

<?php if ( is_page_template( 'ride-summary-temp.php' )  ) { ?>

 <?php } else {?>

		<? if($wppageid==2420){}else{?> 

		   <a class="CommanBtnwr BtngetRates" href="javascript:OpenSearchModel(1);"><i class="fa fa-usd"></i> Get Rates</a>

   		<? }?>	

  <?php }?> 

  <a class="CommanBtnwr BtnCotactUs" href="tel:916-325-5555"><i class="fa fa-phone"></i> 916-325-5555</a>

</div>

</div>

  <!--/.divButtonTRow --> 

		

		

		<div class="divCovButtonTRow divCovButtontemphide divCovButtonTopPos dSizeHide">

<a href="#covidPoupup" data-toggle="modal" class="CommanBtnwr covidBtn"> <i class="fa fa-exclamation-triangle"></i> Covid-19 Update</a>

<a href="#ReviewsSectionWr" class="CommanBtnwr ourReviewsBtn"> <i class="fa fa-star" aria-hidden="true"></i>

 Our Reviews</a>

	</div>

		

		

	<div class="site-content-contain" >

		<div id="content" class="site-content">

