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/patratravelsonline.com/application/layouts/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/patratravelsonline.com/application/layouts/scripts/flight-book-layout.phtml
<?php
$object = Zend_Controller_Front::getInstance();
$options = $object->getParam('bootstrap')->getOption('bootstrap');
$baseUrl = $options['siteUrl'];

$modulename = $object->getRequest()->getModuleName();
$controller = $object->getRequest()->getControllerName();
$action     = $object->getRequest()->getActionName();
?>
<!DOCTYPE HTML>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title><?php echo $options['siteName'];?></title>
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="description" content="" />
        <meta name="keywords" content="" />
        <meta name="author" content="" />
        <link href="https://fonts.googleapis.com/css?family=Roboto|Roboto+Condensed|Roboto+Mono|Roboto+Slab" rel="stylesheet">
        <link href="<?php echo $baseUrl; ?>public/assets/css/font-awesome/css/font-awesome.css" rel="stylesheet">
        <link rel="stylesheet" href="<?php echo $baseUrl; ?>public/css/animate.css">
        <link rel="stylesheet" href="<?php echo $baseUrl; ?>public/css/icomoon.css">
        <link rel="stylesheet" href="<?php echo $baseUrl; ?>public/css/bootstrap.css">
        <link rel="stylesheet" href="<?php echo $baseUrl; ?>public/assets/css/plugins/icheck/skins/all.css">
        <link rel="stylesheet" href="<?php echo $baseUrl; ?>public/css/style.css">
        <link rel="stylesheet" type="text/css" href="<?php echo $baseUrl; ?>public/css/tabs.css" />
        <script src="<?php echo $baseUrl; ?>public/js/modernizr-2.6.2.min.js"></script>
        <script src="<?php echo $baseUrl;?>public/js/jquery.min.js"></script> 
        <link rel="stylesheet" href="<?php echo $baseUrl;?>public/css/jquery-ui.css" />
        <script type="text/javascript" src="<?php echo $baseUrl;?>public/js/jquery-ui-1.12.1.js"></script>
        <script src="<?php echo $baseUrl;?>public/js/ng/angular.min.js"></script>
        <script src="<?php echo $baseUrl;?>public/js/ng/ng-flight-fare-quotes.js"></script>
        
        
        
        
    </head>
    <body>
        <div class="container">
            <div class="row">
                <div class="heade-booking">

                    <div class="col-md-2 logo-wrap logo-bok-center">
                        <div id="fh5co-logo"><a href="<?php echo $baseUrl; ?>"><img src="<?php echo $baseUrl; ?>public/images/logo.png" class="logo-bok"></a></div>
                    </div>
                    <div class="col-md-7 logo-wrap  logo-bok-center">
                        <div class="animate-box " data-animate-effect="fadeIn">
                            <div class="mb-3"></div>
                            <?php if($action == "review-details"){ ?>
                            <h1>Flights  &nbsp;  <i class="fa fa-arrow-right"></i>  &nbsp;  Review Details</h1>
                            <?php }else if($action == "booking-details"){ ?>
                            <h1>Flights  &nbsp;  <i class="fa fa-arrow-right"></i>  &nbsp;  Booking Details</h1>
                            <?php } ?>
                            <div class="mb-4"></div>
                        </div>
                    </div>


