<?php

/*

Template Name: Vehicle Selection page

*/

get_header();

require("customfunction.php");  

require("islogin.php");  

require("headersearch.php");

//$sessionid='a1qujjhoiofso6ctkhbqghtg4kg1';

///////////////////Global Limos///////////////////////////

$guid=$_REQUEST["guid"];

$apiUrl=$apiBaseUrl."/api/search/list.php?apikey=".$apiKey."&time=".$time;

$postdata=$postdata.'&guid='.$guid.'';

$resp=GetApiData($apiUrl,$postdata);

//print_r($resp);	

$responseJO=json_decode($resp);

//print_r($responseJO);

$is_expired=$responseJO->is_expired;

$issearchresult=$responseJO->issearchresult;

$searchresult=$responseJO->searchresult;

if($responseJO->services_id==1000){

	$autocompletePH="Pickup: Address, City, or Zip";

	$autocompletePH_DA="Drop-off: Airport Name, Code Or City";

}else if($responseJO->services_id==1001){

	$autocompletePH="Pickup: Airport Name, Code Or City";

	$autocompletePH_DA="Drop-off: Address, City, or Zip";

}else if($responseJO->services_id==1002){

	$autocompletePH="Pickup: Address, City, or Zip";

	$autocompletePH_DA="Drop-off: Address, City, or Zip";

}else{

	$autocompletePH="Pickup: Address, City, or Zip";

}

?>

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

<div class="fixDiscountimg desktopShow"> <a href="javascript:openTopPopup();"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/unlock-discounts.png" alt="Unlock Discounts"> </a> </div>

<? }?>

<section id="contentPart" class="contentPart">

  <section id="contentArea" class="contentArea">

    <div class="for-mobile">

      <div class="mob-location">

        <div class="normalServicesAdd">

          <div class="tripInf">

            <p class="dateAndTime">

              <?=date('D, F d',strtotime($responseJO->pickup_date))?>

              at

              <?=date('h:i A',strtotime($responseJO->pickup_time))?>

              <? if($responseJO->services_id==1003){?>

              -

              <?=$responseJO->no_of_hrs?>

              Hr

              <? }?>

            </p>

            <? if($responseJO->services_id==1000 || $responseJO->services_id==1001){?>

            <span class="departingTitleMob">Departing Trip</span>

            <? }?>

          </div>

          <p class="pickAddress">Pickup

            <?=$responseJO->pickup_address?>

          </p>

          <? if($responseJO->dropoff_address!=''){?>

          <p class="dropAddress">Drop-off

            <?=$responseJO->dropoff_address?>

          </p>

          <? }?>

        </div>

        <? if($responseJO->is_round_trip==1){?>

        <div class="returnTripDiv">

          <div class="tripInf">

            <p class="dateAndTime">

              <?=date('D, F d',strtotime($responseJO->roundTripPickupdateAP))?>

              at

              <?=date('h:i A',strtotime($responseJO->roundTripPickuptimeAP))?>

            </p>

            <span class="returnTitleMob">Return Trip</span> </div>

          <p class="pickAddress">Pickup

            <?=$responseJO->dropoff_address?>

          </p>

          <p class="dropAddress">Drop-off

            <?=$responseJO->pickup_address?>

          </p>

        </div>

        <? }?>

        

        <!--<div class="NeedhelpBooking text-center"><span class="infopopupwrapbx"><span class="helpPhoneNumber"><a href="tel:916-444-3344"><i class="fa fa-phone"></i> 916-444-3344</a></span> <div class="popupContWrap"><a href="#" class="infoIcondes"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/icon-info.png" alt=""></a></div>

<div class="infoSmallPopupWrap" style="display: none;"><a href="#" class="smallCloseBtn">X</a>

We recommend you to book online to get this exclusive-online discount of <span class="discountoffer"><?=$perSave?>% off</span> But, if you need any immediate help, you may call us at <a href="tel:916-444-3344">916-444-3344</a>

</div>

</span>

</div>-->

        

        <div class="commonInf">

          <p class="noOfPeople">

            <?=$responseJO->no_of_passengers?>

            People</p>

          <p class="events">

            <?=getServiceName($responseJO->services_id,$responseJO->services_id_B)?>

          </p>

        </div>

        <div class="locedit"> <? if($CustomerId==''){?><span class="Divunlockdiscountsbtn"> <a class="unlockDiscountsBtn" href="javascript:openTopPopup();"><i class="fa fa-lock" aria-hidden="true"></i> Unlock Discounts</a> </span><? }?> <a href="#" class="loceditBtn">Change Search</a> </div>

      </div>

      <div class="mobileFormWrap"> 

        <!-- <a href="#" class="closeBtn">X</a>-->

        <div class="formVsWrap">

          <?php include('search-form-temp.php');?>

        </div>

      </div>

    </div>

    <div class="container">

      <div class="fordesktop">

        <div class="pickup-top-section">

          <div class="pickup-header-section">

            <ul class="PickuplistSelection changeWidth">

              <li class="pickup-drop-rental calenderIcon">

                <h3>Pickup Date</h3>

                <?=date('D, F d, Y',strtotime($responseJO->pickup_date))?>

              </li>

              <li class="pickup-drop-rental">

                <h3>Pickup Time</h3>

                <?=date('h:i A',strtotime($responseJO->pickup_time))?>

              </li>

              <li class="dropOffTime" <? if($responseJO->services_id==1000 || $responseJO->services_id==1001){?>style="display:none;"<? }?>>

                <h3>Drop-off Time</h3>

                <?=date('h:i A',strtotime($responseJO->dropup_time))?>

              </li>

              <li class="rentalPeriod1" <? if($responseJO->services_id==1000 || $responseJO->services_id==1001){?>style="display:none;"<? }?>>

                <h3>Rental-Period</h3>

                <?=$responseJO->no_of_hrs?>

                Hr</li>

              <li class="passengers">

                <h3>No. of People</h3>

                <?=$responseJO->no_of_passengers?>

                Passengers</li>

              <li class="pickup-drop-rental serviceIcon">

                <h3>Service Type</h3>

                <?=getServiceName($responseJO->services_id,$responseJO->services_id_B)?>

              </li>

              <li class="address">

                <h3>Pickup Address</h3>

                <?=$responseJO->pickup_address?>

              </li>

              <? if($responseJO->dropoff_address!=''){?>

              <li class="address">

                <h3>Drop-off Address</h3>

                <?=$responseJO->dropoff_address?>

              </li>

              <? }?>

            </ul>

            <div class="Txtchangesearch">

              <? if($responseJO->services_id==1000 || $responseJO->services_id==1001){?>

              <h3 class="dipatingTripTitle">Departing Trip</h3>

              <? }?>

              <a href="#">Change Search</a></div>

          </div>

          <? if($responseJO->is_round_trip==1){?>

          <? }?>

          <script>

function checkSearchform(){	

	var IsValid = true;

	var is_round_trip=$("#is_round_trip").attr("checked") ? 1 : 0;

	if(parseInt(is_round_trip)==1){

		var roundTripPickuptimeAP = $('#roundTripPickuptimeAP').val();

		if(roundTripPickuptimeAP == ''){

			$('#roundTripPickuptimeAP').css("border", "2px solid #FF0000");

			IsValid = false;

		}

		else{

			$('#roundTripPickuptimeAP').css("border", "1px solid #a1a1a1");

		}

		var roundTripPickupdateAP = $('#roundTripPickupdateAP').val();

		if(roundTripPickupdateAP == ''){

			$('#roundTripPickupdateAP').css("border", "2px solid #FF0000");

			IsValid = false;

		}

		else{

			$('#roundTripPickupdateAP').css("border", "1px solid #a1a1a1");

		}

	}

	var services_id = $('#services_id').val();

	if(services_id == ''){

		$('#services_id').css("border", "2px solid #FF0000");

		IsValid = false;

	}

	else{

		$('#services_id').css("border", "1px solid #a1a1a1");

	}

	var pickup_date = $('#pickup_date').val();

	if(pickup_date == ''){

		$('#pickup_date').css("border", "2px solid #FF0000");

		IsValid = false;

	}

	else{

		$('#pickup_date').css("border", "1px solid #a1a1a1");

	}

	var pickup_timeH = $('#pickup_timeH').val();

	if(pickup_timeH == ''){

		$('#pickup_timeH').css("border", "2px solid #FF0000");

		IsValid = false;

	}

	else{

		$('#pickup_timeH').css("border", "1px solid #a1a1a1");

	}

	var no_of_passengers = $('#no_of_passengers').val();

	if(no_of_passengers == ''){

		$('#no_of_passengers').css("border", "2px solid #FF0000");

		IsValid = false;

	}

	else{

		$('#no_of_passengers').css("border", "1px solid #a1a1a1");

	}

	var autocomplete = $('#autocomplete').val();

	if(autocomplete == ''){

		$('#autocomplete').css("border", "2px solid #FF0000");

		IsValid = false;

	}

	else{

		$('#autocomplete').css("border", "1px solid #a1a1a1");

	}

	

	if(services_id==1000 || services_id==1001 || services_id==1002){		

		var autocomplete_DA = $('#autocomplete_DA').val();

		if(autocomplete_DA == ''){

			$('#autocomplete_DA').css("border", "2px solid #FF0000");

			IsValid = false;

		}

		else{

			$('#autocomplete_DA').css("border", "1px solid #a1a1a1");

		}		

	}else{

		var no_of_hrs = $('#no_of_hrs').val();

		if(no_of_hrs == ''){

			$('#no_of_hrs').css("border", "2px solid #FF0000");

			IsValid = false;

		}

		else{

			$('#no_of_hrs').css("border", "1px solid #a1a1a1");

		}		

	}

	

	if(IsValid==true){

		$('#loadingsearch').html('<center><img class="Iconsimg" src="/ajax-loading.gif" alt="Ajax Loading"></center>');

	}	

	return IsValid;	

}

function changeSalection(services_id,isfrom){

	if(isfrom=='desktop'){

		if(services_id==1000 || services_id==1001 || services_id==1002){

			$('.allTripsDiv').show();

			$('.dropTime1').hide();

			$('.rentalPeriod').hide();	

			$('.dropoffAddressFeild').show();	

		}else{

			$('.allTripsDiv').hide();

			$('.dropTime1').show();

			$('.rentalPeriod').show();		

			$('.dropoffAddressFeild').hide();

		}

	}

	if(services_id==1000){

		$('#autocomplete').attr("placeholder", "Pickup: Address, City, or Zip");

		$('#autocomplete_DA').attr("placeholder", "Drop-off: Airport Name, Code Or City");

	}else if(services_id==1001){

		$('#autocomplete').attr("placeholder", "Pickup: Airport Name, Code Or City");

		$('#autocomplete_DA').attr("placeholder", "Drop-off: Address, City, or Zip");

	}else if(services_id==1002){

		$('#autocomplete').attr("placeholder", "Pickup: Address, City, or Zip");

		$('#autocomplete_DA').attr("placeholder", "Drop-off: Address, City, or Zip");

		$('.dropoffAddressFeild').show();

	}else{

		$('#autocomplete').attr("placeholder", "Pickup: Address, City, or Zip");

	}

	if(services_id==27){

		$('#no_of_hrs').val(6);

		getDropupTime();

	}		

}

function openVPopup(sval){

	$("#mobileVDIP"+sval).addClass("infoPopup active");	

	$("body").addClass("overFlowhidden");

}

jQuery(document).ready(function(){

changeSalection_Mo(<?=$responseJO->services_id?>,<?=$responseJO->services_id_B?>,'mobile');

$(".VehicleinfoIcon").click(function(event){

event.preventDefault();	

							});	

	

});

jQuery(window).load(function(){

setTimeout(function(){

    $("#loading").hide();

},500);

});

</script>

          <form action="/proccessform.php?actions=apisearchfleets"  name="frmsearch" id="frmsearch_R" method="post" onsubmit="return checkSearchform();">

            <input type="hidden" id="searchfrom" name="searchfrom" value="Web"/>

            <input type="hidden" id="customers_id" name="customers_id" value="<?=$CustomerId?>"/>

            <div class="vehicle-container" id="searchFiltersWrap"> <a href="#" class="smallCloseBtn">Close</a>

              <div class="vehicleselect">

                <select name="services_id" id="services_id" class="vehicleselection selectYourVeRideMain" onchange="changeSalection(this.value,'desktop');">

                  <option value="">Select your ride</option>

                  <?=fnGetSearchService($responseJO->services_id,$responseJO->services_id_B)?>

                </select>

              </div>

              <h3 class="derpartingTrip">Departing Trip</h3>

              <div class="vehicle-choose">

                <ul class="vehicle-fields">

                  <li class="pickupDate">

                    <label>Pickup Date</label>

                    <input type="text" class="form-control datepicker" placeholder="<?=date('m/d/Y',strtotime($responseJO->pickup_date))?>" value="<?=date('m/d/Y',strtotime($responseJO->pickup_date))?>" id="pickup_date" name="pickup_date"/>

                  </li>

                  <li class="pickDataTime">

                    <label>Pickup Time</label>

                    <div class="timePickerWrap timeList">

                      <div class="TimeWrap">

                        <? $pickup_timeA=explode(':',$responseJO->pickup_time,2);?>

                        <select id="pickup_timeH" name="pickup_timeH" onchange="getDropupTime();" class="form-control">

                          <option value="">Pickup Time</option>

                          <?=fnGetSearchTime($pickup_timeA[0])?>

                        </select>

                      </div>

                      <div class="TimeWrap MinWrap">

                        <select id="pickup_timeM" name="pickup_timeM" onchange="getDropupTime();">

                          <option value="" disabled="">Pickup Min</option>

                          <option value="00" <? if($pickup_timeA[1]=="00"){?> selected="selected"<? }?>>:00</option>

                          <option value="15" <? if($pickup_timeA[1]=="15"){?> selected="selected"<? }?>>:15</option>

                          <option value="30" <? if($pickup_timeA[1]=="30"){?> selected="selected"<? }?>>:30</option>

                          <option value="45" <? if($pickup_timeA[1]=="45"){?> selected="selected"<? }?>>:45</option>

                        </select>

                      </div>

                    </div>

                  </li>

                  <li class="dropTime1" <? if($responseJO->services_id==1000 || $responseJO->services_id==1001){?>style="display:none;"<? }?>>

                    <label>Drop-off Time</label>

                    <div class="timePickerWrap timeList">

                      <div class="TimeWrap">

                        <? $dropup_timeA=explode(':',$responseJO->dropup_time,2);?>

                        <select id="dropup_timeH" name="dropup_timeH" onchange="getDropupTimeHr();" class="form-control">

                          <option value="">Drop-Off Time</option>

                          <?=fnGetSearchTime($dropup_timeA[0])?>

                        </select>

                      </div>

                      <div class="TimeWrap MinWrap">

                        <select id="dropup_timeM" name="dropup_timeM" onchange="getDropupTimeHr();">

                          <option value="" disabled="">Drop-Off Min</option>

                          <option value="00" <? if($dropup_timeA[1]=="00"){?> selected="selected"<? }?>>:00</option>

                          <option value="15" <? if($dropup_timeA[1]=="15"){?> selected="selected"<? }?>>:15</option>

                          <option value="30" <? if($dropup_timeA[1]=="30"){?> selected="selected"<? }?>>:30</option>

                          <option value="45" <? if($dropup_timeA[1]=="45"){?> selected="selected"<? }?>>:45</option>

                        </select>

                      </div>

                    </div>

                  </li>

                  <li class="rentalPeriod"  <? if($responseJO->services_id==1000 || $responseJO->services_id==1001){?>style="display:none;"<? }?>>

                    <label>Rental-Period</label>

                    <input type="text" class="form-control" id="no_of_hrs" name="no_of_hrs" value="<?=$responseJO->no_of_hrs?>"/>

                  </li>

                  <li class="pessengersFeilds">

                    <label>No. of People</label>

                    <select id="no_of_passengers" name="no_of_passengers" class="form-control">

                      <option value="">Number of passengers?</option>

                      <?					

			for($i=1;$i<=50;$i=$i+1){

				if($i<10){

					$ddText="0".$i;

				}else{

					$ddText=$i;

				}

			?>

                      <option value="<?=$ddText?>" <? if($responseJO->no_of_passengers==$ddText){?> selected="selected"<? }?>>

                      <?=$ddText?>

                      </option>

                      <? }?>

                    </select>

                  </li>

                  <?	   

			if($responseJO->services_id==1000){

				$autocompletePH="Pickup: Address, City, or Zip";

				$autocompletePH_DA="Drop-off: Airport Name, Code Or City";

			}else if($responseJO->services_id==1001){

				$autocompletePH="Pickup: Airport Name, Code Or City";

				$autocompletePH_DA="Drop-off: Address, City, or Zip";

			}else if($responseJO->services_id==1002){

				$autocompletePH="Pickup: Address, City, or Zip";

				$autocompletePH_DA="Drop-off: Address, City, or Zip";

			}else{

				$autocompletePH="Pickup: Address, City, or Zip";

			}

	   ?>

                  <li class="pickAddress">

                    <label>Pickup Address</label>

                    <input type="text" class="form-control locationIcon topLocation" placeholder="<?=$autocompletePH?>" id="autocomplete" name="autocomplete" value="<?//=$responseJO->pickup_address?>">

                    <input id="street_number" name="street_number" type="hidden"/>

                    <input id="country" name="country" type="hidden"/>

                    <input type="hidden" id="route" name="route" value="<?=$responseJO->pa_address?>"/>

                    <input type="hidden" id="locality" name="locality" value="<?=$responseJO->pa_city?>"/>

                    <input type="hidden" id="administrative_area_level_1" name="administrative_area_level_1" value="<?=$responseJO->pa_state?>"/>

                    <input type="hidden" id="postal_code" name="postal_code" value="<?=$responseJO->pa_zip?>"/>

                  </li>

                  <li class="dropoffAddressFeild" <? if($responseJO->services_id==1003){?>style="display:none;"<? }?>>

                    <label>Drop-off Address</label>

                    <input type="text" class="form-control locationIcon" placeholder="<?=$autocompletePH_DA?>"  name="autocomplete_DA" id="autocomplete_DA" value="<?//=$responseJO->dropoff_address?>"/>

                    <input id="street_number_DA" name="street_number_DA" type="hidden"/>

                    <input id="country_DA" name="country_DA" type="hidden"/>

                    <input type="hidden" id="route_DA" name="route_DA" value="<?=$responseJO->da_address?>"/>

                    <input type="hidden" id="locality_DA" name="locality_DA" value="<?=$responseJO->da_city?>"/>

                    <input type="hidden" id="administrative_area_level_1_DA" name="administrative_area_level_1_DA" value="<?=$responseJO->da_state?>"/>

                    <input type="hidden" id="postal_code_DA" name="postal_code_DA" value="<?=$responseJO->da_zip?>"/>

                  </li>

                </ul>

                <div class="searchBtn">

                  <input type="submit" class="smtbtn" value="submit" />

                </div>

              </div>

            </div>

          </form>

        </div>

        <section class="reviewCols cf" id="reviewCols">

  <div class="row">

  <div class="col-sm-4">

  <div class="ReviewinfoBox">

  <div class="titleWithIcon">

  <span class="roundIcon customerSupport"></span>

 <h2>Customer Support</h2>

</div>

  <p>Concord Limos has top-notch customer support</p>

  <div class="NeedhelpBooking"><span class="infopopupwrapbx"><span class="txtNeedHelpBooking">Need help?</span> <span class="helpPhoneNumber"><a href="tel:916-325-5555"><i class="fa fa-phone"></i> 916-325-5555</a></span> <div class="popupContWrap"><a href="#" class="infoIcondes"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/icon-info.png" alt=""></a></div>

 <div class="infoSmallPopupWrap padding0" style="display: none;">

		<a href="#" class="smallCloseBtn">X</a>

		<div class="modalheaderDiv">

        <h4 class="modalheadtitle">Should you call us to book or complete booking online now?</h4>

					

						</div>

						<div class="infoSmallPopupInnerWrap">

		To get the exclusive online-discount of <span class="clrGreen"><strong><?=$perSave?>% off</strong></span> book online now (no payment is charged on booking). After completing booking, you can even call us a 100 times &#128578; to make any changes to your reservations. But, if you still feel you need immediate help, you can call us at <a href="tel:916-325-5555">916-325-5555</a>.

		</div>

</div>

</span>

 </div>

 </div>

</div>

 

 <div class="col-sm-4">

  <div class="ReviewinfoBox">

  <div class="titleWithIcon">

  <span class="roundIcon technologyStack"></span>

  <h2>Technology Stack</h2>

  </div>

  <p>Our user-friendly website let's you book, cancel, & change bookings online.</p>

  </div>

  </div>

  <div class="col-sm-4">

  <div class="ReviewinfoBox">



   <div class="testimaonialSlidersingle">



<div class="item">



   <div class="titleWithIcon">



  <span class="roundIcon reviewIcon"></span>



  <h2>Yelp Reviews</h2>



  </div>



        <div class="testimoanilContWrap cf">



             <div class="testimonialCont">



             



             <div class="StarRating">



            <img src="<?php echo get_template_directory_uri(); ?>/assets/images/yelp-star-color.jpg" alt="star 1">



             <img src="<?php echo get_template_directory_uri(); ?>/assets/images/yelp-star-color.jpg" alt="star 1">



              <img src="<?php echo get_template_directory_uri(); ?>/assets/images/yelp-star-color.jpg" alt="star 1"> 



              <img src="<?php echo get_template_directory_uri(); ?>/assets/images/yelp-star-color.jpg" alt="star 1">



                <img src="<?php echo get_template_directory_uri(); ?>/assets/images/yelp-star-color.jpg" alt="star 1">



             <span class="rating-Date-qualifier">11/17/2015</span>



					       </div>



            



            <div class="reviewwrapper">



             <div class="reviewReadMorecont">



              <p>Sacramento Limousine Service is a top rate company..</p>



<div class="reviewReadMorepopupcont">



 <p>Sacramento Limousine Service is a top rate company and I would highly recommend them to anyone in the greater Sacramento area and beyond!<br>  



We needed to transport ~25 kids and 4 - 6 adults over the course of two weeks for a children's summer camp in June/July of this year. </p></div>



</div>



    </div>



            



            <h3>Reid M.</h3>



           </div>



          </div>



        </div>



        



        <div class="item">



   <div class="titleWithIcon">



  <span class="roundIcon reviewIcon"></span>



  <h2>Yelp Reviews</h2>



  </div>



        <div class="testimoanilContWrap cf">



             <div class="testimonialCont">



             



             <div class="StarRating">



            <img src="<?php echo get_template_directory_uri(); ?>/assets/images/yelp-star-color.jpg" alt="star 1">



             <img src="<?php echo get_template_directory_uri(); ?>/assets/images/yelp-star-color.jpg" alt="star 1">



              <img src="<?php echo get_template_directory_uri(); ?>/assets/images/yelp-star-color.jpg" alt="star 1"> 



              <img src="<?php echo get_template_directory_uri(); ?>/assets/images/yelp-star-color.jpg" alt="star 1">



                <img src="<?php echo get_template_directory_uri(); ?>/assets/images/yelp-star-color.jpg" alt="star 1">



             <span class="rating-Date-qualifier">3/15/2017</span>



					       </div>



            <div class="reviewwrapper">



             <div class="reviewReadMorecont">



              <p>I recently used Sacramento Limousine Service for my 22nd birthday party.</p>



<div class="reviewReadMorepopupcont">



 <p>I recently used Sacramento Limousine Service for my 22nd birthday party. David was able to book my reservation and get me the contract really quickly. The whole reservation process was very easy. Then our driver Rana took great care of us and was on time with the pickup. We were a large group of 18 people in the Hummer limo and we had a great time! We probably had a crazier time in the limo than in the club. Our driver was totally okay with us blasting the music and dancing around in the back. It was a great birthday!</p></div>



</div>



    </div>



            <h3>Allyanna P.</h3>



           </div>



          </div>



        </div>



        



        



        <div class="item">



   <div class="titleWithIcon">



  <span class="roundIcon reviewIcon"></span>



  <h2>Yelp Reviews</h2>



  </div>



        <div class="testimoanilContWrap cf">



             <div class="testimonialCont">



             



             <div class="StarRating">



            <img src="<?php echo get_template_directory_uri(); ?>/assets/images/yelp-star-color.jpg" alt="star 1">



             <img src="<?php echo get_template_directory_uri(); ?>/assets/images/yelp-star-color.jpg" alt="star 1">



              <img src="<?php echo get_template_directory_uri(); ?>/assets/images/yelp-star-color.jpg" alt="star 1"> 



              <img src="<?php echo get_template_directory_uri(); ?>/assets/images/yelp-star-color.jpg" alt="star 1">



                <img src="<?php echo get_template_directory_uri(); ?>/assets/images/yelp-star-color.jpg" alt="star 1">



             <span class="rating-Date-qualifier">7/1/2015</span>



					       </div>



            <div class="reviewwrapper">



             <div class="reviewReadMorecont">



              <p>Initially I had some issues... the owner reached out to me and was more than happy to make it right</p>



<div class="reviewReadMorepopupcont">



 <p>Initially I had some issues... the owner reached out to me and was more than happy to make it right. I appreciated that, I will use them again in the future.</p></div>



</div>



    </div>



            <h3>Krista H.</h3>



           </div>



          </div>



        </div>



       </div>



  </div>

  </div>

  </div>

		

		<div class="divCovButtonTRow">

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

</div>

  </section>

        <div class="vehicle-type-section" style="display:none;">

          <h2>Vehicle Type</h2>

          <ul class="vehicle_list">

            <li>

              <input type="checkbox" class="" />

              <label>Show All</label>

            </li>

            <li>

              <input type="checkbox" name="vehicle2" />

              <label>Sedans & SUVs</label>

            </li>

            <li>

              <input type="checkbox" name="vehicle3" />

              <label>Buses</label>

            </li>

            <li>

              <input type="checkbox" name="vehicle4" />

              <label>Exotic Limos</label>

            </li>

            <li>

              <input type="checkbox" name="vehicle5" />

              <label>Exotic Cars</label>

            </li>

          </ul>

        </div>

      </div>

      <div class="vehicleSelectionDetails">

        <? if($is_expired==1){?>

        <div class="row"> <br />

          <br />

          <br />

          <br />

          <p align="center"><font color="#FF0000" size="+1">Pickup date has already passed. Please change the date to get new rates.!</font><br />

            <br />

            <br />

            <br />

            <br />

          </p>

        </div>

        <? 

}else{

	if($issearchresult > 0){

	

		$indx=0;

		foreach ($searchresult as $rowSR)

	

		{

			$indx=$indx+1;

			$totalraten1=0;

	

			$totalraten2=0;

	

			$fleetsid='';

	

			$fleetsid=$rowSR->fleetsid;

			$ismanual=$rowSR->ismanual;

			$tiprate=$rowSR->tiprate;

	

			$isAirPort=$rowSR->isAirPort;

	

			$guidfleets=$rowSR->guid;

			$videourl=$rowSR->videourl;

			$videourl=str_replace('https://youtu.be/','',$videourl);

	

			if($isAirPort==1){							

	

				$fleets_title=$rowSR->fleets_title2;								

	

				$fleets_title2=$rowSR->fleets_title;

	

				$fleets_categery_id=0;

	

				$fleets_img1=$rowSR->fleets_img1;

	

				$fleets_img2=$rowSR->fleets_img2;

	

				$fleets_color=$rowSR->fleets_color;

	

				$number_of_pasengers=$rowSR->number_of_pasengers;

	

				$luggage=$rowSR->luggage;

	

				$description=stripcslashes(nl2br($rowSR->description));

	

				$oursimilar=stripcslashes(nl2br($rowSR->oursimilar));

	

				$fleets_desc=$rowSR->fleets_desc;

	

				$sub_category_id=$rowSR->sub_category_id;

	

				$highdemand=$rowSR->highdemand;			

	

				$fleetsfeatures=$rowSR->fleetsfeatures;	

	

			}else{

	

				$fleets_title=$rowSR->fleets_title;								

	

				$fleets_title2=$rowSR->fleets_title2;

	

				$fleets_categery_id=0;

	

				$fleets_img1=$rowSR->fleets_img1;

	

				$fleets_img2=$rowSR->fleets_img2;

	

				$fleets_color=$rowSR->fleets_color;

	

				$number_of_pasengers=$rowSR->number_of_pasengers;

	

				$luggage=$rowSR->luggage;

	

				$description=stripcslashes(nl2br($rowSR->description));

	

				$oursimilar=stripcslashes(nl2br($rowSR->oursimilar));

	

				$fleets_desc=$rowSR->description;

	

				$sub_category_id=0;

	

				$highdemand=$rowSR->highdemand;			

	

				$fleetsfeatures=$rowSR->fleetsfeatures;	

	

			}		

	

			//print_r($rowSR);			

	

			if($ismanual==1){

				$addPerDiscount=0;

			}else{

				$addPerDiscount=$rowSR->phrpercentage;

			}

			$tipPerDefault=16.7;

			//echo $addPerDiscount;

			if($CustomerId > 0){

				$addPerDiscount=0;

			}

			//echo $tipPerDefault;\

			//echo $rowSR->totalrate.'totalrate<br>';

			//echo $tipPerDefault.'tipPerDefault<br>';

			//echo $addPerDiscount.'addPerDiscount<br>';

			if($addPerDiscount > 0){	

				$nondiscountedrateP=($rowSR->nondiscountedrate*$addPerDiscount)/100;

				$nondiscountedrate=($rowSR->nondiscountedrate + $nondiscountedrateP);

				$nondiscountedratePn1=($rowSR->nondiscountedraten1*$addPerDiscount)/100;

				$nondiscountedraten1=($rowSR->nondiscountedraten1 + $nondiscountedratePn1);

	

				

	

				$nondiscountedratePn2=($rowSR->nondiscountedraten2*$addPerDiscount)/100;

	

				$nondiscountedraten2=($rowSR->nondiscountedraten2 + $nondiscountedratePn2);

	

				

	

				$totalrateP=($rowSR->totalrate*$addPerDiscount)/100;								

				

				$totalrate=($rowSR->totalrate + $totalrateP);	

				if($isAirPort==0){

	

					if($rowSR->totalhrn1 > 0){

	

						$totalraten1P=($rowSR->totalraten1*$addPerDiscount)/100;	

	

						$totalraten1=($rowSR->totalraten1 + $totalraten1P);	

	

					}

	

					if($rowSR->totalhrn2 > 0){

	

						$totalraten2P=($rowSR->totalraten2*$addPerDiscount)/100;	

	

						$totalraten2=($rowSR->totalraten2 + $totalraten2P);	

	

					}

	

				}				

	

			}else{	

	

				$nondiscountedrate=$rowSR->nondiscountedrate;

	

				$nondiscountedraten1=$rowSR->nondiscountedraten1;

	

				$nondiscountedraten2=$rowSR->nondiscountedraten2;

	

				$totalrate=$rowSR->totalrate;		

	

				if($isAirPort==0){

	

					if($rowSR->totalhrn1 > 0){

	

						$totalraten1=$rowSR->totalraten1;	

	

					}

	

					if($rowSR->totalhrn2 > 0){

	

						$totalraten2=$rowSR->totalraten2;	

	

					}

	

				}

	

			}

	

			$totalsave=($nondiscountedrate - $totalrate);

	

			$totalsaven1=($nondiscountedraten1 - $totalraten1);

	

			$totalsaven2=($nondiscountedraten2 - $totalraten2);

	

			

	

			$nondiscountedrate=number_format($nondiscountedrate,0);

	

			$nondiscountedraten1=number_format($nondiscountedraten1,0);

	

			$nondiscountedraten2=number_format($nondiscountedraten2,0);

	

			$totalrate=number_format($totalrate,0);

	

			$totalsave=number_format($totalsave,0);

	

			

	

			$totalraten1=number_format($totalraten1,0);

	

			$totalsaven1=number_format($totalsaven1,0);

	

			$totalraten2=number_format($totalraten2,0);

	

			$totalsaven2=number_format($totalsaven2,0);

	

		?>

        <div class="commonBorderBox rentalprice">
	
				  <div class="row gutter6 desktopShow">
	
				   <div class="col-sm-4 col-xs-6">
	
				  <div class="car-section">		
	
				   <div class="slideSection">		
	
					<div class="slideImg">		
	
					 <div class="imgSlider">		
	
					  <? if($fleets_img1!=''){?>		
	
					  <div class="item"><img src="<?=$fleets_img1?>" alt="<?=$fleets_title?>" title="<?=$fleets_title?>" style="width:423px;height:250px;"></div>		
	
					  <? }?>		
	
					  <? if($fleets_img2!=''){?>		
	
					  <div class="item"><img src="<?=$fleets_img2?>" alt="<?=$fleets_title?>" title="<?=$fleets_title?>" style="width:423px;height:250px;"></div>		
	
					  <? }?>		
	
					 </div>		
	
					</div>		
	
					<div class="slideContent">		
	
					 <ul class="featureListText cf">		
	
					  <li><img src="<?php echo get_template_directory_uri(); ?>/assets/images/passenger.png" alt="">		
	
					   <?=$number_of_pasengers?>		
	
					  </li>		
	
					  <li><img src="<?php echo get_template_directory_uri(); ?>/assets/images/luggage-img.png" alt="">		
	
					   <?=$luggage?>		
	
					  </li>		
	
					  <?		
	
					  $num_rows_FF = count($fleetsfeatures);		
	
					  if($num_rows_FF > 0)		
	
					  {					
	
						foreach ($fleetsfeatures as $rowFF)		
	
						{		
	
						?>		
	
							<li> <span class="<?=$rowFF->fleetsfeaturescss?>"></span><?=$rowFF->fleetsfeaturesname?></li>		
	
					  <? }		
	
					  }?>		
	
					 </ul>		
	
					 <?=$description?>		
	
					</div>		
	
				   </div>		
	
				  </div>		
	
				 </div>		
	
			<div class="col-sm-3 col-xs-6">	
	
				  <div class="limosvehicalbox">
	
				   <h3 class="carTitle">		
	
					<?=$fleets_title2?>
	
				   </h3>		
	
				   <ul class="similartxtbs"><li><p><span><? if($oursimilar!=''){?><a href="#" class="infoIcondes">or similar <? if($fleetsid==79){ }else{ echo strtolower($fleets_title); }?></a><? }?> </span></p>		
	
				   <div class="infoSmallPopupWrap"><a href="#" class="smallCloseBtn">X</a> 	   		
	
					   <p class="txtSubTitlebs">		
	
						<?=$oursimilar?>		
	
					   </p>		
	
				   </div></li></ul>		
	
				  <ul class="carfeatureright">		
	
					 <li><a href="#" class="PassengerLink"></a>
	
					  <?=$number_of_pasengers?>		
	
					 </li>		
	
					 <li><a href="#" class="luggageLink"></a>	
	
					  <?=$luggage?>		
	
					 </li>		
	
					</ul>
	
				   <p><a href="#" class="txtViewVehicleinfo">View Vehicle information</a></p>		
       
       <p class="txtOnlineDealSave"> Book Online Now & Save</p>
	
				   <? if($highdemand==1){?>		
	
				   <ul class="features">		
	
					<li class="hot">High Demand Vehicle</li>		
	
				   </ul>		
	
				   <? }?>		
       
       <!--commnet-->
			<? if($videourl!=''){?>	
			 <ul class="features">		
    <li><a href="https://www.youtube.com/embed/<?=$videourl?>"   class="txtViewVideo" data-toggle="modal" data-target="#videopopupModal"  ><i class="fa fa-play" aria-hidden="true"></i> Watch Video</a></li>		
    
			   </ul>
		    <? }?>		
 <!-- 
      
      
      <ul class="features">		
		   <li><a href="#" target="_blank" class="btnDealOfDay"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/hot-deal-button.png" alt="Hot Deal Button"> </a></li>
     <li class="dealTimerRow">
     <span class="dealTimerBt">
   <span class="dealTimertx">Deal Ends in</span>
   <span class="deattimer">11:41:18</span>
    </span>
    </li>
     
			   </ul>-->
      <!--commnet-->
       
       
	
				  </div>		
	
				 </div>		
	
					<? if($isAirPort==1){
						if($ismanual==1){
							$totalrate20=$tiprate;
							$totalraten120=$tiprate;
							$totalraten220=$tiprate;
						}else{
							$totalrate20=round((str_replace(',','',$totalrate)*$tipPerDefault)/100);
							$totalraten120=round((str_replace(',','',$totalraten1)*$tipPerDefault)/100);
							$totalraten220=round((str_replace(',','',$totalraten2)*$tipPerDefault)/100);
						}	
						 $totalrateAD=(str_replace(',','',$totalrate)-$totalrate20);
						 $totalraten1AD=(str_replace(',','',$totalraten1)-$totalraten120);
						 $totalraten2AD=(str_replace(',','',$totalraten2)-$totalraten220);
						 $perPersionRate=round(str_replace(',','',$totalrateAD)/$number_of_pasengers);
						 $perPersionRaten1=round(str_replace(',','',$totalraten1AD)/$number_of_pasengers);
						 $perPersionRaten2=round(str_replace(',','',$totalraten2AD)/$number_of_pasengers);?>
	
				 <div class="col-sm-5 col-xs-6">
	     <div class="DiscountBxWr">		
	<? if($CustomerId=='' && $indx==1){?>
      <div class="Divunlockdiscounts">
      <a class="SigniUunlockDiscountsBtn" href="javascript:openPopupSignup();"><i class="fa fa-lock" aria-hidden="true"></i> Unlock Discounts</a>
      </div>
	<? }?>
     
      
       <div class="ServiceChargedWr">		
	
					<ul class="ServiceChargedList ServiceChargedListTop">		
	
					 <li><span class="RateandDiscount">		
	
					  <? if($nondiscountedrate > 0){?>		
	
					  <strike>$<?=$nondiscountedrate?></strike>		
	
					  <? }?><span class="hourPriceSize">$<?=$totalrateAD?><span class="txtincludedTip"> +tip</span></span>
					  <? if($totalsave > 0){?>		
		
						  <span class="serviceDiscount">(Save $<?=(str_replace(',','',$totalsave)+$totalrate20)?>) <? if($perPersionRate <= 70){?> $<?=$perPersionRate?>/person<? }?></span></span>		
		
					 <? }?>		
	
					  <input type="submit" value="Select" class="BtnSelect" onclick="location.href='/ride-summary/?guid=<?=$guid?>&ratetype=main&guidfleets=<?=$guidfleets?>';">		
	
					  <div class="infoSmallPopupWrap"><a href="#" class="smallCloseBtn">X</a> <strike>$		
	
					   <?=$nondiscountedrate?>		
	
					   </strike> <span class="hourPriceSize">$<?=$totalrateAD?></span><!-- - <?=round($rowSR->TotalHr)?> Hours--> <? if($totalsave > 0){?><span class="serviceDiscount">(Save $ <?=(str_replace(',','',$totalsave)+$totalrate20)?>)</span><? }?> <font size="2">It is customary for customers to tip 20%. The tip goes to hard-working drivers, clean-up crew, & reservation specialists who work around the clock to give you an exceptional service.</font></div>		
	
					 </li>		
	
					</ul>		
	
					<p class="TxtInclusiveRate"><span>(No Deposit Needed at Checkout)</span></p>		
	
				   </div>		
	
				  </div>
	
				 </div>
	
				<? }else{				
					if($ismanual==1){
						$totalrate20=$tiprate;
						$totalraten120=$tiprate;
						$totalraten220=$tiprate;
					}else{
						 $totalrate20=round((str_replace(',','',$totalrate)*$tipPerDefault)/100);
						 $totalraten120=round((str_replace(',','',$totalraten1)*$tipPerDefault)/100);
						 $totalraten220=round((str_replace(',','',$totalraten2)*$tipPerDefault)/100);
					}
					 $totalrateAD=(str_replace(',','',$totalrate)-$totalrate20);
					 $totalraten1AD=(str_replace(',','',$totalraten1)-$totalraten120);
					 $totalraten2AD=(str_replace(',','',$totalraten2)-$totalraten220);
					 $perPersionRate=round(str_replace(',','',$totalrateAD)/$number_of_pasengers);
					 $perPersionRaten1=round(str_replace(',','',$totalraten1AD)/$number_of_pasengers);
					 $perPersionRaten2=round(str_replace(',','',$totalraten2AD)/$number_of_pasengers);?> 	
				  <div class="col-sm-5 col-xs-6">
	
					 <div class="DiscountBxWr">
      
					<? if($CustomerId=='' && $indx==1){?>
						   <div class="Divunlockdiscounts">
					
						  <a class="SigniUunlockDiscountsBtn" href="javascript:openPopupSignup();"><i class="fa fa-lock" aria-hidden="true"></i> Unlock Discounts</a>
					
						  </div>
					<? }?>	
						
					 <div class="ServiceChargedWr">
	
					 <ul class="ServiceChargedList">
      
      
       <!--commnet-->
      
      <!-- <li><span class="RateandDiscount"><s>$85</s> <span class="hourPriceSize">$75<span class="txtperson">/person</span></span> <span class="multiPerson"><span class="characterIcon">x</span> 30 <span class="pass"></span></span> - 4 Hours 
       <span class="serviceDiscount"><span class="characterIcon">+</span> tip<a href="#" class="infoIcondes"><img src="https://www.globallimos.com/public/images/icon-info.png" alt=""></a></span>
       
       </span><input type="submit" value="Select" class="BtnSelect" onclick="location.href='/booking/confirm?guid=85af2a07-514a-11ea-8948-0026b98b1e91&amp;ratetype=main&amp;guidfleets=85a2ad47-514a-11ea-8948-0026b98b1e91';"> 
        	
				<div class="infoSmallPopupWrap"><a href="#" class="smallCloseBtn">X</a>
			<? if($nondiscountedrate > 0){?><s>$<?=$nondiscountedrate?></s><? }?> <span class="hourPriceSize">$<?=$totalrateAD?></span> +tip <? if($totalsave > 0){?><span class="serviceDiscount">(Save $ <?=(str_replace(',','',$totalsave)+$totalrate20)?>)</span><? }?> <font size="2">It is customary for customers to tip 20%. The tip goes to hard-working drivers, clean-up crew, & reservation specialists who work around the clock to give you an exceptional service.</font>
				</div>
    
								</li>-->
        
        <!--commnet-->
      
	
					<li><span class="RateandDiscount"> 
	
					<? if($nondiscountedrate > 0){?>		
	
					  <strike>$<?=$nondiscountedrate?></strike>		
	
					  <? }?> <a href="#" class="infoIcondes"><span class="hourPriceSize">$<?=$totalrateAD?><span class="txtincludedTip"> +tip</span></span></a> <? if($totalsave > 0){?><span class="serviceDiscount">(Save $<?=(str_replace(',','',$totalsave)+$totalrate20)?>)<? if($perPersionRate <= 70){?> $<?=$perPersionRate?>/person<? }?> - Service for <?=number_format($rowSR->TotalHr,0)?> Hours</span></span><? }?><input type="submit" value="Select" class="BtnSelect" onclick="location.href='/ride-summary/?guid=<?=$guid?>&ratetype=main&guidfleets=<?=$guidfleets?>';">  <? if($totalsave > 0){?>	
	
					<div class="infoSmallPopupWrap"><a href="#" class="smallCloseBtn">X</a>
		
						<? if($nondiscountedrate > 0){?><s>$<?=$nondiscountedrate?></s><? }?> <span class="hourPriceSize">$<?=$totalrateAD?></span> +tip<span class="serviceDiscount"><? if($totalsave . 0){?>(Save $<?=(str_replace(',','',$totalsave)+$totalrate20)?>),<? }?> Service for <?=number_format($rowSR->TotalHr,0)?> hours.<br /><font size="2">It's customary to tip 20%, which goes to the hard-working drivers & clean-up crew.</font></span>
		
						</div>
	
					<? }?>
	
					</li>
	
					<? if($totalraten1 > 0){?>
	
					   <li><span class="RateandDiscount"> 
	
					   <? if($nondiscountedraten1 > 0){?>		
	
					  <strike>$<?=$nondiscountedraten1?></strike>		
	
					  <? }?> <a href="#" class="infoIcondes"><span class="hourPriceSize">$<?=$totalraten1AD?><span class="txtincludedTip"> +tip</span></span></a> <? if($totalsaven1 > 0){?><span class="serviceDiscount">(Save $<?=(str_replace(',','',$totalsaven1)+$totalraten120)?>) <? if($perPersionRaten1 <= 70){?> $<?=$perPersionRaten1?>/person<? }?> - Service for <?=$rowSR->totalhrn1?> Hours</span></span><? }?><input type="submit" value="Select" class="BtnSelect" onclick="location.href='/ride-summary/?guid=<?=$guid?>&ratetype=n1&guidfleets=<?=$guidfleets?>';">
		<div class="infoSmallPopupWrap"><a href="#" class="smallCloseBtn">X</a>
   <? if($nondiscountedraten1 >0){?><s>$<?=$nondiscountedraten1?></s><? }?> <span class="hourPriceSize">$<?=$totalraten1AD?></span> +tip<span class="serviceDiscount"><? if($totalsaven1 > 0){?>(Save $<?=(str_replace(',','',$totalsaven1)+$totalraten120)?>),<? }?> Service for <?=$rowSR->totalhrn1?> hours.<br /><font size="2">It's customary to tip 20%, which goes to the hard-working drivers & clean-up crew.</font></span>
		
						</div>
						
						</li>
	
					<? }?>
	
					<? if($totalraten2 > 0){?>
	
					   <li><span class="RateandDiscount">
	
						<? if($nondiscountedraten2 > 0){?>		
	
					  <strike>$<?=$nondiscountedraten2?></strike>		
	
					  <? }?> <a href="#" class="infoIcondes"><span class="hourPriceSize">$<?=$totalraten2AD?><span class="txtincludedTip"> +tip</span></span></a> <? if($totalsaven2 > 0){?><span class="serviceDiscount">(Save $<?=(str_replace(',','',$totalsaven2)+$totalraten220)?>) <? if($perPersionRaten2 <= 70){?> $<?=$perPersionRaten2?>/person<? }?> - Service for <?=$rowSR->totalhrn2?> Hours </span></span> <? }?><input type="submit" value="Select" class="BtnSelect" onclick="location.href='/ride-summary/?guid=<?=$guid?>&ratetype=n2&guidfleets=<?=$guidfleets?>';">  
							
							<div class="infoSmallPopupWrap"><a href="#" class="smallCloseBtn">X</a>
		
						<? if($nondiscountedraten2 >0){?><s>$<?=$nondiscountedraten2?></s><? }?> <span class="hourPriceSize">$<?=$totalraten2AD?></span>+tip<span class="serviceDiscount"><? if($totalsaven2 > 0){?>(Save $<?=(str_replace(',','',$totalsaven2)+$totalraten220)?>),<? }?> Service for <?=$rowSR->totalhrn2?> hours.<br /><font size="2">It's customary to tip 20%, which goes to the hard-working drivers & clean-up crew.</font></span>
		
						</div>
						
						</li>
					<? }?>	
	
					</ul>					
	
					<p class="TxtInclusiveRate">No Hidden Fees, All Inclusive Rate<span>(No Deposit Needed at Checkout)</span></p>
	
					</div>
	
				  </div>
	
				</div>
	
				 <? }?>
	
				</div>		
	
				<div class="filterresult mobileSzShow">		
	
				 <div class="filtercarfeature">		
	
				  <div class="filtercarleft">		
	
				   <div class="carBoxWrap">		
	
					<div class="slideImg">		
	
					 <div class="imgSlider">		
	
					  <? if($fleets_img1!=''){?>		
	
					  <div class="item"><img src="<?=$fleets_img1?>" alt="<?=$fleets_title?>" title="<?=$fleets_title?>" style="width:423px;height:250px;"></div>		
	
					  <? }?>		
	
					  <? if($fleets_img2!=''){?>		
	
					  <div class="item"><img src="<?=$fleets_img2?>" alt="<?=$fleets_title?>" title="<?=$fleets_title?>" style="width:423px;height:250px;"></div>		
	
					  <? }?>		
	
					 </div>		
	
					</div>		
	
				   </div>		
	
				  </div>		
	
				  <div class="filtercarright">		
	
				   <div class="filterfeatureright">		
	
					<h4>		
	
					 <?=$fleets_title2?>		
	
					 <a href="javascript:openVPopup(<?=$rowSR->fleetsid?>);"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/icon-info.png" alt=""/></a></h4>		
	
					<div class="filtercarfeatures">
	
					
	
					<ul class="similartxtbs"><li><p><span><? if($oursimilar!=''){?><a href="#" class="infoIcondes">or similar <? if($fleetsid==79){ }else{ echo strtolower($fleets_title); }?></a><? }?> </span></p>		
	
				   <div class="infoSmallPopupWrap"><a href="#" class="smallCloseBtn">X</a> 	   		
	
					   <p class="txtSubTitlebs">		
	
						<?=$oursimilar?>		
	
					   </p>		
	
				   </div></li></ul>	
	
				   </div>
	
					<div class="filterfeatureDeMsize">
       
       <div class="row gutter6 mrgB10"> 
     <div class="col-xs-6">
	
					<ul class="carfeatureright">		
	
					 <li><a href="#" class="PassengerLink"></a>		
	
					  <?=$number_of_pasengers?>		
	
					 </li>		
	
					 <li><a href="#" class="luggageLink"></a>		
	
					  <?=$luggage?>		
	
					 </li>		
	
					</ul>		
     </div>	
    
     <div class="col-xs-6">
     
			<? if($videourl!=''){?>	
    		<ul class="features">	
 <li><a href="https://www.youtube.com/embed/<?=$videourl?>"   class="txtViewVideo" data-toggle="modal" data-target="#videopopupModal"  ><i class="fa fa-play" aria-hidden="true"></i> Watch Video</a></li>	
			   </ul>		
			   <? }?>
      </div>
      </div>
      
      <!--commnet-->
       <!--<div class="row gutter6">
     <div class="col-xs-6">
    <ul class="features">		
		   <li><a href="#" target="_blank" class="btnDealOfDay"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/hot-deal-button.png" alt="Hot Deal Button"></a></li>
    </ul>
      </div>
      
       <div class="col-xs-6">
      <ul class="features">		
		  <li class="dealTimerRow">
     <span class="dealTimerBt">
   <span class="dealTimertx">Deal Ends in</span>
   <span class="deattimer">11:41:18</span>
    </span>
    </li>
     </ul>
      </div>
      </div>-->
      
      <!--commnet-->
      
    </div>
	
					<div class="infoPopup" id="mobileVDIP<?=$rowSR->fleetsid?>">		
	
					 <h3>View Vehicle Information</h3>		
	
					 <a href="javascript:void(0);" class="closeBtn">X</a>		
	
					 <ul class="featureListText cf">		

	
					  <?		
	
					  $num_rows_FF = count($fleetsfeatures);		
	
					  if($num_rows_FF > 0)		
	
					  {					
	
						foreach ($fleetsfeatures as $rowFF)		
	
						{		
	
						?>		
	
							<li> <span class="<?=$rowFF->fleetsfeaturescss?>"></span><?=$rowFF->fleetsfeaturesname?></li>		
	
					  <? }		
	
					  }?>		
	
					 </ul>		
						
						
	
					 <?=$description?>		
	
					</div>		
	
				   </div>		
	
				  </div>		
	
				 </div>		
	
				 <div class="filtercarbottom">		
	
				  <div class="maskfilter"></div>		
	
				  <div class="ServiceChargedWr">		
	
				  <? if($isAirPort==1){?>
	
				  <ul class="ServiceChargedList">		
	
					<li class="mWidth100"><span class="RateandDiscount"><? if($nondiscountedrate > 0){?><s>$<?=$nondiscountedrate?></s>  <? }?><span class="hourPriceSize">$<?=$totalrateAD?><span class="txtincludedTip"> +tip</span></span> </span>	
     
      <!--<span class="serviceDiscount"><span class="characterIcon">+</span> tip<a href="#" class="infoIcondes"><img src="/public/images/icon-info.png" alt=""></a></span>
     <div class="infoSmallPopupWrap"><a href="#" class="smallCloseBtn">X</a> <s>$<?=$nondiscountedrate?></s> <span class="hourPriceSize">$<?=$totalrate?>		
				   </span> <span class="serviceDiscount">(Save $<?=$totalsave?>		
				   )</span> </div>-->
     	
	
					 <input type="submit" value="Select" class="BtnSelect" onclick="location.href='/ride-summary/?guid=<?=$guid?>&ratetype=main&guidfleets=<?=$guidfleets?>';">		
	
					 <? if($totalsave > 0){?>	
						<span class="serviceDiscount">(Save $<?=(str_replace(',','',$totalsave)+$totalrate20)?>) <? if($perPersionRate <= 70){?> $<?=$perPersionRate?>/person<? }?></span>
					 <? }?>		
	
					</li>		
	
				   </ul>	
	
				  <? }else{?> 
	
				  <ul class="ServiceChargedList">
    <li><span class="RateandDiscount"><? if($nondiscountedrate > 0){?><s>$<?=$nondiscountedrate?></s>  <? }?>
     
     
     <a href="#" class="infoIcondes mrgL0"><span class="hourPriceSize">$<?=$totalrateAD?> <span class="txtincludedTip">+tip</span></span></a> </span>
     
     
     <div class="infoSmallPopupWrap"><a href="#" class="smallCloseBtn">X</a>
  <? if($nondiscountedrate > 0){?><s>$<?=$nondiscountedrate?></s><? }?> <span class="hourPriceSize">$<?=$totalrateAD?></span> + tip
   <br />
  <font size="2">(customary to tip 20%, which goes to hard-working drivers & cleanup crew).</font></span>
</div>
	<input type="submit" value="Select" class="BtnSelect" onclick="location.href='/ride-summary/?guid=<?=$guid?>&ratetype=main&guidfleets=<?=$guidfleets?>';">
     <? if($totalsave > 0){?>	
    <span class="serviceDiscount">(Save $<?=(str_replace(',','',$totalsave)+$totalrate20)?>) <? if($perPersionRate <= 70){?> $<?=$perPersionRate?>/person<? }?> - <?=number_format($rowSR->TotalHr,0)?> Hours</span>
<? }?>
					  </li>
				  <? if($totalraten1 > 0){?>
				   <li><span class="RateandDiscount"><? if($nondiscountedraten1 > 0){?><s>$<?=$nondiscountedraten1?></s>  <? }?><a href="#" class="infoIcondes mrgL0"><span class="hourPriceSize">$<?=$totalraten1AD?> <span class="txtincludedTip">+tip</span></span></a> </span>
    
    <div class="infoSmallPopupWrap"><a href="#" class="smallCloseBtn">X</a>
  <? if($nondiscountedrate > 0){?><s>$<?=$nondiscountedrate?></s><? }?> <span class="hourPriceSize">$<?=$totalraten1AD?></span> + tip
   <br />
  <font size="2">(customary to tip 20%, which goes to hard-working drivers & cleanup crew).</font></span>
</div>
	
				   <input type="submit" value="Select" class="BtnSelect" onclick="location.href='/ride-summary/?guid=<?=$guid?>&ratetype=n1&guidfleets=<?=$guidfleets?>';">
	
					  <? if($totalsaven1 > 0){?>	
						   <span class="serviceDiscount">(Save $<?=(str_replace(',','',$totalsaven1)+$totalraten120)?>) <? if($perPersionRaten1 <= 70){?> $<?=$perPersionRaten1?>/person<? }?> - <?=$rowSR->totalhrn1?> Hours</span>
					   <? }?>	
					 </li>
	
					<? }?>				  
	
					</ul>				
	
				  <? }?>	
	
				   <p class="TxtInclusiveRate"><i class="fa fa-check"></i> No fees required at checkout<br>
       <i class="fa fa-check"></i> Free Cancelation
       
       </p>		
	
				  </div>		
	
				 </div>		
	
				</div>		
	
			   </div>

        <? }

	

		}else{?>

        <div class="row"> <br />

          <br />

          <br />

          <br />

          <p align="center"><font color="#FF0000" size="+1">No ride found for this search!</font><br />

            <br />

            <br />

            <br />

            <br />

          </p>

        </div>

        <? }

}?>

      </div>

    </div>

  </section>

  <script>

function myFunction() {

var dots = document.getElementById("dots");

var moreText = document.getElementById("more");

var btnText = document.getElementById("myBtn");

if (dots.style.display === "none") {

dots.style.display = "inline";

btnText.innerHTML = "Read more"; 

moreText.style.display = "none";

} else {

dots.style.display = "none";

btnText.innerHTML = "Read less"; 

moreText.style.display = "inline";

}

}

</script> 

</section>

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

<script>

  var openPopup=1;	

  setInterval(function () {

  	if(openPopup==1){

    	$("#popupDiscountrates").show();

	    $("#popupRates").hide();

		openPopup=openPopup+1;

	}

  }, 4000);

  function closeTopPopup(){

  	 $("#popupDiscountrates").hide();

  	 $("#popupRates").show();

  }	 

  function closeBottomPopup(){

  	 $("#popupDiscountrates").hide();

  	 $("#popupRates").show();

  }	 

  //$(document).ready(function () {

    //  $(".close").hide();

  //});

  function openTopPopup(){

  	$("#popupDiscountrates").show();

  }	 

function isNumberKey(evt){

	var charCode=(evt.which)?evt.which:event.keyCode

    if (charCode > 31 && charCode < 48 || charCode > 57) 

		if (event.keyCode != 46) 

			if (event.keyCode != 110) 

				return false; 

					return true;

} 

