<?php
session_start();
error_reporting(0);
$cancellation_charge 	= 15.00;
$flexible_charge 		= 130.00;
$chbAisle 				= 14.00;
$chbWindow 				= 16.00;
if(isset($_POST['select'])){
	$no_fo_travlers = intval($_POST['adults'])+intval($_POST['childs'])+intval($_POST['infants']);
	$total_cancellation_charge 	= $cancellation_charge*$no_fo_travlers;
	$total_flexible_charge 		= $flexible_charge*$no_fo_travlers;
	$total_chbAisle 			= $chbAisle*$no_fo_travlers;
	$total_chbWindow 			= $chbWindow*$no_fo_travlers;
}
?>
<!DOCTYPE html>
<html class="load-full-screen" lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-title" content="FMJ">
    <link rel="shortcut icon" type="image/png" href="/images/favicon.ico" />
    <link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet">
    
    <title>Travelobien - Your flight details and Book</title>
    <meta name="google" content="notranslate">
    <link href="Content/jquery-ui.css" rel="stylesheet"/>
	<link href="Content/bootstrap-select.min.css" rel="stylesheet"/>
	<link href="Content/bootstrap.min.css" rel="stylesheet"/>
	<link href="Content/bootstrap-datetimepicker.css" rel="stylesheet"/>
	<link href="Content/custom.css" rel="stylesheet"/>
	<link href="Content/style.css" rel="stylesheet"/>
	<link href="Content/payment.css" rel="stylesheet"/>
	<link href="Content/owl.carousel.min.css" rel="stylesheet"/>
	<link href="Content/additional.css" rel="stylesheet"/>

    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>

<body class="load-full-screen" id="target">
    
    <div class="site-wrapper" id="topDivWebsite">
    <?php include"include/header_panel.php"; ?>


