| 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/indoasiaholidays.com/application/layouts/scripts/ |
Upload File : |
<?php
$object = Zend_Controller_Front::getInstance();
$options= $object->getParam('bootstrap')->getOption('bootstrap');
$baseUrl = $options['siteUrl'];
$modulename = $object->getRequest()->getModuleName();
$controller = $object->getRequest()->getControllerName();
$action = $object->getRequest()->getActionName();
$ip = ($object->getRequest()->getCookie('popup')) ? $object->getRequest()->getCookie('popup') : null;
$POPUPSESS= Zend_Controller_Action_HelperBroker::getStaticHelper('General')->getMypopSess(); // get the popup sessions
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(); // get the device
$commonBoxVal_ = Zend_Controller_Action_HelperBroker::getStaticHelper('custom')->getCommonBoxVal();
$common_content_header = (isset($commonBoxVal_[0]['common_content_header']) && $commonBoxVal_[0]['common_content_header'] != '') ? trim($commonBoxVal_[0]['common_content_header']):'' ;
$homeCommonBoxVal_ = Zend_Controller_Action_HelperBroker::getStaticHelper('custom')->homeCommonBoxVal();
$home_common_header = (isset($homeCommonBoxVal_[0]['home_common_header']) && $homeCommonBoxVal_[0]['home_common_header'] != '') ? ($homeCommonBoxVal_[0]['home_common_header']):'' ;
$metaTitle = (isset($commonBoxVal_[0]['metaTitle']) && $commonBoxVal_[0]['metaTitle'] != '') ? trim($commonBoxVal_[0]['metaTitle']):'Indo Asia Holidays' ;
$mDescription = (isset($commonBoxVal_[0]['Description']) && $commonBoxVal_[0]['Description'] != '') ? trim($commonBoxVal_[0]['Description']):'' ;
$mKeyword = (isset($commonBoxVal_[0]['Keyword']) && $commonBoxVal_[0]['Keyword'] != '') ? trim($commonBoxVal_[0]['Keyword']):'' ;
$homemetaTitle = (isset($homeCommonBoxVal_[0]['metaTitle']) && $homeCommonBoxVal_[0]['metaTitle'] != '') ? trim($homeCommonBoxVal_[0]['metaTitle']): $metaTitle ;
$homemDescription = (isset($homeCommonBoxVal_[0]['Description']) && $homeCommonBoxVal_[0]['Description'] != '') ? trim($homeCommonBoxVal_[0]['Description']): $mDescription ;
$homemKeyword = (isset($homeCommonBoxVal_[0]['Keyword']) && $homeCommonBoxVal_[0]['Keyword'] != '') ? trim($homeCommonBoxVal_[0]['Keyword']): $mKeyword ;
?>
<!DOCTYPE html>
<html lang='en' class=''>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<?php if( ($modulename == 'detail' || $modulename == 'cms' || $modulename == 'blog' || $modulename == 'tmx' || $modulename == 'destination' || $action == 'index-ajax-data') ) {
$detailLayout = $this->detailLayout; ?>
<title><?php echo (isset($detailLayout['PackageTitle']) && $detailLayout['PackageTitle'] !='') ? $detailLayout['PackageTitle'] : $metaTitle;?></title>
<meta name="description" content="<?php echo isset($detailLayout['Description']) ? $detailLayout['Description']: $mDescription;?>" />
<meta name="keywords" content="<?php echo isset($detailLayout['Keyword']) ? $detailLayout['Keyword']: $mKeyword;?>" />
<?php echo isset($detailLayout['Metatag']) ?$detailLayout['Metatag'] :'';?>
<?php }else{ ?>
<title><?php echo $homemetaTitle;?></title>
<meta name="description" content="<?php echo $homemDescription;?>" />
<meta name="keywords" content="<?php echo $homemKeyword;?>" />
<?php } ?>
<meta name="viewport" content="width=device-width, initial-scale=1">
<base href="<?php echo Catabatic_Helper::getSiteUrl(); ?>"/>
<meta name="google-site-verification" content="GfyTeCx0yhiwVDxZfVtqu2NLZ61kgPzWO4LRtejkKSU" />
<!-- Facebook and Twitter integration -->
<meta property="og:title" content="<?php echo !empty($this->postTitle)?$this->postTitle:''; ?>"/>
<meta property="og:image" content="<?php echo !empty($this->imageUrl)?$this->imageUrl:''; ?>"/>
<meta property="og:url" content="<?php echo !empty($this->actual_link)?$this->actual_link:''; ?>"/>
<meta property="og:site_name" content="<?php echo $options['siteName'];?>" />
<meta property="og:description" content="<?php echo !empty($this->postTitle)?$this->postTitle:''; ?>" />
<!-- ++++ favicon ++++ -->
<link rel="icon" type="img/png" sizes="32x32" href="public/img/favicon-icon.png">
<link rel="icon" type="img/png" sizes="96x96" href="public/img/favicon-icon.png">
<link rel="apple-touch-icon" sizes="57x57" href="public/img/favicon-icon.png">
<link rel="apple-touch-icon" sizes="114x114" href="public/img/favicon-icon.png">
<!-- Font integration -->
<link href="https://fonts.googleapis.com/css?family=Roboto|Roboto+Condensed|Roboto+Mono|Roboto+Slab" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Yellowtail" rel="stylesheet">
<link href="public/style/style-1.css" rel="stylesheet" type="text/css">
<link href="public/style/main.css" rel="stylesheet" type="text/css">
<link href="public/style/responsive.css" rel="stylesheet" type="text/css">
<link href="public/assets/css/font-awesome/css/font-awesome.css" rel="stylesheet">
<link rel="stylesheet" href="public/assets/css/jquery-ui.css" />
<link rel="stylesheet" href="public/countrycode/style.css" >
<!-- Animate.css -->
<!--<link rel="stylesheet" href="public/style/animate.css">-->
<!-- Icomoon Icon Fonts-->
<link rel="stylesheet" href="public/style/icomoon.css">
<!-- Bootstrap -->
<link rel="stylesheet" href="public/style/bootstrap.css">
<!-- Flexslider -->
<link rel="stylesheet" href="public/style/owl.carousel.min.css">
<link rel="stylesheet" href="public/style/owl.theme.default.min.css">
<link rel="stylesheet" href="public/style/docs.theme.min.css">
<link rel="stylesheet" type="text/css" href="public/style/demo.css" />
<link rel="stylesheet" type="text/css" href="public/style/custom.css" />
<link rel="stylesheet" type="text/css" href="public/style/slick.css" />
<link rel="stylesheet" href="public/assets/css/navigation.css">
<?php if( ($modulename == 'users' ) && ($controller == 'index' ) && ($action == 'myprofile') ) {?>
<link rel="stylesheet" href="public/style/easy-responsive-tabs.css">
<?php } ?>
<?php if (($modulename == 'blog' ) && ($controller == 'index' ) && ($action == 'blog-details')) { ?>
<link rel='stylesheet' href='<?php echo $baseUrl;?>public/unitegallery/css/unite-gallery.css' type='text/css' />
<link rel='stylesheet' href='<?php echo $baseUrl;?>public/unitegallery/themes/default/ug-theme-default.css' type='text/css' />
<?php } ?>
<?php
// show only in tour package result page
if( ($modulename == 'detail' ) && ($controller == 'index' ) && ($action == 'index' || $action == 'index-ajax-data') ) {
?>
<link href="public/style/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="public/style/cs-select.css" />
<link rel="stylesheet" href="public/assets/css/plugins/icheck/skins/all.css">
<link href="public/style/preview.min.css" rel="stylesheet" />
<link rel="stylesheet" href="public/style/easy-responsive-tabs.css">
<link rel="stylesheet" type="text/css" href="public/highslide/highslide.css" />
<link rel="stylesheet" href="public/style/images-grid.css">
<style>
/* Note: Try to remove the following lines to see the effect of CSS positioning */
.affix {
top: 66px;
/* width: 100%;*/
z-index: 9999 !important;
background:#f0f3f6;
display:block;
}
.affix + .container-main {
width:100%;
width:100%;
background:#f0f3f6;
}
.package_det_d_Exclusions ul{
width:100%; display:inherit; text-align:left;
}
</style>
<?php } ?>
<?php if( ($modulename == 'default' ) && ($controller == 'index' ) && ($action == 'destination') ) {?>
<link rel="stylesheet" href="public/style/matrix-style.css">
<?php } ?>
<?php if( ($modulename == 'destination' ) && ($controller == 'index' ) && ($action == 'index' || $action == 'city') ) {?>
<link rel="stylesheet" href="public/style/matrix-style.css">
<?php } ?>
<!-- Modernizr JS -->
<script type="text/javascript" src="public/js/modernizr.custom.79639.js"></script>
<script>
var SITEURL = '<?php echo Catabatic_Helper::getSiteUrl(); ?>';
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]};
var dvc = '<?php echo ($mydevice =="mobile") ? "m" : "d"?>';
var appmode = '<?php echo $options['appmode']?>';
</script>
<?php if( ($modulename == 'default' ) && ($controller == 'index' ) && ($action == 'index') ) {
echo @$home_common_header;
} else{
echo @$common_content_header;
} ?>
<?php if( ($modulename == 'destination' ) && ($controller == 'index' ) ) {
echo (isset($detailLayout['meta_header']) && $detailLayout['meta_header']) ? $detailLayout['meta_header'] : '';
}?>
</head>
<body ng-app="IndoAsiaApp">
<div id="page">
<div id="banner-cont">
<?php
echo $this->render("_header.phtml");
echo $this->layout()->content;
?>
<!-- </div>
<div class="clearfix"></div>-->
<?php
echo $this->render("_footer.phtml");
?>
</div>
</body>
<script src="public/js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="public/assets/js/jquery-ui-1.12.1.js"></script>
<script src="public/js/common_functions.js"></script>
<script src="public/js/login.js"></script>
<script>
setTimeout(function () {
$.getJSON('public/data/dynamic/package_destinations.json', function (destinations) {
$(".destinationBox").autocomplete({
minLength: 3,
source: destinations,
autoFocus : true,
select: function (event, ui) {
var label = ui.item.label;
var value = ui.item.value.toLowerCase().trim().replace(" ", "-");
var valueFinal = value.replace(" ", "-");
var code = ui.item.code;
var cityid = ui.item.id;
var TypeTitle = ui.item.TypeTitle;
var countryName = ui.item.countryName.toLowerCase().trim();
var mCountryName = countryName.replace(" ", "-");
var mCountryNameFinal = mCountryName.replace(" ", "-");
// alert(countryName);
if(TypeTitle == 'state' || TypeTitle == 'city'){
window.location.href = 'holidays/'+mCountryNameFinal+'/'+valueFinal+'-tour-packages';
}else{
window.location.href = 'holidays/'+valueFinal+'-tour-packages';
}
$(".hcode").val(code);
$("#cityid").val(cityid);
}
});
});
}, 1000);
</script>
<script>
setTimeout(function () {
$.getJSON('public/data/dynamic/package_destinations.json', function (destinations) {
$(".destinationBoxTmx___").autocomplete({
minLength: 3,
source: destinations,
select: function (event, ui) {
var label = ui.item.label;
var value = ui.item.value;
var code = ui.item.code;
var cityid = ui.item.id;
console.log(cityid);
getSighAct(cityid);
$(".hcode").val(code);
$(".cityid").val(cityid);
}
});
});
}, 1000);
</script>
<?php
// display the send enquiry modal on all below pages
if( ($modulename == 'default' || $modulename == 'tours' || $modulename == 'detail' || $modulename == 'activities') && ($controller == 'package' || $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 ,
'POPUPSESS' => $POPUPSESS ,
];
echo $this->partial( 'models/send-enquiry-modal.phtml' , $data);
//echo '<script src="'. $baseUrl .'public/js/send_enquiry.js"></script>'; // add script
}
echo $this->partial('models/modal-hotel-view-and-options.phtml' , ['baseUrl'=> $baseUrl ]);
?>
<script src="public/js/bootstrap.min.js"></script>
<script src="public/js/owl.carousel.js"></script>
<?php if( ($modulename == 'destination' ) && ($controller == 'index' ) ) {?>
<script>
$(document).ready(function () {
$('.owl-carousel11').owlCarousel({
loop: true,
margin: 0,
responsiveClass: true,
autoplay: true,
autoplayTimeout: 1000,
autoplayHoverPause: true,
responsive: {
0: {
items: 1,
nav: true
},
600: {
items: 3,
nav: false
},
1000: {
items: 5,
nav: true,
loop: true,
margin: 0
}
}
})
$('.owl-carousel22').owlCarousel({
loop: true,
margin: 0,
responsiveClass: true,
autoplay: true,
autoplayTimeout: 1000,
autoplayHoverPause: true,
responsive: {
0: {
items: 1,
nav: true
},
600: {
items: 2,
nav: false
},
1000: {
items: 3,
nav: true,
loop: true,
margin: 0
}
}
})
})
</script>
<?php } else{?>
<script>
$(document).ready(function () {
$('.owl-carousel').owlCarousel({
loop: true,
margin: 0,
responsiveClass: true,
autoplay: true,
autoplayTimeout: 1000,
autoplayHoverPause: true,
responsive: {
0: {
items: 1,
nav: true
},
600: {
items: 3,
nav: false
},
1000: {
items: 5,
nav: true,
loop: true,
margin: 0
}
}
})
})
</script>
<?php } ?>
<script>
$(document).ready(function() {
$('.owl-carousel2').owlCarousel({
loop: true,
margin: 0,
responsiveClass: true,
autoplay: true,
autoplayTimeout: 1000,
autoplayHoverPause: true,
responsive: {
0: {
items: 1,
nav: true
},
600: {
items: 3,
nav: false
},
1000: {
items: 5,
nav: true,
loop: true,
margin: 0
}
}
})
})
</script>
<script src="public/js/slick.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
$(document).ready(function () {
$('.customer-logos').slick({
slidesToShow: 8,
slidesToScroll: 1,
autoplay: true,
autoplaySpeed: 1000,
arrows: false,
dots: false,
pauseOnHover: false,
responsive: [{
breakpoint: 768,
settings: {
slidesToShow: 4
}
}, {
breakpoint: 520,
settings: {
slidesToShow: 2
}
}]
});
});
</script>
<script>
$("#mobile-menu").click(function () {
$(".mobile-menu").slideToggle("slow");
});
</script>
<script>
$("#mobile-user").click(function () {
$(".mobile-user").slideToggle("slow");
});
</script>
<script>
$(".hat").click(function () {
$(".menu-out").toggle();
});
</script>
<script type="text/javascript" src="public/js/jquery.ba-cond.min.js"></script>
<script type="text/javascript" src="public/js/jquery.slitslider.js"></script>
<script src="public/js/ng/angular.min.js"></script>
<script src="public/js/ng/angular-route.min.js"></script>
<script src="public/js/ng/app.js"></script>
<script src="public/js/ng/ngfactory.js"></script>
<script type="text/javascript" src="public/js/ng/footer.js"></script>
<script type="text/javascript">
$(function() {
var Page = (function() {
var $navArrows = $( '#nav-arrows' ),
$nav = $( '#nav-dots > span' ),
slitslider = $( '#slider' ).slitslider( {
onBeforeChange : function( slide, pos ) {
$nav.removeClass( 'nav-dot-current' );
$nav.eq( pos ).addClass( 'nav-dot-current' );
}
} ),
init = function() {
initEvents();
},
initEvents = function() {
// add navigation events
$navArrows.children( ':last' ).on( 'click',
function() {
slitslider.next();
return false;
} );
$navArrows.children( ':first' ).on( 'click', function() {
slitslider.previous();
return false;
} );
$nav.each( function( i ) {
$( this ).on( 'click', function( event ) {
var $dot = $( this );
if( !slitslider.isActive() ) {
$nav.removeClass( 'nav-dot-current' );
$dot.addClass( 'nav-dot-current' );
}
slitslider.jump( i + 1 );
return false;
} );
} );
};
return { init : init };
})();
Page.init();
/**
* Notes:
*
* example how to add items:
*/
/*
var $items = $('<div class="sl-slide sl-slide-color-2"
data-orientation="horizontal" data-slice1-rotation="-5"
data-slice2-rotation="10" data-slice1-scale="2"
data-slice2-scale="1"><div class="sl-slide-inner bg-1"><div class="sl-deco" data-icon="t"></div><h2>some text</h2><blockquote><p>bla bla</p><cite>Margi Clarke</cite></blockquote></div></div>');
// call the plugin's add method
ss.add($items);
*/
});
</script>
<script src="public/js/send_enquiry.js"></script>
<script type="text/javascript">
trimcontentBlog(380);
trimcontentUnforgettableTrip(215);
</script>
<script>
// Get the modalflip
var modal = document.getElementById('id02');
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
$(document).ready(function(){
setTimeout(function() {
$("#rightFloatInTollFreeNumber").stop().animate({
right: 220
}, 220);
},1000);
setInterval(function() {
$("#rightFloatInTollFreeNumber").stop().animate({
right: 50
}, 220);
},1000);
$('.rightFloat div').mouseover(function(){
$(this).stop().animate({
right: 220
}, 220);
}).mouseout(function(){
$(this).stop().animate({
right: 50
}, 220)
});
});
</script>
<script type="text/javascript" src="public/js/queryonly.js"></script>
<script>
$('#depart_date').datepicker({
dateFormat: 'dd/mm/yy',
minDate: 0,
numberOfMonths: 2,
//changeYear: true,
onSelect: function () {
var CheckIn = $("#depart_date").val();
$("#return_date").val(CheckIn);
var arrCheckIn = CheckIn.split("/");
var day = parseInt(arrCheckIn[0]);
var month = arrCheckIn[1];
var year = arrCheckIn[2];
CheckIn = year+"/"+month+"/"+day;
$("#return_date").datepicker("option",{ minDate: new Date(CheckIn)})
}
});
$('.datepicket').datepicker({
dateFormat: 'dd/mm/yy',
numberOfMonths: 1,
changeYear: true,
changeMonth: true,
yearRange: '1950:' + new Date().getFullYear(),
});
$('.Passdatepicket').datepicker({
dateFormat: 'dd/mm/yy',
numberOfMonths: 1,
changeYear: true,
changeMonth: true,
yearRange: '2000:2100'
});
</script>
<?php if( ($modulename == 'users' ) && ($controller == 'index' ) && ($action == 'myprofile') ) {?>
<script src="public/js/easy-responsive-tabs.js"></script>
<script>
$(document).ready(function () {
$('#horizontalTab').easyResponsiveTabs({
type: 'default', //Types: default, vertical, accordion
width: 'auto', //auto or any width like 600px
fit: true, // 100% fit in a container
closed: 'accordion', // Start closed if in accordion view
activate: function(event) { // Callback function if tab is switched
var $tab = $(this);
var $info = $('#tabInfo');
var $name = $('span', $info);
$name.text($tab.text());
$info.show();
}
});
$('#verticalTab').easyResponsiveTabs({
type: 'vertical',
width: 'auto',
fit: true
});
});
</script>
<script>
$(document).on('click', '.browse', function(){
var file = $(this).parent().parent().parent().find('.file');
file.trigger('click');
});
$(document).on('change', '.file', function(){
$(this).parent().find('.form-control').val($(this).val().replace(/C:\\fakepath\\/i, ''));
});
</script>
<?php } ?>
<script src="public/countrycode/script.js?rv=1144"></script>
<script>
$(function() {
$('.notSpace').on('keypress', function(e) {
if (e.which === 32)
return false;
});
});
</script>
<?php
if( (($modulename == 'users')) && (($controller == 'index')) && ($action == 'login') ) {
?>
<script type="text/javascript">
Continue_login();
</script>
<?php } ?>
<?php if (($modulename == 'blog' ) && ($controller == 'index' ) && ($action == 'blog-details')) { ?>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/js/ug-common-libraries.js'></script>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/js/ug-functions.js'></script>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/js/ug-thumbsgeneral.js'></script>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/js/ug-thumbsstrip.js'></script>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/js/ug-touchthumbs.js'></script>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/js/ug-panelsbase.js'></script>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/js/ug-strippanel.js'></script>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/js/ug-gridpanel.js'></script>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/js/ug-thumbsgrid.js'></script>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/js/ug-tiles.js'></script>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/js/ug-tiledesign.js'></script>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/js/ug-avia.js'></script>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/js/ug-slider.js'></script>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/js/ug-sliderassets.js'></script>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/js/ug-touchslider.js'></script>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/js/ug-zoomslider.js'></script>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/js/ug-video.js'></script>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/js/ug-gallery.js'></script>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/js/ug-lightbox.js'></script>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/js/ug-carousel.js'></script>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/js/ug-api.js'></script>
<script type='text/javascript' src='<?php echo $baseUrl;?>public/unitegallery/themes/default/ug-theme-default.js'></script>
<script type="text/javascript">
jQuery(document).ready(function () {
jQuery("#gallery").unitegallery();
});
</script>
<?php } ?>
<?php if (($modulename == 'blog' ) && ($controller == 'index' ) && ($action == 'index')) { ?>
<script>
function changeCategoryOnClick(that){
var category = $(that).html();
var categoryName = getSeoName1(category);
if(categoryName !=''){
window.location.href = '/blog/index/'+categoryName;
}
}
</script>
<script>
var x, i, j, selElmnt, a, b, c;
/*look for any elements with the class "custom-select":*/
x = document.getElementsByClassName("custom-select");
for (i = 0; i < x.length; i++) {
selElmnt = x[i].getElementsByTagName("select")[0];
/*for each element, create a new DIV that will act as the selected item:*/
a = document.createElement("DIV");
a.setAttribute("class", "select-selected");
a.innerHTML = selElmnt.options[selElmnt.selectedIndex].innerHTML;
x[i].appendChild(a);
/*for each element, create a new DIV that will contain the option list:*/
b = document.createElement("DIV");
b.setAttribute("class", "select-items select-hide");
for (j = 0; j < selElmnt.length; j++) {
/*for each option in the original select element,
create a new DIV that will act as an option item:*/
c = document.createElement("DIV");
c.innerHTML = selElmnt.options[j].innerHTML;
c.setAttribute("onclick","changeCategoryOnClick(this)");
c.addEventListener("click", function(e) {
/*when an item is clicked, update the original select box,
and the selected item:*/
var y, i, k, s, h;
s = this.parentNode.parentNode.getElementsByTagName("select")[0];
h = this.parentNode.previousSibling;
for (i = 0; i < s.length; i++) {
if (s.options[i].innerHTML == this.innerHTML) {
s.selectedIndex = i;
h.innerHTML = this.innerHTML;
y = this.parentNode.getElementsByClassName("same-as-selected");
for (k = 0; k < y.length; k++) {
y[k].removeAttribute("class");
}
this.setAttribute("class", "same-as-selected");
break;
}
}
h.click();
});
b.appendChild(c);
}
x[i].appendChild(b);
a.addEventListener("click", function(e) {
/*when the select box is clicked, close any other select boxes,
and open/close the current select box:*/
e.stopPropagation();
closeAllSelect(this);
this.nextSibling.classList.toggle("select-hide");
this.classList.toggle("select-arrow-active");
});
}
function closeAllSelect(elmnt) {
/*a function that will close all select boxes in the document,
except the current select box:*/
var x, y, i, arrNo = [];
x = document.getElementsByClassName("select-items");
y = document.getElementsByClassName("select-selected");
for (i = 0; i < y.length; i++) {
if (elmnt == y[i]) {
arrNo.push(i)
} else {
y[i].classList.remove("select-arrow-active");
}
}
for (i = 0; i < x.length; i++) {
if (arrNo.indexOf(i)) {
x[i].classList.add("select-hide");
}
}
}
/*if the user clicks anywhere outside the select box,
then close all select boxes:*/
document.addEventListener("click", closeAllSelect);
</script>
<?php } ?>
<?php if( (($modulename == 'default')) && (($controller == 'index')) && ($action == 'domestic-destination') ) { ?>
<script>
setTimeout(function () {
viewMoreDestinations('domestic');
}, 100);
</script>
<?php }?>
<?php if( (($modulename == 'default')) && (($controller == 'index')) && ($action == 'international-destination') ) { ?>
<script>
setTimeout(function () {
viewMoreDestinations('international');
}, 100);
</script>
<?php }?>
<script>
trimcontentDomestic(620);
</script>
<!-- Loader -->
<script src="public/assets/js/imagesloaded.pkgd.min.js"></script>
<!-- Navigation -->
<script src="public/assets/js/navigation.js"></script>
<!-- Main script -->
<script src="public/assets/js/main.js"></script>
<?php if( ($modulename == 'destination' ) && ($controller == 'index' ) && ($action == 'index' ) ) {?>
<!--<script>
$(document).ready(function() {
$('.owl-carousel21').owlCarousel({
loop: true,
margin: 0,
responsiveClass: true,
margin: 0,
autoplay: true,
autoplayTimeout: 1000,
autoplayHoverPause: true,
responsive: {
0: {
items: 1,
nav: true
},
600: {
items: 3,
nav: false
},
1000: {
items: 5,
nav: true,
loop: true,
margin: 0
}
}
})
$('.owl-carousel23').owlCarousel({
loop: true,
margin: 0,
responsiveClass: true,
margin: 0,
autoplay: true,
autoplayTimeout: 1000,
autoplayHoverPause: true,
responsive: {
0: {
items: 1,
nav: true
},
600: {
items: 3,
nav: false
},
1000: {
items: 5,
nav: true,
loop: true,
margin: 0
}
}
})
})
</script>-->
<?php } ?>
</html>