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/b2c.hellogtx.com/application/layouts/newinquryform/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2c.hellogtx.com/application/layouts/newinquryform/layout_12_02_2025.phtml
<?php
	$object = Zend_Controller_Front::getInstance();
	$options = $object->getParam('bootstrap')->getOption('bootstrap');
	$baseUrl = $options['siteUrl'];
	$siteName = $options['siteName'];
	$stylecss = $options['stylecss'];
	$tollfreenumber = $options['tollfreenumber'];
	$whatsappnumber = $options['whatsappnumber'];
	$IsBusAPI = isset($options['IsBusAPI'])?$options['IsBusAPI']:0;
	$IsCarAPI = isset($options['IsCarAPI'])?$options['IsCarAPI']:0;
	$modulename = $object->getRequest()->getModuleName();
	
	$controller = $object->getRequest()->getControllerName();
	
	$action = $object->getRequest()->getActionName();
	$currentPaymentGateway = Catabatic_Helper::getCurrentPaymentGateway();
	$actionArray = array(
    'modulename' => $modulename,
    'controller' => $controller,
    'action' => $action,
    'PaymentGateway' => $currentPaymentGateway,
    'IsBusAPI' => $IsBusAPI,
    'IsCarAPI' => $IsCarAPI,
	);
	if (!defined('CONST_PACKAGE_TRAVELER_MAX_ROOM')) {
		define('CONST_PACKAGE_TRAVELER_MAX_ROOM', $options['CONST_PACKAGE_TRAVELER_MAX_ROOM']);
	}
	if (!defined('CONST_PACKAGE_TRAVELER_MAX_ADULT_IN_ROOM')) {
		define('CONST_PACKAGE_TRAVELER_MAX_ADULT_IN_ROOM', $options['CONST_PACKAGE_TRAVELER_MAX_ADULT_IN_ROOM']);
	}
	if (!defined('CONST_PACKAGE_TRAVELER_MAX_CHILD_IN_ROOM')) {
		define('CONST_PACKAGE_TRAVELER_MAX_CHILD_IN_ROOM', $options['CONST_PACKAGE_TRAVELER_MAX_CHILD_IN_ROOM']);
	}
	if (!defined('CONST_PACKAGE_TRAVELER_MAX_INFANT_IN_ROOM')) {
		define('CONST_PACKAGE_TRAVELER_MAX_INFANT_IN_ROOM', $options['CONST_PACKAGE_TRAVELER_MAX_INFANT_IN_ROOM']);
	}
	// 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');
	$cssversion = 3.9;
	//echo"<pre>"; print_r($modulename);die();
	$commonBoxVal_ = Zend_Controller_Action_HelperBroker::getStaticHelper('custom')->getCommonBoxVal();
	
	$home_script = (isset($commonBoxVal_['home_content_script']) && trim($commonBoxVal_['home_content_script']) != '') ? $commonBoxVal_['home_content_script'] : '';
	$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'] : '';
	// echo"<pre>"; print_r($headerScript1);die();
?>
<!DOCTYPE html>
<html lang="en">
	
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<!--  <meta name="viewport" content="width=device-width, initial-scale=1"> -->
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
		<link rel="shortcut icon" href="<?php echo $baseUrl ?>public/upload/<?php echo $stylecss ?>/images/favicon.ico ">
		
		
		
		<?php
			$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;
			$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;
			$metaImage = (isset($detailLayout['metaImage']) && trim($detailLayout['metaImage']) != '') ? $detailLayout['metaImage'] : $baseUrl . 'public/upload/' . $stylecss . '/images/ftr-logo.png';
		?>

		<meta name="image" content="<?php echo $metaImage; ?>">
		<title><?php echo $metaTitle; ?></title>
		
		<meta name="description" content="<?php echo $metaDescription; ?>" />
		<meta name="keywords" content="<?php echo $metaKeyword; ?>" />
		<meta name="author" content="<?php echo $siteName; ?>">
		<meta property="og:title" content="<?php echo $metaTitle; ?> " />
		<meta property="og:description" content="<?php echo $metaDescription; ?>" />
		<meta property="og:type" content="website" />
		<meta property="og:url" content="<?php echo $options['websiteUrl'] . $_SERVER['REQUEST_URI']; ?>" />
		<meta property="og:image" content="<?php echo $metaImage; ?>" />
		<meta name="image" content="<?php echo $metaImage; ?>">
		<meta property="og:site_name" content="<?php echo $metaTitle; ?>" />
		<!-- Schema.org for Google -->
		<meta itemprop="name" content="<?php echo $metaTitle; ?>">
		<meta itemprop="description" content="<?php echo $metaDescription; ?>">
		<meta itemprop="image" content="<?php echo $metaImage; ?>">
		<!-- TWITTER -->
		<meta name="twitter:card" content="summary">
		<meta name="twitter:title" content="<?php echo $metaTitle; ?>">
		<meta name="twitter:description" content="<?php echo $metaDescription; ?> ">
		<meta name="author" content="<?php echo $siteName; ?> ">
		<meta name="robots" content="index, follow" />
		<meta name="language" content="English">
		
		<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']; ?>" />
		<meta name="image" content="<?php echo $metaImage; ?>">
		 <script>
        window.onload = function () {
            setTimeout(function () {
                alert('888');
            }, 5000); // Delay of 5 seconds
        };
    </script>
		
		<?php if (($modulename == 'default') && ($controller == 'index')) { ?>
			<?php echo $home_script; ?>
		<?php } ?>
		
		<?php
			echo $headerScript1;
			echo $headerScript2;
			echo $headerScript3;
			
		?>
		<base href="<?php echo Catabatic_Helper::getSiteUrl(); ?>" />
		<?php if (($modulename == 'default') && ($controller == 'customer') && ($action == 'myprofile')) { ?>
			<link href="<?php echo $baseUrl; ?>public/css/jquery.atAccordionOrTabs.css" rel="stylesheet">
		<?php } ?>
		
		<link rel="preload" type="text/css" as="style" href="<?php echo $baseUrl ?>public/assets/css/common.css?v=<?= $cssversion ?>">
		<link rel="preload" type="text/css" as="style" href="<?php echo $baseUrl ?>public/assets/css/main.css?v=<?= $cssversion ?>">
		<link rel="preload" type="text/css" as="style" href="<?php echo $baseUrl ?>public/upload/<?php echo $stylecss ?>/css/main.css?v=<?= $cssversion ?>">
		<link rel="preload" type="text/css" as="style" href="<?php echo $baseUrl ?>public/assets/css/font-awesome.min.css?v=<?= $cssversion ?>">
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiAyp8kv8JHgFVrJJLmE0tDMPKzSQ.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiEyp8kv8JHgFVrJJfecg.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLDz8Z1xlFQ.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiAyp8kv8JHgFVrJJLmE0tCMPI.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiAyp8kv8JHgFVrJJLmE0tDMPKzSQ.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiAyp8kv8JHgFVrJJLmE0tMMPKzSQ.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLBT5Z1JlFc-K.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLBT5Z1xlFQ.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLBT5Z11lFc-K.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLCz7Z1JlFc-K.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLCz7Z11lFc-K.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLDD4Z1JlFc-K.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLDD4Z1xlFQ.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLDD4Z11lFc-K.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLDz8Z1JlFc-K.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLDz8Z1xlFQ.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLDz8Z11lFc-K.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLEj6Z1JlFc-K.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLEj6Z11lFc-K.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLFj_Z1JlFc-K.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLFj_Z1xlFQ.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLFj_Z11lFc-K.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLGT9Z1JlFc-K.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLGT9Z11lFc-K.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLm21lVF9eO.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLm21lVFteOcEg.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLm21lVGdeOcEg.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLm81xVF9eO.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLm81xVFteOcEg.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLm81xVGdeOcEg.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLm111VF9eO.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLm111VFteOcEg.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLm111VGdeOcEg.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmg1hVF9eO.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmg1hVFteOcEg.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmr19VF9eO.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmr19VFteOcEg.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmr19VGdeOcEg.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmv1pVF9eO.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmv1pVFteOcEg.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmv1pVGdeOcEg.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmy15VF9eO.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiDyp8kv8JHgFVrJJLmy15VFteOcEg.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="preload" href="<?php echo $baseUrl ?>public/assets/fonts/poppins/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2" as="font" type="font/woff2" crossorigin>
		<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl ?>public/assets/css/font-awesome.min.css?v=<?= $cssversion ?>">
		<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl ?>public/assets/css/common.css?v=<?= $cssversion ?>">
		<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl ?>public/assets/css/main.css?v=<?= $cssversion ?>">
		<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.0.47/jquery.fancybox.min.css" />
		<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.8.2/css/lightbox.min.css">
		<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl ?>public/upload/<?php echo $stylecss ?>/css/main.css?v=<?= $cssversion ?>">
		<?php if ($stylecss == 'wowidays' || $stylecss == 'atlas' || $stylecss == 'bookmytournow' || $stylecss == 'ktas' || $stylecss == 'incredible' || $stylecss == 'flywelltours' || $stylecss == 'captainairtravel' || $stylecss == 'rajtravels' || $stylecss == 'walsonstravels' || $stylecss == 'bigvalue' || $stylecss == 'auxotrip' || $stylecss == 'uamongus' || $stylecss == 'lts' || $stylecss == 'unitedtoursandtravels' || $stylecss == 'crossworld' || $stylecss == 'ushaholidays' || $stylecss == 'bookoair' || $stylecss == 'goflysmart' || $stylecss == 'travelyourtrip') { ?>
			<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl ?>public/upload/<?php echo $stylecss ?>/css/wowidays-style.css?v=<?= $cssversion ?>">
			<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl ?>public/upload/<?php echo $stylecss ?>/css/select2.min.css?v=<?= $cssversion ?>">
		<?php } ?>
		<link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet'>
		<link href='https://fonts.googleapis.com/css?family=Poppins' rel='stylesheet'>
		<link href="<?php echo $baseUrl; ?>public/flight/tipped/tipped.css" rel="stylesheet" />
		<script type='text/javascript' src='https://platform-api.sharethis.com/js/sharethis.js#property=61d2ec6acb125900193f457c&product=inline-share-buttons' async='async'></script>
		<style>
			.mobile-footer-menus {
            display: none;
			}
		</style>
		<script>
			var SITEURL = '<?php echo $baseUrl ?>';
			var stylecss = '<?php echo $stylecss ?>';
			var appmode = '<?php echo $options['appmode'] ?>';
			var UserLogin = '<?php (isset($session->session) && !empty($session->session)) ? true : false ?>';
			var actionArray = '<?php echo json_encode($actionArray) ?>';
			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">
		<?php if ($stylecss == 'travobox') { ?>
			<!-- Google Tag Manager (noscript) -->
			<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NS4KP66" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
			<!-- End Google Tag Manager (noscript) -->
		<?php } ?>
		<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
				];
				require_once(APPLICATION_PATH . '/sites/' . $stylecss . '/layouts/header.phtml');
				echo $this->partial('models/modal-enquiry.phtml', ['baseUrl' => $baseUrl, 'siteName' => $siteName, 'tollfreenumber' => $tollfreenumber, 'POPUPCOOKIESENQUIRY' => $getMypopCookie]);
				echo $this->partial('models/modal-visa.phtml', ['baseUrl' => $baseUrl, 'siteName' => $siteName, 'tollfreenumber' => $tollfreenumber, 'POPUPCOOKIESVISA' => $getMypopCookie]);
				echo $this->partial('models/modal-forex.phtml', ['baseUrl' => $baseUrl, 'siteName' => $siteName, 'tollfreenumber' => $tollfreenumber, 'POPUPCOOKIESFOREX' => $getMypopCookie]);
				
				//echo"<pre>"; print_r($action);die();
				if (($modulename == 'default' || $modulename == 'car') && ($controller != 'customer') && ($action != 'account')) {
					
					echo $this->partial('models/modal-signin.phtml', ['baseUrl' => $baseUrl]);
				}
				if (($modulename == 'default' || $modulename == 'bus') && ($controller != 'customer') && ($action != 'account')) {
					
					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);
					echo $this->partial('models/modal-signin.phtml', ['baseUrl' => $baseUrl]);
				}
				if (($modulename == 'cms') && ($controller == 'index') && ($action == 'index')) {
					echo $this->partial('models/modal-checkrate-enquiry.phtml', $data);
					echo $this->partial('models/modal-signin.phtml', ['baseUrl' => $baseUrl]);
				}
				if (($modulename == 'detail') && ($controller == 'index') && ($action == 'index')) {
					echo $this->partial('models/modal-checkrate-enquiry.phtml', $data);
				}
			?>
			
			<?php
				echo $this->layout()->content;
				require_once(APPLICATION_PATH . '/sites/' . $stylecss . '/layouts/footer.phtml');
				
			?>
			
		</div>
		
		<script type="text/javascript" src="public/assets/js/jquery.min.js?v=<?= $cssversion ?>"></script>
		<script type="text/javascript" src="public/assets/js/select2.min.js?v=<?= $cssversion ?>"></script>
		<script type="text/javascript" src="public/assets/js/owl.carousel.min.js?v=<?= $cssversion ?>"></script>
		<script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.0.47/jquery.fancybox.min.js"></script>
		<script src="https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.8.2/js/lightbox.min.js"></script>
		<script>
			$(document).on("click", '[data-toggle="lightbox"]', function(event) {
				event.preventDefault();
				$(this).ekkoLightbox();
			});
		</script>
		
		
		<script type="text/javascript">
			$(document).ready(function() {
				$('#partmanish').owlCarousel({
					loop: true,
					nav: true,
					margin: 10,
					responsiveClass: true,
					responsive: {
						0: {
							items: 1,
							dots: true,
							nav: false
						},
						600: {
							items: 1,
							dots: true,
							nav: false
						},
						1000: {
							items: 2,
							nav: true,
							loop: false
						}
					}
				});
			});
			var hotel_enable_status = '<?php echo $this->hotel_enable_status; ?>';
		</script>
		
		<!-- manish test -->
		<script type="text/javascript" src="public/assets/js/custom.js?v=<?= $cssversion ?>"></script>
		<script type="text/javascript" src="public/js/custom.js?v=<?= $cssversion ?>"></script>
		<script type="text/javascript" src="public/js/visa.js?v=<?= $cssversion ?>"></script>
		<script type="text/javascript" src="public/js/checkrate_sendenquiry.js?v=<?= $cssversion ?>"></script>
		<script type="text/javascript" src="public/js/common_function.js?v=<?= $cssversion ?>"></script>
		<script type="text/javascript" src="public/js/custom_mangal.js?v=<?= $cssversion ?>"></script>
		<script type="text/javascript" src="public/js/package_customize.js?v=<?= $cssversion ?>"></script>
		<script type="text/javascript" src="public/assets/js/select2.full.min.js?v=<?= $cssversion ?>"></script>
		<script type="text/javascript" src="public/countrycode/script.js?v=<?= $cssversion ?>"></script>
		<script src="https://apis.google.com/js/api.js?v=<?= $cssversion ?>" async defer></script>
		<script src="https://apis.google.com/js/platform.js?v=<?= $cssversion ?>" async defer></script>
		<script type="text/javascript" src="public/js/login.js?v=<?= $cssversion ?>"></script>
		<?php if($IsCarAPI == 1){ ?>
		<script type="text/javascript" src="public/js/car.js?v=<?= $cssversion ?>"></script>
		<?php } ?>
		<script type="text/javascript" src="public/js/function.js?v=<?= $cssversion ?>"></script>
		<script src="<?php echo $baseUrl; ?>public/flight/tipped/tipped.js"></script>
		<script type="text/javascript" src="public/js/autocomplete.js?v=<?= $cssversion ?>"></script>
		<script type="text/javascript" src="public/js/autocompletesr.js?v=<?= $cssversion ?>"></script>
		<script type="text/javascript" src="public/js/layoutScript.js?v=<?= $cssversion ?>"></script>
		<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyB0G1HvaynGZ2BP71ciLjVKUMqDfFu8YUA&libraries=places"></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>
			$(document).ready(function() {
				// $(window).on("scroll", function() {
				
				//     if ($(document).scrollTop() > 90) {
				//         // alert('mansih');
				//         // $("#main-nav").css('background', 'black !important;');
				//         $(".fixed-top").addClass("top-nav-collapse");
				//     } else {
				//         // $("#main-nav").css('background','transparent !important;');
				//         $(".fixed-top").removeClass("top-nav-collapse");
				//     }
				// })
			});
		</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-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).ready(function() {
				// $('.flightsearch').on('submit', function(event) {
				//     //event.preventDefault();
				//     var paxHtm = $('#mobilecls').html();
				//     $('#modalPaxvalues').html(paxHtm);
				//     var source = $('.flightsearch input[name="source"]').val();
				//     var mytrip_city_from = $('.flightsearch input[name="mytrip_city_from"]').val();
				//     var mytrip_city_to = $('.flightsearch input[name="mytrip_city_to"]').val();
				//     var destination = $('.flightsearch input[name="destination"]').val();
				//     var source_city = $('.flightsearch input[name="source_city"]').val();
				//     var destination_city = $('.flightsearch input[name="destination_city"]').val();
				
				//     var route = $(".tripType:checked").val();
				
				//     if (route === '3') {
				//         var returnvalue = true;
				
				//         $(".countSectore").each(function(i, field) {
				//             var ind = $(this).attr('counter');
				//             var mytrip_city_from = $('#mytrip_city_from' + ind).val();
				//             var mytrip_city_to = $('#mytrip_city_to' + ind).val();
				//             var departure_dates = $('#departure_dates' + ind).val();
				//             if (mytrip_city_from === '') {
				//                 alert('Please enter source city name');
				//                 returnvalue = false;
				//                 return false;
				//             }
				//             if (mytrip_city_to === '') {
				//                 alert('Please enter destination city name');
				//                 returnvalue = false;
				//                 return false;
				//             }
				//             if (departure_dates === '') {
				//                 alert('Please enter departure date');
				//                 returnvalue = false;
				//                 return false;
				//             }
				//         });
				//         if (returnvalue) {
				//         } else {
				//             return false;
				//         }
				
				//     } else {
				
				
				//         if (mytrip_city_from === '') {
				//             alert('Please enter from city name');
				//             $('input[name="mytrip_city_from"]').focus();
				//             return false;
				//         } else if (mytrip_city_to === '') {
				//             alert('Please enter to city name');
				//             $('input[name="mytrip_city_to"]').focus();
				//             return false;
				//         } else if (source === '') {
				//             alert('Please enter from city name');
				//             $('input[name="source"]').focus();
				//             return false;
				//         } else if (destination === '') {
				//             alert('Please enter to city name');
				//             $('input[name="destination"]').focus();
				//             return false;
				//         } else if (source_city === '') {
				//             alert('Please enter valif from city name');
				//             $('input[name="source"]').focus();
				//             return false;
				//         } else if (destination_city === '') {
				//             alert('Please enter valif to city name');
				//             $('input[name="destination"]').focus();
				//             return false;
				//         } else if (mytrip_city_from == mytrip_city_to) {
				//             alert('Source and destination can not be same');
				//             return false;
				//         }
				
				//     }
				
				// });
				// $(document).on('change', '#trip', function() {
				//     var val = $(this).val();
				//     if (val == 1) {
				//         $("#OneWay").trigger('click');
				//         $(".flight-search-flight4").removeClass("multialignrdhome", true);
				//     } else if (val == 2) {
				//         $("#RoundTrip").trigger('click');
				//         $(".flight-search-flight4").removeClass("multialignrdhome", true);
				//     } else if (val == 3) {
				//         $(".flight-search-flight4").addClass("multialignrdhome", true);
				//         $("#multicity").trigger('click');
				//     }
				
				// });
				
				// setTimeout(function() {
				
				
				//     $('.select2').select2();
				
				//     $.getJSON(SITEURL + 'flight/getsetcity', function(source) {
				
				//         $(".airport_search").autocomplete({
				//             minLength: 0,
				//             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).slice(0, 10));
				//             },
				//             response: function(e) {
				//                 //console.log(e);
				//             },
				//             create: function() {
				//                 $(this).data('ui-autocomplete')._renderItem = function(ul, item) {
				//                     var path = 'basepath' + item.value;
				//                     //console.log(item);
				//                     var dddd = item.label.split(',');
				//                     return $('<li class="autosugg-listitem">')
				//                         .append(`<div class="flight-clsdest-nm">
				//                         <span>` + dddd[0] + `</span>
				//                         <span class="flight-clsfnt-sz3">
				//                                 ` + dddd[1] + `
				//                         </span>
				//                         </div>
				//                         <div class="flight-clsdest-nm2">
				//                         <span>` + item.AirportCode + `</span>
				//                         </div>`)
				//                         .append('</li>')
				//                         .appendTo(ul); // customize your HTML
				//                 };
				//             },
				
				//             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 + ')';
				//                 //alert(dddd[0]);
				//                 $('.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);
				//                 $(this).removeClass('extend_width');
				//                 // $("#bannerslider").removeClass("ss");
				//                 $(".search-box").removeClass("extend_width2");
				//                 // $(".formullist").removeClass("extend_width_list");
				//                 // $(".flight-search-flight1").removeClass("extend_width_list");
				//                 $(".flight-search-flight2").removeClass("extend_width2");
				//                 $(".apendn_2").removeClass("showsecond");
				//                 $(".formtitlecls").removeClass("showsecond");
				//                 // $(".formullist").removeClass("ss");
				//                 // $(".srch_form").removeClass("ss");
				//                 // $(".search-form-box").removeClass("extend_width");
				//                 // $(".formullist").removeClass("extend_width");
				//                 // $(".searchf1").removeClass("extend_width_input");
				//                 // $(".formtitlecls").removeClass("extend_width_formtitlecls");
				//                 $(".frmclose").removeClass("extend_width_frmclose");
				//                 // $(".ui-front").removeClass("extend_width_ui-front");
				//                 // $(".ui-front .ui-menu-item").removeClass("extend_width_ui-front_list");
				//                 // $(".formtitlecls").removeClass("extend_width_formtitlecls");
				//                 // $(".search-form-box").removeClass("extend_width_home-srch");
				//                 // $(".exchange_transfer").removeClass("frmhidesection");
				//                 $(".custom-nav").removeClass("frmhidesection");
				//                 $("#bannerslider").removeClass("frmhidesection");
				//                 $(".exchange_transfer").removeClass("frmhidesection");
				
				//             }
				//         }).focus(function() {
				//             $(this).val('');
				//             // debugger;
				//             $(this).addClass("extend_width");
				//             // $("#bannerslider").addClass("ss");
				//             $(".search-box").addClass("extend_width2");
				//             // $(".formullist").addClass("extend_width_list");
				//             // $(".flight-search-flight1").addClass("extend_width_list");
				//             $(".flight-search-flight2").addClass("extend_width2");
				//             $(".apendn_2").addClass("showsecond");
				//             $(".formtitlecls").addClass("showsecond");
				//             // $(".formullist").addClass("ss");
				//             // $(".srch_form").addClass("ss");
				//             // $(".search-form-box").addClass("extend_width");
				//             // $(".formullist").addClass("extend_width");
				//             // $(".flight-search-flight1").addClass("extend_width_list");
				//             // $(".searchf1").addClass("extend_width_input");
				//             // $(".formtitlecls").addClass("extend_width_formtitlecls");
				//             $(".frmclose").addClass("extend_width_frmclose");
				//             // $(".ui-front").addClass("extend_width_ui-front");
				//             // $(".ui-front .ui-menu-item").addClass("extend_width_ui-front_list");
				//             // $(".formtitlecls").addClass("extend_width_formtitlecls");
				//             // $(".search-form-box").addClass("extend_width_home-srch");
				//             // $(".exchange_transfer").addClass("frmhidesection");
				//             $(".custom-nav").addClass("frmhidesection");
				//             // alert('manish');
				//             //                        $('html, body').animate({
				//             //
				//             //                            scrollTop: $("#bannerslider").offset().top - 460
				//             //                        }, 200);
				//             $("#bannerslider").addClass("frmhidesection");
				//             $(".exchange_transfer").addClass("frmhidesection");
				
				
				//             $(this).autocomplete('search');
				//         });
				
				//     });
				// }, 1000);
				
				
				
				// $('.frmclose').click(function() {
				//     $(".frmclose").removeClass("extend_width_frmclose");
				//     $("#mytrip_city_from").removeClass("extend_width");
				//     $("#mytrip_city_to").removeClass("extend_width");
				//     // $("#bannerslider").removeClass("ss");
				//     $(".search-box").removeClass("extend_width2");
				//     $(".flight-search-flight2").removeClass("extend_width2");
				//     $(".apendn_2").removeClass("showsecond");
				//     $(".formtitlecls").removeClass("showsecond");
				//     // $(".formullist").removeClass("ss");
				//     $(".custom-nav").removeClass("frmhidesection");
				
				
				// });
				
				// $('.apendn_1').keyup(function(e) {
				//     var valofrom = $(this).val();
				//    if(valofrom.length >= 3){
				//         $('#sourcesjd').hide();
				//    }else{
				//     $('#sourcesjd').show();
				//    }
				// });
				
				// $('.apendn_2').keyup(function(e) {
				//     var valofrom = $(this).val();
				//    if(valofrom.length >= 3){
				//         $('#destinjd').hide();
				//    }else{
				//     $('#destinjd').show();
				//    }
				// });
				
				
				// $('.frmclose').click(function() {
				
				//     $('.flight-search-flight1').removeClass('mobile-as1');
				//     $('.flight-search-flight2').removeClass('mobile-as1');
				//     $('section.search-form-box').removeClass('mobile-asfrm');
				//     $('.blackbar').removeClass('mobile_head1');
				//     $('.custom-nav').removeClass('mobile_head1');
				//     $('.frmclose').removeClass('frmcloseshow');
				// });
				// $("#from, #to").datepicker({
				//     //defaultDate: "+1w",
				//     changeMonth: false,
				//     dateFormat: "d M yy",
				//     numberOfMonths: 2,
				//     minDate: 0,
				//     buttonImage: true,
				//     buttonImageOnly: true,
				//     beforeShow: function() {
				//         if (this.id == 'to') {
				//             // debugger;
				//             var dateMin = $('#from').datepicker("getDate");
				//             var TodateMin = $('#to').datepicker("getDate");
				//             if (TodateMin === null) {
				//                 TodateMin = dateMin;
				//             }
				
				//             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);
				//             $('#RoundTrip').prop('checked', true);
				//         }
				//         if ($(window).width() < 768) {
				//             return {
				//                 numberOfMonths: 12
				//             };
				//         } else {
				//             return {
				//                 numberOfMonths: 2
				//             };
				//         }
				//     },
				//     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");
				// });
				// var counter = 3;
				// $(document).on('click', '.tripType', function() {
				
				//     var tripType = $(this).val();
				//     var from = $('#from').val();
				//     if (tripType == 2) {
				//         $('.disableres').show();
				//         $('.addSegment').hide();
				//         $('.multitraveller').hide();
				//         $('.block').hide();
				//         $('#oneRound :input').prop("disabled", false);
				//         $('#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("readonly", "readonly");
				//         $("#to").removeClass("disabledcls");
				//     } else if (tripType == 3) {
				//         $('.disableres').hide();
				//         $('.multitraveller').show();
				//         $('.block').show();
				//         $('.addSegment').show();
				//         $(".addSegment").trigger('click');
				//         $(".addSegment").trigger('click');
				//         $('#oneRound :input').prop("disabled", true);
				
				
				//         $("#to").attr("readonly", "readonly");
				//     } else {
				//         $('.addSegment').hide();
				//         $('.disableres').show();
				//         $('.multitraveller').hide();
				//         $('.block').hide();
				//         $('#oneRound :input').prop("disabled", false);
				//         $('#to').val('');
				//         $('.Return').html('');
				//         $('#return_date').val('');
				//         $("#to").attr("readonly", "readonly");
				//         $("#to").addClass("disabledcls");
				//     }
				
				//     $('#trip').prop("disabled", false);
				
				// });
				// $('.addSegment').click(function() {
				//     var removeTag = ''
				//     if (counter == 3) {
				//         var CurrentDate = "<?= date('d M Y') ?>";
				//         var CurrentDate2 = "<?= date('Y/m/d') ?>";
				//     } else {
				//         CurrentDate = '';
				//     }
				//     if (counter > 4) {
				//         removeTag = '<li class="multicity_filghtremoveicon" id="removeDIV' + counter + '">' +
				//             '<a href="javascript:void(0);" style="margin-top: 6px;" index="' + counter + '" class="multiremove removeSeg"><i class="fa fa-minus-circle" aria-hidden="true"></i></a>' +
				//             '</li>';
				//     }
				//     if (counter == 6) {
				//         $('.addSegment').hide();
				//     }
				
				// $('.block').append(`<div class="DeleteRow_` + counter + `"><li class="multicity_filght">
				//                  <span class="formtitlecls" id="title_` + counter + `">Source city</span>
				//                  <div class="searchf1 searchinput">
				//                     <input class="form-control airport_search countSectore apendn_1` + counter + `"  index="1` + counter + `" type="text" name="mytrip_city_from[]" id="mytrip_city_from` + counter + `" placeholder="Type source city.." value="" counter="` + counter + `" autocomplete="off" autosuggestion="off" />
				//                     <ul id="sourcesjd"></ul>
				//                  </div>
				//               </li>
				//               <li class="multicity_filght ">
				//                  <span class="formtitlecls" id="title_1` + counter + `">Destination city</span>
				//                  <div class="searchinput">
				//                     <input class="form-control airport_search apendn_2` + counter + `" index="2` + counter + `" type="text" name="mytrip_city_to[]" id="mytrip_city_to` + counter + `" placeholder="Type destination city.." value="" counter="` + counter + `" autocomplete="off" autosuggestion="off" />
				//                     <ul id="destinjd"></ul>
				//                  </div>
				//               </li>
				
				//               <li class="multicity_filghtdate">
				//                  <span class="formtitlecls" id="title_2` + counter + `">Departure Date</span>
				//                  <div class="date-parent searchinput">
				//                     <input class="form-control" type="text" index="` + counter + `" name="departure_dates[]" id="departure_dates` + counter + `" value="` + CurrentDate + `" counter="` + counter + `" readonly />
				//                  </div>
				//               </li>
				//               ` + removeTag + `
				//                 <input type="hidden" id="airport_search_1` + counter + `" name="source_city[]" value="">
				//                 <input type="hidden" id="ContSysId_1` + counter + `" name="ContSysId_1[]" value="" />
				//                 <input type="hidden" id="airport_search_2` + counter + `" name="destination_city[]" value="">
				//                 <input type="hidden" id="ContSysId_2` + counter + `" name="ContSysId[]" value="" />
				//                 <input type="hidden" id="FromToCIty_1` + counter + `" name="source[]" value="">
				//                 <input type="hidden" id="FromToCIty_2` + counter + `" name="destination[]" value="">
				//                 <input type="hidden" id="departure_date` + counter + `" name="departure_date[]" value="` + CurrentDate2 + `">
				//                 <input type="hidden" id="return_date` + counter + `" name="return_date[]" value="">
				//                 <input type="hidden" id="mytrip_city_1` + counter + `" name="from_mytrip_city[]" value="">
				//                 <input type="hidden" id="mytrip_city_2` + counter + `" name="to_mytrip_city[]" value="">
				//               <div class="clearfix"></div>
				//              </div> `);
				
				
				//     var mytrip_city_to = $('#mytrip_city_to' + (counter - 1)).val();
				//     var ContSysId_1 = $('#ContSysId_1' + (counter - 1)).val();
				//     var airport_search_2 = $('#airport_search_2' + (counter - 1)).val();
				//     var FromToCIty_2 = $('#FromToCIty_2' + (counter - 1)).val();
				//     var mytrip_city_2 = $('#mytrip_city_2' + (counter - 1)).val();
				
				//     $('#mytrip_city_from' + (counter)).val(mytrip_city_to);
				//     $('#ContSysId_1' + (counter)).val(ContSysId_1);
				//     $('#airport_search_1' + (counter)).val(airport_search_2);
				//     $('#FromToCIty_1' + (counter)).val(FromToCIty_2);
				//     $('#mytrip_city_1' + (counter)).val(mytrip_city_2);
				
				//     if (counter == 3) {
				//         $('#title_' + counter).html('Source city');
				//         $('#title_1' + counter).html('Destination city');
				//         $('#title_2' + counter).html('Departure Date');
				//     } else { //&nbsp;
				//         $('#title_' + counter).html('');
				//         $('#title_1' + counter).html('');
				//         $('#title_2' + counter).html('');
				//     }
				//     $('#removeDIV' + (counter - 1)).hide();
				//     $('#departure_dates' + counter).datepicker({
				//         changeMonth: false,
				//         dateFormat: "d M yy",
				//         numberOfMonths: 2,
				//         minDate: 0,
				//         buttonImage: true,
				//         buttonImageOnly: true,
				//         beforeShow: function(ct, en) {
				//             var index = $(this).attr('index');
				//             var CheckIn = $("#departure_dates" + (index - 1)).val();
				//             if (typeof CheckIn !== 'undefined') {
				//                 var dateMin = new Date(CheckIn);
				//                 var rMin = new Date(dateMin.getFullYear(), dateMin.getMonth(), dateMin.getDate());
				//                 $('#departure_dates' + index).datepicker("option", "minDate", rMin);
				//             }
				//             //console.log($(this).attr('index'));
				//         },
				//         onSelect: function(selectedDate, inst) {
				//             var index = $(this).attr('index');
				//             var dateMin = new Date(selectedDate);
				//             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 FromFormatted = $.datepicker.formatDate('yy/mm/dd', theDate);
				//             $('#departure_date' + (parseInt(index))).val(FromFormatted);
				//         }
				//     });
				//     setTimeout(function() {
				//         $.getJSON(SITEURL + 'flight/getsetcity', function(source) {
				//             $(".airport_search").autocomplete({
				//                 minLength: 0,
				//                 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).slice(0, 10));
				//                 },
				//                 create: function() {
				//                     $(this).data('ui-autocomplete')._renderItem = function(ul, item) {
				//                         var path = 'basepath' + item.value;
				//                         //console.log(item);
				//                         var dddd = item.label.split(',');
				//                         return $('<li class="autosugg-listitem">')
				//                             .append(`<div class="flight-clsdest-nm">
				//                             <span>` + dddd[0] + `</span>
				//                             <span class="flight-clsfnt-sz3">
				//                                 ` + dddd[1] + `
				//                             </span>
				//                             </div>
				//                             <div class="flight-clsdest-nm2">
				//                             <span>` + item.AirportCode + `</span>
				//                             </div>`)
				//                             .append('</li>')
				//                             .appendTo(ul); // customize your HTML
				//                     };
				//                 },
				//                 response: function(e) {
				//                     //console.log(e);
				//                 },
				
				//                 select: function(event, ui) {
				//                     var counter = $(this).attr('counter');
				//                     var name = $(this).attr('name');
				//                     var index = $(this).attr('index');
				//                     var value = ui.item.value;
				//                     console.log(index);
				//                     var dddd = value.split(',');
				//                     ui.item.value = dddd[0] + ' (' + ui.item.AirportCode + ')';
				//                     //alert(dddd[0]);
				//                     $('.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);
				
				//                     $(this).removeClass('extend_width');
				//                     // $("#bannerslider").removeClass("ss");
				//                     $(".search-box").removeClass("extend_width2");
				//                     $(".flight-search-flight2").removeClass("extend_width2");
				//                     $(".apendn_2").removeClass("showsecond");
				//                     $(".formtitlecls").removeClass("showsecond");
				//                     // $(".formullist").removeClass("ss");
				//                     $(".frmclose").removeClass("extend_width_frmclose");
				//                     $(".custom-nav").removeClass("frmhidesection");
				
				//                     if (name === 'mytrip_city_to[]') {
				//                         var fromcity = dddd[0] + '(' + ui.item.AirportCode + ')';
				//                         //console.log(fromcity);
				//                         //$('#mytrip_city_from' + (parseInt(counter) + 1)).attr('readonly', true);
				//                         //$('#mytrip_city_from' + (parseInt(counter) + 1)).removeClass('airport_search');
				
				//                         $('.apendn_1' + (parseInt(counter) + 1)).val(dddd[0]);
				//                         $('.fromText_1' + (parseInt(counter) + 1)).html(dddd[1]);
				//                         $('#mytrip_city_1' + (parseInt(counter) + 1)).val(dddd[1]);
				//                         $('#FromToCIty_1' + (parseInt(counter) + 1)).val(value);
				//                         $('#airport_search_1' + (parseInt(counter) + 1)).val(ui.item.AirportCode);
				//                         $('#ContSysId_1' + (parseInt(counter) + 1)).val(ui.item.ContSysId);
				//                         $('#mytrip_city_from' + (parseInt(counter) + 1)).val(fromcity);
				
				//                     }
				//                 }
				//             }).focus(function() {
				//                 //$(this).val('');
				//                 // debugger;
				//                 $(this).addClass("extend_width");
				//                 // $("#bannerslider").addClass("ss");
				//                 $(".search-box").addClass("extend_width2");
				//                 $(".flight-search-flight2").addClass("extend_width2");
				//                 $(".apendn_2").addClass("showsecond");
				//                 $(".formtitlecls").addClass("showsecond");
				//                 // $(".formullist").addClass("ss");
				//                 $(".frmclose").addClass("extend_width_frmclose");
				//                 $(".custom-nav").addClass("frmhidesection");
				//                 $('html, body').animate({
				//                     scrollTop: $("#bannerslider").offset().top - 460
				//                 }, 200);
				//                 //$(this).autocomplete('search');
				//             });
				//         });
				//     }, 1000);
				//     counter++;
				// });
				
				// $('body').on('click', '.removeSeg', function() {
				//     var index = $(this).attr('index');
				//     $(".DeleteRow_" + index).remove();
				//     $('#removeDIV' + (index - 1)).show();
				//     $('.addSegment').show();
				//     counter--;
				// });
				
				
				// $(document).on('click', '.tripTypeRound', function() {
				//     $("#to").removeClass("disabledcls"); //  debugger;
				//     $("#to").datepicker("show");
				//     $("#RoundTrip").prop('checked', true);
				//     $("#trip").val('2');
				// });
				
				// $(".SelectClass").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);
				
				
				// });
			});
			
			// function SetPaxData() {
			//     if ($('#modalPaxvalues').length > 0) {
			//         // debugger;
			//         $('#modalPaxvalues').html('');
			//         var paxHtm = $('#mobilecls').html();
			
			
			//         $('#modalPaxvalues').html(paxHtm);
			
			//         $('#mobilecls').html('');
			
			
			//         $('#mobilecls').show();
			//         //alert("Adult 3: "+$('input[name="adults"]').val());
			//     }
			// }
			
			
			
			$(document).ready(function() {
				
				// $('.sorting').click(function() {
				//     $(this).children('i').toggleClass('icon-angle-up icon-angle-down');
				// });
				
				// $('.sortingRound').click(function() {
				//     $(this).children('i').toggleClass('icon-angle-up icon-angle-down');
				// });
				
				// $('.sortingpoint').click(function() {
				//     $(this).children('i').toggleClass('fa-long-arrow-up fa-long-arrow-down');
				// });
				
				
				
				// $("#datepicker, #datepicker_return").datepicker({
				//     //defaultDate: "+1w",
				//     changeMonth: false,
				//     dateFormat: "d M yy",
				//     numberOfMonths: 2,
				//     minDate: 0,
				//     buttonImage: true,
				//     buttonImageOnly: true,
				//     beforeShow: function() {
				//         if (this.id == 'datepicker') {
				//             var dateMin = $('#datepicker').datepicker("getDate");
				//             var TodateMin = $('#datepicker_return').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
				//             $('#datepicker_return').datepicker("option", "minDate", rMin);
				//             $('#datepicker_return').datepicker("option", "maxDate", rMax);
				//             $('#datepicker_return').datepicker("setDate", c_out_date);
				//         }
				//     },
				//     onSelect: function(selectedDate, inst) {
				//         var tripType = $('.tripType:checked').val(); // retrieve the value
				//         if (this.id == 'datepicker') {
				//             var dateMin = $('#datepicker').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) {
				//                 $('#datepicker_return').datepicker("option", "minDate", rMin);
				//                 $('#datepicker_return').datepicker("option", "maxDate", rMax);
				
				//                 $('#datepicker_return').datepicker("setDate", c_out_date);
				//                 $('.date-parent').html(dateFormatted);
				
				//             }
				//             //                            console.log(c_out_date);
				
				//             ///$('#to').focus();return false;
				//         } else {
				//             var dateMin = $('#datepicker_return').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);
				//             $('.date-parent').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).ready(function(){
				//     $('.down_count-cls1').click(function(e){
				//         var button_classes, value = +$('.counter1').val();
				//         button_classes = $(e.currentTarget).prop('class');
				//         if(button_classes.indexOf('up_count') !== -1){
				//             value = (value) + 1;
				//         } else {
				//             value = (value) - 1;
				//         }
				//         value = value < 1 ? 1 : value;
				//         $('.counter1').val(value);
				//     });
				//     $('.counter1, .counter2, .counter3').click(function(){
				//         $(this).focus().select();
				//     });
				// });
				
				// $(document).ready(function(){
				//     $('.down_count-cls2').click(function(e){
				//         var button_classes, value = +$('.counter2').val();
				//         button_classes = $(e.currentTarget).prop('class');
				//         if(button_classes.indexOf('up_count') !== -1){
				//             value = (value) + 1;
				//         } else {
				//             value = (value) - 1;
				//         }
				//         value = value < 0 ? 0 : value;
				//         $('.counter2').val(value);
				//     });
				//     $('.counter2').click(function(){
				//         $(this).focus().select();
				//     });
				// });
				
				// $(document).ready(function(){
				//     $('.down_count-cls3').click(function(e){
				//         var button_classes, value = +$('.counter3').val();
				//         button_classes = $(e.currentTarget).prop('class');
				//         if(button_classes.indexOf('up_count') !== -1){
				//             value = (value) + 1;
				//         } else {
				//             value = (value) - 1;
				//         }
				//         value = value < 0 ? 0 : value;
				//         $('.counter3').val(value);
				//     });
				//     $('.counter3').click(function(){
				//         $(this).focus().select();
				//     });
				// });
				
				
				
				// $('.ddSpinnerPlus').click(function() {
				//     //var totalpass = $('.TotalTravellers').html();
				//     var adult = $('.counter1').val();
				//     var child = $('.counter2').val();
				//     var totalpass = parseInt(adult) + parseInt(child);
				//     if (totalpass < 9) {
				//         if ($(this).prev().val() < 9) {
				//             $(this).prev().val(+$(this).prev().val() + 1);
				//             $('.counter1').val(+$(this).prev().val());
				//             $('.counter1').attr('value', +$(this).prev().val());
				//         }
				//         SumTravellers();
				//     } else {
				//         alert('Total Passanger (Adult and Child) Can not be more than 9');
				//     }
				// });
				
				// $('.ddSpinnerMinus').click(function() {
				//     var infants = $('#infants').val();
				//     var adult = $(this).next().val();
				//     if (infants > 1) {
				//         if (parseInt(infants) >= adult) {
				//             $('#infants').val(infants - 1)
				//         }
				//     }
				
				//     if ($('#adults').val() > 1) {
				//         $(this).next().val(+$(this).next().val() - 1);
				//         $('.counter1').val(+$(this).next().val());
				//         $('.counter1').attr('value', +$(this).next().val());
				//         $('.counter-int').attr('value', +$(this).next().val());
				//     }
				//     SumTravellers();
				// });
				
				// $('.chSpinnerPlus').click(function() {
				//     var adult = $('.counter1').val();
				//     var child = $('.counter2').val();
				//     var totalpass = parseInt(adult) + parseInt(child);
				//     if (totalpass < 9) {
				//         if ($(this).prev().val() < 9) {
				//             $(this).prev().val(+$(this).prev().val() + 1);
				//             $('.counter2').val(+$(this).prev().val());
				//             $('.counter2').attr('value', +$(this).prev().val());
				//         }
				//         SumTravellers();
				//     } else {
				//         alert('Total Passanger (Adult and Child) Can not be more than 9');
				//     }
				// });
				
				// $('.chSpinnerMinus').click(function() {
				
				//     //alert($(this).val());
				//     if ($(this).next().val() > 0) {
				//         if ($(this).next().val() > 0)
				//             $(this).next().val(+$(this).next().val() - 1);
				//         $('.counter2').val(+$(this).next().val());
				//         $('.counter2').attr('value', +$(this).next().val());
				//     }
				//     SumTravellers();
				// });
				
				// $('.infSpinnerPlus').click(function() {
				//     // var adult = $('.counter1').val();
				
				//     var adults = $('#adults').val();
				
				//     if (parseInt(adults) <= parseInt($(this).prev().val())) {
				//         alert('Number of infant can not be greater than adult');
				//         return false;
				//     } else {
				//         $(this).prev().val(+$(this).prev().val() + 1);
				//         $('.counter3').val(+$(this).prev().val());
				//         $('.counter3').attr('value', +$(this).prev().val());
				//         SumTravellers();
				//     }
				// });
				// $('.infSpinnerMinus').click(function() {
				
				//     if ($(this).next().val() > 0) {
				//         if ($(this).next().val() > 0)
				//             $(this).next().val(+$(this).next().val() - 1);
				//         $('.counter3').val(+$(this).next().val());
				//         $('.counter3').attr('value', +$(this).next().val());
				//     }
				//     SumTravellers();
				// });
				
				// function SumTravellers() {
				//     var a = 0;
				//     $(".quantity").each(function() {
				//         a += parseInt($(this).val());
				//     });
				//     $('.TotalTravellers').html(a);
				//     return a;
				// }
				
				// function ValidateInfant() {
				//     var a = 0;
				//     $(".quantity").each(function() {
				//         a += parseInt($(this).val());
				//     });
				//     $('.TotalTravellers').html(a);
				//     return a;
				// }
				
				
				// $(".SelectClass").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);
				//         }
				//     });
				
				// $(document).mouseup(function(e) {
				//     if ($(e.target).closest(".hotelrooombox_main").length ===
				//         0) {
				//         $(".hotelrooombox_main").hide();
				//     }
				// });
				
				
				
				// function openSearch() {
				//     document.getElementById("mySidenavsearch").style.width = "100%";
				// }
				
				// function closeSearch() {
				//     document.getElementById("mySidenavsearch").style.width = "0";
				// }
				
				
				
				
			});
			
			$(document).ready(function() {
				// $(" #travller_search").on("click", function() {
				//     $('.hotelserchcls').prop("disabled", false);
				//     <?php if ($mydevice == "desktop") { ?>
				//         // alert('test');
				//         $(".room_boxcls").show();
				//         // plusdata();
				//     <?php } else { ?>
				//         $('#mypopupsectionModal').modal('show');
				//         $("#mypopupsectionModalHtml").html($("#mypopupsectiondata").html());
				//         //plusdata();
				//     <?php } ?>
				// });
				
			});
			
			// $("#car-Start_Date, #car-end-Date").datepicker({
			//     //defaultDate: "+1w",
			//     changeMonth: false,
			//     dateFormat: "d-M-yy",
			//     numberOfMonths: 2,
			//     minDate: 0,
			//     buttonImage: true,
			//     buttonImageOnly: true,
			//     beforeShow: function() {
			//         if (this.id == 'car-end-Date') {
			//             var dateMin = $('#car-Start_Date').datepicker("getDate");
			//             var TodateMin = $('#car-end-Date').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
			//             $('#car-end-Date').datepicker("option", "minDate", rMin);
			//             $('#car-end-Date').datepicker("option", "maxDate", rMax);
			//             $('#car-end-Date').datepicker("setDate", c_out_date);
			//         }
			//     },
			//     onSelect: function(selectedDate, inst) {
			//         var tripType = $('.tripType:checked').val(); // retrieve the value
			//         if (this.id == 'car-Start_Date') {
			//             var dateMin = $('#car-Start_Date').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);
			//             $('#car-end-Date').datepicker("option", "minDate", rMin);
			//             $('#car-end-Date').datepicker("option", "maxDate", rMax);
			
			//             $('#car-end-Date').datepicker("setDate", c_out_date);
			//             $('.Return').html(dateFormatted);
			//         }
			//     }
			// });
			<?php if (($modulename != 'hotels')) { ?>
				
				
			<?php } ?>
		</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?=111");
			}
			if (($modulename == 'tours') && ($controller == 'activity') && ($action == 'index')) {
				$scriptsAngular->appendFile($baseUrl . "public/js/ng/activities_search.js?=111112222");
			}
			if (($modulename == 'hotels') && ($controller == 'index') && ($action == 'search-results')) {
				$scriptsAngular->appendFile($baseUrl . "public/js/ng/hotel-search-result.js?1112121");
			}
			if (($modulename == 'hotelsinv') && ($controller == 'search') && ($action == 'search-results')) {
				$scriptsAngular->appendFile($baseUrl . "public/js/hotelinv/ng/hotel_search.js?1112121");
			}
			if (($modulename == 'bus') && ($controller == 'index') && ($action == 'index')) {
				$scriptsAngular->appendFile($baseUrl . "public/js/ng/bus-search-result.js?1112121");
			}
			if (($modulename == 'car') && ($controller == 'index') && ($action == 'search-results')) {
				$scriptsAngular->appendFile($baseUrl . "public/js/ng/car-search-result.js?1112121");
			}
			$scriptsAngular->appendFile($baseUrl . "public/js/ng/ng-infinite-scroll.min.js");
			$scriptsAngular->appendFile($baseUrl . "public/js/ng/ng-infinite-scroll.js");
			echo $scriptsAngular;
		?>
		
		<?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,
				];
				$scriptsAngular->appendFile($baseUrl . "public/js/ng/hotel-search-result.js?=111");
				echo $scriptsAngular;
				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 + "&gtxID=" + 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>
			<?php if (($modulename != 'hotels')) { ?>
				
			<?php } ?>
		</script>
		
		<script>
			$(document).ready(function() {
				// $(".expanded").hide();
				
				// $(".expanded a, .collapsed a").click(function(eve) {
				//     eve.preventDefault();
				//     $(".expanded, .collapsed").toggle();
				// });
				
				
				
				// $('#itenerary_click').on("click", function() {
				//     $('html, body').animate({
				//         scrollTop: $("#itenary").offset().top - 250
				//     }, 200);
				
				// });
				
				// $('#termscondition_click').on("click", function() {
				//     $('html, body').animate({
				//         scrollTop: $("#terms_condition").offset().top - 250
				//     }, 200);
				
				// });
				// $('.gotohotel').on("click", function() {
				
				//     $('html, body').animate({
				//         scrollTop: $("#Hotelstab_slide").offset().top - 300
				//     }, 200);
				
				// });
				
			});
			
			// function activaTab(tab) {
			//     // alert(tab);
			//     $('.nav-tabs a[href="#' + tab + '"]').tab('show');
			//     $('html, body').animate({
			//         scrollTop: $("#Hotelstab_slide").offset().top - 460
			//     }, 200);
			// }
		</script>
		
		<script>
			//        $('.showmore1').click(function(){
			//            $('.fl-checkbox_list1').animate({height:'400px'}, 500);
			//        });
			//
			//        $('.fa-minus').click(function(){
			//            $('.fl-checkbox_list1').animate({height:'0px'}, 500);
			//        });
			//
			//        $('.showmore2').click(function(){
			//            $('.fl-checkbox_list2').animate({height:'400px'}, 500);
			//        });
			//        $('.showmore3').click(function(){
			//            $('.fl-checkbox_list3').animate({height:'400px'}, 500);
			//        });
			//        $('.showmore4').click(function(){
			//            $('.fl-checkbox_list4').animate({height:'400px'}, 500);
			//        });
			//
			//
			//        $('.showmore1, .showmore2, .showmore3, .showmore4').on('click', function() {
			//            $(this).toggleClass('fa-plus fa-minus');
			//        });
			
			
			<?php
				// if (($modulename == 'car') && ($controller == 'index') && ($action == 'pay-now')) {
			?>
			
			// function PayNowTicket() {
			//     var ApiResultIndex = $('#ApiResultIndex').val();
			//     var TraceId = $('#TraceId').val();
			
			//     $.ajax({
			//         type: "POST",
			//         url: "<?php echo $baseUrl; ?>car/pay-now/",
			//         dataType: 'json',
			//         data: {
			//             TraceId: TraceId,
			//             ApiResultIndex: ApiResultIndex
			//         },
			//         beforeSend: function() {
			//             $('.continue_btn').hide();
			//             $("#FareChangeData").html('<div style="text-align:center;padding-top:30px;"><img src="<?php echo $baseUrl; ?>public/images/loader.gif"/></div>');
			//         },
			//         success: function(response) {
			//             if (response.success) {
			//                 //console.log(response);
			//                 //return false;
			//                 var guid = response.guid;
			//                 var walletCode = response.walletCode;
			//                 var stringData = response.stringData;
			//                 var strReturnURL = response.strReturnURL;
			//                 var TPSysId = response.TPSysId;
			//                 var amount = response.amount;
			//                 var name = response.UserData.name;
			//                 var emailId = response.UserData.email;
			//                 //alert(emailId);
			//                 //return false;
			//                 var mobile = response.UserData.mobile;
			//                 var CustomerSysId = response.UserData.CustomerSysId;
			
			
			//                 $("#guid").val(guid);
			//                 $("#securecode").val(walletCode);
			//                 $("#returnURL").val(strReturnURL);
			//                 $("#errorURL").val(strReturnURL);
			//                 $("#stringData").val(stringData);
			//                 $("#premium_val").val(amount);
			
			//                 $("#custFirstname").val(name);
			//                 $("#custemail").val(emailId);
			//                 $("#custphone").val(mobile);
			//                 $("#CustomerSysId").val(CustomerSysId);
			//                 setTimeout(function() {
			//                     $("#paymentsubmit").submit();
			//                 }, 2000);
			
			//             } else {
			//                 alert(data.message);
			//                 window.location.href = 'car';
			//             }
			//         }
			//     });
			// }
			
			//alert('tests');
			//  PayNowTicket();
			<?php
				// }
			?>
		</script>
		
		<?php
			if ((($modulename == 'default')) && (($controller == 'customer')) && ($action == 'login')) {
			?>
			<script type="text/javascript">
				Continue_login();
			</script>
		<?php } ?>
		<?php
			if ((($modulename == 'default')) && (($controller == 'customer')) && ($action == 'loginfacebook')) {
			?>
			<script type="text/javascript">
				Continue_loginfacebook();
			</script>
		<?php } ?>
		
		<?php if ($mydevice == "mobile") { ?>
			<script>
				function myFunction(id) {
					$(window).scrollTop($("." + id).offset().top);
				}
			</script>
			<?php } else { ?>
			<script>
				function myFunction(id) {
					
				}
			</script>
		<?php } ?>
		
		<script>
			$(document).ready(function() {
				
				
				
				
			});
			
			function reformatDateString(s) {
				var b = s.split(/\D/);
				return b.reverse().join('-');
			}
			$("#Departure-Date, #Departure_dob").datepicker({
				//defaultDate: "+1w",
				changeMonth: false,
				dateFormat: "d-M-yy",
				numberOfMonths: 2,
				minDate: 0,
				buttonImage: true,
				buttonImageOnly: true,
				beforeShowDay: function(DepDate) {
					var day = DepDate.getDay();
					
					var date1 = $("#Departure-Date").datepicker("getDate");
					var date2 = $("#Departure_dob").datepicker("getDate");
					var calUI = '';
					if (day == 0) {
						calUI = calUI + 'markholiday';
					}
					
					if (DepDate >= date1 && DepDate <= date2) {
						calUI = calUI + ' ui-state-range';
					}
					return [true, calUI];
				},
				beforeShow: function() {
					if (this.id == 'Departure_dob') {
						// debugger;
						var dateMin = $('#Departure-Date').datepicker("getDate");
						var TodateMin = $('#Departure_dob').datepicker("getDate");
						if (TodateMin === null) {
							TodateMin = dateMin;
						}
						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
						$('#Departure_dob').datepicker("option", "minDate", rMin);
						$('#Departure_dob').datepicker("option", "maxDate", rMax);
						$('#Departure_dob').datepicker("setDate", c_out_date);
						$('#RoundTrip').prop('checked', true);
					}
					if ($(window).width() < 768) {
						return {
							numberOfMonths: 12
						};
						} else {
						return {
							numberOfMonths: 2
						};
					}
				},
				onSelect: function(selectedDate, inst) {
					var tripType = $('.tripType:checked').val(); // retrieve the value
					$('.hotelserchcls').prop("disabled", false);
					if (this.id == 'Departure-Date') {
						var dateMin = $('#Departure-Date').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) {
							$('#Departure_dob').datepicker("option", "minDate", rMin);
							$('#Departure_dob').datepicker("option", "maxDate", rMax);
							
							$('#Departure_dob').datepicker("setDate", c_out_date);
							$('#return_date').val(FromFormatted);
						}
						var Departure_dob = new Date(dateMin.getFullYear(), dateMin.getMonth(), dateMin.getDate() + 1);
						var FromFormatted = $.datepicker.formatDate('dd-mm-yy', Departure_dob);
						
						$('#Departure_dob').datepicker("setDate", Departure_dob);
						$('.checkout_').html($.datepicker.formatDate('DD', Departure_dob));
						$('.hotelserchcls').prop("disabled", false);
						
						var FromFormattedFirst = $.datepicker.formatDate('yy-mm-dd', theDate);
						var FromFormatted2 = $.datepicker.formatDate('yy-mm-dd', Departure_dob);
						var dateDiff = (Date.parse(FromFormatted2) - Date.parse(FromFormattedFirst)) / 86400000;
						$('.totalNight_').html(dateDiff + " Night (s)");
						
						
						} else {
						var dateMin = $('#Departure_dob').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 ToFormatted2 = $.datepicker.formatDate('yy-mm-dd', theDate);
						$('.checkout_').html(dateFormatted);
						$('.hotelserchcls').prop("disabled", false);
						
						var dateFrom = reformatDateString($('#departure_date').val());
						
						var dateDiff1 = (Date.parse(ToFormatted2) - Date.parse(dateFrom)) / 86400000;
						
						$('.totalNight_').html(dateDiff1 + " Night (s)");
					}
					
					
				}
			});
			
			
			
			
			
			
			
			
			<?php if (($modulename == 'hotels') && ($controller == 'index') && ($action == 'search-results')) { ?>
				
				function findrooms(data) {
					alert(data);
				}
				
				
				
				
				
			<?php } ?>
			
			
			<?php if (($modulename == 'hotels') && ($controller == 'index')) { ?>
				
				
				
				
				
			<?php } ?>
			
			<?php
				if (($modulename == 'hotels') && ($controller == 'index') && ($action == 'hotel-travellers')) {
				?>
				
				
			<?php } ?>
			
			
			
			<?php
				if (($modulename == 'hotels') && ($controller == 'index') && ($action == 'pay-now')) {
				?>
				
				
			<?php } ?>
			
			
			
			function SetData(key, value) {
				if (typeof(localStorage) != "undefined") {
					//ikinci önce html5 localStorage desteği varmı ona bakılır
					try {
						localStorage.setItem(key, value);
						return true;
						} catch (e) {
						return false;
					}
					
					} else {
					//son olarak cookie desteği varmı ona bakılır
					try {
						$.cookie(key, value);
						return true;
						} catch (e) {
						return false;
					}
				}
			}
			
			function GetData(key) {
				// alert(key);
				var sonuc = "";
				if (typeof(localStorage) != "undefined") {
					//İkinci html5 localStorage desteği varmı ona bakılır
					if (localStorage[key] != null) {
						sonuc = localStorage[key];
					}
					} else {
					//son olarak cookie desteği varmı ona bakılır
					sonuc = $.cookie(key);
				}
				return sonuc;
			}
			
			
			
			
			//})
		</script>
		<script type="text/javascript">
			$(window).on('load', function() {
				$('#myModalauto').modal('show');
			});
		</script>
		
		
	</body>
	
	
	<?php
		echo $seoFContent = (isset($detailLayout['seoFcontent']) && $detailLayout['seoFcontent'] != '') ? $detailLayout['seoFcontent'] : '';
	?>
	<?php
		echo $footerScript1;
		echo $footerScript2;
		echo $footerScript3;
	?>
	
	
	
</html>
<script type="text/javascript">
    // setTimeout(function() {
    //     $.getJSON('bus/getbuscity', function(destinations) {
    //         $(".get_bus_city").autocomplete({
    //             minLength: 2,
    //             //source: destinations,
    //             source: function(request, response) {
    //                 var term = $.ui.autocomplete.escapeRegex(request.term),
    //                     startsWithMatcher = new RegExp("^" + term, "i"),
    //                     startsWith = $.grep(destinations, function(value) {
    //                         return startsWithMatcher.test(value.name || value.value || value);
    //                     }),
    //                     containsMatcher = new RegExp(term, "i"),
    //                     contains = $.grep(destinations, function(value) {
    //                         return $.inArray(value, startsWith) < 0 &&
    //                             containsMatcher.test(value.label || value.value || value);
    //                     });
	
    //                 response(startsWith.concat(contains).slice(0, 10));
    //             },
    //             autoFocus: true,
    //             select: function(event, ui) {
    //                 var index = $(this).attr('index');
    //                 if (index == 1) {
    //                     $('#get_source_city_hidden').val(ui.item.id);
    //                 } else {
    //                     $('#get_destination_city_hidden').val(ui.item.id);
    //                 }
    //             }
    //         }).focus(function() {
    //             $(this).val('');
    //             $(this).autocomplete('search');
    //         });
    //     });
    // }, 1000);
</script>
<script type="text/javascript">
    // $("#StartDateBus").datepicker({
    //     altField: '#hdnStartDateBus',
    //     altFormat: "yy-mm-dd",
    //     numberOfMonths: 2,
    //     showButtonPanel: true,
    //     buttonImage: "https://jqueryui.com/resources/demos/datepicker/images/calendar.gif",
    //     buttonImageOnly: true,
    //     dateFormat: 'dd-M-yy',
    //     autoclose: true,
    //     minDate: 0,
    //     disableTouchKeyboard: true,
    //     Readonly: true
    // }).attr('readonly', 'readonly');
</script>
<script type="text/javascript">
    <?php
		if (($modulename == 'bus') && ($controller == 'index') && ($action == 'travellers')) { ?>
		
        // localStorage.clear();
		
        // function savePassenger() {
        //     var data = $("#passenger-bus").serialize();
        //     var TraceId = $("#TraceId").val();
        //     //$('.paymentdiv').click();
        //     $.ajax({
        //         url: 'bus/save-passenger',
        //         data: data,
        //         dataType: 'json',
        //         type: 'POST',
        //         error: function() {},
        //         beforeSend: function() {
        //             $("#proceed").html("Please Wait");
        //             $("#proceed").prop('disabled', true);
        //         },
        //         success: function(response) {
        //             if (response.success) {
        //                 if (response.apiResponse === 'Error: OAUTH verification failed.') {
        //                     savePassenger();
        //                     return false;
        //                 }
        //                 var apiTraceId = response.apiTraceId;
        //                 location.href = 'bus/review/' + apiTraceId;
        //                 $("#proceed").html("Continue");
        //                 //$('.paymentdiv').click();
        //                 return false;
        //             } else {
        //                 alert(response.msg);
        //                 var elementId = response.index;
        //                 $("#" + elementId).focus();
        //                 $("#proceed").html("Continue");
        //                 $("#proceed").prop('disabled', false);
        //             }
        //         }
        //     });
        // }
	<?php } ?>
	
    <?php
		if (($modulename == 'bus') && ($controller == 'index') && ($action == 'bookbus')) {
		?>
		
        // function BookbusTicket() {
        //     var TraceId = $('#TraceId').val();
        //     var code = $('#SecCode').val();
        //     $.ajax({
        //         type: "POST",
        //         url: "bus/bookbus/" + TraceId + '/' + code,
        //         dataType: 'json',
        //         data: {
        //             TraceId: TraceId,
        //         },
        //         beforeSend: function() {
		
        //         },
        //         success: function(response) {
        //             if (response.success) {
        //                 if (response.apiResponse === 'Error: OAUTH verification failed.') {
        //                     BookbusTicket();
        //                     return false;
        //                 }
        //                 window.location.href = 'bus/booking-confirmed/' + response.apiTraceId;
		
        //             } else {
        //                 alert(data.message);
        //             }
        //         }
        //     });
        // }
        // BookbusTicket();
		<?php
		}
	?>
    <?php
		if (($modulename == 'bus') && ($controller == 'index') && ($action == 'paynow')) {
		?>
		
        // function PayNowBusTicket() {
        //     var TraceId = $('#TraceId').val();
        //     $.ajax({
        //         type: "POST",
        //         url: "bus/index/paynow/" + TraceId,
        //         dataType: 'json',
        //         data: {
        //             TraceId: TraceId,
        //         },
        //         beforeSend: function() {
		
        //         },
        //         success: function(response) {
        //             if (response.success) {
		
        //                 ///console.log(response);
        //                 var guid = response.guid;
        //                 var walletCode = response.walletCode;
        //                 var stringData = response.stringData;
        //                 var strReturnURL = response.strReturnURL;
        //                 var TPSysId = response.TPSysId;
        //                 var amount = response.amount;
        //                 var AgencySysId = response.AgencySysId;
        //                 var AgencyUserSysId = response.AgentSysId;
        //                 var intCustSysId = response.intCustSysId;
        //                 var lastInsertId = response.lastInsertId;
        //                 var FLBookingID = response.FLBookingID;
		
        //                 var name = response.UserData.name;
        //                 var emailId = response.UserData.email;
        //                 var mobile = response.UserData.mobile;
        //                 var CustomerSysId = response.UserData.CustomerSysId;
		
		
        //                 $("#guid").val(guid);
        //                 $("#securecode").val(walletCode);
        //                 $("#returnURL").val(strReturnURL);
        //                 $("#errorURL").val(strReturnURL);
        //                 $("#stringData").val(stringData);
        //                 $("#TPSysId").val(TPSysId);
        //                 $("#premium_val").val(amount);
		
        //                 $("#custFirstname").val(name);
        //                 $("#custemail").val(emailId);
        //                 $("#custphone").val(mobile);
        //                 $("#CustomerSysId").val(CustomerSysId);
        //                 $("#AgencySysId").val(AgencySysId);
        //                 $("#AgencyUserSysId").val(AgencyUserSysId);
        //                 $("#lastInsertId").val(lastInsertId);
        //                 $("#FLBookingID").val(FLBookingID);
        //                 setTimeout(function() {
        //                     $("#paymentsubmit").submit();
        //                 }, 2000);
		
        //             } else {
        //                 alert(data.message);
        //                 window.location.href = '/';
        //             }
        //         }
        //     });
        // }
        // PayNowBusTicket();
	<?php } ?>
</script>
<script type="text/javascript">
    // $('.bus_filter_form').submit(function(e) {
	
    //     var bus_source = $('#bus_source').val();
    //     var bus_destination = $('#bus_destination').val();
    //     var bus_boarding_date = $('#StartDateBus').val();
    //     var error = false;
    //     if (bus_source == '') {
    //         var html = '<span class="text text-danger">Please select source city.</span>';
    //         $('#bus_source_error').html(html).show(1).delay(1000).hide(1);
    //         var error = true;
    //     }
    //     if (bus_destination == '') {
    //         var html = '<span class="text text-danger">Please select destination city.</span>';
    //         $('#bus_destination_error').html(html).show(1).delay(1000).hide(1);
    //         var error = true;
    //     }
    //     if (bus_boarding_date == '') {
    //         var html = '<span class="text text-danger">Please select boarding date.</span>';
    //         $('#bus_boarding_date_error').html(html).show(1).delay(1000).hide(1);
    //         var error = true;
    //     }
	
    //     if (error == false) {
    //         $('.bus_filter_form').submit();
    //     } else {
    //         e.preventDefault();
    //     }
    // })
</script>
<script type="text/javascript">
    // $('.bus_source_destination_exchange').click(function() {
    //     var bus_source = $('#bus_source').val();
    //     var bus_destination = $('#bus_destination').val();
	
    //     var get_source_city_hidden = $('#get_source_city_hidden').val();
    //     var get_destination_city_hidden = $('#get_destination_city_hidden').val();
	
    //     $('#bus_source').val(bus_destination);
    //     $('#bus_destination').val(bus_source);
	
    //     $('#get_source_city_hidden').val(get_destination_city_hidden);
    //     $('#get_destination_city_hidden').val(get_source_city_hidden);
	
	
    // });
</script>
<script>
    // $('.btn-bus').click(function() {
    //     $('#form-bus').submit();
    // })
	
    $(function() {
        $('.mutliple-address-tabs li').on('click', function() {
            $('.mutliple-address-tabs li').removeClass('active');
            $(this).addClass('active');
            var currentIndex = $('.mutliple-address-tabs li').index(this);
            $('.mutliple-address-content .tab-pane').removeClass('active');
            $('.mutliple-address-content .tab-pane').eq(currentIndex).addClass('active');
		});
	});
    $('#datepicker1').datepicker({
        dateFormat: 'dd/mm/yy',
        numberOfMonths: 2,
        minDate: 0,
		
	});
    $('#datepicker').datepicker({
		dateFormat: 'dd/mm/yy',
		numberOfMonths: 2,
		minDate: 0,
		beforeShow: function(input, inst) {
			var rect = input.getBoundingClientRect();
			setTimeout(function() {
				inst.dpDiv.css({
					top: rect.top - 10,
					left: rect.left + 0
				});
			}, 0);
		}
	});
    
</script>
<script>
    var slideItem = $('.trending-packages .package-wrap').length;
    console.log(slideItem);
	
    function slideItemStatus() {
        if (slideItem > 3) {
            return true;
			} else {
            return false;
		}
	}
    console.log(slideItemStatus());
	
    $('.trending-packages').owlCarousel({
        nav: false,
        dots: false,
        loop: slideItemStatus(),
        mouseDrag: true,
        autoplay: true,
        autoplayTimeout: 4000,
        autoplayHoverPause: true,
        responsiveClass: true,
        margin: 16,
        responsive: {
            0: {
                items: 1
			},
            478: {
                items: 2
			},
            769: {
                items: 3
			}
		}
	});
	
	$('#discovery-offer').owlCarousel({
        nav: false,
        dots: false,
        loop: slideItemStatus(),
        mouseDrag: true,
        autoplay: true,
        autoplayTimeout: 4000,
        autoplayHoverPause: true,
        responsiveClass: true,
        margin: 16,
        responsive: {
            0: {
                items: 1
			},
            478: {
                items: 2
			},
            769: {
                items: 3
			}
		}
	});
    $('.happy-customerss').owlCarousel({
        nav: true,
        dots: false,
        loop: false,
        mouseDrag: true,
        autoplay: true,
        autoplayTimeout: 4000,
        autoplayHoverPause: true,
        responsiveClass: true,
        margin: 16,
        responsive: {
            0: {
                items: 1
			},
            478: {
                items: 2
			},
            769: {
                items: 5
			}
		}
	});
	
    // $('.trending-packages').each(function(i) {
    //     var ifMultiple = '';
    //     $thisGallery = $(this);
    //     if($thisGallery.find('.owl-item.active').length > 2) {
    //         ifMultiple = true;
    //     }else{
    //         ifMultiple = false;
    //     }
    //     $thisGallery.owlCarousel({
    //         nav: false,
    //         dots: false,
    //         loop: ifMultiple,
    //         mouseDrag: true,
    //         autoplay: true,
    //         autoplayTimeout: 4000,
    //         autoplayHoverPause: true,
    //         responsiveClass: true,
    //         margin: 16,
    //         responsive: {
    //             0: {
    //                 items: 1
    //             },
    //             478: {
    //                 items: 2
    //             },
    //             769: {
    //                 items: 3
    //             }
    //         }
    //     })
    // });
</script>
<script>
    $('.why-chooseus').owlCarousel({
        nav: false,
        dots: true,
        loop: false,
        mouseDrag: true,
        autoplay: false,
        autoplayTimeout: 5000,
        autoplayHoverPause: true,
        responsiveClass: true,
        margin: 16,
        responsive: {
            0: {
                items: 1
			},
            478: {
                items: 2
			},
            769: {
                items: 4
			}
		}
	});
</script>
<script>
    $(function() {
        $("#destination-select").select2({
			placeholder: "Where are you going?",
			allowClear: true
		}),
		$("#tour-type-select").select2({
			placeholder: "Tour Type",
			allowClear: true
		});
	});
</script>
<?php if ($stylecss == 'uamongus') { ?>
    <script>
        $(function() {
			
            $('.testimonial-slider-uamongus').owlCarousel({
                loop: true,
                nav: true,
                margin: 10,
                responsiveClass: true,
                responsive: {
                    0: {
                        items: 1,
                        dots: true,
                        nav: false
					},
                    600: {
                        items: 3,
                        dots: true,
                        nav: false
					},
                    1000: {
                        items: 4,
                        nav: true,
                        loop: true,
                        dots: true
					}
				}
			});
			
			
		})
	</script>
	
<?php } ?>
<script>
    $(function() {
        // var select = $('#delivery');
        //    select.on('change', function(){
        //     var selectedOptionText = $(this).children(':selected').text();
        //     alert(selectedOptionText);
        //     if(selectedOptionText == 'Pick Up'){
        //         $("#remarkforquery").css("display", "none");
        //     }
		
        // });
		
        $("#delivery").on('change', function() {
            var select = $(this).find(':selected').text();
            if (select == 'Pick Up') {
                $('.remarkforquery').css('display', 'none');
				} else {
                $('.remarkforquery').css('display', 'block');
			}
		})
		
		
		
		
	});