<div class="container-fluid search-main-div payment-page">
    <form id="bookings"  action="thankyou.php" method="post">
        <div class="row">
            <div class="go-bck-div">
                <a onclick="history.back()"> <i class="fa fa-caret-left" aria-hidden="true"></i>Go Back</a>
            </div>
            <!--Middle Section start-->
            <div class="middle-search">
                <div class="ticket-desc-div Itinerary">
                    <h3>
                        Flight Itinerary
                        <span class="hide-toggle">Hide</span>
                    </h3>
                    <div class="toggle-section">
                            <div class="departed">
                             <img src="images/airplane.png" class="dep-flight"> Depart 
							 </div>
							 
							<?php
							if(isset($_POST['select'])){
							$adults          = $_SESSION['adults']  = $_POST['adults'];
							$childs          = $_SESSION['childs']  = $_POST['childs'];
							$infants	     = $_SESSION['infants'] = $_POST['infants'];
							$travel_class    = $_SESSION['travel_class']  = $_POST['travel_class'];
							$totalDuration   = $_SESSION['totalDuration'] = $_POST['totalDuration'];
							$tripType 		 = $_SESSION['triptype'] = $_POST['triptype'];
							
							for($i=0; $i<count($_SESSION['carrier_Code'] = $_POST['carrier_Code']); $i++){
							?>	
							<?php 
							$carrier_Code 	 = $_SESSION['carrier_Code'] = $_POST['carrier_Code'][$i]; 
							$airline_logo 	 = $_SESSION['airline_logo'] = $_POST['airline_logo'][$i];
							$airlineName     = $_SESSION['airlineName']  = $_POST['airlineName'][$i];
                      
							$depIata  = $_SESSION['depIata'] = $_POST['depIata'][$i];
							$arrIata  = $_SESSION['arrIata'] = $_POST['arrIata'][$i]; 
							
							
							$dep_iata_city  = $_SESSION['dep_iata_city'] = $_POST['dep_iata_city'][$i];
							$arr_iata_city  = $_SESSION['arr_iata_city'] = $_POST['arr_iata_city'][$i]; 

							$dep_time  = $_SESSION['dep_time'] = $_POST['dep_time'][$i];
							$arr_time  = $_SESSION['arr_time'] = $_POST['arr_time'][$i];

							$trip_time  = $_SESSION['trip_time'] = $_POST['trip_time'][$i];

							$departure_date  = $_SESSION['departure_date'] = $_POST['departure_date'][$i];
							$return_date     = $_SESSION['return_date'] = $_POST['return_date'][$i];
							
							//echo $adultPrice  = $_SESSION['adultPrice'] = $_POST['adultPrice'][$i];
						
							//echo $ChildPrice  = $_SESSION['childPrice'] = $_POST['childPrice'][$i];
						
							//echo $infantPrice = $_SESSION['infantPrice'] = $_POST['infantPrice'][$i];
							
							
							?>
								
							 
                                <div class="airline-information">
                                    <div class="colunm1">
									<img src="<?php echo $airline_logo; ?>" class="" alt="Delta Airlines" title="" /></div>
                                        <div class="colunm2 Equpment">
                                            <?php echo $airlineName; ?><br>

                                            <?php echo $carrier_Code ; ?>
                                        </div>
                                    <div class="colunm3">
										<?php
										$dep_date		= 	$departure_date;
										$newDepDate 	= 	date("j M", strtotime($dep_date));
										
										$retrn_date		= 	$return_date;
										$newRetrnDate 	= 	date("j M", strtotime($retrn_date));
										?>
                                        <div class=""><em><?php echo $dep_time ; ?></em> | <?php echo $newDepDate; ?></div>
										
                                        <div><em><?php echo $arr_time ; ?></em> | <?php echo $newDepDate; ?></div>
										
										
                                    </div>
                                    <div class="colunm4"><p class=""><?php echo $dep_iata_city; ?></p><p class=""><?php echo $arr_iata_city; ?></p></div>
									
                                    <div class="colunm5">
                                        <div class="basicEconomy">
                                            
                                                <!--<i class="fa fa-info info_icon" onmouseover="showBasicEconomyDetails(this);" onmouseout="hideBasicEconomyDetails(this);"></i>-->
                                                <div class="basic-info_detail">
                                                    <i class="arrow"></i>
                                                    <span>Basic Economy is a great choice for travelers who want to save some money. Traveling Basic Economy entails-</span>
                                                    <ul>
                                                        <li>No carry-ons other than a small personal item</li>
                                                        <li>No access to overhead luggage bins</li>
                                                        <li>No check in baggage (applicable on some airlines)</li>
                                                        <li>No refunds</li>
                                                        <li>No seat selection</li>
                                                    </ul>
                                                </div>
                                        </div>
                                        <div><i class="fa fa-clock-o" aria-hidden="true"></i> Non Stop</div>
                                    </div>
								<input type="hidden" name="carrierCode[]" value="<?php echo $carrier_Code; ?>" />
								<input type="hidden" name="airLogo[]" value="<?php echo $airline_logo; ?>" />
								<input type="hidden" name="airName[]" value="<?php echo $airlineName; ?>" />
								<input type="hidden" name="depIata[]" value="<?php echo $depIata; ?>" />
								<input type="hidden" name="arrIata[]" value="<?php echo $arrIata; ?>" />
								<input type="hidden" name="tripType[]" value="<?php echo $tripType; ?>" />
								<input type="hidden" name="depCity[]" value="<?php echo $dep_iata_city; ?>" />
								<input type="hidden" name="arrCity[]" value="<?php echo $arr_iata_city; ?>" />
								<input type="hidden" name="depTime[]" value="<?php echo $dep_time; ?>" />
								<input type="hidden" name="arrTime[]" value="<?php echo $arr_time; ?>" />
								<input type="hidden" name="tripTime[]" value="<?php echo $totalDuration; ?>" />
								<input type="hidden" name="depDate[]" value="<?php echo $newDepDate; ?>" />
								<input type="hidden" name="retDate[]" value="<?php echo $newRetrnDate; ?>" />
                                <div class="layover"></div>
									
                                </div>
								<?php }} ?>
								
								
                            <div class="grey-row">
                                <div class="first-scc">
                                    <i class="fa fa-clock-o" aria-hidden="true"></i> Flight Duration Time: <?php echo $trip_time; ?>	
                                </div>
                                <div class="third-scc">
                                    <i class="fa fa-clock-o" aria-hidden="true"></i> Total Trip: <?php echo $totalDuration; ?>
                                </div>
                            </div>

                        <!--<div class="bagges-fees">Baggage fees</div>-->
                    </div>
                </div>
				
                <div class="ticket-desc-div">
                    <h3>Contact Information</h3>
                    <div class="contact-information">
						<div class="col-sm-12 col-md-4 col-lg-4">
						   <label>Contact Name*</label>
                            <input class="form-control" id="cName" maxlength="25" name="cName" placeholder="Contact Name*" type="text" required />
                        </div>
					
                        <div class="col-sm-12 col-md-4 col-lg-4">
						   <label>Contact Phone*</label>
                            <input class="form-control"  maxlength="15" name="phoneNo" onkeypress="return onlyNumerics(event)" placeholder="Contact Phone*" type="text" required />
                        </div>
                        
                        <div class="col-sm-12 col-md-4 col-lg-4">
						    <label>Email Address*</label>
                            <input class="form-control"  name="emailID" placeholder="Email Address*" type="email" required />
                        </div>
                    </div>
                </div>
				
				
				
				
				
                <div class="ticket-desc-div">
                    <h3>Passenger Name(s)</h3>
                    <div class="peassenger-inform">
                        <input type="hidden" id="ageDate" value="02-12-2022" />
                        <div class="important"><span>IMPORTANT:</span> Each passenger’ full name must be entered as it appears on their passport or government issued photo ID.</div>
						
						
						<?php for ($x = 1; $x <= $adults; $x++) { ?>	
						<h5>Adult <?php echo $x; ?> </h5>
						<input type="hidden" name="travelerType[]" value="Adult"/>
                            <div class="passenger_details ">
                                <div class="pay_pax_detail">
                                    <label>First Name*</label>
                                    <input class="form-control" id="passFirstName_<?php echo $x; ?>" name="passFirstName[]"  maxlength="30" placeholder="First Name*" type="text" required />
                                </div>
                                <div class="pay_pax_detail">
                                    <label>Middle Name</label>
                                    <input class="form-control" id="passengerDetails_0__middleName_<?php echo $x; ?>" maxlength="30" name="passMidName[]" onblur="SetName();" oncopy="return false;" onkeypress="return LettersCommaOnly(event)" onpaste="return false;" placeholder="Middle Name" type="text" value="" />
                                </div>
                                <div class="pay_pax_detail ">
                                    <label>Last Name*</label>
                                    <input class="form-control" id="passengerDetails_0__lastName_<?php echo $x; ?>" maxlength="30" name="passLastName[]" onblur="SetName();" oncopy="return false;" onkeypress="return LettersCommaOnly(event)" onpaste="return false;" placeholder="Last Name*" type="text" required />
                                </div>
                                <div class="pay_pax_gender">
                                    <label>Gender*</label>
                                    <select class="form-control" data-val="true" data-val-required="The gender field is required." id="passengerDetails_0__gender_<?php echo $x; ?>" name="passGender[]" required >
									<option value="">Select</option>
									<option value="Male">Male</option>
									<option value="Female">Female</option>
									</select>
								</div>
                                <div class="pay_pax_birth">
                                    <label>Date Of Birth*</label>
                                    <span><select class="form-control" id="passengerDetails_0__month_<?php echo $x; ?>" name="passDobMonth[]" required>
									<option selected="selected" value="">Month</option>
									<option value="1">January</option>
									<option value="2">February</option>
									<option value="3">March</option>
									<option value="4">April</option>
									<option value="5">May</option>
									<option value="6">June</option>
									<option value="7">July</option>
									<option value="8">August</option>
									<option value="9">September</option>
									<option value="10">October</option>
									<option value="11">November</option>
									<option value="12">December</option>
									</select></span>
                                    <span><select class="form-control" id="passengerDetails_0__day_<?php echo $x; ?>" name="passDobDay[]" required>
									<option selected="selected" value="">Day</option>
									<option value="1">1</option>
									<option value="2">2</option>
									<option value="3">3</option>
									<option value="4">4</option>
									<option value="5">5</option>
									<option value="6">6</option>
									<option value="7">7</option>
									<option value="8">8</option>
									<option value="9">9</option>
									<option value="10">10</option>
									<option value="11">11</option>
									<option value="12">12</option>
									<option value="13">13</option>
									<option value="14">14</option>
									<option value="15">15</option>
									<option value="16">16</option>
									<option value="17">17</option>
									<option value="18">18</option>
									<option value="19">19</option>
									<option value="20">20</option>
									<option value="21">21</option>
									<option value="22">22</option>
									<option value="23">23</option>
									<option value="24">24</option>
									<option value="25">25</option>
									<option value="26">26</option>
									<option value="27">27</option>
									<option value="28">28</option>
									<option value="29">29</option>
									<option value="30">30</option>
									<option value="31">31</option>
									</select></span>
                                    <span><select class="form-control" id="passengerDetails_0__year_<?php echo $x; ?>" name="passDobYear[]" required>
									<option value="2011">2011</option>
									<option value="2010">2010</option>
									<option value="2009">2009</option>
									<option value="2008">2008</option>
									<option value="2007">2007</option>
									<option value="2006">2006</option>
									<option value="2005">2005</option>
									<option value="2004">2004</option>
									<option value="2003">2003</option>
									<option value="2002">2002</option>
									<option value="2001">2001</option>
									<option value="2000">2000</option>
									<option value="1999">1999</option>
									<option value="1998">1998</option>
									<option value="1997">1997</option>
									<option value="1996">1996</option>
									<option value="1995">1995</option>
									<option value="1994">1994</option>
									<option value="1993">1993</option>
									<option value="1992">1992</option>
									<option value="1991">1991</option>
									<option value="1990">1990</option>
									<option value="1989">1989</option>
									<option value="1988">1988</option>
									<option value="1987">1987</option>
									<option value="1986">1986</option>
									<option value="1985">1985</option>
									<option value="1984">1984</option>
									<option value="1983">1983</option>
									<option value="1982">1982</option>
									<option value="1981">1981</option>
									<option value="1980">1980</option>
									<option value="1979">1979</option>
									<option value="1978">1978</option>
									<option value="1977">1977</option>
									<option value="1976">1976</option>
									<option value="1975">1975</option>
									<option value="1974">1974</option>
									<option value="1973">1973</option>
									<option value="1972">1972</option>
									<option value="1971">1971</option>
									<option value="1970">1970</option>
									<option value="1969">1969</option>
									<option value="1968">1968</option>
									<option value="1967">1967</option>
									<option value="1966">1966</option>
									<option value="1965">1965</option>
									<option value="1964">1964</option>
									<option value="1963">1963</option>
									<option value="1962">1962</option>
									<option value="1961">1961</option>
									<option value="1960">1960</option>
									<option value="1959">1959</option>
									<option value="1958">1958</option>
									<option value="1957">1957</option>
									<option value="1956">1956</option>
									<option value="1955">1955</option>
									<option value="1954">1954</option>
									<option value="1953">1953</option>
									<option value="1952">1952</option>
									<option value="1951">1951</option>
									<option value="1950">1950</option>
									<option value="1949">1949</option>
									<option value="1948">1948</option>
									<option value="1947">1947</option>
									<option value="1946">1946</option>
									<option value="1945">1945</option>
									<option value="1944">1944</option>
									<option value="1943">1943</option>
									<option value="1942">1942</option>
									<option value="1941">1941</option>
									<option value="1940">1940</option>
									<option value="1939">1939</option>
									<option value="1938">1938</option>
									<option value="1937">1937</option>
									<option value="1936">1936</option>
									<option value="1935">1935</option>
									<option value="1934">1934</option>
									<option value="1933">1933</option>
									<option value="1932">1932</option>
									<option value="1931">1931</option>
									<option value="1930">1930</option>
									<option value="1929">1929</option>
									<option value="1928">1928</option>
									<option value="1927">1927</option>
									<option value="1926">1926</option>
									<option value="1925">1925</option>
									<option value="1924">1924</option>
									<option value="1923">1923</option>
									<option value="1922">1922</option>
									</select></span>
                                </div>

                            </div>
							
						<?php } ?>
						<div class="borderBottom"></div>	
							
						
							
							<?php for ($x = 1; $x <= $childs; $x++) { ?>
                            <h5>Child <?php echo $x; ?></h5>
							<input type="hidden" name="travelerType[]" value="Child" />
                            <div class="passenger_details ">
                                <div class="pay_pax_detail">
                                    <label>First Name*</label>
                                    <input class="form-control" id="passengerDetails_2__firstName_<?php echo $x; ?>" maxlength="30" name="passFirstName[]" onblur="SetName();" oncopy="return false;" onkeypress="return LettersCommaOnly(event)" onpaste="return false;" placeholder="First Name*" type="text" value="" required />
                                </div>
                                <div class="pay_pax_detail">
                                    <label>Middle Name</label>
                                    <input class="form-control" id="passengerDetails_2__middleName_<?php echo $x; ?>" maxlength="30" name="passMidName[]" onblur="SetName();" oncopy="return false;" onkeypress="return LettersCommaOnly(event)" onpaste="return false;" placeholder="Middle Name" type="text" value="" />
                                </div>
                                <div class="pay_pax_detail ">
                                    <label>Last Name*</label>
                                    <input class="form-control" id="passengerDetails_2__lastName_<?php echo $x; ?>" maxlength="30" name="passLastName[]" onblur="SetName();" oncopy="return false;" onkeypress="return LettersCommaOnly(event)" onpaste="return false;" placeholder="Last Name*" type="text" value="" required />
                                </div>
                                <div class="pay_pax_gender">
                                    <label>Gender*</label>
                                    <select class="form-control" data-val="true" data-val-required="The gender field is required." id="passengerDetails_2__gender_<?php echo $x; ?>" name="passGender[]" required >
									<option value="">Select</option>
									<option value="Miss">Miss</option>
									<option value="Master">Master</option>
								</select>

                                </div>
                                <div class="pay_pax_birth">
                                    <label>Date Of Birth*</label>
                                    <span><select class="form-control" id="passengerDetails_2__month_<?php echo $x; ?>" name="passDobMonth[]" required >
								<option selected="selected" value="">Month</option>
								<option value="1">January</option>
								<option value="2">February</option>
								<option value="3">March</option>
								<option value="4">April</option>
								<option value="5">May</option>
								<option value="6">June</option>
								<option value="7">July</option>
								<option value="8">August</option>
								<option value="9">September</option>
								<option value="10">October</option>
								<option value="11">November</option>
								<option value="12">December</option>
								</select></span>
                                <span><select class="form-control" id="passengerDetails_2__day_<?php echo $x; ?>" name="passDobDay[]" required>
									<option selected="selected" value="">Day</option>
									<option value="1">1</option>
									<option value="2">2</option>
									<option value="3">3</option>
									<option value="4">4</option>
									<option value="5">5</option>
									<option value="6">6</option>
									<option value="7">7</option>
									<option value="8">8</option>
									<option value="9">9</option>
									<option value="10">10</option>
									<option value="11">11</option>
									<option value="12">12</option>
									<option value="13">13</option>
									<option value="14">14</option>
									<option value="15">15</option>
									<option value="16">16</option>
									<option value="17">17</option>
									<option value="18">18</option>
									<option value="19">19</option>
									<option value="20">20</option>
									<option value="21">21</option>
									<option value="22">22</option>
									<option value="23">23</option>
									<option value="24">24</option>
									<option value="25">25</option>
									<option value="26">26</option>
									<option value="27">27</option>
									<option value="28">28</option>
									<option value="29">29</option>
									<option value="30">30</option>
									<option value="31">31</option>
									</select></span>
                                    <span><select class="form-control" id="passengerDetails_2__year_<?php echo $x; ?>" name="passDobYear[]" required>
									<option value="2021">2021</option>
									<option value="2020">2020</option>
									<option value="2019">2019</option>
									<option value="2018">2018</option>
									<option value="2017">2017</option>
									<option value="2016">2016</option>
									<option value="2015">2015</option>
									<option value="2014">2014</option>
									<option value="2013">2013</option>
									<option value="2012">2012</option>
									<option value="2011">2011</option>
									<option value="2010">2010</option>
									</select></span>
                                </div>

                            </div>
                            
                            <?php } ?>
							<div class="borderBottom"></div>
							
							
							<?php for ($x = 1; $x <= $infants; $x++) { ?>
                            <h5>Infant <?php echo $x; ?> </h5>
							<input type="hidden" name="travelerType[]" value="Infant" />
                            <div class="passenger_details ">
                                <div class="pay_pax_detail">
                                    <label>First Name*</label>
                                    <input class="form-control" id="passengerDetails_3__firstName_<?php echo $x; ?>" maxlength="30" name="passFirstName[]" onblur="SetName();" oncopy="return false;" onkeypress="return LettersCommaOnly(event)" onpaste="return false;" placeholder="First Name*" type="text" required />
                                </div>
                                <div class="pay_pax_detail">
                                    <label>Middle Name</label>
                                    <input class="form-control" id="passengerDetails_3__middleName_<?php echo $x; ?>" maxlength="30" name="passMidName[]" onblur="SetName();" oncopy="return false;" onkeypress="return LettersCommaOnly(event)" onpaste="return false;" placeholder="Middle Name" type="text" value="" />
                                </div>
                                <div class="pay_pax_detail ">
                                    <label>Last Name*</label>
                                    <input class="form-control" id="passengerDetails_3__lastName_<?php echo $x; ?>" maxlength="30" name="passLastName[]" onblur="SetName();" oncopy="return false;" onkeypress="return LettersCommaOnly(event)" onpaste="return false;" placeholder="Last Name*" type="text" value="" />
                                </div>
                                <div class="pay_pax_gender">
                                    <label>Gender*</label>
                                    <select class="form-control" data-val="true" data-val-required="The gender field is required." id="passengerDetails_3__gender_<?php echo $x; ?>" name="passGender[]" required>
								<option value="">Select</option>
								<option value="Miss">Miss</option>
								<option value="Master">Master</option>
								</select>

                                </div>
                                <div class="pay_pax_birth">
                                    <label>Date Of Birth*</label>
                                    <span><select class="form-control" id="passengerDetails_3__month_<?php echo $x; ?>" name="passDobMonth[]" required>
									<option selected="selected" value="">Month</option>
								<option value="1">January</option>
								<option value="2">February</option>
								<option value="3">March</option>
								<option value="4">April</option>
								<option value="5">May</option>
								<option value="6">June</option>
								<option value="7">July</option>
								<option value="8">August</option>
								<option value="9">September</option>
								<option value="10">October</option>
								<option value="11">November</option>
								<option value="12">December</option>
								</select></span>
                                <span><select class="form-control" id="passengerDetails_3__day_<?php echo $x; ?>" name="passDobDay[]" required>
								<option selected="selected" value="">Day</option>
								<option value="1">1</option>
								<option value="2">2</option>
								<option value="3">3</option>
								<option value="4">4</option>
								<option value="5">5</option>
								<option value="6">6</option>
								<option value="7">7</option>
								<option value="8">8</option>
								<option value="9">9</option>
								<option value="10">10</option>
								<option value="11">11</option>
								<option value="12">12</option>
								<option value="13">13</option>
								<option value="14">14</option>
								<option value="15">15</option>
								<option value="16">16</option>
								<option value="17">17</option>
								<option value="18">18</option>
								<option value="19">19</option>
								<option value="20">20</option>
								<option value="21">21</option>
								<option value="22">22</option>
								<option value="23">23</option>
								<option value="24">24</option>
								<option value="25">25</option>
								<option value="26">26</option>
								<option value="27">27</option>
								<option value="28">28</option>
								<option value="29">29</option>
								<option value="30">30</option>
								<option value="31">31</option>
								</select>
								</span>
                                
								<span>
								<select class="form-control" id="passengerDetails_3__year_<?php echo $x; ?>" name="passDobYear[]" required>
								<option value="2022">2022</option>
								<option value="2021">2021</option>
								<option value="2020">2020</option>
								</select>
								</span>
                                </div>
							</div>
							<?php } ?>
                            <div class="borderBottom"></div>
							
                    </div>
                </div>


            </div>
            <!-- Middle section End-->
            <!--Right Section start-->

            <div class="right-section-price">
                
                <div class="price-section">
                    <h3><img src="images/price-icon.jpg" width="24"  alt="" />
					PRICE DETAILS (USD) </h3>
                    <div class="pricing">
                        <?php $adultPrice  = $_SESSION['adultPrice'] = $_POST['adultPrice'];
						
						$ChildPrice  = $_SESSION['childPrice'] = $_POST['childPrice'];
						
						$infantPrice = $_SESSION['infantPrice'] = $_POST['infantPrice'];?>
							
						<div class="price-row">
                            <label class="psen-name"><?php echo $adults; ?> Adult</label>
                            <label class="rate-amount">$<?php echo array_sum($adultPrice); ?></label>
                        </div>
						
						
						<?php
						if($childs > 0){
						?>
                        <div class="price-row">
                            <label class="psen-name"><?php echo $childs; ?> Child</label>
                            <label class="rate-amount">$<?php echo array_sum($ChildPrice); ?></label>
                        </div>
						<?php }else{ ?>
						<?php } ?>	
						
						
						<?php
						if($infants > 0){
						?>
						<div class="price-row">
                             <label class="psen-name"><?php echo $infants; ?> Infant</label>
                             <label class="rate-amount">$<?php echo array_sum($infantPrice); ?></label>
                        </div>
						<?php }else{ ?>
						<?php } ?>
						
                        <div class="price-row">
                            <label class="psen-name">Base Fare :</label>
                            <label class="rate-amount">
                                $<?php echo $_POST['price_base']; ?>
                            </label>
							<input type="hidden" class="calculate_base_fare" name="cal_base_fare" id="cal_base_fare" value="<?php echo $_POST['price_base']; ?>">
                        </div>
                        <div class="price-row">
                            <label class="psen-name">Taxes & Fees</label>
                            <label class="rate-amount">
                            $<?php echo $_POST['grand_total']-$_POST['price_base']; ?>
							</label>
							<input type="hidden" class="calculate_taxes" name="cal_taxes" id="cal_taxes" value="<?php echo $_POST['grand_total']-$_POST['price_base']; ?>">
							
							<input type="hidden" class="calculate_total" name="cal_total_fare" id="cal_total_fare" value="<?php echo $_POST['grand_total']; ?>">
                        </div>
                        <div class="price-row insurance_amount" style="display:none;">
                            <label class="psen-name InsuranceAmount">Insurance Amount</label>
                            <label class="rate-amount InsuranceAmount">
                                $0
                            </label>
							<input type="hidden" class="calculate_total" name="cal_insurance_amount" id="cal_insurance_amount" value="0">
                        </div>
                        <div class="price-row cancellation_amount" style="display:none;">
                            <label class="psen-name CancellaionPolicy">Cancellation Policy</label>
                            <label class="rate-amount CancellaionPolicyLabel">
                                $60.00
                            </label>
							<input type="hidden" class="calculate_total" name="cal_cancellation_amount" id="cal_cancellation_amount" value="0">
                        </div>
                        <div class="price-row travel_ass_amount" style="display:none;">
                            <label class="psen-name TravelAssistance">Travel Assistance</label>
                            <label class="rate-amount TravelAssistance">
                                $0.00
                            </label>
                        </div>
                        <div class="price-row flexible_amount" style="display:none;">
                            <label class="psen-name FlexibleTicket">Flexible Ticket</label>
                            <label class="rate-amount FlexibleTicketLabel">
                                $520.00
                            </label>
							<input type="hidden" class="calculate_total" name="cal_flexible_amount" id="cal_flexible_amount" value="0">
                        </div>
                        <div class="price-row" id="SeatsAssign" style="display:none;">
                            <label class="psen-name ">Seats Assign</label>
                            <label class="rate-amount SeatsAssignLabel">
                           
                            </label>
							<input type="hidden" class="calculate_total" name="cal_seats_assign" id="cal_seats_assign" value="0">
                        </div>
                        <div class="price-row" id="CouponPriceDetails" style="display:none;">
                            <label class="psen-name ">Coupon Discount</label>
                            <label class="rate-amount ">
                                $<span id="CouponAmt"></span>
                            </label>
                        </div>
						<input type="hidden" name="hftotalAmt" id="hftotalAmt" value="<?php echo $_POST['grand_total']; ?>" />
                    </div>
                    <div class="coupn-section">
                        <!--<span class="coupon-code">Have Coupon Code <i class="fa fa-angle-double-down"></i></span>
                        <div class="coupon_sec">
                            <input id="CouponCode" name="CouponCode" placeholder="Coupon Code" type="text" value="" />
                            <span onclick="ApplyCouponCode()">Apply</span>
                        </div>-->
                        <div style="width:100%; display:none;" id="CouponProg"><img src="/images/loder.gif" /></div>
                        <div style="width:100%; color:red" id="CouponMsg"></div>
                        <div style="clear:both;"></div>
                        <h4>
                            Final Total Price: <em id="totalAmount1"><?php echo $_POST['grand_total']; ?></em><em>$</em>
							
                        </h4>
                        <p>Note: All Fares displayed are quoted in USD and Inclusive of base fare, taxes and fees. Additional Baggage fees may apply as per the airline policies.</p>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="middle-search">
                <div class="ticket-desc-div" style="display:none !important;">
                    <h3 class="extended_can">
                        <img src="images/customer-carewh.png" />Extended Cancellation Policy<p>
                            Allow yourself to cancel your flight within 24 hours from the time of booking for any reason! Company charges for it <b>$15.00</b>
                            <span>(Per Person).</span>
                        </p>
                    </h3>
                    <div class="policy-section">
                        <div class="policy-text">
                            <ol>
                                <li><i class="fa fa-check"></i> Cancel or Re-book You Booking For Any Reason Within 24 Hours</li>
                                <li><i class="fa fa-check"></i> Only Applicable for US Departures</li>
                                <li><i class="fa fa-check"></i> If you wish to cancel, kindly email us at Info@travelobien.com </li>
                            </ol>
                           
                               <div class="policy_textse">
									<label for="cancelpolicy_yes">
									<input id="cancelpolicy_yes" type="radio" name="cancellation_policy" value="Yes" >
									<span class="policy_one" id="CancelPolicyYes" > Yes, I’d like to take advantage of the Extended Cancellation Policy benefits!</span>
									</label>
									<div class="clearfix"></div>
									
									<label for="cancelpolicy_no">
									<input id="cancelpolicy_no" type="radio" name="cancellation_policy" value="No" checked>
                                    <span class="policy_two" id="CancelPolicyNo" > No thanks, I just want 2 hours free Cancellation.</span>
									</label>
							  </div>
                           <p>* Extended Cancellation Policy Is Non- Refundable Once Purchased.</p>
							</div>
							<div class="ammount" style="display:none;">
                            $<?php echo $cancellation_charge;?>
                            <span>Per Person</span>
							</div>
                    </div>
                </div>
				
                <div class="ticket-desc-div" style="display:block;">
                    <h3 class="extended_can"><img src="images/best-pricew.png" />FLEXIBLE TICKET<p><b>FREE Rebooking!</b> Avoid all airline or agency change fees and penalties. We will rebook your ticket for different dates at no cost other than the fare difference, if any.</p></h3>
                    <div class="policy-section">
                        <div class="flixible_policy">
                           
                                <div class="policy_textse">
									<label for="flexibleticket_yes">
									<input id="flexibleticket_yes" type="radio" name="flexibleticket" value="Yes"  >
                                    <span class="policy_one" id="FlexibleTicketYes"> Yes, I’d like to take advantage of the Flexible Ticket Policy benefits!</span>
									</label>
									<div class="clearfix"></div>
									<label for="flexibleticket_no">
									<input id="flexibleticket_no" type="radio" name="flexibleticket" value="No" checked >
                                    <span class="policy_two" id="FlexibleTicketNo"> No thanks, I just want 2 hours free Cancellation.</span>
									</label>
                                </div>
                         
                        </div>
                        <p>* Flexible Ticket Is Non- Refundable Once Purchased.</p>
                        <div class="ammount_two" style="display:none;">
                            $<?php echo $flexible_charge;?>
                            <span>Per Person</span>
                        </div>
                    </div>
                </div>

                <div class="ticket-desc-div" style="display:block;">
                    <h3 class="seat_req"><img src="images/seat_req.png" />Request Your Seat <p>Relax knowing the airline has your seat preference right away. You can select a preference for a window seat, aisle seat, or a seat closest to the front. We are transmitting your seat request to the airline directly for <b id="seat_selection_amount">$<?php echo $chbAisle;?></b> (Per Person).</p></h3>
                    <div class="request_con">
                        <div class="seat_con">
                            <img src="images/AisleSeat.jpg" />
                            <p>Aisle Seat And Adjacent Seats</p>
							<!--onclick="AssignSeat('Aisle');"-->
                            <span><input type="radio" name="SeatSelection" id="chbAisle" value="Aisle"  /></span>
                        </div>
                        <div class="seat_con">
                            <img src="images/WindowSeat.jpg" />
                            <p>Window Seat And Adjacent Seats</p>
                            <span><input type="radio" name="SeatSelection" id="chbWindow" value="Window" /></span>
                        </div>
                        <div class="seat_con">
                            <img src="images/NoPreference.jpg" />
                            <p>No Preference</p>
                            <span><input type="radio" name="SeatSelection" id="chbNoPreference" value="No Preference" checked="checked" /></span>
                        </div>
                        <p class="request_note">The confirmation of the seat you've requested is contingent upon the airline's guidelines for the chosen fare type! .</p>
                    </div>
                </div>
                <div class="ticket-desc-div">
                    <h3>Payment Information</h3>
                    <div class="payment-information">
                        <div class="safe-content">
                            <div class="card_pay">
                                <img src="images/lock.jpg" width="11" height="13" alt="" /> Safe and secure billing
                                <span>This is a secure 256-bit SSL encrypted payment . You’re Safe!</span>
                            </div>
                            <div class="card_accept"><img src="images/payment-card.png" width="236" height="37" alt="payment-card" /></div>
                        </div>
                        <div class="card-details">
                            <div class="pay_page_card">
                                <label>Card Number*</label>
                                <input class="form-control cardcode" id="number_entered" maxlength="16" name="cardNumber"  onblur="validatecreditcard();" placeholder="Card Number*" type="text" required />
								<div class="clearfix"></div>
                                <div id="validateCard"></div>
                            </div>
							
                            <div class="card_expire_date">
                                <label>Expiration Date*</label>
                                <div class="pay_page_expm">
                                    <select class="form-control" id="paymentDetails_expiryMonth" name="expiryMonth" required >
									<option selected="selected" value="">Month</option>
									<option value="Feb">February</option>
									<option value="Mar">March</option>
									<option value="Apr">April</option>
									<option value="May">May</option>
									<option value="Jun">June</option>
									<option value="Jul">July</option>
									<option value="Aug">August</option>
									<option value="Sep">September</option>
									<option value="Oct">October</option>
									<option value="Nov">November</option>
									<option value="Dec">December</option>
									</select>
                                </div>
								
                                <div class="pay_page_expm">
                                <select class="form-control" id="paymentDetails_expiryYear" name="expiryYear" required >
								<option selected="selected" value="">Year</option>
								<option value="2022">2022</option>
								<option value="2023">2023</option>
								<option value="2024">2024</option>
								<option value="2025">2025</option>
								<option value="2026">2026</option>
								<option value="2027">2027</option>
								<option value="2028">2028</option>
								<option value="2029">2029</option>
								<option value="2030">2030</option>
								<option value="2031">2031</option>
								<option value="2032">2032</option>
								</select>
                                </div>
                            </div>
                            <div class="pay_page_cvv">
                                <label>Security Code (CVV)*</label>
                                <input class="form-control" id="paymentDetails_cvvNo" maxlength="4" name="cvvNo" onkeypress="return onlyNumerics(event)" placeholder="CVV No" type="password" required />

                            </div>
                            <div class="pay_page_name">
                                <label>Full Name on Card*</label>
                                <input class="form-control" id="paymentDetails_cardHolderName" maxlength="30" name="cardHolderName" oncopy="return false;" onkeypress="return LettersOnly(event)" onpaste="return false;" placeholder="Card Holder&#39;s Full name" type="text" required />

                            </div>
                        </div>
                       

                    </div>
                </div>
                <div class="ticket-desc-div billing-information">
                    <h3>Billing Information</h3>
                    <div class="row">
                        <div class="col-sm-12 col-md-2 col-lg-2">
                            <label>Country*</label>
                        </div>
                        <div class="col-sm-12 col-md-4 col-lg-4">
                        <select class="form-control" id="paymentDetails_country" name="country" required >
						<option value="">Select Country</option>
						<option selected="selected" value="US">United States</option>
						<option value="CA">Canada</option>
						<option value="">----------</option>
						<option value="AF">Afghanistan</option>
						<option value="AX">Aland Islands</option>
						<option value="AL">Albania</option>
						<option value="DZ">Algeria</option>
						<option value="AS">American Samoa</option>
						<option value="AD">Andorra</option>
						<option value="AO">Angola</option>
						<option value="AI">Anguilla</option>
						<option value="AQ">Antarctica</option>
						<option value="AG">Antigua and Barbuda</option>
						<option value="AR">Argentina</option>
						<option value="AM">Armenia</option>
						<option value="AW">Aruba</option>
						<option value="AU">Australia</option>
						<option value="AT">Austria</option>
						<option value="AZ">Azerbaijan</option>
						<option value="BS">Bahamas</option>
						<option value="BH">Bahrain</option>
						<option value="BD">Bangladesh</option>
						<option value="BB">Barbados</option>
						<option value="BY">Belarus</option>
						<option value="BE">Belgium</option>
						<option value="BZ">Belize</option>
						<option value="BJ">Benin</option>
						<option value="BM">Bermuda</option>
						<option value="BT">Bhutan</option>
						<option value="BO">Bolivia</option>
						<option value="BA">Bosnia and Herzegovina</option>
						<option value="BW">Botswana</option>
						<option value="BV">Bouvet Island</option>
						<option value="BR">Brazil</option>
						<option value="IO">British Indian Ocean Territory</option>
						<option value="BN">Brunei Darussalam</option>
						<option value="BG">Bulgaria</option>
						<option value="BF">Burkina Faso</option>
						<option value="BI">Burundi</option>
						<option value="KH">Cambodia</option>
						<option value="CM">Cameroon</option>
						<option value="CV">Cape Verde</option>
						<option value="KY">Cayman Islands</option>
						<option value="CF">Central African Republic</option>
						<option value="TD">Chad</option>
						<option value="CL">Chile</option>
						<option value="CN">China</option>
						<option value="CX">Christmas Island</option>
						<option value="CC">Cocos (Keeling) Islands</option>
						<option value="CO">Colombia</option>
						<option value="KM">Comoros</option>
						<option value="CG">Congo</option>
						<option value="CD">Congo The Democratic Republic of the</option>
						<option value="CK">Cook Islands</option>
						<option value="CR">Costa Rica</option>
						<option value="CI">C&amp;#244;te d&#39;Ivoire</option>
						<option value="HR">Croatia</option>
						<option value="CU">Cuba</option>
						<option value="CY">Cyprus</option>
						<option value="CZ">Czech Republic</option>
						<option value="DK">Denmark</option>
						<option value="DJ">Djibouti</option>
						<option value="DM">Dominica</option>
						<option value="DO">Dominican Republic</option>
						<option value="EC">Ecuador</option>
						<option value="EG">Egypt</option>
						<option value="SV">El Salvador</option>
						<option value="GQ">Equatorial Guinea</option>
						<option value="ER">Eritrea</option>
						<option value="EE">Estonia</option>
						<option value="ET">Ethiopia</option>
						<option value="FK">Falkland Islands (Malvinas)</option>
						<option value="FO">Faroe Islands</option>
						<option value="FJ">Fiji</option>
						<option value="FI">Finland</option>
						<option value="FR">France</option>
						<option value="GF">French Guiana</option>
						<option value="PF">French Polynesia</option>
						<option value="TF">French Southern Territories</option>
						<option value="GA">Gabon</option>
						<option value="GM">Gambia</option>
						<option value="GE">Georgia</option>
						<option value="DE">Germany</option>
						<option value="GH">Ghana</option>
						<option value="GI">Gibraltar</option>
						<option value="GR">Greece</option>
						<option value="GL">Greenland</option>
						<option value="GD">Grenada</option>
						<option value="GP">Guadeloupe</option>
						<option value="GU">Guam</option>
						<option value="GT">Guatemala</option>
						<option value="GG">Guernsey</option>
						<option value="GN">Guinea</option>
						<option value="GW">Guinea-Bissau</option>
						<option value="GY">Guyana</option>
						<option value="HT">Haiti</option>
						<option value="HM">Heard Island and McDonald Islands</option>
						<option value="VA">Holy See (Vatican City State)</option>
						<option value="HN">Honduras</option>
						<option value="HK">Hong Kong</option>
						<option value="HU">Hungary</option>
						<option value="IS">Iceland</option>
						<option value="IN">India</option>
						<option value="ID">Indonesia</option>
						<option value="IR">Iran Islamic Republic of</option>
						<option value="IQ">Iraq</option>
						<option value="IE">Ireland</option>
						<option value="IM">Isle of Man</option>
						<option value="IL">Israel</option>
						<option value="IT">Italy</option>
						<option value="JM">Jamaica</option>
						<option value="JP">Japan</option>
						<option value="JE">Jersey</option>
						<option value="JO">Jordan</option>
						<option value="KZ">Kazakhstan</option>
						<option value="KE">Kenya</option>
						<option value="KI">Kiribati</option>
						<option value="KP">Korea Democratic People&#39;s Republic of</option>
						<option value="KR">Korea Republic of</option>
						<option value="KW">Kuwait</option>
						<option value="KG">Kyrgyzstan</option>
						<option value="LA">Lao People&#39;s Democratic Republic</option>
						<option value="LV">Latvia</option>
						<option value="LB">Lebanon</option>
						<option value="LS">Lesotho</option>
						<option value="LR">Liberia</option>
						<option value="LY">Libyan Arab Jamahiriya</option>
						<option value="LI">Liechtenstein</option>
						<option value="LT">Lithuania</option>
						<option value="LU">Luxembourg</option>
						<option value="MO">Macao</option>
						<option value="MK">Macedonia The Former Yugoslav Republic of</option>
						<option value="MG">Madagascar</option>
						<option value="MW">Malawi</option>
						<option value="MY">Malaysia</option>
						<option value="MV">Maldives</option>
						<option value="ML">Mali</option>
						<option value="MT">Malta</option>
						<option value="MH">Marshall Islands</option>
						<option value="MQ">Martinique</option>
						<option value="MR">Mauritania</option>
						<option value="MU">Mauritius</option>
						<option value="YT">Mayotte</option>
						<option value="MX">Mexico</option>
						<option value="FM">Microneia Federated States of</option>
						<option value="MD">Moldova</option>
						<option value="MC">Monaco</option>
						<option value="MN">Mongolia</option>
						<option value="ME">Montenegro</option>
						<option value="MS">Montserrat</option>
						<option value="MA">Morocco</option>
						<option value="MZ">Mozambique</option>
						<option value="MM">Myanmar</option>
						<option value="NA">Namibia</option>
						<option value="NR">Nauru</option>
						<option value="NP">Nepal</option>
						<option value="NL">Netherlands</option>
						<option value="AN">Netherlands Antilles</option>
						<option value="NC">New Caledonia</option>
						<option value="NZ">New Zealand</option>
						<option value="NI">Nicaragua</option>
						<option value="NE">Niger</option>
						<option value="NG">Nigeria</option>
						<option value="NU">Niue</option>
						<option value="NF">Norfolk Island</option>
						<option value="MP">Northern Mariana Islands</option>
						<option value="NO">Norway</option>
						<option value="OM">Oman</option>
						<option value="PK">Pakistan</option>
						<option value="PW">Palau</option>
						<option value="PS">Palestinian Territory Occupied</option>
						<option value="PA">Panama</option>
						<option value="PG">Papua New Guinea</option>
						<option value="PY">Paraguay</option>
						<option value="PE">Peru</option>
						<option value="PH">Philippines</option>
						<option value="PN">Pitcairn</option>
						<option value="PL">Poland</option>
						<option value="PT">Portugal</option>
						<option value="PR">Puerto Rico</option>
						<option value="QA">Qatar</option>
						<option value="RE">R&amp;#233;union</option>
						<option value="RO">Romania</option>
						<option value="RU">Russian Federation</option>
						<option value="RW">Rwanda</option>
						<option value="BL">Saint Barth&amp;#233;lemy</option>
						<option value="SH">Saint Helena</option>
						<option value="KN">Saint Kitts and Nevis</option>
						<option value="LC">Saint Lucia</option>
						<option value="MF">Saint Martin</option>
						<option value="PM">Saint Pierre and Miquelon</option>
						<option value="VC">Saint Vincent and the Grenadines</option>
						<option value="WS">Samoa</option>
						<option value="SM">San Marino</option>
						<option value="ST">Sao Tome and Principe</option>
						<option value="SA">Saudi Arabia</option>
						<option value="SN">Senegal</option>
						<option value="RS">Serbia</option>
						<option value="SC">Seychelles</option>
						<option value="SL">Sierra Leone</option>
						<option value="SG">Singapore</option>
						<option value="SK">Slovakia</option>
						<option value="SI">Slovenia</option>
						<option value="SB">Solomon Islands</option>
						<option value="SO">Somalia</option>
						<option value="ZA">South Africa</option>
						<option value="GS">South Georgia and the South Sandwich Islands</option>
						<option value="ES">Spain</option>
						<option value="LK">Sri Lanka</option>
						<option value="SD">Sudan</option>
						<option value="SR">Suriname</option>
						<option value="SJ">Svalbard and Jan Mayen</option>
						<option value="SZ">Swaziland</option>
						<option value="SE">Sweden</option>
						<option value="CH">Switzerland</option>
						<option value="SY">Syrian Arab Republic</option>
						<option value="TW">Taiwan Province of China</option>
						<option value="TJ">Tajikistan</option>
						<option value="TZ">Tanzania United Republic of</option>
						<option value="TH">Thailand</option>
						<option value="TL">Timor-Leste</option>
						<option value="TG">Togo</option>
						<option value="TK">Tokelau</option>
						<option value="TO">Tonga</option>
						<option value="TT">Trinidad and Tobago</option>
						<option value="TN">Tunisia</option>
						<option value="TR">Turkey</option>
						<option value="TM">Turkmenistan</option>
						<option value="TC">Turks and Caicos Islands</option>
						<option value="TV">Tuvalu</option>
						<option value="UG">Uganda</option>
						<option value="UA">Ukraine</option>
						<option value="AE">United Arab Emirates</option>
						<option value="UM">United States Minor Outlying Islands</option>
						<option value="UY">Uruguay</option>
						<option value="UZ">Uzbekistan</option>
						<option value="VU">Vanuatu</option>
						<option value="VE">Venezuela</option>
						<option value="VN">Viet Nam</option>
						<option value="VG">Virgin Islands British</option>
						<option value="VI">Virgin Islands U.S.</option>
						<option value="WF">Wallis and Futuna</option>
						<option value="EH">Western Sahara</option>
						<option value="YE">Yemen</option>
						<option value="ZM">Zambia</option>
						<option value="ZW">Zimbabwe</option>
						</select>

                        </div>
                        <div class="col-sm-12 col-md-2 col-lg-2">
                            <label>State*</label>
                        </div>
						
                        <div class="col-sm-12 col-md-4 col-lg-4" id="divState">
                            <input class="form-control" id="paymentDetails_stateOther" name="state" type="text"  placeholder="Enter State" required />

                        </div>
						
                       
                        <div class="col-sm-12 col-md-2 col-lg-2">
                            <label>Address 1*</label>
                        </div>
                        <div class="col-sm-12 col-md-4 col-lg-4">
                            <input class="form-control" id="paymentDetails_address1" maxlength="100" name="address1" placeholder="Address 1" type="text" required />

                        </div>
                        <div class="col-sm-12 col-md-2 col-lg-2">
                            <label>Address 2</label>
                        </div>
                        <div class="col-sm-12 col-md-4 col-lg-4">
                            <input class="form-control" id="paymentDetails_address2" maxlength="100" name="address2" placeholder="Address 2" type="text" value="" />
                        </div>
                        <div class="col-sm-12 col-md-2 col-lg-2">
                            <label>City*</label>
                        </div>
                        <div class="col-sm-12 col-md-4 col-lg-4">
                            <input class="form-control" id="paymentDetails_city" maxlength="50" name="city" placeholder="City/ Town" type="text" required />

                        </div>
                        <div class="col-sm-12 col-md-2 col-lg-2">
                            <label>Postal Code*</label>
                        </div>
                        <div class="col-sm-12 col-md-4 col-lg-4">
                            <input class="form-control" id="paymentDetails_postalCode" maxlength="7" name="postalCode" placeholder="Postal/Zip Code" type="text" required />

                        </div>
                        <div class="col-sm-12 col-md-2 col-lg-2">
                            <label>Billing Phone*</label>
                        </div>
                        <div class="col-sm-12 col-md-4 col-lg-4">
                            <input class="form-control" id="paymentDetails_billingPhoneNo" maxlength="15" name="billingPhoneNo" placeholder="Billing Phone" type="text" required />
                        </div>
                    </div>
                    <div class="row" id="billingError">

                    </div>
                </div>
                <div class="ticket-desc-div review">
                    
                        <div style="padding:12px;">
                            <b style="font-size:14px;color:#a31c20;">Important Information </b>
                            <p class="">Please confirm the name(s) of the passenger(s), travel dates and flight timings as selected by you. Name changes are not permitted once the booking is completed and after tickets are issued. Your tickets are non-refundable and non-transferable. Date and routing changes are subject to airline penalty rules and will incur change fees, fare differences and associated service fees. The total fare you agreed to pay includes <!--<a style="color:#a31c20" href="/taxes-fees" target="_blank"><b>taxes and fees</b></a> but not the baggage fees. All passengers must check in at the airport at least 3 hours before scheduled departure of your flights especially for international flights or else you will be marked as a No-Show. No-Show tickets has no value.--></p>
                        </div>
						
						<div style="width:90%;float:left;padding:10px;overflow:hidden;margin-left:2%;">
						<label for="checks">
						
						<p><input id="checks" type="checkbox" name="agree" value="Agree" required /> I have read and reviewed, electronically sign and agree to travelobien.com's <a href="terms-condition" target="_blank">terms and conditions</a> and <a href="privacy-policy" target="_blank">privacy policy</a>,and I authorize the charges on my credit or debit card.</p>
						<label>
						</div>

                    </div>
                </div>
                <div class="booknow-bt">
                    
                    <button id="bookBtn" type="submit" name="bookNow" data-toggle="modal" data-target="myModal">BOOK NOW</button>
                        
					<p><img src="/images/lock2.jpg" width="9" height="12" alt="" /> Your transaction and personal information are secure.</p>
                </div>
            </div>
        </div>
    </form>
</div>
<div id="divSessionOut" class="SessionTimeOut">
    <div class="sessionbox">
        <div class="row">
            <div class="col-md-12">
                <div class="col-md-3"></div>
                <div class="col-md-6 session-exp nopadding">
                    <h2 class="session-head"> Session expired</h2>
                    <div class="session_content">
                        <h3 class="text-center t-color2"><i class="fa fa-clock-o"></i>Your Session has expired</h3><br />
                        <p class="text-center session-color">
                            Your preferred search session has expired. We regret the inconvenience caused
                        </p><br />
                        <div class="col-md-6  col-xs-6"><p class="session-2"><a href="/" class="search-button-01 se-05">Go to Home</a></p></div>
                        <div class="col-md-6  col-xs-6 pull-right"><p><a class="search-button-02" onclick="SearchAgain();" href="/flight/getFlightResult?sec1=DCA|MCO|2022-02-12&amp;sec2=&amp;sec3=&amp;sec4=&amp;adults=2&amp;child=1&amp;infants=1&amp;cabin=1&amp;airline=ALL&amp;siteid=6&amp;campain=1000&amp;currency=USD">Search Again</a></p></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
       </div>
	 
  
  

  <!-- Modal -->
  <div class="modal fade" id="myModal" role="dialog" data-backdrop="static" data-keyboard="false">
    <div class="modal-dialog modal-sm">
		<!-- Modal content-->
		<div class="modal-content">
        <div class="modal-body flex-div">
		  <center><img src="images/please-wait.gif" width="100%">
          <p>Please wait...</p>
		  <div class="clearfix"></div>
		  <p>While we confirming your Booking</p></center>
          
        </div>
		</div>
	</div>
  </div>
  
       <?php include"include/footer_panel.php"; ?>

    </div>
	 
	
	<script src="Scripts/jquery-1.10.2.min.js"></script>
	<script src="Scripts/jquery.validate_New.min.js"></script>
	<script src="js/html2canvas.js"></script>
	<script src="js/jquery.plugin.html2canvas.js"></script>
	<script src="Scripts/bootstrap.min.js"></script>
	<script src="Scripts/script.js"></script>
	<script src="Scripts/moment-with-locales.js"></script>
	<script src="Scripts/PaymentPage.js"></script>
	<script src="Scripts/jquery.custom-scrollbar.js"></script>
	<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.2/jquery.min.js'></script>
	
	<script>
	function validatecreditcard() {
	var request;
	try {
	request= new XMLHttpRequest();
	}
	catch (tryMicrosoft) {
	try {
	request= new ActiveXObject("Msxml2.XMLHTTP");
	}
	catch (otherMicrosoft) 
	{
	try {
	request= new ActiveXObject("Microsoft.XMLHTTP");
	}

	catch (failed) {
	request= null;
	}
	}
	}
	var url= "cardvalidation.php";
	var cardnumber= document.getElementById("number_entered").value;
	var vars= "creditcardnumber="+cardnumber;
	request.open("POST", url, true);

	request.setRequestHeader("Content-type", "application/x-www-form-urlencoded");

	request.onreadystatechange= function() {
	if (request.readyState == 4 && request.status == 200) {
		var return_data=  request.responseText;
		document.getElementById("validateCard").innerHTML= return_data;
	}
	}

	request.send(vars);
	}
	</script>
	
	
	<script>
	$(document).ready(function(){
	  $("#cancelpolicy_no").click(function(){
		$(".ammount").hide();
		$(".cancellation_amount").hide();
		$("#cal_cancellation_amount").val(0);
		calculte_fare();
	  });
	  $("#cancelpolicy_yes").click(function(){
		$(".ammount").show();
		$(".cancellation_amount").show();
		$(".CancellaionPolicyLabel").html('$<?php echo $total_cancellation_charge ?>');
		$("#cal_cancellation_amount").val(<?php echo $total_cancellation_charge ?>);
		calculte_fare();
	  });
	});
	
	$(document).ready(function(){
	  $("#flexibleticket_no").click(function(){
		$(".ammount_two").hide();
		$(".flexible_amount").hide();
		$("#cal_flexible_amount").val(0);
		calculte_fare();
	  });
	  $("#flexibleticket_yes").click(function(){
		$(".ammount_two").show();
		$(".flexible_amount").show();
		$(".FlexibleTicketLabel").html('$<?php echo $total_flexible_charge; ?>');
		$("#cal_flexible_amount").val(<?php echo $total_flexible_charge; ?>);
		calculte_fare();
	  });
	});
	
	$(document).ready(function(){
	  $("#chbAisle").click(function(){
		$("#SeatsAssign").show()  
		$(".SeatsAssignLabel").html('$<?php echo $total_chbAisle ?>');
		$("#cal_seats_assign").val(<?php echo $total_chbAisle ?>);
		$("#seat_selection_amount").html("$<?php echo $chbAisle ?>");
		calculte_fare();
	  });
	  $("#chbWindow").click(function(){
		$("#SeatsAssign").show()  
		$(".SeatsAssignLabel").html('$<?php echo $total_chbWindow ?>');  
		$("#cal_seats_assign").val(<?php echo $total_chbWindow ?>);  
		$("#seat_selection_amount").html("$<?php echo $chbWindow ?>");
		calculte_fare();
	  });
	  $("#chbNoPreference").click(function(){
		$("#SeatsAssign").hide()  
		$("#cal_seats_assign").val(0);  
		//$("#seat_selection_amount").text('0');
		calculte_fare();
	  });
	});
	function calculte_fare(){
		var sum = 0;
		$('.calculate_total').each(function(){
			sum += parseFloat(this.value);
		});
		
		$("#totalAmount1").html(sum.toFixed(2));
		$("#hftotalAmt").val(sum.toFixed(2));	
	}
    </script>

	
		<script>
			$(function () {
				$("#chbCancellaionPolicyBye").click(function () {
					if ($(this).is(":checked")) {
						$("#CancelPolicyYes").show();
						$("#CancelPolicyNo").hide();
						} else {
						$("#CancelPolicyYes").hide();
						$("#CancelPolicyNo").show();
						}
					});
				});
				
				$(function () {
				$("#chbFlexibleTicket").click(function () {
					if ($(this).is(":checked")) {
						$("#FlexibleTicketYes").show();
						$("#FlexibleTicketNo").hide();
						} else {
						$("#FlexibleTicketYes").hide();
						$("#FlexibleTicketNo").show();
						}
					});
				});
				
			
			</script>


    <script type="text/javascript">
        var totPax=4;
        if ($(window).width() > 960) {
            $(window).scroll(function () {
                var scroll = $(window).scrollTop();

                if (scroll >= 140) {
                    $(".right-section-price").addClass("fixed-price");
                } else {
                    $(".right-section-price").removeClass("fixed-price");
                }
                if ($(window).scrollTop() + $(window).height() > ($(document).height() - 100)) {

                    $(".right-section-price").addClass("fixed-right2");
                } else {
                    $(".right-section-price").removeClass("fixed-right2");
                }
            });
        }
    </script>
    
    <script>
        $(document).ready(function () {
            $(".dropbtn").click(function () {
                $("#myDropdown").toggle();
            });
        });
        function ChangeNo(country) {
            if (country == "us") {
                $("#tollFreeNo").html('+1-888-749-0002');
                $("#ImgFlagTollFree").attr('src', '/images/us_flag.jpg');
            }
            else if (country == "ca") {
                $("#tollFreeNo").html('+1-888-749-0002');
                $("#ImgFlagTollFree").attr('src', '/images/ca_flag.jpg');
            }
            else if (country == "uk") {
                $("#tollFreeNo").html('+1-888-749-0002');
                $("#ImgFlagTollFree").attr('src', '/images/uk_flag.jpg');
            }
            $("#myDropdown").toggle();
        }
    </script>   
   
</body>
</html>
