| 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/v2.hellogtx.com/application/layouts/scripts/ |
Upload File : |
<?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);
// echo"<pre>"; print_r($getMypopCookie);die();
if (($modulename == 'agentlogin') && ($controller == 'index') && ($action == 'index')) {
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title><?php echo $options['siteName']; ?> Travel Agent Login</title>
<base href="<?php echo Catabatic_Helper::getSiteUrl(); ?>" />
<meta charset="UTF-8">
<!-- <meta name="viewport" content="width=device-width, initial-scale=1">-->
<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="icon" type="image/png" href="<?php //echo $baseUrl;
?>public/vendor/images/icons/favicon.ico"/>-->
<link rel="shortcut icon" href="<?php echo $baseUrl; ?>public/images/favicon-icon.png">
<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl; ?>public/vendor/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl; ?>public/vendor/fonts/font-awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl; ?>public/vendor/fonts/Linearicons-Free-v1.0.0/icon-font.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl; ?>public/vendor/animate/animate.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl; ?>public/vendor/css-hamburgers/hamburgers.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl; ?>public/vendor/animsition/css/animsition.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl; ?>public/vendor/select2/select2.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl; ?>public/vendor/daterangepicker/daterangepicker.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl; ?>public/vendor/css/util.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl; ?>public/vendor/css/main.css">
<script>
var SITEURL = '<?php echo $baseUrl ?>';
var appmode = '<?php echo $options['appmode'] ?>';
var dvc = '<?php echo ($mydevice == "mobile") ? "m" : "d" ?>';
</script>
</head>
<body>
<?php
echo $this->layout()->content;
?>
<form id="auth_login_B2B_submit" method="POST" action="<?php echo $baseUrl; ?>agentlogin/index/agentlogin">
<div class="auth_login_submit_B2B">
<input type="hidden" name="EmailId" id="EmailIdB2B">
<input type="hidden" name="UserSysId" id="UserSysIdB2B">
<input type="hidden" name="CustomerSysId" id="CustomerSysIdB2B">
<input type="hidden" name="AgencySysId" id="AgencySysId_B2B">
<input type="hidden" name="MasterAgencySysId" id="MasterAgencySysIdB2B">
<input type="hidden" name="FirstName" id="FirstNameB2B">
<input type="hidden" name="LastName" id="LastNameB2B">
<input type="hidden" name="Password_cu" id="Password_cuB2B">
<input type="hidden" name="AgencyName" id="AgencyNameB2B">
<input type="hidden" name="AgencyCode" id="AgencyCodeB2B">
<input type="hidden" name="ContactNo1" id="Contact_noB2B">
</div>
</form>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/vendor/jquery/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/vendor/animsition/js/animsition.min.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/vendor/bootstrap/js/popper.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/vendor/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/vendor/select2/select2.min.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/vendor/daterangepicker/moment.min.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/vendor/daterangepicker/daterangepicker.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/vendor/countdowntime/countdowntime.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/vendor/js/main.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/login.js"></script>
</body>
</html>
<?php } else { ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="<?php echo $baseUrl; ?>public/images/favicon-icon.png">
<?php
if (($modulename == 'detail') && ($controller == 'index') && ($action == 'index')) {
$detailLayout = $this->detailLayout;
?>
<title><?php echo $detailLayout['PackageTitle']; ?></title>
<meta name="description" content="<?php echo $detailLayout['Description']; ?>" />
<meta name="keywords" content="<?php echo $detailLayout['Keyword']; ?>" />
<?php
} else if (($modulename == 'tours') && ($controller == 'package') && ($action == 'index')) {
$detailLayout = $this->detailLayout;
// echo"<pre>"; print_r($detailLayout);die();
$PackageTitle = (isset($detailLayout['PackageTitle']) && $detailLayout['PackageTitle'] != '') ? $detailLayout['PackageTitle'] : '';
$finPackageTitle = (isset($detailLayout['Metatag']) && $detailLayout['Metatag'] != '') ? $detailLayout['Metatag'] : $PackageTitle;
?>
<title><?php echo $finPackageTitle; ?></title>
<meta name="description" content="<?php echo $detailLayout['Description']; ?>" />
<meta name="keywords" content="<?php echo $detailLayout['Keyword']; ?>" />
<?php
} else if (($modulename == 'destination') && ($controller == 'index') && ($action == 'domestic-destination')) {
//$detailLayout = $this->detailLayout;
$staticDataDomestic1 = $this->staticDataDomestic;
// echo"<pre>"; print_r($staticDataDomestic1[0]['page_title']);die();
$DestinationTitle = (isset($staticDataDomestic1[0]['page_title']) && $detailLayout[0]['page_title'] != '') ? $detailLayout[0]['page_title'] : '';
$finPackageTitle = (isset($staticDataDomestic1[0]['meta_title']) && $staticDataDomestic1[0]['meta_title'] != '') ? $staticDataDomestic1[0]['meta_title'] : $DestinationTitle;
?>
<title><?php echo $finPackageTitle; ?></title>
<meta name="description" content="<?php echo $staticDataDomestic1[0]['meta_description']; ?>" />
<meta name="keywords" content="<?php echo $staticDataDomestic1[0]['meta_keywords']; ?>" />
<?php
} else if (($modulename == 'destination') && ($controller == 'index') && ($action == 'international-destination')) {
$staticInternational = $this->staticDataInternational;
// echo"<pre>"; print_r($staticDataInternational1[0]['page_title']);die();
$PackageTitleInternational = (isset($staticInternational[0]['page_title']) && $staticInternational[0]['page_title'] != '') ? $staticInternational[0]['page_title'] : $siteName;;
$finPackageTitleInternational = (isset($staticInternational[0]['meta_title']) && $staticInternational[0]['meta_title'] != '') ? $staticInternational[0]['meta_title'] : $PackageTitleInternational;
?>
<title><?php echo $finPackageTitleInternational; ?></title>
<meta name="description" content="<?php echo $staticInternational[0]['meta_description'] ?>" />
<meta name="keywords" content="<?php echo $staticInternational[0]['meta_keywords']; ?>" />
<?php
} else if (($modulename == 'travelogue') && ($action == 'index' || $action == 'detail')) {
$resultsetSeoForBlog = $this->resultsetSeoForBlog;
$PackageTitle = (isset($resultsetSeoForBlog['TravTitle']) && $resultsetSeoForBlog['TravTitle'] != '') ? $resultsetSeoForBlog['TravTitle'] : $siteName;
$finPackageTitle = (isset($resultsetSeoForBlog['metatag']) && $resultsetSeoForBlog['metatag'] != '') ? $resultsetSeoForBlog['metatag'] : $PackageTitle;
?>
<title><?php echo $finPackageTitle ?></title>
<meta name="description" content="<?php echo ($resultsetSeoForBlog['Description']); ?>" />
<meta name="keywords" content="<?php echo $resultsetSeoForBlog['Keyword']; ?>" />
<?php
} else if (($modulename == 'cms') && ($controller == 'index') && ($action == 'index')) {
$resultsetSeoForCmsPages = $this->resultsetSeoForCmsPages;
?>
<title><?php echo $resultsetSeoForCmsPages['Title']; ?></title>
<meta name="description" content="<?php echo $resultsetSeoForCmsPages['Description']; ?>" />
<meta name="keywords" content="<?php echo $resultsetSeoForCmsPages['Keyword']; ?>" />
<?php } else {
?>
<title>Book Online Holiday Tours | Honeymoon Packages | <?php echo $options['siteName']; ?> </title>
<meta name="description" content="<?php echo $options['siteName']; ?> is a leading travel company in Delhi, India. Get the best holiday tour packages to enjoying fantastic holiday destinations of your choice with Us." />
<meta name="keywords" Content="Online Holiday Tour, Travel Agency in India, Travel Company in Delhi, Book Tour Packages, Adventure Tours from India, Trekking Tour Packages, India Tours, Honeymoon Packages, Holiday Packages, Cheap Tour Packages, Tours and Travel in Delhi, Delhi Tour Company, Travel Agency Delhi, Destination Management Company, DMC India, International Tours from India, International Tours, Holiday Packages from India." />
<?php } ?>
<meta name="author" content="<?php echo $siteName; ?> ">
<meta name="robots" content="index, follow" />
<meta name="language" content="English">
<meta name="p:domain_verify" content="ad7f915dea4182cf9f24faa361ed56d5" />
<link rel="alternate" href="<?php echo $options['websiteUrl'] . $_SERVER[REQUEST_URI]; ?>" hreflang="en-us" />
<link rel="canonical" href="<?php echo $options['websiteUrl'] . $_SERVER[REQUEST_URI]; ?>" />
<?php if (($modulename == 'default') && ($controller == 'index') && ($action == 'index')) { ?>
<meta name="image" content="<?php echo $options['websiteUrl'] . $_SERVER[REQUEST_URI]; ?>public/images/ftr-logo.png">
<meta property="og:type" content="website" />
<meta name="og_site_name" property="og:site_name" content="<?php echo $options['websiteUrl'] . $_SERVER[REQUEST_URI]; ?>" />
<meta name="og_title" property="og:title" content="International Holiday and Honeymoon Tour Packages | <?php echo $options['siteName']; ?> ">
<meta name="Description" property="og:description" content="<?php echo $siteName; ?> is a leading Tours and Travels Company in Delhi, India. Get the best Tour Packages to explore fantastic Holiday Destinations of your choice with Us.">
<meta name="og_url" property="og:url" content="<?php echo $options['websiteUrl'] . $_SERVER[REQUEST_URI]; ?>" />
<!-- Schema.org for Google -->
<meta itemprop="name" content="<?php echo $siteName; ?>">
<meta itemprop="description" content="<?php echo $siteName; ?> is a leading Tours and Travels Company in Delhi, India. Get the best Tour Packages to explore fantastic Holiday Destinations of your choice with Us.">
<meta itemprop="image" content="<?php echo $options['websiteUrl'] . $_SERVER[REQUEST_URI]; ?>public/images/ftr-logo.png">
<!-- Twitter -->
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="<?php echo $siteName; ?>">
<meta name="twitter:description" content="<?php echo $siteName; ?> is a leading Tours and Travels Company in Delhi, India. Get the best Tour Packages to explore fantastic Holiday Destinations of your choice with Us.">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-142190766-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-142190766-1');
</script>
<?php } ?>
<base href="<?php echo Catabatic_Helper::getSiteUrl(); ?>" />
<!-- Font Styles -->
<link href='http://fonts.googleapis.com/css?family=Fira+Sans:400,500,700,400italic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
<!--Stylesheets -->
<link rel="stylesheet" href="<?php echo $baseUrl; ?>public/css/owl.carousel.css" type="text/css" media="all">
<link rel="stylesheet" href="<?php echo $baseUrl; ?>public/css/select2.min.css" type="text/css" media="all">
<link rel="stylesheet" href="<?php echo $baseUrl; ?>public/css/slick.css" type="text/css" media="all">
<link rel="stylesheet" href="<?php echo $baseUrl; ?>public/css/slicknav.css" type="text/css" media="all">
<link rel="stylesheet" href="<?php echo $baseUrl; ?>public/css/animate.css" type="text/css" media="all">
<link rel="stylesheet" href="<?php echo $baseUrl; ?>public/css/icomoon.css" type="text/css" media="all">
<link rel="stylesheet" href="<?php echo $baseUrl; ?>public/css/bootstrap.css" type="text/css" media="all">
<link rel="stylesheet" href="<?php echo $baseUrl; ?>public/css/main.css" type="text/css" media="all">
<link rel="stylesheet" href="<?php echo $baseUrl; ?>public/css/flexslider.css" type="text/css" media="all">
<link rel="stylesheet" href="<?php echo $baseUrl; ?>public/css/style.css">
<link rel="stylesheet" href="<?php echo $baseUrl; ?>public/css/custom.css" type="text/css" media="all">
<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl; ?>public/css/jcarousel.responsive.css">
<link href="<?php echo $baseUrl; ?>public/assets/css/font-awesome/css/font-awesome.css" rel="stylesheet">
<!-- Theme style -->
<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl; ?>public/css/tabs.css" />
<!--<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl; ?>public/css/easy-responsive-tabs.css" />-->
<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl; ?>public/css/cs-select.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/easy-responsive-tabs-1.css">
<link href="<?php echo $baseUrl; ?>public/css/jquery-ui.css" rel="stylesheet" />
<link href="<?php echo $baseUrl; ?>public/css/jquery.datetimepicker.css" rel="stylesheet">
<?php if (($modulename == 'default') && ($controller == 'customer') && ($action == 'myprofile')) { ?>
<link href="<?php echo $baseUrl; ?>public/css/jquery.atAccordionOrTabs.css" rel="stylesheet">
<?php } ?>
<link rel="stylesheet" href="public/countrycode/style.css">
<link rel="stylesheet" href="public/css/homeslider.css">
<link rel="stylesheet" href="public/2019/assets/css/owl.carousel.css">
<link rel="stylesheet" href="public/css/light-carousel.css">
<!-- slick slider css -->
<link rel="stylesheet" type="text/css" href="public/slick/slick.css">
<link rel="stylesheet" type="text/css" href="public/slick/slick-theme.css">
<!-- Modernizr JS -->
<script src="<?php echo $baseUrl; ?>public/js/modernizr-2.6.2.min.js"></script>
<script>
var SITEURL = '<?php echo $baseUrl ?>';
var appmode = '<?php echo $options['appmode'] ?>';
var dvc = '<?php echo ($mydevice == "mobile") ? "m" : "d" ?>';
</script>
<script type="text/javascript">
var CONST_PACKAGE_TRAVELER_MAX_ROOM = '<?php echo CONST_PACKAGE_TRAVELER_MAX_ROOM ?>';
var CONST_PACKAGE_TRAVELER_MAX_ADULT_IN_ROOM = '<?php echo CONST_PACKAGE_TRAVELER_MAX_ADULT_IN_ROOM ?>';
var CONST_PACKAGE_TRAVELER_MAX_CHILD_IN_ROOM = '<?php echo CONST_PACKAGE_TRAVELER_MAX_CHILD_IN_ROOM ?>';
var CONST_PACKAGE_TRAVELER_MAX_INFANT_IN_ROOM = '<?php echo CONST_PACKAGE_TRAVELER_MAX_INFANT_IN_ROOM ?>';
var HOTEL_CATEGORY = {
"Budget": [1],
"Standard": [2],
"Deluxe": [3],
"Luxury": [4],
"Premium": [5]
};
</script>
<?php
echo $seoContent = (isset($detailLayout['seoHcontent']) && $detailLayout['seoHcontent'] != '') ? $detailLayout['seoHcontent'] : '';
?>
</head>
<body ng-app="Farohar">
<div id="page">
<?php
$data = [
'baseUrl' => $baseUrl, 'AgencySysId' => $options['gtxagencysysid'], 'modulename' => $modulename,
'CONST_PACKAGE_TRAVELER_MAX_ROOM' => CONST_PACKAGE_TRAVELER_MAX_ROOM,
'CONST_PACKAGE_TRAVELER_MAX_ADULT_IN_ROOM' => CONST_PACKAGE_TRAVELER_MAX_ADULT_IN_ROOM,
'CONST_PACKAGE_TRAVELER_MAX_CHILD_IN_ROOM' => CONST_PACKAGE_TRAVELER_MAX_CHILD_IN_ROOM,
'CONST_PACKAGE_TRAVELER_MAX_INFANT_IN_ROOM' => CONST_PACKAGE_TRAVELER_MAX_INFANT_IN_ROOM,
'POPUPCOOKIES' => $getMypopCookie,
'tollfreenumber' => $tollfreenumber
];
if($modulename == 'default' && $controller == 'index' && $action = 'index'){
echo $this->render("header-home.phtml");
}else{
echo $this->render("header.phtml");
}
echo $this->partial('models/modal-enquiry.phtml', ['baseUrl' => $baseUrl, 'siteName' => $siteName, 'tollfreenumber' => $tollfreenumber, 'POPUPCOOKIESENQUIRY' => $getMypopCookie]);
echo $this->partial('models/modal-signin.phtml', ['baseUrl' => $baseUrl]);
if (($modulename == 'tours') && ($controller == 'package') && ($action == 'index')) {
echo $this->partial('models/modal-checkrate-enquiry.phtml', $data);
}
?>
<?php
echo $this->layout()->content;
echo $this->render("footer.phtml");
?>
</div>
<!-- <script type="text/javascript" src="--><?php //echo $baseUrl;
?>
<!--public/js/jquery.js"></script>-->
<!--<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/jquery.min.js"></script>-->
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/jquery-2.1.3.min.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/jquery-migrate.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/bootstrap.min.js"></script>
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">-->
<!--<script>
$(document).ready(function(){
$(".dropdown").hover(
function() {
$('.dropdown-menu', this).not('.in .dropdown-menu').stop(true,true).slideDown("slow");
$(this).toggleClass('open');
},
function() {
$('.dropdown-menu', this).not('.in .dropdown-menu').stop(true,true).slideUp("slow");
$(this).toggleClass('open');
}
);
});
</script>-->
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/jquery.waypoints.min.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/jquery.stellar.min.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/jquery.flexslider-min.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/main.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/jquery.cookie.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/switcher.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/jquery.nicescroll.min.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/jquery.jcarousel.min.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/jcarousel.responsive.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/assets/js/icheck.min.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/assets/js/pages/checkboxRadio.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/select2.full.min.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/slick.min.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/jquery.slicknav.min.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/cagt.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/tabs.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/jquery-ui-1.12.1.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/custom.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/custom_mangal.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/jquery.validate.min.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/login.js"></script>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
<script src="public/countrycode/script.js?rv=1144"></script>
<?php if (($modulename == 'detail') && ($controller == 'index') && ($action == 'index' || $action == 'index-ajax-data')) { ?>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/package_customize.js"></script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/zoomerang.js"></script>
<script>
Zoomerang
.config({
maxHeight: 400,
maxWidth: 400,
bgColor: '#000',
bgOpacity: .85
})
.listen('[data-trigger="zoomerang"]')
</script>
<script type="text/javascript" src="<?php echo $baseUrl; ?>public/js/easyResponsiveTabs-1.js"></script>
<?php } ?>
<script type="application/x-javascript">
// $(".travelerbox").click(function(){
// $(".roomBoxMain").toggle();
// });
// $("#addtins").click(function(){
// $("#addtinsDiv").toggle();
// });
</script>
<?php
$scriptsAngular = $this->headScript(); // include the angular js here
$scriptsAngular->appendFile($baseUrl . "public/js/ng/angular.min.js")
->appendFile($baseUrl . "public/js/ng/angular-route.min.js")
->appendFile($baseUrl . "public/js/ng/app.js")
->appendFile($baseUrl . "public/js/ng/ngfactory.js")
->appendFile($baseUrl . "public/js/ng/ngsortingorder.js")
->appendFile($baseUrl . "public/js/ng/filters.js");
if (($modulename == 'tours') && ($controller == 'package') && ($action == 'index')) {
$scriptsAngular->appendFile($baseUrl . "public/js/ng/package_search.js?=1111111111");
}
if (($modulename == 'tours') && ($controller == 'activity') && ($action == 'index')) {
$scriptsAngular->appendFile($baseUrl . "public/js/ng/activities_search.js?=111112222");
}
$scriptsAngular->appendFile($baseUrl . "public/js/ng/ng-infinite-scroll.min.js");
$scriptsAngular->appendFile($baseUrl . "public/js/ng/ng-infinite-scroll.js");
echo $scriptsAngular;
?>
<!--<script src="<?php echo $baseUrl; ?>public/js/daterangepicker.js" type="text/javascript" ></script>-->
<script>
$(".regular").slick({
dots: true,
infinite: true,
slidesToShow: 4,
slidesToScroll: 2,
responsive: [
{
breakpoint: 1024,
settings: {
slidesToShow: 4,
slidesToScroll: 2
}
},
{
breakpoint: 600,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
},
{
breakpoint: 319,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}
]
});
</script>
<script>
localStorage.clear();
$('#iti-flag').attr('class', 'iti-flag <?php echo $getCountryFlag; ?>');
$('#iti-flag1').attr('class', 'iti-flag <?php echo $getCountryFlag; ?>');
$('#iti-flag2').attr('class', 'iti-flag <?php echo $getCountryFlag; ?>');
$('#iti-flag3').attr('class', 'iti-flag <?php echo $getCountryFlag; ?>');
$('.country_code').val('<?php echo $countrycode; ?>');
$(function() {
$('#travelerDatePicker').datepicker({
dateFormat: 'dd/mm/yy',
minDate: 0,
disableTouchKeyboard: true
});
$('#travelerDatePickerdetail').datepicker({
dateFormat: 'dd/mm/yy',
minDate: 0,
disableTouchKeyboard: true
});
$('#activitiesDatePicker').datepicker({
dateFormat: 'dd/mm/yy',
minDate: 0,
disableTouchKeyboard: true
});
});
</script>
<?php
if (($modulename == 'detail') && ($controller == 'index') && ($action == 'index' || $action == 'index-ajax-data')) {
$data = [
'baseUrl' => $baseUrl, 'AgencySysId' => $options['gtxagencysysid'], 'modulename' => $modulename,
'CONST_PACKAGE_TRAVELER_MAX_ROOM' => CONST_PACKAGE_TRAVELER_MAX_ROOM,
'CONST_PACKAGE_TRAVELER_MAX_ADULT_IN_ROOM' => CONST_PACKAGE_TRAVELER_MAX_ADULT_IN_ROOM,
'CONST_PACKAGE_TRAVELER_MAX_CHILD_IN_ROOM' => CONST_PACKAGE_TRAVELER_MAX_CHILD_IN_ROOM,
'CONST_PACKAGE_TRAVELER_MAX_INFANT_IN_ROOM' => CONST_PACKAGE_TRAVELER_MAX_INFANT_IN_ROOM,
'POPUPCOOKIES' => $getMypopCookie,
];
echo $this->partial('models/send-enquiry-modal.phtml', $data);
echo $this->partial('models/modal-change-options.phtml', ['baseUrl' => $baseUrl]);
// echo $this->partial('models/modal-checkrate-enquiry.phtml', $data);
echo $this->partial('models/modal-hotel-view-and-options.phtml', ['baseUrl' => $baseUrl]);
if ($mydevice == "mobile")
$charlimit = 150;
else
$charlimit = 400;
?>
<script type="text/javascript">
trimcontent(<?php echo $charlimit; ?>);
function openpopupModel(n, type) {
var hotelId = n;
var type = type;
var categoryId = $("#categoryId").val();
var packageId = $("#packageId").val();
var gtxID = $("#gtxID").val();
$.ajax({
type: "POST",
url: "<?php echo $baseUrl; ?>detail/index/get-hotel-detail",
async: true,
data: "type=" + type + "&hotelId=" + hotelId + "&categoryId=" + categoryId + "&packageId=" + packageId + ">xID=" + gtxID,
beforeSend: function() {
$("#myModa1hotelview").modal('show');
$('#hotelDetailViewList').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);
$("#hotelDetailViewList").html(data);
return false;
}
});
}
$("#selectDestination").autocomplete({
source: function(request, response) {
var query = $("#selectDestination").val();
var countryId = '';
$.getJSON("/index/autosuggest", {
query: query,
countryId: countryId
},
response);
},
minLength: 2,
autoFocus: true,
select: function(event, ui) {
var CityId = ui.item.CityId;
var CityName = ui.item.CityName;
$("#hidden_selected_hotel_cityid").val(CityId);
$("#hidden_selected_city_name").val(CityName);
}
});
$('#travelerDatePicker').datepicker({
dateFormat: 'dd/mm/yy',
minDate: 0,
numberOfMonths: 1,
});
</script>
<?php }
?>
<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);
}
});
});
$(document).on('click', '.ViewDetailsPending', function() {
var TraceId = $(this).attr('data');
var journeyType = $(this).attr('journeyType');
$('#myModalViewDetails').modal('show');
$.ajax({
type: "POST",
url: "<?php echo $baseUrl; ?>flight/view-details-pending",
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);
}
});
});
$(document).on('click', '.CheckStatus', function() {
var ChangeRequestId = $(this).attr('ChangeRequestId');
var BookingId = $(this).attr('BookingId');
var UserType = $(this).attr('UserType');
var countryCode = $(this).attr('countryCode');
$('#myModalViewDetails').modal('show');
$.ajax({
type: "POST",
url: "<?php echo $baseUrl; ?>flight/amendment-details",
dataType: 'html',
data: {
amendmentId: ChangeRequestId,
BookingId: BookingId,
UserType: UserType,
countryCode: countryCode,
},
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);
}
});
});
$(document).ready(function() {
setTimeout(function() {
$.getJSON(SITEURL + 'public/data/dynamic/flight_destinations.json', function(source) {
$(".airport_search").autocomplete({
minLength: 3,
autoFocus: true,
source: function(request, response) {
var term = $.ui.autocomplete.escapeRegex(request.term),
startsWithMatcher = new RegExp("^" + term, "i"),
startsWith = $.grep(source, function(value) {
return startsWithMatcher.test(value.AirportCode || value.value || value);
}),
containsMatcher = new RegExp(term, "i"),
contains = $.grep(source, function(value) {
return $.inArray(value, startsWith) < 0 &&
containsMatcher.test(value.label || value.value || value);
});
response(startsWith.concat(contains));
},
response: function(e) {
//console.log(e);
},
select: function(event, ui) {
var index = $(this).attr('index');
var value = ui.item.value;
var dddd = value.split(',');
ui.item.value = dddd[0] + '(' + ui.item.AirportCode + ')';
$('.apendn_' + index).val(dddd[0]);
$('.fromText_' + index).html(dddd[1]);
$('#mytrip_city_' + index).val(dddd[1]);
$('#FromToCIty_' + index).val(value);
$('#airport_search_' + index).val(ui.item.AirportCode);
$('#ContSysId_' + index).val(ui.item.ContSysId);
}
});
});
}, 1000);
$('.sorting').click(function() {
$(this).children('i').toggleClass('icon-angle-down icon-angle-up');
});
$('.sortingRound').click(function() {
$(this).children('i').toggleClass('icon-angle-down icon-angle-up');
});
$("#from, #to").datepicker({
//defaultDate: "+1w",
changeMonth: false,
dateFormat: "d M yy",
numberOfMonths: 2,
minDate: 0,
buttonImage: true,
disableTouchKeyboard: true,
buttonImageOnly: true,
beforeShow: function() {
if (this.id == 'to') {
var dateMin = $('#from').datepicker("getDate");
var TodateMin = $('#to').datepicker("getDate");
var rMin = new Date(dateMin.getFullYear(), dateMin.getMonth(), dateMin.getDate() + 0); // Min Date = Selected + 1d
var rMax = new Date(dateMin.getFullYear(), dateMin.getMonth(), dateMin.getDate() + 180); // Max Date = Selected + 62d
var c_out_date = new Date(TodateMin.getFullYear(), TodateMin.getMonth(), TodateMin.getDate()); // Min Date = Selected + 1d
$('#to').datepicker("option", "minDate", rMin);
$('#to').datepicker("option", "maxDate", rMax);
$('#to').datepicker("setDate", c_out_date);
}
},
onSelect: function(selectedDate, inst) {
var tripType = $('.tripType:checked').val(); // retrieve the value
if (this.id == 'from') {
var dateMin = $('#from').datepicker("getDate");
var rMin = new Date(dateMin.getFullYear(), dateMin.getMonth(), dateMin.getDate() + 0); // Min Date = Selected + 1d
var rMax = new Date(dateMin.getFullYear(), dateMin.getMonth(), dateMin.getDate() + 180); // Max Date = Selected + 62d
var c_out_date = new Date(dateMin.getFullYear(), dateMin.getMonth(), dateMin.getDate() + 0); // Min Date = Selected + 1d
var theDate = new Date(Date.parse($(this).datepicker('getDate')));
var dateFormatted = $.datepicker.formatDate('DD', theDate);
var FromFormatted = $.datepicker.formatDate('dd/mm/yy', theDate);
$('.Departure').html(dateFormatted);
$('#departure_date').val(FromFormatted);
if (parseInt(tripType) === 2) {
$('#to').datepicker("option", "minDate", rMin);
$('#to').datepicker("option", "maxDate", rMax);
$('#to').datepicker("setDate", c_out_date);
$('.Return').html(dateFormatted);
}
// console.log(c_out_date);
///$('#to').focus();return false;
} else {
var dateMin = $('#to').datepicker("getDate");
var c_out_date = new Date(dateMin.getFullYear(), dateMin.getMonth(), dateMin.getDate() + 0);
var theDate = new Date(Date.parse(c_out_date));
var dateFormatted = $.datepicker.formatDate('DD', theDate);
var ToFormatted = $.datepicker.formatDate('dd/mm/yy', theDate);
$('.Return').html(dateFormatted);
$('#return_date').val(ToFormatted);
// console.log(ToFormatted);
}
}
});
var tripType = $('.SelectClass:checked').val();
var htmlval = $('#optionsRadios' + tripType).attr('data'); // retrieve the html value
$('.TravellersClass').html(htmlval);
$(document).on('click', '.onewayflight', function() {
var index = $(this).attr('index');
$('div.SingleSelect').removeClass("mobile_roundflight_active");
$('#SingleSelect_' + index).addClass("mobile_roundflight_active");
});
$(document).on('click', '.twowayflight', function() {
var index = $(this).attr('index');
$('div.roundSelect').removeClass("mobile_roundflight_active");
$('#roundSelect_' + index).addClass("mobile_roundflight_active");
});
$(document).on('click', '.tripType', function() {
var tripType = $(this).val();
var from = $('#from').val();
if (tripType == 2) {
$('#to').val(from);
var dateMin = $('#from').datepicker("getDate");
var c_out_date = new Date(dateMin.getFullYear(), dateMin.getMonth(), dateMin.getDate() + 0);
var theDate = new Date(Date.parse(c_out_date));
var dateFormatted = $.datepicker.formatDate('DD', theDate);
var ToFormatted = $.datepicker.formatDate('dd/mm/yy', theDate);
$('.Return').html(dateFormatted);
$('#return_date').val(ToFormatted);
$("#to").removeAttr("disabled", "disabled");
$("#to").attr("readonly", "readonly");
} else {
$('#to').val('');
$('.Return').html('');
$('#return_date').val('');
$("#to").attr("disabled", "disabled");
$("#to").attr("readonly", "readonly");
}
});
function SumTravellers() {
var a = 0;
$(".quantity").each(function() {
a += parseInt($(this).val());
});
$('.TotalTravellers').html(a);
return a;
}
$('.ddSpinnerPlus').click(function() {
if ($(this).prev().val() < 9) {
$(this).prev().val(+$(this).prev().val() + 1);
}
SumTravellers();
});
$('.ddSpinnerMinus').click(function() {
if ($(this).next().val() > 1) {
if ($(this).next().val() > 1)
$(this).next().val(+$(this).next().val() - 1);
}
SumTravellers();
});
$('.chSpinnerPlus').click(function() {
if ($(this).prev().val() < 9) {
$(this).prev().val(+$(this).prev().val() + 1);
}
SumTravellers();
});
$('.chSpinnerMinus').click(function() {
if ($(this).next().val() > 0) {
if ($(this).next().val() > 0)
$(this).next().val(+$(this).next().val() - 1);
}
SumTravellers();
});
$('.infSpinnerPlus').click(function() {
if ($(this).prev().val() < 9) {
$(this).prev().val(+$(this).prev().val() + 1);
}
SumTravellers();
});
$('.infSpinnerMinus').click(function() {
if ($(this).next().val() > 0) {
if ($(this).next().val() > 0)
$(this).next().val(+$(this).next().val() - 1);
}
SumTravellers();
});
function SumTravellers() {
var a = 0;
$(".quantity").each(function() {
a += parseInt($(this).val());
});
$('.TotalTravellers').html(a);
return a;
}
$(".SelectClass") // select the radio by its id
.change(function() { // bind a function to the change event
if ($(this).is(":checked")) { // check if the radio is checked
var val = $(this).val(); // retrieve the value
var htmlval = $(this).attr('data'); // retrieve the html value
$('.TravellersClass').html(htmlval);
}
});
function openSearch() {
document.getElementById("mySidenavsearch").style.width = "100%";
}
function closeSearch() {
document.getElementById("mySidenavsearch").style.width = "0";
}
$('.exchange_transfer,.exchange_transfer_searchflight').on('click', function() {
var mytrip_city_from = $('#mytrip_city_from').val();
var mytrip_city_to = $('#mytrip_city_to').val();
$('#mytrip_city_from').val(mytrip_city_to);
$('#mytrip_city_to').val(mytrip_city_from);
var fromText_1 = $('.fromText_1').text();
var fromText_2 = $('.fromText_2').text();
$('.fromText_1').html(fromText_2);
$('.fromText_2').html(fromText_1);
var airport_search_1 = $('#airport_search_1').val();
var airport_search_2 = $('#airport_search_2').val();
$('#airport_search_1').val(airport_search_2);
$('#airport_search_2').val(airport_search_1);
var ContSysId_1 = $('#ContSysId_1').val();
var ContSysId_2 = $('#ContSysId_2').val();
$('#ContSysId_1').val(ContSysId_2);
$('#ContSysId_2').val(ContSysId_1);
var FromToCIty_1 = $('#FromToCIty_1').val();
var FromToCIty_2 = $('#FromToCIty_2').val();
$('#FromToCIty_1').val(FromToCIty_2);
$('#FromToCIty_2').val(FromToCIty_1);
var mytrip_city_1 = $('#mytrip_city_1').val();
var mytrip_city_2 = $('#mytrip_city_2').val();
$('#mytrip_city_1').val(mytrip_city_2);
$('#mytrip_city_2').val(mytrip_city_1);
});
$('.flightsearch').on('submit', function(event) {
var source = $('input[name="source"]').val();
var destination = $('input[name="destination"]').val();
var source_city = $('input[name="source_city"]').val();
var destination_city = $('input[name="destination_city"]').val();
if (source === '') {
alert('Please enter from city name');
$('input[name="source"]').focus();
return false;
}
if (destination === '') {
alert('Please enter to city name');
$('input[name="destination"]').focus();
return false;
}
if (source_city === '') {
alert('Please enter valif from city name');
$('input[name="source"]').focus();
return false;
}
if (destination_city === '') {
alert('Please enter valif to city name');
$('input[name="destination"]').focus();
return false;
}
});
});
setTimeout(function() {
$.getJSON('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;
// console.log(cityid);
$(".cityid").val(cityid);
$(".hcode").val(code);
}
});
});
}, 1000);
setTimeout(function() {
$.getJSON('public/data/dynamic/package_destinations.json', function(destinations) {
$(".activitiesBox").autocomplete({
minLength: 3,
source: destinations,
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);
setTimeout(function() {
$.getJSON('public/data/dynamic/package_destinations.json', function(destinations) {
$(".visaSearchBox").autocomplete({
minLength: 3,
source: destinations,
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>
// $(".incr-btn").on("click", function(e) {
// var $button = $(this);
// var oldValue = $button.parent().find('.quantity').val();
// $button.parent().find('.incr-btn[data-action="decrease"]').removeClass('inactive');
// if ($button.data('action') == "increase") {
// var newVal = parseFloat(oldValue) + 1;
// } else {
// // Don't allow decrementing below 1
// if (oldValue > 1) {
// var newVal = parseFloat(oldValue) - 1;
// } else {
// newVal = 1;
// $button.addClass('inactive');
// }
// }
// $button.parent().find('.quantity').val(newVal);
// e.preventDefault();
// });
</script>
<script>
// Get the modal
var modal = document.getElementById('id02');
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
$(document).ready(function() {
setTimeout(function() {
$("#rightFloatInTollFreeNumber").stop().animate({
right: 215
}, 215);
}, 4000);
setInterval(function() {
$("#rightFloatInTollFreeNumber").stop().animate({
right: 50
}, 215);
}, 10000);
$('.rightFloat div').mouseover(function() {
$(this).stop().animate({
right: 215
}, 215);
}).mouseout(function() {
$(this).stop().animate({
right: 50
}, 215)
});
});
</script>
<script>
$("document").ready(function() {
$(".tab-slider--body").hide();
$(".tab-slider--body:first").show();
});
$(".tab-slider--nav li").click(function() {
$(".tab-slider--body").hide();
var activeTab = $(this).attr("rel");
$("#" + activeTab).fadeIn();
if ($(this).attr("rel") == "tab2") {
$('.tab-slider--tabs').addClass('slide');
} else {
$('.tab-slider--tabs').removeClass('slide');
}
$(".tab-slider--nav li").removeClass("active");
$(this).addClass("active");
});
</script>
<?php if (($modulename == 'detail') && ($controller == 'index') && ($action == 'index' || $action == 'index-ajax-data')) { ?>
<script type="text/javascript">
$(document).ready(function() {
//Horizontal Tab
$('#parentHorizontalTab').easyResponsiveTabs({
type: 'default', //Types: default, vertical, accordion
width: 'auto', //auto or any width like 600px
fit: true, // 100% fit in a container
tabidentify: 'hor_1', // The tab groups identifier
activate: function(event) { // Callback function if tab is switched
var $tab = $(this);
var $info = $('#nested-tabInfo');
var $name = $('span', $info);
$name.text($tab.text());
$info.show();
}
});
// Child Tab
$('#ChildVerticalTab_1').easyResponsiveTabs({
type: 'vertical',
width: 'auto',
fit: true,
tabidentify: 'ver_1', // The tab groups identifier
activetab_bg: '#fff', // background color for active tabs in this group
inactive_bg: '#F5F5F5', // background color for inactive tabs in this group
active_border_color: '#c1c1c1', // border color for active tabs heads in this group
active_content_border_color: '#5AB1D0' // border color for active tabs contect in this group so that it matches the tab head border
});
//Vertical Tab
$('#parentVerticalTab').easyResponsiveTabs({
type: 'vertical', //Types: default, vertical, accordion
width: 'auto', //auto or any width like 600px
fit: true, // 100% fit in a container
closed: 'accordion', // Start closed if in accordion view
tabidentify: 'hor_1', // The tab groups identifier
activate: function(event) { // Callback function if tab is switched
var $tab = $(this);
var $info = $('#nested-tabInfo2');
var $name = $('span', $info);
$name.text($tab.text());
$info.show();
}
});
});
</script>
<script src="<?php echo $baseUrl; ?>public/js/jquery-scrolltofixed.js" type="text/javascript"></script>
<script type="text/javascript">
function fixDiv() {
}
$(window).scroll(fixDiv);
$(document).ready(function() {
var summaries = $('.left-scrol-p');
summaries.each(function(i) {
var summary = $(summaries[i]);
var next = summaries[i + 1];
summary.scrollToFixed({
marginTop: $('.fh5co-nav').outerHeight(true) + 0,
limit: function() {
var limit = 0;
if (next) {
limit = $(next).offset().top - $(this).outerHeight(true) - 10;
} else {
limit = $('.fh5co-section-gallery-grid').offset().top - $(this).outerHeight(true) - 10;
}
return limit;
},
zIndex: 999
});
});
});
</script>
<?php } ?>
<script type="text/javascript">
if (dvc == "d") {
function fixDiv() {
if ($(window).scrollTop() > 420 && $(window).scrollTop() < $("#scropDocumentHeight").height() + 180) {
$('#topview1212').css({
'z-index': '99999',
'position': 'fixed',
'top': '118px',
'margin-left': '0px',
'width': '31%'
});
} else {
$('#topview1212').css({
'z-index': '999',
'position': 'initial',
'top': 'inherit',
'width': '100%'
});
}
}
} else {
function fixDiv() {
if ($(window).scrollTop() > 100) {
//console.log($(window).scrollTop());
$('.fh5co-nav-toggle').css({
'top': '1%'
});
} else {
$('.fh5co-nav-toggle').css({
'top': '8%'
});
}
}
}
$(window).scroll(fixDiv);
</script>
<script>
$(document).ready(function() {
$('[data-toggle="tooltip"]').tooltip();
});
</script>
<?php if (($modulename == 'default') && ($controller == 'customer') && ($action == 'myprofile')) { ?>
<script src="<?php echo $baseUrl; ?>public/js/jquery.bbq.js" type="text/javascript"></script>
<script src="<?php echo $baseUrl; ?>public/js/jquery.atAccordionOrTabs.js" type="text/javascript"></script>
<script type="text/javascript">
$('.demo').accordionortabs();
</script>
<?php } ?>
<script>
function showPopFilterMob(that) {
$('.filters-container').hide();
$('#package-filters').show();
$('#myModalFiltersContainer').modal('show');
}
</script>
<script src="public/js/sliderResponsive.js"></script>
<script>
$(document).ready(function() {
$("#slider3").sliderResponsive({
hoverZoom: "off",
hideDots: "off",
showArrows: "off",
});
});
function modifySearch() {
$("#modifySearch").toggleClass("modifySearch");
}
</script>
<script src="public/2019/assets/js/owl.carousel.min.js"></script>
<script src="public/2019/assets/js/jquery.vide.min.js"></script>
<script type="text/javascript" src="public/js/homeslider.js"></script>
</body>
<script>
$(document).ready(function() {
$('#travller_search1').on("click", function() {
// alert('manish');
$(".hotelsectionmain").toggle("show_hiddenpart_hidden");
});
$('#done_traveller2').on("click", function() {
$(".hotelsectionmain").toggle("show_hiddenpart_hidden");
});
$('#travller_search').on("click", function() {
// alert('manish');
$(".roomBoxMain").toggle("show_hiddenpart_hidden");
});
$('#done_traveller').on("click", function() {
$(".roomBoxMain").toggle("show_hiddenpart_hidden");
});
$('.flight_infotitle_dd').on("click", function() {
$(".flight_information_details_content").toggle("show_hiddenpart_hidden");
});
});
</script>
<script>
$(document).ready(function() {
$("#testimonial-slider").owlCarousel({
items: 1,
itemsDesktop: [1000, 1],
itemsDesktopSmall: [979, 1],
itemsTablet: [768, 1],
pagination: false,
navigation: true,
loop: true,
navText: ['', '', ],
dots: false,
nav: true,
autoPlay: 2500,
autoplayTimeout: 1000,
autoplayHoverPause: true
});
});
$('.owl-carousel').owlCarousel({
loop: true,
margin: 20,
responsiveClass: true,
responsive: {
0: {
items: 1,
dots: false,
nav: true,
navText: ['<i class="fa fa-angle-left" aria-hidden="true"></i>', '<i class="fa fa-angle-right" aria-hidden="true"></i>']
},
600: {
items: 2,
dots: false,
nav: true,
navText: ['<i class="fa fa-angle-left" aria-hidden="true"></i>', '<i class="fa fa-angle-right" aria-hidden="true"></i>']
},
1000: {
items: 6,
nav: true,
dots: false,
loop: false,
navText: ['<i class="fa fa-angle-left" aria-hidden="true"></i>', '<i class="fa fa-angle-right" aria-hidden="true"></i>']
}
}
});
</script>
<script src="public/js/jquery.light-carousel.js"></script>
<script>
$('.sample1').lightCarousel();
</script>
<script>
//plugin bootstrap minus and plus
//http://jsfiddle.net/laelitenetwork/puJ6G/
$('.btn-number').click(function(e) {
e.preventDefault();
fieldName = $(this).attr('data-field');
type = $(this).attr('data-type');
var input = $("input[name='" + fieldName + "']");
var currentVal = parseInt(input.val());
if (!isNaN(currentVal)) {
if (type == 'minus') {
if (currentVal > input.attr('min')) {
input.val(currentVal - 1).change();
}
if (parseInt(input.val()) == input.attr('min')) {
$(this).attr('disabled', true);
}
} else if (type == 'plus') {
if (currentVal < input.attr('max')) {
input.val(currentVal + 1).change();
}
if (parseInt(input.val()) == input.attr('max')) {
$(this).attr('disabled', true);
}
}
} else {
input.val(0);
}
});
$('.input-number').focusin(function() {
$(this).data('oldValue', $(this).val());
});
$('.input-number').change(function() {
minValue = parseInt($(this).attr('min'));
maxValue = parseInt($(this).attr('max'));
valueCurrent = parseInt($(this).val());
name = $(this).attr('name');
if (valueCurrent >= minValue) {
$(".btn-number[data-type='minus'][data-field='" + name + "']").removeAttr('disabled')
} else {
alert('Sorry, the minimum value was reached');
$(this).val($(this).data('oldValue'));
}
if (valueCurrent <= maxValue) {
$(".btn-number[data-type='plus'][data-field='" + name + "']").removeAttr('disabled')
} else {
alert('Sorry, the maximum value was reached');
$(this).val($(this).data('oldValue'));
}
});
$(".input-number").keydown(function(e) {
// Allow: backspace, delete, tab, escape, enter and .
if ($.inArray(e.keyCode, [46, 8, 9, 27, 13, 190]) !== -1 ||
// Allow: Ctrl+A
(e.keyCode == 65 && e.ctrlKey === true) ||
// Allow: home, end, left, right
(e.keyCode >= 35 && e.keyCode <= 39)) {
// let it happen, don't do anything
return;
}
// Ensure that it is a number and stop the keypress
if ((e.shiftKey || (e.keyCode < 48 || e.keyCode > 57)) && (e.keyCode < 96 || e.keyCode > 105)) {
e.preventDefault();
}
});
/*(function($){
$(document).ready(function(){
$('ul.dropdown-menu [data-toggle=dropdown]').on('click', function(event) {
event.preventDefault();
event.stopPropagation();
$(this).parent().siblings().removeClass('open');
$(this).parent().toggleClass('open');
});
});
})(jQuery);*/
$('.one-time').slick({
dots: true,
arrows: false,
infinite: true,
speed: 300,
slidesToShow: 1,
adaptiveHeight: true
});
</script>
<script>
var acc = document.getElementsByClassName("accordion");
var i;
for (i = 0; i < acc.length; i++) {
acc[i].addEventListener("click", function() {
this.classList.toggle("active");
var panel = this.nextElementSibling;
if (panel.style.maxHeight) {
panel.style.maxHeight = null;
} else {
panel.style.maxHeight = panel.scrollHeight + "px";
}
});
}
</script>
<!--<script>
var btt = document.getElementById('back-to-top'),
body = document.body,
docElem = document.documentElement,
offset = 100,
scrollPos;
window.addEventListener('scroll', function(event) {
scrollPos = body.scrollTop || docElem.scrollTop;
btt.className = (scrollPos > offset) ? 'visible' : '';
});
</script>-->
<?php
echo $seoFContent = (isset($detailLayout['seoFcontent']) && $detailLayout['seoFcontent'] != '') ? $detailLayout['seoFcontent'] : '';
?>
</html>
<?php } ?>