</script>

<script>
	$('#datepickernew').datepicker({
        dateFormat: 'dd/mm/yy',
        numberOfMonths: 2,
        minDate: 0,
        beforeShow: function(input, inst) {
            var rect = input.getBoundingClientRect();
            setTimeout(function() {
                inst.dpDiv.css({
                    top: rect.top + 40,
                    left: rect.left + 0
				});
			}, 0);
		}
	});	           
	$('#ratedatepickernew').datepicker({
        dateFormat: 'dd/mm/yy',
        numberOfMonths: 2,
        minDate: 0,
        beforeShow: function(input, inst) {
            var rect = input.getBoundingClientRect();
            setTimeout(function() {
                inst.dpDiv.css({
                    top: rect.top + 40,
                    left: rect.left + 0
				});
			}, 0);
		}
	});	
	$(".sendRateEnuiryform").on('click', function(e) {
		e.preventDefault();	
		
		$('.form-info1').css('display', 'block');
		$('.form-info2, .form-info3').css('display', 'none');
	});  
	
</script>

<script>
	$(document).ready(function(){
		$("#myModa1packageRateEnquiry").on('hide.bs.modal', function(){
			$('.form-info1').css('display', 'block');
			$('.form-info2, .form-info3').css('display', 'none');
			$('#getEnquiryPriceDetail').html('');
			$('.modifySendEnquiryCheckRateBtn').hide();
			$('.continueTOPay').hide();
			$('.submitSendEnquiryCheckRateBtn').show();
			$('.enqmsg').html('');
			$('.enqmsgs1').hide();
			$('.enqmsgs1_1').hide();
			$('.whatsapp_no_show').hide();
			$('.submitSendEnquiryCheckRateBtn').attr('disabled', false);
		});
	});
	$(document).ready(function(){
		$("#myModa1Enquiry").on('hide.bs.modal', function(){
			$('.form-info1').css('display', 'block');
			$('.form-info2, .form-info3').css('display', 'none');
			$('#getEnquiryPriceDetail').html('');
			$('.modifySendEnquiryCheckRateBtn').hide();
			$('.continueTOPay').hide();
			$('.submitSendEnquiryCheckRateBtn').show();
			$('.enqmsg').html('');
			$('.enqmsgs1').hide();
			$('.enqmsgs1_1').hide();
			$('.whatsapp_no_show').hide();
			$('.submitSendEnquiryCheckRateBtn').attr('disabled', false);
		});
	});
	$('#from_hotel , #to_hotel').datepicker({
        dateFormat: 'dd/mm/yy',
        numberOfMonths: 2,
        minDate: 0,
        beforeShow: function(input, inst) {
            var rect = input.getBoundingClientRect();
            setTimeout(function() {
                inst.dpDiv.css({
                    top: rect.top + 40,
                    left: rect.left + 0
				});
			}, 0);
		}
	});
</script>
<style>
	.modal {
	
    z-index: 999999 !important;
	}
</style>

<?php 
	$current_url = strtok($_SERVER["REQUEST_URI"], '?');
	if($this->stylecss=="ineedtrip" && $current_url != '/thankyou'){?>
	<script>
		
		var is_modal_show = sessionStorage.getItem('alreadyShow');
		if(is_modal_show != 'alredy shown'){
			setTimeout(function () {
				
				$("#myModa1Enquiry").addClass("show");	
				$('#myModa1Enquiry').modal('show');
				
			}, 30000);
			sessionStorage.setItem('alreadyShow','alredy shown');
		}	
		
		
		
	</script>
<?php } ?>

Youez - 2016 - github.com/yon3zu
LinuXploit