function lettersOnly(evt) { 

	evt = (evt) ? evt : event; 

	var charCode = (evt.charCode) ? evt.charCode : ((evt.keyCode) ? evt.keyCode : ((evt.which) ? evt.which : 0)); 

	if (charCode > 31 && (charCode < 65 || charCode > 90) && (charCode < 97 || charCode > 122)) 

	{ 

		alert("Enter letters only."); 

		return false; 

	} 

	return true; 

}

function frmCheckDiacountB(){	

	var IsValid = true;

	var cstnameB = $('#cstnameB').val();

	if(cstnameB == ''){

		$('#cstnameB').css("border", "2px solid #FF0000");

		IsValid = false;

	}

	else{

		$('#cstnameB').css("border", "1px solid #a1a1a1");

	}

	var cstemailB = $('#cstemailB').val();

	if(cstemailB == ''){

		$('#cstemailB').css("border", "2px solid #FF0000");

		IsValid = false;

	}

	else{

		$('#cstemailB').css("border", "1px solid #a1a1a1");

		var eml = new String(cstemailB); 

		var val1 = eml.indexOf('@'); 

		var val2 = eml.indexOf("."); 

		if ((val1 == -1) || (val2 == -1)){ 

			$('#cstemailB').css("border", "2px solid #FF0000"); 

			IsValid = false; 

		} 

	}

	var cstphoneB = $('#cstphoneB').val();

	if(cstphoneB == ''){

		$('#cstphoneB').css("border", "2px solid #FF0000");

		IsValid = false;

	}

	else{

		$('#cstphoneB').css("border", "1px solid #a1a1a1");

	}

	if(IsValid==true){

		$('#loadingsearchB').html('<center><img class="Iconsimg" src="/ajax-loading.gif" alt="Ajax Loading"></center>');

	}	

	return IsValid;	

}

function chkValEmail(email,dispID){

	var strURL="/ajax_data.php?step=504&email="+email+"";

	$('#'+dispID).show();	

	$('#'+dispID).html('<center><img class="Iconsimg" src="/ajax-loading.gif" alt="Ajax Loading"></center>');	

	$.get(strURL,function(data,status){  

		if(status=="success") {				

			$('#'+dispID).html(data);				

			setInterval(function () {	

				$('#'+dispID).hide();	

			}, 5000);

			if(dispID=='chkEmailB'){

				$("#frmDiscountB").submit();

			}else if(dispID=='chkEmailT'){

				$("#frmDiscountT").submit();

			}

		}else {

			alert("There was a problem while using XMLHTTP:\n" + req.statusText);

		}

	 	//alert("Data: " + data + "\nStatus: " + status);

	});

}

function chkValPhone(phone,dispID){

	var strURL="/ajax_data.php?step=504&phone="+phone+"";

	$('#'+dispID).show();	

	$('#'+dispID).html('<center><img class="Iconsimg" src="/ajax-loading.gif" alt="Ajax Loading"></center>');

	$.get(strURL,function(data,status){  

		if(status=="success") {				

			$('#'+dispID).html(data);				

			setInterval(function () {	

				$('#'+dispID).hide();	

			}, 5000);

		}else {

			alert("There was a problem while using XMLHTTP:\n" + req.statusText);

		}

	 	//alert("Data: " + data + "\nStatus: " + status);

	});

}

function frmCheckDiacountT(){	

	var IsValid = true;

	/*var cstnameT = $('#cstnameT').val();

	if(cstnameT == ''){

		$('#cstnameT').css("border", "2px solid #FF0000");

		IsValid = false;

	}

	else{

		$('#cstnameT').css("border", "1px solid #a1a1a1");

	}

	var cstemailT = $('#cstemailT').val();

	if(cstemailT == ''){

		$('#cstemailT').css("border", "2px solid #FF0000");

		IsValid = false;

	}

	else{

		$('#cstemailT').css("border", "1px solid #a1a1a1");

		var eml = new String(cstemailT); 

		var val1 = eml.indexOf('@'); 

		var val2 = eml.indexOf("."); 

		if ((val1 == -1) || (val2 == -1)){ 

			$('#cstemailT').css("border", "2px solid #FF0000"); 

			IsValid = false; 

		} 

	}*/

	var cstphoneT = $('#cstphoneT').val();

	if(cstphoneT == ''){

		$('#cstphoneT').css("border", "2px solid #FF0000");

		IsValid = false;

	}

	else{

		$('#cstphoneT').css("border", "1px solid #a1a1a1");

	}

	if(IsValid==true){

		$('#loadingsearchT').html('<center><img class="Iconsimg" src="/ajax-loading.gif" alt="Ajax Loading"></center>');

	}	

	return IsValid;	

}

function checkPhoneCallVS(phone){	

	$('#chkPhoneT').html('<center><img class="Iconsimg" src="/ajax-loading.gif" alt="Ajax Loading"></center>');

	var strURL="/proccessform.php?actions=checkphonevaild&phone="+phone+"";	

	$.get(strURL,function(data,status){  	

		if(status=="success") {		

			if(data==1){		

				$('#chkPhoneT').html('<center><font color="red">"Don`t be shy of getting a discount :). Enter a valid phone to get discount.</font></center>');

				$('#cstphoneT').val('');

			}else{

				$('#chkPhoneT').html('');

			}

		}else {	

			alert("There was a problem while using XMLHTTP:\n" + req.statusText);	

		}	

		//alert("Data: " + data + "\nStatus: " + status);	

	});			

}

