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/b2bzend/application/views/scripts/flight-new/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2bzend/application/views/scripts/flight-new/book-flight.phtml
<?php error_reporting(0); ?>
<!--Page main section start-->
<section id="min-wrapper" class="active">
    <div id="main-content">
        <div class="container-fluid">
            <div class="row">
                <div class="col-md-12">
                    <!--Top header start-->
                    <h3 class="ls-top-header">Booking</h3>
                    <!--Top header end -->

                    <!--Top breadcrumb start -->
                    <ol class="breadcrumb">
                        <li><a href="#"><i class="fa fa-home"></i></a></li>
                        <li class="active">Book Now</li>
                    </ol>
                    <!--Top breadcrumb start -->
                </div>
            </div>
            <!-- Main Content Element  Start-->
            <div class="row">

                <div class="col-md-12">
                    <div class="panel panel-default">
                        <div class="panel-body whbg">

                            <!-- <a href="<?php echo $this->baseUrl('flight/search'); ?>">
                                <label class="inlinebl orange small no-margin" style="padding-right:15px;"><span class="btn btn-warning btn-round btn-xs" style="cursor:default;"><strong>1</strong></span> <strong>Flight Search</strong></label>
                            </a> -->

                            <a href="<?php echo $this->baseUrl('flight/search-result'); ?>">
                                <label class="inlinebl orange small no-margin" style="padding-right:15px;"><span class="btn btn-warning btn-round btn-xs" style="cursor:default;"><strong>1</strong></span> <strong>Flight Results</strong></label>
                            </a>

                            <a href="javascript:void(0);" onclick="javascript:alert('Oops! can\'t go back,Please initaite new search.');">
                                <label class="inlinebl orange small no-margin" style="padding-right:15px;"><span class="btn btn-warning btn-round btn-xs" style="cursor:default;"><strong>2</strong></span> <strong>Passenger Details</strong></label>
                            </a>

                            <a href="javascript:void(0);" onclick="javascript:alert('Oops! can\'t go back,Please initaite new search.');">
                                <label class="inlinebl orange small no-margin" style="padding-right:15px;"><span class="btn btn-warning btn-round btn-xs" style="cursor:default;"><strong>3</strong></span> <strong>Review Booking</strong></label>
                            </a>
                            <label class="inlinebl green small no-margin" style="padding-right:15px;"><span class="btn ls-green-btn btn-round btn-xs" style="cursor:default;"><strong>4</strong></span> <strong>Booking Confirmation</strong></label>

                        </div>
                        <div class="clearfix"></div>
                    </div>
                </div>

                <div class="col-md-12">
                    <div class="col-md-12 no-padding">
                        <div style="text-align: center; padding: 30px;">
                            <h2 class="BookingConfirm" style="text-align: center; font-size:18px; color:green;"></h2>
                            <h2 class="Pleasewaitmesg">[ Please do not refresh or press back button, We are Processing Your Booking... ]</h2>
                            <img src="<?php echo $this->baseUrl('public/assets/images/loader.gif'); ?>">



                        </div>

                    </div>
                    <div class="clear"></div>
                </div>
            </div>

            <!-- Main Content Element  End-->
        </div>
    </div>





    <form name="frm" id="frm" action="" method="post">
        <input type="thidden" name="data" id="data" value="" />
    </form>



    <script src="<?php echo $this->baseUrl('public/js/flight/flight.js'); ?>"></script>
    <?php echo $this->render("newfooter.phtml"); ?>

    <?php echo $this->render('copyrightfooter.phtml'); ?>
</section>
<!--Page main section end -->
<form name="paymentresponse" id="paymentresponse" action="" method="post">
    <input type="hidden" name="trxstatus" id="trxstatus" value="<?php echo $this->status; ?>" />
    <input type="hidden" name="strUrlData" id="strUrlData" value="<?php echo $this->strUrlData; ?>" />
    <input type="hidden" name="TrxSysId" id="TrxSysId" value="<?php echo $this->TrxSysId; ?>" />
    <input type="hidden" name="TPSysId" id="TPSysId" value="<?php echo $this->TPSysId; ?>" />
    <input type="hidden" name="guid" id="guid" value="<?php echo $this->guid; ?>" />
</form>

<script type="text/javascript">
    function processBooking() {
        var paymentresponse = $("#paymentresponse").serialize();
        $.ajax({
            url: '/flight-new/book-flight',
            data: paymentresponse,
            dataType: 'json',
            type: 'POST',
            error: function() {

            },
            beforeSend: function() {},
            success: function(response) {
                console.log(response);
                if (response.success) {
                    var TrackId = response.TrackId;
                    window.location.href = '/flight-new/booking-confirmation/data/' + TrackId + '?status=true';
                } else {
                    alert(response.msg);
                    // var urlData = response.urlData;
                    // var formAction = response.formAction;
                    // $("#frm").attr("action", formAction);
                    // $("#data").val(urlData);
                    // setTimeout(function() {
                    //     $("#frm").submit();
                    // }, 3000);
                }

            }

        });

    }
    processBooking();
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit