403Webshell
Server IP : 103.234.187.230  /  Your IP : 216.73.216.216
Web Server : Apache
System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/tripstring.com/application/views/scripts/flight/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/tripstring.com/application/views/scripts/flight/book-flight.phtml
<?php
$baseUrl = $this->baseUrl;
$tollfreenumber = $this->tollfreenumber;
$Data = $FlightBookingData = $this->FlightBookingData;
$class = $this->class;
$traceId = $this->traceId;
$CustomerSession = $this->CustomerSession[0];
$sessionFlightSearchParams = $this->sessionFlightSearchParams;
$interNationalSearch = $sessionFlightSearchParams['interNationalSearch'];
$route = $sessionFlightSearchParams['route'];
$departure_date = $this->departure_date;
$strReturnDate = $this->strReturnDate;
$objHelper = Zend_Controller_Action_HelperBroker::getStaticHelper('General');
$mydevice = Zend_Controller_Action_HelperBroker::getStaticHelper('General')->getDevice(); // get the device 
$Baggage = $Data['Segments'][0];
$arrFlightClass = Zend_Controller_Action_HelperBroker::getStaticHelper('Flight')->getFlightClasses();
$intOtherCharges = $Data['FairRules']['OtherCharges'];
$intBaseFare = $Data['FairRules']['BaseFare'];
$intTax = $Data['FairRules']['Tax'];
$intAdditionalTxnFeePub = $Data['FairRules']['AdditionalTxnFeePub'];
$intServiceFee = $Data['FairRules']['ServiceFee'];
$intPublishedFare = $Data['FairRules']['PublishedFare'];
$intFarePerHeadPublish = $intBaseFare + $intTax + $intOtherCharges;
$intNetPublishedFare = $intPublishedFare;
$adults = $sessionFlightSearchParams['adults'];
$childs = $sessionFlightSearchParams['childs'];
$infants = $sessionFlightSearchParams['infants'];
$ARR_CUSTOMER_RELATION = unserialize(ARR_CUSTOMER_RELATION);
$ARR_SALUTION = unserialize(ARR_SALUTION);
$CONST_YEAR_NAME = unserialize(CONST_YEAR_NAME_SMALL);

$apiTraceId = [];
if ($FlightBookingData) {
    foreach ($FlightBookingData as $value) {
        $apiTraceId[] = $value['FairRules']['PriceID'];
    }
}
if($route == 2 && $interNationalSearch == 1){
    $DataTraceId = $FlightBookingData[0]['FairRules']['PriceID'];
}else{
    $DataTraceId = implode(',', $apiTraceId);
}
//if($adults>0){
//for($i = 1; $i <= $adults; $i++) {
//    print_r($i);
//}
//}
//die;
//echo"<pre>"; print_r($sessionFlightSearchParams);die;
?>
<main>

    <section class="booking_review_flight">
        <div class="container">
            <div class="row">
                <div class="col-lg-12 col-sm-12 col-md-12 col-xs-12">
                    <div class="wizard-progress">
                        <div class="step complete">
                            Review
                            <div class="node"></div>
                        </div>
                        <div class="step complete">
                            Traveller Details
                            <div class="node"></div>
                        </div>
                        <div class="step in-progress">
                            Payment
                            <div class="node"></div>
                        </div>
                    </div>
                </div> <!--end of col-lg-12 col-sm-12 col-md-12 col-xs-12-->
            </div> <!--end of row-->
        </div> <!--end of container-->
        <div class="clearfix"></div>
    </section>  <!--end of booking_review_flight-->

    <!--booking review view -->
    <div class="booking_form_warpper_review">
        <div class="container booking_form_warpper_review_width">
            <?php if ($traceId == $DataTraceId) { ?>
                <div class="row">
                    <div class="col-lg-12 col-sm-12 col-md-12 col-xs-12 flight_paddingalign">
                        <div class="fair_details fair_information">
                            <div class="fair_details_title fair_information_title">
                                <div class="row">
                                    <div class="col-lg-12 col-sm-12 col-md-12 col-xs-12 col-12">
                                        
                                        <p class="Pleasewaitmesg" style="text-align: center; font-size:18px;">Please do not refresh or press back button, we are processing your booking....</p>
                                        <p style="text-align: center; "><img src="<?php echo $baseUrl; ?>public/images/loader.gif"/></p>
                                        
                                    </div>

                                    
                                </div> <!--end of row-->
                            </div>  <!--end of fair_details-->
                            <div class="clearfix"></div>

                        </div> <!--end of fair_details-->
                        
                    </div> <!--end of col-lg-9 col-sm-9 col-md-9 col-xs-12-->
                   
                </div> <!--end of row-->

            <?php } else { ?>
                <div class="row">
                    <div class="col-lg-12 col-sm-12 col-md-12 col-xs-12" style="text-align: center;">
                        <p style="margin-bottom:0px;color:#a7a1a1;font-size: 30px;">oops!</p>
                        <p style="margin-bottom:0px;font-size: 20px;color: red; font-weight: 600;"><i class="fa fa-plane" aria-hidden="true"></i> This flight is sold out!</p>
                        <p style="margin-bottom:0px;font-size: 15px;"> sorry for the inconvenience caused.</p>
                        <p style="margin-bottom:0px;font-size: 15px;"> You will be re directed to the search result page.</p>
                        <p style="margin-bottom:0px;font-size: 15px;"> if not please <a href="flight" style="color:#1073ba;font-size:20px;">click here</a> to go back!</p>
                    </div>
                </div>
            <?php } ?>
        </div> <!--end of booking_form_warpper-->
    </div>
    <input type="hidden" value="<?= $Data['ApiResultIndex'] ?>" id="ApiResultIndex">
    <input type="hidden" value="<?= $traceId ?>" id="TraceId">

    <!--<div class="modal fade" id="FareChange" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"></div>-->
    <!--booking review view -->

</main>  <!--/main-->

Youez - 2016 - github.com/yon3zu
LinuXploit