</script>

<div id="popupDiscountrates" class="modal fade popupDiscountrates" role="dialog" data-backdrop="static" tabindex="-1">

  <div class="modal-dialog">

    <div class="modal-content">

      <button type="button" class="close" data-dismiss="modal" onclick="closeTopPopup();">&times;</button>

      <div class="popupDiscountratesWrap">

        <h2>get up to 60% off</h2>

        <p class="subTitle">Complete Info</p>

        <div class="BenefitsEnteringInfo">

          <div class="row">

            <div class="col-sm-5 formPullRight">

              <div class="BenefitsInfoFormwrap">

                <div class="showHideForm active" id="discountrates">

                  <p class="text-center mrgB5">Already have an account? <a href="#signIn" charset="signInbs" class="showFormLink">Sign in</a></p>

                  <div class="popupForm BenefitsInfoForm">

                    <p class="text-center mrgB5">Fill Info to get GL60 Coupon (up to 60% Off)</p>

                    <form id="frmDiscountT" name="frmDiscountT" action="/proccessform.php?actions=getdiscountandleads" onsubmit="return frmCheckDiacountT();" method="post">

                      <input type="hidden" id="codeTop" name="codeTop" value="top"/>

                      <input type="hidden" id="guidTop" name="guidTop" value="<?=$guid?>"/>

                      <div class="row">

                        <div class="col-sm-12">

                          <div class="phoneOuter">

                            <select class="phoneselect select_box" onblur="if (!window.__cfRLUnblockHandlers) return false; checkGreenField('phonecode1',10);" id="phonecode1" name="phonecode1">

<option value="1" selected="">US +1</option>

<option value="2">IN +91</option>

<option value="3">CAN +1</option>

<option value="4">MEX +52</option>

<option value="5">UK +44</option>

<option value="6">AR +54</option>

<option value="7">AUS +61</option>

<option value="8">BH +973</option>

<option value="9">BRA +55</option>

<option value="10">CL +56</option>

<option value="11">CN +86</option>

<option value="12">CO +57</option>

<option value="13">CZ +420</option>

<option value="14">DK +45</option>

<option value="15">DO +1</option>

<option value="16">EC +593</option>

<option value="17">ETH +251</option>

<option value="18">FI +358</option>

<option value="19">FR +33</option>

<option value="20">GR +49</option>

<option value="21">GRE +30</option>

<option value="22">HK +852</option>

<option value="23">IE +353</option>

<option value="24">ISR +972</option>

<option value="25">ITA +39</option>

<option value="26">JP +81</option>

<option value="27">KE +254</option>

<option value="28">KW +971</option>

<option value="29">LB +961</option>

<option value="30">MAR +212</option>

<option value="31">NL +31</option>

<option value="32">NO +47</option>

<option value="33">PA +507</option>

<option value="34">PY +595</option>

<option value="35">PE +51</option>

<option value="36">PH +63</option>

<option value="37">PT +351</option>

<option value="38">QA +974</option>

<option value="39">RUS +7</option>

<option value="40">SG +64</option>

<option value="41">SZ +27</option>

<option value="42">SA +966</option>

<option value="43">NL +34</option>

<option value="44">TH +66</option>

<option value="45">VE +58</option>

<option value="46">SE +46</option>

<option value="47">CH +41</option>

<option value="48">KR +82</option>

<option value="49">TWN +886</option>

<option value="50">UAE +971</option>

<option value="51">UY +598</option>

<option value="1000">Enter Manually</option>

</select>

                            <input type="tel" class="form-control phone-format" placeholder="Phone No" maxlength="14" id="cstphoneT" name="cstphoneT" onkeypress="return isNumberKey(event)">

                            <span id="chkPhoneT"></span></div>

                        </div>

                      </div>

                      <div class="btnRowWrap text-center">

                        <input type="submit" class="formBtn discountRates" value="See Discounted Rates">

                        <span id="loadingsearchT"></span> </div>

                    </form>

                  </div>

                </div>

                <div class="showHideForm"  id="signIn" >

                  <p class="text-center mrgB5">Don't have an account? <a href="#discountrates"  class="showFormLink">Sign Up</a></p>

                  <div class="popupForm BenefitsInfoForm">

                    <form id="frmDiscountT" name="frmDiscountT" action="/proccessform.php?actions=getdiscountandleads" onsubmit="return frmCheckDiacountT2();" method="post">

                      <input type="hidden" id="codeTop" name="codeTop" value="top"/>

                      <input type="hidden" id="guidTop" name="guidTop" value="<?=$guid?>"/>

                      <div class="row">

                        <div class="col-sm-12">

                          <input type="text" class="form-control" placeholder="Your Email" id="popupEmail" name="popupEmail"  onblur="chkValEmail(this.value,'popupEmail');"/>

                          <span id="chkEmailT"></span> </div>

                      </div>

                      <div class="row">

                        <div class="col-sm-12">

                          <input type="password" class="form-control" placeholder="Password" maxlength="16" id="popupPassword" name="popupPassword">

                        </div>

                      </div>

                      <div class="row">

                        <div class="col-sm-12">

                          <p class="txForgotpass"><a href="#forgotPass" class="forgotPsd showFormLink">Forgot your password?</a></p>

                        </div>

                      </div>

                      <div class="btnRowWrap text-center">

                        <input type="button" class="formBtn discountRates" value="Sign In" onclick="CheckRecord();">

                        <br />

                        <span id="loadingPopup"></span></div>

                    </form>

                  </div>

                </div>

                <div class="forgotpasswordform showHideForm" id="forgotPass">

                  <div class="popupForm BenefitsInfoForm"> <a href="#discountrates" class="backBtn showFormLink"><i class="fa fa-angle-left" aria-hidden="true"></i> Back</a>

                    <h3>Time to update your password!</h3>

                    <p>Reset your password to continue getting member-exclusive discounted prices. Just enter your email so we can send a secure link</p>

                    <form id="frmDiscountT" name="frmDiscountT" action="/proccessform.php?actions=getdiscountandleads" onsubmit="return frmCheckDiacountT3();" method="post">

                      <input type="hidden" id="codeTop" name="codeTop" value="top"/>

                      <input type="hidden" id="guidTop" name="guidTop" value="<?=$guid?>"/>

                      <div class="row">

                        <div class="col-sm-12">

                          <input type="text" class="form-control" placeholder="Email Address" id="popupEmailFP" name="popupEmailFP"  onblur="chkValEmail(this.value,'popupEmailFP');"/>

                          <span id="chkEmailT"></span> </div>

                      </div>

                      <div class="btnRowWrap text-center">

                        <input type="button" class="formBtn discountRates" value="Email a Link"  onclick="CheckRecordFP();">

                        <br />

                        <span id="loadingPopupFP"></span></div>

                    </form>

                  </div>

                  <p class="mrgT10"><a href="#" data-dismiss="modal" onclick="closeTopPopup();">Continue browsing or checking out as a guest</a></p>

                </div>

              </div>

            </div>

            <div class="col-sm-7">

              <div class="BenefitsInfo">

                <h4>Get Access To</h4>

                <ul>

                  <li class="lockdiscountprice"> Lock-in discount prices

                    <div class="popupContWrap"><a href="#" class="infoIcondes"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/icon-info.png" alt=""></a></div>

                    <div class="infoSmallPopupWrap"><a href="#" class="smallCloseBtn">X</a>

                      <p class="txtSubTitlebs"> We'll assign your phone number to your rate-quote & lock-in the discounted price. If you call us later to book, we can reference your rate-quote by your phone number. So, even if the prices go up, you'll still get the same discounted price. </p>

                    </div>

                  </li>

                  <li class="payless"> Price Cuts Up-To 60%. Free Upgrades. Free Limo Rides

                    <div class="popupContWrap"><a href="#" class="infoIcondes"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/icon-info.png" alt=""></a></div>

                    <div class="infoSmallPopupWrap"><a href="#" class="smallCloseBtn">X</a>

                      <p class="txtSubTitlebs"> Providing your phone gives you instant access to up-to 60% price cuts. And, if we find Free Upgrades for the same price or you win a  free ride in our raffle, we'll call & notify you. </p>

                    </div>

                  </li>

                  <li class="privacy"> We won't do unsolicited phone calls

                    <div class="popupContWrap"><a href="#" class="infoIcondes"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/icon-info.png" alt=""></a></div>

                    <div class="infoSmallPopupWrap"><a href="#" class="smallCloseBtn">X</a>

                      <p class="txtSubTitlebs"> We take your privacy seriously & promise you won't receive unsolicited phone calls from us. </p>

                    </div>

                  </li>

                </ul>

              </div>

            </div>

          </div>

        </div>

      </div>

    </div>

  </div>

</div>

<div id="popupRates" class="popupRateswrp" style="display:none;">

  <div class="container"> 

    <!--<div class="modalInBodyCont mSizeHide">

 <button type="button" class="close" onclick="closeModal()">&times;</button>

 <div class="popupRatesformWrap">

<div>

<h2>get up to 60% off</h2>

</div>

 <div class="popupForm mSizeHide">

 <form id="frmDiscountB" name="frmDiscountB" action="/proccessform.php?actions=getdiscountandleads" onsubmit="return frmCheckDiacountB();" method="post">