<!--                    <div class="col-md-3  text-right menu-1 menu-wrap  logo-bok-center">
                        <div class="mb-3"></div>
                        <?php if($action != "process-booking"){ ?>
                        <a href="javascript:alert('Coming Soon...')" class="btn btn-danger btn-outline">Log in</a> 
                        <a href="javascript:alert('Coming Soon...')" class="btn btn-danger btn-outline">Sign in</a>
                        <?php } ?>

                    </div>-->

                </div>
            </div></div>
    
        <div class="booking-result">
            <div class="mb-7"></div>
        </div>
        
        <div id="fh5co-blog" class="fh5co-section fh5co-hand flight-booking-section booking-top-padding">
            <?php echo $this->layout()->content; ?> 
            <div class="clearfix"></div>
        </div>
        
        
        <footer id="fh5co-footer" role="contentinfo" class="fh5co-section ftco-section no-padding">

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


                <div class="row copyright" style="background:#121212; padding:15px 0;">
                    <div class="col-md-12">
                        <div class="col-md-6 text-left" style="color: #FFF;">
                            <small class="block">&copy; <?php echo date('Y'); ?> <strong>Besttraveldealz.com</strong>. All Rights Reserved.</small> 
                        </div>
                        <div class="col-md-6 text-right">
                            <small class="block">
                                Powered by <a href="http://catpl.co.in/" target="_blank">
                                    <img src="<?php echo $baseUrl; ?>public/images/catpl-logo.png" border="0" alt="" title="">
                                </a> 
                            </small>
                        </div>
                    </div>
                </div>
            </div>
            <div class="clearfix"></div>
        </footer>
        <!-- jQuery --> 
        
        <script src="<?php echo $baseUrl; ?>public/js/bootstrap.min.js"></script> 
        <script src="<?php echo $baseUrl; ?>public/js/jquery.waypoints.min.js"></script> 
        <script src="<?php echo $baseUrl; ?>public/js/jquery.stellar.min.js"></script> 
        <script src="<?php echo $baseUrl; ?>public/js/jquery.flexslider-min.js"></script> 
        <script src="<?php echo $baseUrl; ?>public/js/main.js"></script> 
        <script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/jquery.cookie.js"></script> 
        <!-- Script For Icheck --> 
        <script src="<?php echo $baseUrl; ?>public/assets/js/icheck.min.js"></script> 
        <script src="<?php echo $baseUrl; ?>public/assets/js/pages/checkboxRadio.js"></script> 
        <!--Advance Radio and checkbox demo start--> 
        
        
        <script src="<?php echo $baseUrl;?>public/js/jquery.validate.min.js"></script>
        <script>SITEURL = '<?php echo $baseUrl?>'</script>
        <script type="text/javascript">
            function showPriceBreakUp(that,selectorEle = 'PriceBreakUp'){
                $("."+selectorEle).toggleClass( "collapse");
                if($(that).find('i').hasClass('fa-plus')){ 
                    $(that).find('i').addClass("fa-minus").removeClass('fa-plus');
                }else{ 
                    $(that).find('i').addClass("fa-plus").removeClass('fa-minus');
                }
                
            }
            
            function hotelCancellationPolicy(){
                $("#myModalCancellationPolicy").modal();
            }
            
            
            
           $(document).ready(function(){ //alert("hi")
               
               
               
//               for (var i=1; i<=1; i++) {
//                    $.validator.addMethod("firstname", function(value) {
//                        return (($("#firstname").val() == "none"));
//                    }, "Message!");
//                }

               
               
               
               
               
                $("#flightcheckout").validate({
                    rules : {
                        'emailId'   : {
                            required : true,
                            email:true
                            },
                        'mobileNumber' : {
                            required : true,
                            minlength:10,
                            maxlength:10,
                            number:true
                        }
                        
                     },
                    messages : {
                        emailId : {
                            required : "",
                            email:"Please enter valid email Id."
                        },
                        mobileNumber : {
                            required : "",
                            number:"Please enter valid mobile number.",
                            minlength:"Please enter valid mobile number.",
                            maxlength:"Please enter valid mobile number."
                        }
                    },
                    submitHandler : function() {
                        var frmvalue = $("#flightcheckout").serialize();
                        var bookingType = $("#booking-type").val();
                        if(bookingType == "roundTripDomestic"){
                            var rUrl = SITEURL+'flights/search/review-return-flight';
                        }else{
                            var rUrl = SITEURL+'flights/search/review-details';
                        }
                        
                        
                        $.ajax({
                            url: rUrl,
                            data: frmvalue,
                            type: 'POST',
                            dataType: 'json',
                            beforeSend: function () {
                                $(".InProcess").show();
                                $(".frm-submit-btn").hide();
                            },
                            success: function (response) {
                                if(response.success){
                                    var guid = response.guid;
                                    var walletCode = response.walletCode;
                                    var stringData = response.stringData;
                                    var strReturnURL = response.strReturnURL;
                                    var TPSysId     = response.TPSysId;
                                    
                                    var name     = response.UserData.name;
                                    var emailId     = response.UserData.email;
                                    var mobile     = response.UserData.mobile;
                                    var CustSysId     = response.UserData.CustSysId;
                                    var LastInsertId     = response.UserData.LastInsertId;
                                    
                                    $("#guid").val(guid);
                                    $("#securecode").val(walletCode);
                                    $("#returnURL").val(strReturnURL);
                                    $("#stringData").val(stringData);
                                    $("#TPSysId").val(TPSysId);

                                    $("#custFirstname").val(name);
                                    $("#custemail").val(emailId);
                                    $("#custphone").val(mobile);
                                    $("#CustomerSysId").val(CustSysId);
                                    
                                    
                                    setTimeout(function(){
                                        $("#paymentsubmit").submit();
                                    },2000);
                                    
                                }else{
                                    if(response.redirect){
                                        location.href = SITEURL+"flights/index/error/msg/"+response.msg;
                                        return false;
                                    }
                                    alert(response.msg);
                                    $(".InProcess").hide();
                                    $(".frm-submit-btn").show();
                                }    
                            }
                        });
                    }
                });
           }); 
           
           
           
           
//           function fareQuotes() { 
//               var traceId = $("#traceId").val();
//               var rindex = $("#rindex").val();
//                $.ajax({
//                    url  : SITEURL+'/flights/search/fare-quotes',
//                    data : { traceId:traceId,rindex:rindex},
//                    dataType : 'html',
//                    type : 'POST',
//                    beforeSend : function() {
//                        $("#itenary-details-dim").show();
//                        $("#flight-fare-details-dim").show();
//                    },
//                    success : function(response) {
//                        $("#itenary-details-dim").hide();
//                        $("#flight-fare-details-dim").hide();
//                        $("#itenary-details").show();
//                        $("#flight-fare-details").show();
//                        
//                    }
//                });
//
//            }
           
           //fareQuotes();
           
           
           
           
           
           function generateb2bproposal() { 
               var bookingres = $("#bookingres").val();
                $.ajax({
                    url  : SITEURL+'/flights/index/booking-details',
                    data : {bookingres:bookingres},
                    type : 'POST',
                    beforeSend : function() {
                    },
                    success : function(response) {
                    }
                });

            }
           
           <?php if($action == "booking-details"){ ?>
           //generateb2bproposal();
           <?php } ?>
           
           
            
        </script>
        
        <style>
            input.error{
                border-bottom: 3px solid red !important;
            }
            .error{
                font-size: 12px !important;
                font-family: 'Roboto', sans-serif;
                color: red !important;
            }
            .load-dim-text{
                background-color: #ccc; 
                color: #f9f9f9 !important;
            }
            
        </style>
        
        
        
        
    </body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit