<?php 
$distance_tab='hide'; 
$hour_tab='hide';
$distance_hour_tab='hide';
$distance_waiting_tab='hide';
if($bookingMode!='' && $bookingMode==1){
    $distance_tab = 'show';
}else if($bookingMode!='' && $bookingMode==2){
    $hour_tab = 'show';
}else if($bookingMode!='' && $bookingMode==3){
     $distance_hour_tab = 'show';
}else if($bookingMode!='' && $bookingMode==4){
    $distance_waiting_tab = 'show';
}
?>
<ul id="userTab" class="nav nav-tabs nav-tabs1 tab_ul col-sm-2" style="padding-right:0; margin-top:15px;">
    <li class="<?php echo $distance_tab; ?>" id="distance-tab"><a href="#distanceVehicle" id="distanceVehiclep" data-toggle="tab" class="distance_head">1. Distance</a></li>
    <li class="<?php echo $hour_tab; ?>" id="hour-tab"><a href="#HourVehicle" id="HourVehiclep" data-toggle="tab" class="hour_head">1. Hour</a></li>
    <li class="<?php echo $distance_hour_tab; ?>" id="distance-hour-tab"><a href="#Distance_Hour" id="DistanceHourp" data-toggle="tab" class="distanceHour_head">1. Distance + Hour</a></li>
    <li class="<?php echo $distance_waiting_tab; ?>" id="distance-waiting-tab"><a href="#Distance_Waiting" id="DistanceWaitingp" data-toggle="tab" class="distanceWaiting_head">1. Distance Waiting</a></li>
    <li><a href="#basicVehicle" id="basicVehiclePopup" data-toggle="tab" class="basic_head">2. Basic</a></li>
    <li><a href="#waitingVehicle" id="basicVehiclePopup" data-toggle="tab" class="basic_head">3. Fees</a></li>
    <li><a href="#PremiumVehicle" id="PremiumVehiclep" data-toggle="tab" class="premium_head">4. Premium</a></li>
    <li><a href="#Fixed_RoutesVehicle" id="Fixed_RoutesVehiclep" data-toggle="tab" class="fixedRoute_head">5. Fixed Routes</a></li>
    <li><a href="#Different_Shares" id="differentShares" data-toggle="tab" class="share_head">6. Share</a></li>
</ul>