<input type="hidden" id="guidB" name="guidB" value="<?=$guid?>"/>

      <div class="row pad5">

       <div class="col-sm-3 col-xs-7">

        <div class="form-group">

         <input type="text" class="form-control" placeholder="Your Name" id="cstnameB" name="cstnameB"/>

        </div>

       </div>

       <div class="col-sm-3 col-xs-5">

        <div class="form-group">

         <input type="text" class="form-control phone-format" placeholder="Phone No" maxlength="11" id="cstphoneB" name="cstphoneB" onkeypress="return isNumberKey(event)" onblur="chkValPhone(this.value,'chkPhoneB');"><span id="chkPhoneB"></span> </div>

       </div>

       <div class="col-sm-3 col-xs-7">

        <div class="form-group">

        <input type="text" class="form-control" placeholder="Your Email" id="cstemailB" name="cstemailB"  onblur="chkValEmail(this.value,'chkEmailB');"/><span id="chkEmailB"></span> </div>

       </div>

       <div class="col-sm-3 col-xs-5">

        <div class="form-group">

         <div class="btnRowWrap text-center">

          <input type="submit" class="formBtn" value="See Discounted Rates"> <span id="loadingsearchB"></span> </div>

        </div>

       </div>

      </div>

     </form>

     <div class="hideContentDiv">

      <div class="rowWrapFrm">

       <div class="BenefitsInfo BenefitsInfoiteamwr">

        <h4>Members get access to:</h4>

        <ul>

   <li class="discountrates"> Members only deals — up-to 60% off. </li>

      <li class="lockdiscountprice"> Lock-in discount prices <div class="popupContWrap"><a href="#" class="infoIcondes"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/icon-info.png" alt=""></a></div>

       <div class="infoSmallPopupWrap"><a href="#" class="smallCloseBtn">X</a> 	   		

        <p class="txtSubTitlebs">	Even if the prices go up, we'll lock-in the discounted price we offer you now.	</p>		

        </div> </li>

        

        <li class="privacy"> We won't send unsolicited emails or phone calls <div class="popupContWrap"><a href="#" class="infoIcondes"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/icon-info.png" alt=""></a></div>

      <div class="infoSmallPopupWrap"><a href="#" class="smallCloseBtn">X</a> 	   		

        <p class="txtSubTitlebs">	We take your privacy seriously & promise you won't receive spam or unsolicited emails	or phone calls</p>		

        </div> </li>

      

      

      </ul>

       </div>

      </div>

     </div>

     <div class="rowTxtCenter"> <a class="readMoreExpandDiv" href="#">See More <span class="moreServiceIcon">moreService</span></a> </div>

    </div>

				</div>

				

				</div>-->

    

    <div class="modalInBodyCont dSizeHide">

      <button type="button" class="close" onclick="closeModal()">&times;</button>

      <div class="popupRatesformWrap ">

        <div class="popupForm ">

          <form id="frmDiscountB" name="frmDiscountB" action="/proccessform.php?actions=getdiscountandleads" onsubmit="return frmCheckDiacountB();" method="post">

            <input type="hidden" id="guidB" name="guidB" value="<?=$guid?>"/>

            <div class="row pad5">

              <div class="col-sm-12 col-xs-12">

                <div class="form-group">

                  <div class="btnRowWrap text-center"> <a href="javascript:openTopPopup();">

                    <input type="button" class="formBtn formSeeDiscountbtn" value="Up to 60% Discounted Rates">

                    </a> </div>

                </div>

              </div>

            </div>

          </form>

        </div>

      </div>

    </div>

  </div>

</div>

<!--<div id="popupRatesDs" class="modal fade  popupRateswrp  popupRatesDswrp" role="dialog" data-backdrop="static" tabindex="-1" >

  <div class="modal-dialog"> 

   <div class="modal-content">

<div class="modalInBodyCont">

<button type="button" class="close" data-dismiss="modal">×</button>

 <div class="popupRatesformWrap">

<div>

<h2>get up to 60% off</h2>

</div>

 <div class="popupForm">

 <form id="frmDiscountB" name="frmDiscountB" action="/proccessform.php?actions=getdiscountandleads" onsubmit="return frmCheckDiacountB();" method="post">

<input type="hidden" id="guidB" name="guidB" value="<?=$guid?>"/>

      <div class="row pad5">

       <div class="col-sm-3 col-xs-7">

        <div class="form-group">

         <input type="text" class="form-control" placeholder="Your Name" id="cstnameB" name="cstnameB"/>

        </div>

       </div>

       <div class="col-sm-3 col-xs-5">

        <div class="form-group">

         <input type="text" class="form-control phone-format" placeholder="Phone No" maxlength="14" id="cstphoneB" name="cstphoneB" onkeypress="return isNumberKey(event)" onblur="chkValPhone(this.value,'chkPhoneB');"><span id="chkPhoneB"></span> </div>

       </div>

       <div class="col-sm-3 col-xs-7">

        <div class="form-group">

        <input type="text" class="form-control" placeholder="Your Email" id="cstemailB" name="cstemailB"  onblur="chkValEmail(this.value,'chkEmailB');"/><span id="chkEmailB"></span> </div>

       </div>

       <div class="col-sm-3 col-xs-5">

        <div class="form-group">

         <div class="btnRowWrap text-center">

          <input type="submit" class="formBtn" value="See Discounted Rates"> <span id="loadingsearchB"></span> </div>

        </div>

       </div>

      </div>

     </form>

     

      <div class="rowWrapFrm">

       <div class="BenefitsInfo BenefitsInfoiteamwr">

        <h4>Members get access to:</h4>

        <ul>

   <li class="discountrates"> Members only deals — up-to 60% off. </li>

      <li class="lockdiscountprice"> Lock-in discount prices <div class="popupContWrap"><a href="#" class="infoIcondes"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/icon-info.png" alt=""></a></div>

       <div class="infoSmallPopupWrap"><a href="#" class="smallCloseBtn">X</a> 	   		

        <p class="txtSubTitlebs">	Even if the prices go up, we'll lock-in the discounted price we offer you now.	</p>		

        </div> </li>

        

        <li class="privacy"> We won't send unsolicited emails or phone calls <div class="popupContWrap"><a href="#" class="infoIcondes"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/icon-info.png" alt=""></a></div>

      <div class="infoSmallPopupWrap"><a href="#" class="smallCloseBtn">X</a> 	   		

        <p class="txtSubTitlebs">	We take your privacy seriously & promise you won't receive spam or unsolicited emails	or phone calls</p>		

        </div> </li>

      

      

      </ul>

       </div>

      </div>

     

     

    </div>

				

			

				

				 </div>

  </div>

 

</div>

</div>

</div>-->

<? }?>

<script>

function CheckRecordFP()

{	

	var IsValid = true;

	var popupEmailFP = $('#popupEmailFP').val();

	if(popupEmailFP == ''){

		$('#popupEmailFP').css("border", "2px solid #FF0000");

		IsValid = false;

	}

	else{

		$('#popupEmailFP').css("border", "1px solid #a1a1a1");

		var eml = new String(popupEmailFP); 

		var val1 = eml.indexOf('@'); 

		var val2 = eml.indexOf("."); 

		if ((val1 == -1) || (val2 == -1)){ 

			$('#popupEmailFP').css("border", "2px solid #FF0000"); 

			IsValid = false; 

		} 

	}

	if(IsValid==true){

		$("#loadingPopupFP").html('<img src="/ajax-loading.gif" alt="loading" title="loading">');

		var guidB=$('#guidB').val();

		$.ajax({

			method: 'POST',

			url: '/proccessform.php?actions=forgotyourpasswordcustomerpopup',		

			data: {email: popupEmailFP,guid: guidB},	                

			headers : { 'Content-Type': 'application/x-www-form-urlencoded' }

		}).success(function(r){

			if(parseInt(r)==2){

				$("#loadingPopupFP").html('<font color="#FF0000" size="+1">Unrecognized email address or password!</font>');					

			}else{

				$("#loadingPopupFP").html('<font color="#FF0000" size="+1">We sent you reset-password link to your email. Check & reset your password.</font>');

			}	

		});

	}

	return IsValid;	

}

function CheckRecord()

{	

	var IsValid = true;

	var popupEmail = $('#popupEmail').val();

	if(popupEmail == ''){

		$('#popupEmail').css("border", "2px solid #FF0000");

		IsValid = false;

	}

	else{

		$('#popupEmail').css("border", "1px solid #a1a1a1");

		var eml = new String(popupEmail); 

		var val1 = eml.indexOf('@'); 

		var val2 = eml.indexOf("."); 

		if ((val1 == -1) || (val2 == -1)){ 

			$('#popupEmail').css("border", "2px solid #FF0000"); 

			IsValid = false; 

		} 

	}

	var popupPassword = $('#popupPassword').val();

	if(popupPassword == ''){

		$('#popupPassword').css("border", "2px solid #FF0000");

		IsValid = false;

	}

	else{

		$('#popupPassword').css("border", "1px solid #a1a1a1");

	}

	if(IsValid==true){

		$("#loadingPopup").html('<img src="/ajax-loading.gif" alt="loading" title="loading">');

		var guidB=$('#guidB').val();

		$.ajax({

			method: 'POST',

			url: '/proccessform.php?actions=logincustomerpopup',		

			data: {email: popupEmail,password: popupPassword,guid: guidB},	                

			headers : { 'Content-Type': 'application/x-www-form-urlencoded' }

		}).success(function(r){

			if(parseInt(r)==2){

				$("#loadingPopup").html('<font color="#FF0000" size="+1">Your account has been disabled by admin!</font>');					

			}else if(parseInt(r)==3){

				$("#loadingPopup").html('<font color="#FF0000" size="+1">Unrecognized email address or password!</font>');					

			}else{

				location.href='/vehicle-selection/?guid='+guidB;

			}	

		});

	}

	return IsValid;	

}

function closeModal() {

  document.getElementById('popupRates').style.display = "none";

}

jQuery('.phone-format').keyup(function(e){

    var ph = this.value.replace(/\D/g,'').substring(0,10);

    // Backspace and Delete keys

    var deleteKey = (e.keyCode == 8 || e.keyCode == 46);

    var len = ph.length;

    if(len==0){

        ph=ph;

    }else if(len<3){

        ph='('+ph;

    }else if(len==3){

        ph = '('+ph + (deleteKey ? '' : ') ');

    }else if(len<6){

        ph='('+ph.substring(0,3)+') '+ph.substring(3,6);

    }else if(len==6){

        ph='('+ph.substring(0,3)+') '+ph.substring(3,6)+ (deleteKey ? '' : '-');

    }else{

        ph='('+ph.substring(0,3)+') '+ph.substring(3,6)+'-'+ph.substring(6,10);

    }

    this.value = ph;

});

</script>

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

<script> 

var currentd = new Date();

var current_hours = currentd.getHours();

var check_hours=localStorage.getItem("check_hours");

if(check_hours=='' || check_hours==null){

	localStorage.setItem("check_hours", current_hours);

	check_hours=localStorage.getItem("check_hours");

}

function onMouseOut(event) {

	if(parseInt(current_hours) != parseInt(check_hours)){		

		localStorage.setItem("check_hours", current_hours);

		if (event.clientY < 50 &&

			event.relatedTarget == null &&

			event.target.nodeName.toLowerCase() !== 'select') {

			document.removeEventListener("mouseout", onMouseOut);

			$('#popupservice').modal('show');

		}

	}

}

document.addEventListener("mouseout", onMouseOut);

</script>

<? }?>

<? if($hidepopt==1){?>

<script id='pixel-script-poptin' src='https://cdn.popt.in/pixel.js?id=d9374f208fde5' async='true'></script>

<? }?>

<?php get_footer();?>

