| 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/views/scripts/index/ |
Upload File : |
<?php
//echo"<pre>";print_r($this->result);die('data');
$source = (isset($this->param['source'])) ? trim($this->param['source']) : 'Website';
$campId = (isset($this->param['campId'])) ? trim($this->param['campId']) : 0;
$UserSysId = (isset($this->param['UId'])) ? trim($this->param['UId']) : 0;
$utm_campaign = (isset($this->param['utm_campaign'])) ? trim($this->param['utm_campaign']) : '';
$utm_medium = (isset($this->param['utm_medium'])) ? trim($this->param['utm_medium']) : '';
$baseurl = $this->baseUrl;
$stylecss = $this->stylecss;
$siteName = $this->siteName;
$leadPageData = $this->result;
$LeadPageType = (isset($leadPageData['LeadPageType']) && $leadPageData['LeadPageType'] != '') ? $leadPageData['LeadPageType'] : 0;
$AgencyName = (isset($leadPageData['AgencyName']) && $leadPageData['AgencyName'] != '') ? $leadPageData['AgencyName'] : @$UserDataByAgency['Title'];
$CountryCode = (isset($leadPageData['CountryCode']) && $leadPageData['CountryCode'] != '') ? $leadPageData['CountryCode'] : $UserDataByAgency['DefaultCountryCode'];
$CountryCode1 = (isset($UserDataByAgency['DefaultCountryCode'])) ? trim($UserDataByAgency['DefaultCountryCode']) : '+91';
$ContactNumber = (isset($leadPageData['ContactNumber']) && $leadPageData['ContactNumber'] != '') ? $leadPageData['ContactNumber'] : $UserDataByAgency['ContactInfo'];
$WhatsAppNumber = (isset($leadPageData['WhatsAppNumber']) && $leadPageData['WhatsAppNumber'] != '') ? $leadPageData['WhatsAppNumber'] : $ContactNumber;
$BannerTextMain = (isset($leadPageData['BannerTextMain']) && $leadPageData['BannerTextMain'] != '') ? $leadPageData['BannerTextMain'] : '';
$BannerTextSub = (isset($leadPageData['BannerTextSub']) && $leadPageData['BannerTextSub'] != '') ? $leadPageData['BannerTextSub'] : '';
$EnquiryFormHeading = (isset($leadPageData['EnquiryFormHeading']) && $leadPageData['EnquiryFormHeading'] != '') ? $leadPageData['EnquiryFormHeading'] : '';
$EnquiryFormDescription = (isset($leadPageData['EnquiryFormDescription']) && $leadPageData['EnquiryFormDescription'] != '') ? $leadPageData['EnquiryFormDescription'] : '';
$PackageHeadingMain = (isset($leadPageData['PackageHeadingMain']) && $leadPageData['PackageHeadingMain'] != '') ? $leadPageData['PackageHeadingMain'] : '';
$PackageHeadingDescription = (isset($leadPageData['PackageHeadingDescription']) && $leadPageData['PackageHeadingDescription'] != '') ? $leadPageData['PackageHeadingDescription'] : '';
$LeadPackageId = (isset($leadPageData['LeadPackageId']) && $leadPageData['LeadPackageId'] != '') ? json_decode($leadPageData['LeadPackageId']) : '';
$LeadPackageImageName = (isset($leadPageData['LeadPackageImageName']) && $leadPageData['LeadPackageImageName'] != '') ? json_decode($leadPageData['LeadPackageImageName']) : '';
$LeadPackageName = (isset($leadPageData['LeadPackageName']) && $leadPageData['LeadPackageName'] != '') ? json_decode($leadPageData['LeadPackageName']) : '';
$LeadPackagePrice = (isset($leadPageData['LeadPackagePrice']) && $leadPageData['LeadPackagePrice'] != '') ? json_decode($leadPageData['LeadPackagePrice']) : '';
$LeadPackageDay = (isset($leadPageData['LeadPackageDay']) && $leadPageData['LeadPackageDay'] != '') ? json_decode($leadPageData['LeadPackageDay']) : '';
$LeadAboutUs = (isset($leadPageData['LeadAboutUs']) && $leadPageData['LeadAboutUs'] != '') ? $leadPageData['LeadAboutUs'] : $UserDataByAgency['AgencyShortDetail'];
$LeadSocialDescription = (isset($leadPageData['LeadSocialDescription']) && $leadPageData['LeadSocialDescription'] != '') ? $leadPageData['LeadSocialDescription'] : '';
$EmailId = (isset($leadPageData['EmailId']) && $leadPageData['EmailId'] != '') ? $leadPageData['EmailId'] : $UserDataByAgency['PrimaryEmail'];
$Address = (isset($leadPageData['Address']) && $leadPageData['Address'] != '') ? $leadPageData['Address'] : $UserDataByAgency['Address'];
$LeadSocialUrl = (isset($leadPageData['LeadSocialUrl']) && $leadPageData['LeadSocialUrl'] != '') ? json_decode($leadPageData['LeadSocialUrl'], 1) : '';
$LeadTestimonialName = (isset($leadPageData['LeadTestimonialName']) && $leadPageData['LeadTestimonialName'] != '') ? json_decode($leadPageData['LeadTestimonialName'], 1) : '';
$LeadTestimonialStar = (isset($leadPageData['LeadTestimonialStar']) && $leadPageData['LeadTestimonialStar'] != '') ? json_decode($leadPageData['LeadTestimonialStar'], 1) : '';
$LeadTestimonialDate = (isset($leadPageData['LeadTestimonialDate']) && $leadPageData['LeadTestimonialDate'] != '') ? json_decode($leadPageData['LeadTestimonialDate'], 1) : '';
$LeadTestimonialTitle = (isset($leadPageData['LeadTestimonialTitle']) && $leadPageData['LeadTestimonialTitle'] != '') ? json_decode($leadPageData['LeadTestimonialTitle'], 1) : '';
$LeadTestimonialDescription = (isset($leadPageData['LeadTestimonialDescription']) && $leadPageData['LeadTestimonialDescription'] != '') ? json_decode($leadPageData['LeadTestimonialDescription'], 1) : '';
$LeadFooterMainHeading = (isset($leadPageData['LeadFooterMainHeading']) && $leadPageData['LeadFooterMainHeading'] != '') ? json_decode($leadPageData['LeadFooterMainHeading'], 1) : '';
$LeadFooterSection2 = (isset($leadPageData['LeadFooterSection2']) && $leadPageData['LeadFooterSection2'] != '') ? json_decode($leadPageData['LeadFooterSection2'], 1) : '';
$LeadFooterSection3 = (isset($leadPageData['LeadFooterSection3']) && $leadPageData['LeadFooterSection3'] != '') ? json_decode($leadPageData['LeadFooterSection3'], 1) : '';
//echo"<pre>";print_r($LeadSocialUrl);die('dd');
$LeadPackageInclusions = (isset($leadPageData['LeadPackageInclusions']) && $leadPageData['LeadPackageInclusions'] != '') ? json_decode($leadPageData['LeadPackageInclusions']) : '';
$LeadPackageHotels = (isset($leadPageData['LeadPackageHotels']) && $leadPageData['LeadPackageHotels'] != '') ? json_decode($leadPageData['LeadPackageHotels']) : '';
$LeadPackageSightseeings = (isset($leadPageData['LeadPackageSightseeings']) && $leadPageData['LeadPackageSightseeings'] != '') ? json_decode($leadPageData['LeadPackageSightseeings']) : '';
$LeadPackageTncInclusions = (isset($leadPageData['LeadPackageTncInclusions']) && $leadPageData['LeadPackageTncInclusions'] != '') ? json_decode($leadPageData['LeadPackageTncInclusions']) : '';
$LeadPartnersImageName = (isset($leadPageData['LeadPartnersImageName']) && $leadPageData['LeadPartnersImageName'] != '') ? json_decode($leadPageData['LeadPartnersImageName']) : '';
$LeadPackageOldPrice = (isset($leadPageData['LeadPackageOldPrice']) && $leadPageData['LeadPackageOldPrice'] != '') ? json_decode($leadPageData['LeadPackageOldPrice']) : '';
$LeadPackageQualityType = (isset($leadPageData['LeadPackageQualityType']) && $leadPageData['LeadPackageQualityType'] != '') ? json_decode($leadPageData['LeadPackageQualityType']) : '';
$aboutUsIconName = (isset($leadPageData['aboutUsIconName']) && $leadPageData['aboutUsIconName'] != '') ? json_decode($leadPageData['aboutUsIconName']) : [];
$companyExperienceIconName = (isset($leadPageData['companyExperienceIconName']) && $leadPageData['companyExperienceIconName'] != '') ? json_decode($leadPageData['companyExperienceIconName']) : [];
$LeadCompanyExperienceDesc = (isset($leadPageData['LeadCompanyExperienceDesc']) && $leadPageData['LeadCompanyExperienceDesc'] != '') ? json_decode($leadPageData['LeadCompanyExperienceDesc']) : [];
$LeadMetaTitle = (isset($leadPageData['LeadMetaTitle']) && $leadPageData['LeadMetaTitle'] != '') ? ($leadPageData['LeadMetaTitle']) : 'Hello GTX';
$LeadMetaKeyword = (isset($leadPageData['LeadMetaKeyword']) && $leadPageData['LeadMetaKeyword'] != '') ? ($leadPageData['LeadMetaKeyword']) : '';
$LeadMetaDescription = (isset($leadPageData['LeadMetaDescription']) && $leadPageData['LeadMetaDescription'] != '') ? ($leadPageData['LeadMetaDescription']) : '';
$LeadMetaHeaderScript = (isset($leadPageData['LeadMetaHeaderScript']) && $leadPageData['LeadMetaHeaderScript'] != '') ? ($leadPageData['LeadMetaHeaderScript']) : '';
$LeadMetaFooterScript = (isset($leadPageData['LeadMetaFooterScript']) && $leadPageData['LeadMetaFooterScript'] != '') ? ($leadPageData['LeadMetaFooterScript']) : '';
$LeadPackageDetailUrl = (isset($leadPageData['LeadPackageDetailUrl']) && $leadPageData['LeadPackageDetailUrl'] != '') ? json_decode($leadPageData['LeadPackageDetailUrl']) : '';
$LeadPackageCountry = (isset($leadPageData['LeadPackageCountry']) && $leadPageData['LeadPackageCountry'] != '') ? json_decode($leadPageData['LeadPackageCountry']) : '';
$IsFixedDeparturePackage = (isset($leadPageData['IsFixedDeparturePackage']) && $leadPageData['IsFixedDeparturePackage'] != '') ? json_decode($leadPageData['IsFixedDeparturePackage']) : '';
$FixedDeparturePackageDateSaved = (isset($leadPageData['FixedDeparturePackageDate']) && $leadPageData['FixedDeparturePackageDate'] != '') ? json_decode($leadPageData['FixedDeparturePackageDate']) : '';
$FixedDeparturePackageDestination = (isset($leadPageData['FixedDeparturePackageDestination']) && $leadPageData['FixedDeparturePackageDestination'] != '') ? json_decode($leadPageData['FixedDeparturePackageDestination']) : '';
$bannerImage = (isset($leadPageData['bannerImage']) && $leadPageData['bannerImage'] != '') ? $leadPageData['bannerImage'] : '';
$monthArray = array('1' => 'Jan', '2' => 'Feb', '3' => 'Mar', '4' => 'Apr', '5' => 'May', '6' => 'Jun', '7' => 'Jul', '8' => 'Aug', '9' => 'Sep', '10' => 'Oct', '11' => 'Nov', '12' => 'Dec', '01' => 'Jan', '02' => 'Feb', '03' => 'Mar', '04' => 'Apr', '05' => 'May', '06' => 'Jun', '07' => 'Jul', '08' => 'Aug', '09' => 'Sep');
$finDateArray = $FixedDeparturePackageDate = array();
if (isset($FixedDeparturePackageDateSaved) && $FixedDeparturePackageDateSaved != '') {
foreach ($FixedDeparturePackageDateSaved as $dDate => $dVal) {
$testArray = json_decode($dVal);
$testArrayNew = array();
if (trim($dVal) != '' && !empty($testArray)) {
foreach ($testArray as $dKey => $dVal) {
if ($dVal != '') {
if (strtotime($dVal) >= strtotime(date('Y-m-d'))) {
$explodeVal = explode('-', $dVal);
$year = trim($explodeVal[0]);
$month = trim($explodeVal[1]);
$day = trim($explodeVal[2]);
$finDateArray[$dDate][$year]['year'] = $year;
//$finDateArray[$dDate][$year]['month'][$month]['month'] = $month;
$finDateArray[$dDate][$year]['month'][$month]['day'][] = trim($day) . ' ' . trim($monthArray[$month]);
$testArrayNew[] = $dVal;
}
}
}
}
$FixedDeparturePackageDate[$dDate] = (!empty($testArrayNew)) ? json_encode($testArrayNew, 1) : '';
}
}
$metaTitle = (isset($leadPageData['LeadMetaTitle']) && !empty($leadPageData['LeadMetaTitle'])) ? trim($leadPageData['LeadMetaTitle']) : (isset($leadPageData['TemplatePageName']) ? $leadPageData['TemplatePageName'] : '');
$metaDescription = (isset($leadPageData['LeadMetaDescription']) && !empty($leadPageData['LeadMetaDescription'])) ? trim($leadPageData['LeadMetaDescription']) : '';
$metaKeyword = (isset($leadPageData['LeadMetaKeyword']) && !empty($leadPageData['LeadMetaKeyword'])) ? trim($leadPageData['LeadMetaKeyword']) : '';
$headerScript = (isset($leadPageData['LeadMetaHeaderScript']) && !empty($leadPageData['LeadMetaHeaderScript'])) ? trim($leadPageData['LeadMetaHeaderScript']) : '';
$footerScript = (isset($leadPageData['LeadMetaFooterScript']) && !empty($leadPageData['LeadMetaFooterScript'])) ? trim($leadPageData['LeadMetaFooterScript']) : '';
$AboutUsArr = (isset($LeadAboutUs) && !empty($LeadAboutUs)) ? json_decode($LeadAboutUs, true) : array();
$IsAboutShow = (is_array($AboutUsArr) && !empty(array_filter($AboutUsArr)) || !empty(array_filter($aboutUsIconName))) ? 1 : 0;
$IsCompanyExperienceShow = (!empty(array_filter($LeadCompanyExperienceDesc)) || !empty(array_filter($companyExperienceIconName))) ? 1 : 0;
?>
<!doctype html>
<html lang="en">
<head>
<title><?php echo $metaTitle; ?></title>
<meta name="description" content="<?php echo $metaDescription; ?>" />
<meta name="keywords" content="<?php echo $metaKeyword; ?>" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="shortcut icon" href="<?php echo $baseurl ?>public/upload/<?php echo $stylecss ?>/images/favicon.png">
<meta property="og:image" content="<?php echo $bannerImage ?>" />
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl ?>public/assets/css/common.css?v=3.9">
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl ?>public/assets/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl ?>public/assets/css/lendingpage-style.css">
<?php echo $headerScript; ?>
<script>
var SITEURL = '<?php echo $baseurl ?>';
</script>
</head>
<style>
.traveller_box_pax {
width: 100%;
display: inline-block;
width: 100%;
border: 1px solid #cccccc;
background: #ffffff;
left: 0px;
top: -80px;
z-index: 9999;
display: none;
position: absolute;
}
.room_booking_traveller {
width: 100%;
height: auto;
margin: 0 0 10px 0;
padding: 0 0 0 0;
}
.traveller_box_pax .form-group {
margin-bottom: 3px;
}
textarea.form-control {
height: 37px;
}
.fixed_departure {
border-bottom: 1px solid #3a0243 !important;
margin: -8px 0 15px 0;
padding-bottom: 0;
padding-top: 0 !important;
height: 30px !important;
padding: 0 15px;
width: 100%;
border-bottom: 1px solid #cfcfcf;
overflow-y: auto;
}
.wowi-footer {
display: none;
}
@media (max-width: 992px) {
.wowi-footer {
display: block !important;
}
}
@media (max-width: 992px) {
.wowi-footer {
justify-content: space-around;
align-items: flex-end;
background-color: #fff;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 58px;
z-index: 9999;
box-shadow: 0 -2px 3px #cac4c7;
}
.wowi-footer ul li {
float: left;
padding: 5px 10px;
width: 33.33%;
color: #8d8c8c;
text-align: center;
}
.wowi-footer ul li {
position: relative;
}
.wowi-footer span {
font-size: 22px;
display: inline-block;
color: var(--secondcolor);
}
.wowi-footer strong {
font-size: 10px;
line-height: 100%;
font-weight: 500;
color: var(--secondcolor);
display: block;
padding-top: 5px;
}
.wowi-footer strong a {
line-height: initial;
display: inline-block;
padding: 0;
color: var(--secondcolor);
}
.wowi-footer strong a::after {
content: '';
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
}
.wowi-footer ul {
list-style: none;
padding: 0;
margin: 0px;
}
}
</style>
<?php if($LeadPageType == 5){ ?>
<style>
.rann-package-card{
display: flex;
}
.rann-package-card .img-box {
width: 40%;
}
.rann-package-card .content-box {
width: 60%;
padding: 10px 15px;
}
.rann-package-card .img-box img {
height: 100%;
}
.rann-package-card .package-title{
background: none;
text-align: left !important;
background-color: transparent;
font-size: 20px;
border-bottom: 1px solid;
padding: 0px;
}
.rann-package-card .package-title a{
color: #333 !important
}
.rann-package-card .rann-pkg-date-quote {
display: flex ;
justify-content: space-between;
align-items: center;
flex-direction: unset;
min-height: auto;
}
.rann-package-card .pkg-incusion {
padding-left: 18px;
margin-bottom: 4px;
margin-top: 0px;
height: 95px;
overflow-y: auto;
}
.rann-section-description {
margin: 20px;
padding: 0 120px;
}
.divider-1 .line {
width: 200px;
height:1px;
margin: 0 auto;
border-bottom: 1px solid #ddd;
background: #cfcfcf;
}
.rann-form{
background-color: rgba(0, 0, 0, 0.65);
}
.rann-package-card .quote-btn{
background: var(--maincolor) !important;
}
</style>
<?php } ?>
<body>
<div class="rann-header">
<div class="container">
<div class="row">
<div class="col-md-3 text-center text-md-left">
<a class="rann-logo">
<img src="<?php echo $baseurl ?>public/upload/<?php echo $stylecss; ?>/images/logo.png" alt="" />
</a>
</div>
<div class="col-md-9 align-self-center">
<div class="rann-header-info">
<ul>
<li><i><img alt="Phone Number" src="<?php echo $baseurl ?>/public/lendingPage/img/call.png" style="width:30px;"> </i><a href="tel:<?php echo $CountryCode . $ContactNumber; ?>"><?php echo $CountryCode . $ContactNumber; ?></a></li>
<li><i><img alt="email id" src="<?php echo $baseurl ?>/public/lendingPage/img/mail.png" style="width:30px;"> </i><a href="mailto:<?php echo isset($EmailId) ? trim($EmailId) : '' ?>"><?php echo isset($EmailId) ? trim($EmailId) : '' ?></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="rann-mainbanner-mobile">
<img src="<?php echo $bannerImage ?>" alt="" />
</div>
<?php
if (isset($IsFixedDeparturePackage)) {
foreach ($IsFixedDeparturePackage as $fixKey => $fixVal) {
?>
<input type="hidden" id="IsFixedDeparturePackage<?php echo $LeadPackageId[$fixKey] ?>" value="<?php echo $fixVal; ?>">
<input type="hidden" id="FixedDeparturePackageDate<?php echo $LeadPackageId[$fixKey] ?>" value='<?php echo $FixedDeparturePackageDate[$fixKey]; ?>'>
<div style="display:none;" id="FixedDeparturePackageDateDiv<?php echo $LeadPackageId[$fixKey] ?>">
<?php
if ($FixedDeparturePackageDate[$fixKey] != '') {
?>
<label class="sr-only" for="c-form-1-subject">Travel Date</label><select name="PKGCheckInDate" class="form-control PKGCheckInDate1" id="PKGCheckInDate1">
<?php
$FixedDeparturePackageDateArr = json_decode($FixedDeparturePackageDate[$fixKey]);
foreach ($FixedDeparturePackageDateArr as $ffixKey => $ffixVal) {
$currentdateStr = strtotime(date('Y-m-d'));
$FromDateStr = strtotime($ffixVal);
if ($currentdateStr <= $FromDateStr) {
$departDate = explode('-', $ffixVal);
$departDateVal = $departDate[2] . '/' . $departDate[1] . '/' . $departDate[0];
?>
<option value="<?php echo trim($departDateVal); ?>"><?php echo $departDateVal; ?></option>
<?php
}
}
?>
</select>
<?php } ?>
</div>
<div style="display:none;" id="FixedDeparturePackageDestinationDiv<?php echo $LeadPackageId[$fixKey] ?>">
<?php
if ($FixedDeparturePackageDestination[$fixKey] != '') {
?>
<label class="sr-only" for="c-form-1-subject">Destination</label>
<select name="FromDestinationId" class="c-form-1-subject form-control whbg destinations1 fromDestination" id="">
<?php
$FixedDeparturePackageDestinationArr = array();
$FixedDeparturePackageDestinationArr = json_decode($FixedDeparturePackageDestination[$fixKey]);
foreach ($FixedDeparturePackageDestinationArr as $ffixKey => $ffixVal) {
?>
<option value="<?php echo trim($ffixKey) . '~~' . trim($ffixVal); ?>"><?php echo $ffixVal; ?></option>
<?php
}
?>
</select>
<?php } ?>
</div>
<?php
}
}
?>
<div class="rann-main-section" style="background-image: url(<?php echo $bannerImage; ?>);">
<div class="container">
<form class="rann-form" role="form" action="javascript://" method="post" id="submitEnquiryForm">
<?php echo Catabatic_Helper::csrf_field(); ?>
<input type="hidden" id="GtxLeadSysId" name="GtxLeadSysId" value="<?php echo isset($leadPageData['GtxLeadSysId']) ? $leadPageData['GtxLeadSysId'] : 0; ?>">
<input type="hidden" id="TemplatePageName" name="TemplatePageName" value="<?php echo isset($leadPageData['TemplatePageName']) ? $leadPageData['TemplatePageName'] : ''; ?>">
<input type="hidden" name="AgencySysId" id="AgencySysId" value="<?php echo isset($leadPageData['AgencySysId']) ? $leadPageData['AgencySysId'] : 0; ?>">
<input type="hidden" name="AgentSysId" value="<?php echo ($UserSysId > 0) ? $UserSysId : (isset($leadPageData['AgencySysId']) ? $leadPageData['AgencySysId'] : 0); ?>">
<input type="hidden" id="leadsend" name="leadsend" value="0">
<input type="hidden" id="PlanType" name="PlanType" value="<?php echo (isset($PlanTypeId) && !empty($PlanTypeId)) ? $PlanTypeId : 5; ?>">
<input type="hidden" name="IsFixedDeparturePackage" id="IsFixedDeparturePackage" value="">
<input type="hidden" id="leadID" name="leadID" value="">
<input type="hidden" id="BookingType" name="BookingType" value="0">
<input type="hidden" id="byopacktypeCat" name="byopacktypeCat" value="1">
<input type="hidden" id="PkgType" name="PkgType" value="0">
<input type="hidden" id="DestinationValue" name="DestinationValue" value="0">
<input type="hidden" id="DestinationId" name="DestinationId" value="0">
<input type="hidden" name="room" id="roomlp" value="1">
<input type="hidden" name="totadlt" id="totadlt" value="2">
<input type="hidden" name="totchld" id="totchld" value="0">
<input type="hidden" name="totinfnt" id="totinfnt" value="0">
<input type="hidden" name="travelers" id="totaltravelers" value="">
<input type="hidden" name="roominfojson" id="roominfojson" value="">
<input type="hidden" id="campId" name="campId" value="<?php echo $campId; ?>">
<input type="hidden" id="source" name="leadsource" value="<?php echo $source; ?>">
<input type="hidden" id="utm_campaign" name="utm_campaign" value="<?php echo $utm_campaign; ?>">
<input type="hidden" id="utm_medium" name="utm_medium" value="<?php echo $utm_medium; ?>">
<input type="hidden" id="Currency" name="Currency" value="<?php echo (int) $getCurrencyType; ?>">
<div class="showleadform" style="display:block;">
<h4 class=""><?php echo $EnquiryFormHeading; ?></h4>
<p class=""><?php echo $EnquiryFormDescription; ?></p>
<div class="form-group">
<input class="form-control Name" name="FirstName" placeholder="Name*" type="text">
</div>
<div class="form-group">
<input class="form-control EmailId" name="Email" placeholder="Email*" type="email">
</div>
<div class="form-group">
<input class="form-control Mobile" name="MobileNumber" placeholder="Mobile No.*" type="number">
</div>
<?php
if (!empty($LeadPackageName)) {
$m = 1;
?>
<div class="form-group ">
<label class="sr-only" for="c-form-1-email">Package</label>
<select name="packageSysId" id="packageSysId" class="c-form-1-subject form-control whbg frm_text_align_landing" onchange="getFixedDepartureDates(this)">
<option value="0">Select Package</option>
<?php
foreach ($LeadPackageName as $pkgkey => $pkgvalue) {
if ($pkgvalue != '') {
?>
<option value="<?php echo $LeadPackageId[$pkgkey] ?>" <?php echo ($TPSysId == $LeadPackageId[$pkgkey]) ? 'selected' : ''; ?>><?php echo $pkgvalue; ?></option>
<?php
$m++;
}
}
?>
</select>
</div>
<?php } ?>
<div class="form-group">
<textarea class="form-control" id="" placeholder="Your Message" name="remark"></textarea>
</div>
</div>
<div class="showQueryForm" style="display:none;">
<div class="" style="margin-bottom:15px">
<i class="fa fa-long-arrow-left backform" aria-hidden="true"></i>
<p class="caption"><?php echo $EnquiryFormHeading; ?></p>
</div>
<div class="form-group" id="DestinationDiv" style="margin-bottom:15px">
<label class="sr-only" for="c-form-1-subject">Destination</label>
<input type="text" id="FromDestination" name="Destination" value="" class="form-control destinations1 fromDestination" placeholder="From Destination">
<input type="hidden" name="FromDestinationId" id="FromDestinationId" value="">
</div>
<div class="form-group" id="PKGCheckInDateDiv" style="margin-bottom:15px">
<label class="sr-only" for="c-form-1-subject">Travel Date</label>
<input type="text" name="PKGCheckInDate" placeholder="Travel Date" class=" form-control PKGCheckInDate" id="PKGCheckInDate" autocomplete="off">
</div>
<div class="form-group totalTravellersDiv">
<div class="form-group">
<label class="sr-only" for="c-form-1-subject">Total Travelers</label>
<input type="text" name="NoofTraveler" placeholder="Total Travelers" class="c-form-1-subject form-control NoofTraveler" id="c-form-1-subject">
</div>
</div>
<div class="form-group totalTravellersRoomwiseDiv">
<div class="tavellar_wrap_box ">
<div class="form-control travelerbox_bx_pax_click m-2 mb-5" onclick="showDiv()"> Traveller
<span id="totaltravelersHtml"></span>
<span class="pull-right tarveller_rotate"><i class="fa fa-angle-down" aria-hidden="true"></i></span>
</div>
<div class="traveller_box_pax" id="tarvller_show">
<div style='height: 146px; overflow: hidden;overflow-y: auto;'>
<?php for ($r = 1; $r <= 10; $r++) { ?>
<div class="room_booking_traveller " id="rmres_<?php echo $r ?>" style="<?php if ($r > 1) { ?>display:none;<?php } ?>">
<div class="title">Room <?php echo $r ?> <?php if ($r > 1) { ?><a class="disproom disproom_<?php echo $r ?>" style="cursor:pointer;" onclick="delroom(<?php echo $r ?>)">(x)</a><?php } ?></div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label class="control-label" for="adults">Adults (+12 YRS)</label>
<select id="adult_<?php echo $r ?>" name="adult[]" class="form-control" onchange="showextrabedbox('<?php echo $r ?>');">
<option value="1">1</option>
<option value="2" selected>2</option>
<option value="3">3</option>
</select>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label class="control-label" for="children">Childs(0 - 11YRS)
</label>
<select name="child[]" class="form-control" id="child_<?php echo $r ?>" onchange="showextrabedchildagebox('<?php echo @$r ?>');">
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
</select>
</div>
</div>
</div>
<div class="form-group" style="display:none">
<label class="control-label" for="infant">Infants(0 - 2YRS)
</label>
<div class="">
<select id="infant_<?php echo $r ?>" name="infant[]" class="form-control">
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
</select>
</div>
</div>
<div class="form-group adultcl_<?php echo $r ?>_3" style="display:none;">
<label class=" control-label">Adult 1 Bed Type
</label>
<select id="child_bed" name="adult_bed_type[]" class="form-control">
<option value="withoutbed">Without Bed</option>
<option value="extrabed" selected>With Bed</option>
</select>
</div>
<div class="form-group childage_<?php echo @$r ?>" id="childcl_<?php echo @$r ?>_1" style="display:none;">
<label class="control-label">Child 1 bed Type
</label>
<select id="child_bed" name="child1_bed_type[]" class="form-control">
<option value="withoutbed">Without Bed</option>
<option value="extrabed">With Bed</option>
</select>
</div>
<div class="form-group childage_<?php echo $r ?>" id="childcl_<?php echo $r ?>_2" style="display:none;">
<label class="control-label">Child 2 bed Type
</label>
<select id="child_bed" name="child2_bed_type[]" class="form-control">
<option value="withoutbed">Without Bed</option>
<option value="extrabed">With Bed</option>
</select>
</div>
<div class="clearfix"></div>
</div>
<?php } ?>
<div class="form-group col-sm-12">
<a href="javascript://" id="submit" name="submit" class="btn btn-success btn-lg add_more addroom" onClick="addroom()">Add More Room</a>
</div>
</div>
<div class="form-group col-sm-12">
<a href="javascript://" class="btn btn-success btn-lg travller_done" onclick="tottraveller()">Done</a>
</div>
<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
</div>
</div>
<div class="form-group">
<div class="form-group">
<label class="sr-only" for="c-form-1-subject">No of Days</label>
<input type="text" name="Noofdays" placeholder="No of Days" class="c-form-1-subject form-control Noofdays" id="c-form-1-subject">
</div>
</div>
</div>
<div style="min-height: 25px">
<span class="msg" id="msg" style="font-weight:700;"></span>
</div>
<div class="text-center">
<button class="btn btn-enq sendEnquiryBtn" name="submit" type="submit" value="Send request"><span>Send Enquiry</span></button>
</div>
</form>
</div>
</div>
<div class="container-fluid">
<div class="rann-marquee">
<marquee><?php echo $BannerTextMain; ?></marquee>
</div>
</div>
<section class="py-4">
<div class="container">
<?php if($LeadPageType == 5){ ?>
<div class="row">
<div class="col-sm-12">
<h2 class="rann-section-title"><?php echo $PackageHeadingMain; ?></h2>
<div class="divider-1 no-padding"><div class="line"></div></div>
<p class="rann-section-description"><?php echo $PackageHeadingDescription;?></p>
</div>
</div>
<div class="row justify-content-center">
<?php
if ($LeadPackageName > 0) {
$m = 1;
foreach ($LeadPackageName as $key => $value) {
$image = (isset($LeadPackageImageName[$key]) && trim($LeadPackageImageName[$key]) != '' && trim($LeadPackageImageName[$key]) != '0') ? $LeadPackageImageName[$key] : $baseurl . 'public/images/noimageother.jpg';
if ($value != '') {
?>
<div class="col-sm-10 col-lg-10">
<div class="rann-package-card">
<a class="img-box" href="javascript://" onclick="putPackageSysIdEnquiryForm('<?php echo $LeadPackageId[$key] ?>', '<?php echo $LeadPackageName[$key] ?>', '<?php echo $IsFixedDeparturePackage[$key]; ?>')">
<img src="<?php echo $image; ?>" alt="" />
<?php if ($LeadPackageQualityType[$key] == 1) { ?>
<div class="package-tag">
<span>Best Price</span>
</div>
<?php } ?>
<span class="duration"><?php echo isset($LeadPackageDay[$key]) ? $LeadPackageDay[$key] : '' ?></span>
</a>
<div class="content-box">
<h3 class="package-title">
<a href="javascript://" onclick="putPackageSysIdEnquiryForm('<?php echo $LeadPackageId[$key] ?>', '<?php echo $LeadPackageName[$key] ?>', '<?php echo $IsFixedDeparturePackage[$key]; ?>')"><?php echo substr($LeadPackageName[$key], 0, 55) . ((55 < strlen($LeadPackageName[$key])) ? "..." : ""); ?></a>
<small><?php echo isset($LeadPackageDay[$key]) ? $LeadPackageDay[$key] : '' ?></small>
</h3>
<ul class="pkg-incusion">
<?php
foreach (explode(',', $LeadPackageInclusions[$key]) as $iikey => $iivalue) {
if (!empty($iivalue)) {
?>
<li><?php echo $iivalue; ?></li>
<?php
}
}
?>
</ul>
<ul class="itnry">
<?php
$mealArr = ["Only Breakfast", "B/fast & Lunch", "B/fast & Dinner", "All Meals", "Gala Dinner"];
$transferArr = ["Airport Transfers", "Train Station Transfers", "Intercity Transfers", "Bus", "All Transfers"];
$includedCheck = explode(',', $LeadPackageInclusions[$key]);
$isMealIncluded = 0;
$isTransIncluded = 0;
foreach ($mealArr as $value) {
if (in_array($value, $includedCheck)) {
$isMealIncluded++;
}
}
foreach ($transferArr as $value) {
if (in_array($value, $includedCheck)) {
$isTransIncluded++;
}
}
if (!empty($LeadPackageHotels[$key])) {
?>
<li>
<img src="<?php echo $baseurl ?>public/lendingPage/img/hotel.png" alt="" title="<?php echo 'Hotel'; ?>" class="img-fluid">
<span><?php echo 'Hotel'; ?></span>
</li>
<?php } ?>
<?php
if (!empty($LeadPackageSightseeings[$key])) {
?>
<li>
<img src="<?php echo $baseurl ?>public/lendingPage/img/sightseeing.png" alt="" title="<?php echo 'Sightseeing'; ?>" class="img-fluid">
<span><?php echo 'Sightseeing'; ?></span>
</li>
<?php } ?>
<?php
if ($isMealIncluded > 0) {
?>
<li>
<img src="<?php echo $baseurl ?>public/lendingPage/img/meals.png" alt="" title="<?php echo 'Meals'; ?>" class="img-fluid">
<span><?php echo 'Meals'; ?></span>
</li>
<?php } ?>
<?php
if ($isTransIncluded > 0) {
?>
<li>
<img src="<?php echo $baseurl ?>public/lendingPage/img/transfers.png" alt="" title="<?php echo 'Transport'; ?>" class="img-fluid">
<span><?php echo 'Transport'; ?></span>
</li>
<?php } ?>
</ul>
<div class="rann-pkg-date-quote <?php if (isset($IsFixedDeparturePackage[$key]) && $IsFixedDeparturePackage[$key] == 1) { ?>package-inclusion-with-fixed<?php } ?>">
<?php if (isset($finDateArray[$key]) && !empty($finDateArray[$key])) { ?>
<div class="rann-pkg-date">
Dates :
<?php
$fi = 1;
foreach ($finDateArray[$key] as $findKey => $findVal) {
foreach ($findVal['month'] as $monthKey => $monthVal) {
echo ($fi > 1) ? ', ' : '';
echo implode(', ', $monthVal['day']);
?>
<?php
$fi++;
}
}
?>
</div>
<?php } ?>
<?php
if (isset($LeadPackagePrice[$key]) && !empty($LeadPackagePrice[$key])) {
$pricewithcurrency = explode(' ', $LeadPackagePrice[$key]);
$currencySymbol = $pricewithcurrency['0'];
$price = $pricewithcurrency['1'];
?>
<div class=" align-items-end">
<span class="price-starts d-block"><?php echo ($price > 0) ? 'Starting From' : ''; ?></span>
<span class="price-value"><?php echo ($price > 0) ? $currencySymbol . ' ' . round($price) : 'On Request' ?></span>
</div>
<?php } ?>
<div class="">
<a class="btn whatsapp-btn" href="https://wa.me/<?php echo $CountryCode . $WhatsAppNumber; ?>?text=Hi %0a%0a I visited <?php echo $siteName ?> at <?php echo $baseurl; ?>. I am interested for this package <?php echo $LeadPackageName[$key]; ?>. Do contact me to discuss it further.Thanks." target="_blank">Whatsapp</a>
<a class="btn quote-btn" href="javascript://" onclick="putPackageSysIdEnquiryForm('<?php echo $LeadPackageId[$key] ?>', '<?php echo $LeadPackageName[$key] ?>', '<?php echo $IsFixedDeparturePackage[$key]; ?>')">Get Quote</a>
</div>
</div>
</div>
</div>
</div>
<?php
}
}
}
?>
</div>
<?php }else{ ?>
<div class="row">
<div class="col-sm-12">
<h2 class="rann-section-title"><?php echo $PackageHeadingMain; ?></h2>
</div>
</div>
<div class="row justify-content-center">
<?php
if ($LeadPackageName > 0) {
$m = 1;
foreach ($LeadPackageName as $key => $value) {
$image = (isset($LeadPackageImageName[$key]) && trim($LeadPackageImageName[$key]) != '' && trim($LeadPackageImageName[$key]) != '0') ? $LeadPackageImageName[$key] : $baseurl . 'public/images/noimageother.jpg';
if ($value != '') {
?>
<div class="col-sm-6 col-lg-3">
<div class="rann-package-card">
<a class="img-box" href="javascript://" onclick="putPackageSysIdEnquiryForm('<?php echo $LeadPackageId[$key] ?>', '<?php echo $LeadPackageName[$key] ?>', '<?php echo $IsFixedDeparturePackage[$key]; ?>')">
<img src="<?php echo $image; ?>" alt="" />
<?php if ($LeadPackageQualityType[$key] == 1) { ?>
<div class="package-tag">
<span>Best Price</span>
</div>
<?php } ?>
<span class="duration"><?php echo isset($LeadPackageDay[$key]) ? $LeadPackageDay[$key] : '' ?></span>
</a>
<div class="content-box">
<h3 class="package-title"><a href="javascript://" onclick="putPackageSysIdEnquiryForm('<?php echo $LeadPackageId[$key] ?>', '<?php echo $LeadPackageName[$key] ?>', '<?php echo $IsFixedDeparturePackage[$key]; ?>')"><?php echo substr($LeadPackageName[$key], 0, 55) . ((55 < strlen($LeadPackageName[$key])) ? "..." : ""); ?></a></h3>
<ul class="pkg-incusion">
<?php
foreach (explode(',', $LeadPackageInclusions[$key]) as $iikey => $iivalue) {
if (!empty($iivalue)) {
?>
<li><?php echo $iivalue; ?></li>
<?php
}
}
?>
</ul>
<?php
if (isset($LeadPackagePrice[$key]) && !empty($LeadPackagePrice[$key])) {
$pricewithcurrency = explode(' ', $LeadPackagePrice[$key]);
$currencySymbol = $pricewithcurrency['0'];
$price = $pricewithcurrency['1'];
?>
<div class="d-flex flex-wrap align-items-end">
<span class="price-starts"><?php echo ($price > 0) ? 'Starting From' : ''; ?></span>
<span class="price-value"><?php echo ($price > 0) ? $currencySymbol . ' ' . round($price) : 'On Request' ?></span>
</div>
<?php } ?>
<ul class="itnry">
<?php
$mealArr = ["Only Breakfast", "B/fast & Lunch", "B/fast & Dinner", "All Meals", "Gala Dinner"];
$transferArr = ["Airport Transfers", "Train Station Transfers", "Intercity Transfers", "Bus", "All Transfers"];
$includedCheck = explode(',', $LeadPackageInclusions[$key]);
$isMealIncluded = 0;
$isTransIncluded = 0;
foreach ($mealArr as $value) {
if (in_array($value, $includedCheck)) {
$isMealIncluded++;
}
}
foreach ($transferArr as $value) {
if (in_array($value, $includedCheck)) {
$isTransIncluded++;
}
}
if (!empty($LeadPackageHotels[$key])) {
?>
<li>
<img src="<?php echo $baseurl ?>public/lendingPage/img/hotel.png" alt="" title="<?php echo 'Hotel'; ?>" class="img-fluid">
<span><?php echo 'Hotel'; ?></span>
</li>
<?php } ?>
<?php
if (!empty($LeadPackageSightseeings[$key])) {
?>
<li>
<img src="<?php echo $baseurl ?>public/lendingPage/img/sightseeing.png" alt="" title="<?php echo 'Sightseeing'; ?>" class="img-fluid">
<span><?php echo 'Sightseeing'; ?></span>
</li>
<?php } ?>
<?php
if ($isMealIncluded > 0) {
?>
<li>
<img src="<?php echo $baseurl ?>public/lendingPage/img/meals.png" alt="" title="<?php echo 'Meals'; ?>" class="img-fluid">
<span><?php echo 'Meals'; ?></span>
</li>
<?php } ?>
<?php
if ($isTransIncluded > 0) {
?>
<li>
<img src="<?php echo $baseurl ?>public/lendingPage/img/transfers.png" alt="" title="<?php echo 'Transport'; ?>" class="img-fluid">
<span><?php echo 'Transport'; ?></span>
</li>
<?php } ?>
</ul>
<div class="rann-pkg-date-quote <?php if (isset($IsFixedDeparturePackage[$key]) && $IsFixedDeparturePackage[$key] == 1) { ?>package-inclusion-with-fixed<?php } ?>">
<?php if (isset($finDateArray[$key]) && !empty($finDateArray[$key])) { ?>
<div class="rann-pkg-date">
Dates :
<?php
$fi = 1;
foreach ($finDateArray[$key] as $findKey => $findVal) {
foreach ($findVal['month'] as $monthKey => $monthVal) {
echo ($fi > 1) ? ', ' : '';
echo implode(', ', $monthVal['day']);
?>
<?php
$fi++;
}
}
?>
</div>
<?php } ?>
<div class="d-flex flex-wrap mt-auto">
<a class="btn quote-btn" href="javascript://" onclick="putPackageSysIdEnquiryForm('<?php echo $LeadPackageId[$key] ?>', '<?php echo $LeadPackageName[$key] ?>', '<?php echo $IsFixedDeparturePackage[$key]; ?>')">Get Quote</a>
<a class="btn whatsapp-btn" href="https://wa.me/<?php echo $CountryCode . $WhatsAppNumber; ?>?text=Hi %0a%0a I visited <?php echo $siteName ?> at <?php echo $baseurl; ?>. I am interested for this package <?php echo $LeadPackageName[$key]; ?>. Do contact me to discuss it further.Thanks." target="_blank">Whatsapp</a>
</div>
</div>
</div>
</div>
</div>
<?php
}
}
}
?>
</div>
<?php } ?>
</div>
</section>
<!--//about us start-->
<?php if (!empty($AboutUsArr) && !empty($IsAboutShow)) { ?>
<div class="about-us-container section-container">
<div class="container">
<div class="row">
<div class="col-sm-12">
<h2 class="rann-section-title">About Us</h2>
</div>
</div>
<div class="row">
<?php
foreach ($AboutUsArr as $AKey => $AValue) {
if (isset($AValue) && !empty($AValue)) {
?>
<div class="col-sm-3 about-us-box wow fadeInUp animated" align="center" style="visibility: visible; animation-name: fadeInUp;">
<div class="about-us-photo">
<img src="<?php echo isset($aboutUsIconName[$AKey]) && !empty($aboutUsIconName[$AKey]) ? $aboutUsIconName[$AKey] : $baseurl . 'public/images/no-image.jpg' ?>" style="<?php echo empty($aboutUsIconName[$AKey]) ? 'height:100px;border-radius: 45%;border: 0px solid #e8edf5;object-fit: cover; width: 100px !important;' : '' ?>">
</div>
<span><?php echo $AValue; ?></span>
</div>
<?php }
}
?>
</div>
</div>
</div>
<?php } ?>
<!--//about us end-->
<!--company experience start-->
<?php if (!empty($LeadCompanyExperienceDesc) && !empty($IsCompanyExperienceShow)) { ?>
<div class="about-us-container section-container">
<div class="container">
<div class="row">
<div class="col-sm-12">
<h2 class="rann-section-title">Company Experience</h2>
</div>
</div>
<div class="row">
<?php
foreach ($LeadCompanyExperienceDesc as $CKey => $CValue) {
$CValueText = strip_tags(preg_replace('/\s+/', '', $CValue));
if ((isset($CValue) && !empty($CValueText)) || (isset($companyExperienceIconName[$CKey]) && !empty($companyExperienceIconName[$CKey]))) {
?>
<div class="col-sm-3 about-us-box wow fadeInUp animated" align="center" style="visibility: visible; animation-name: fadeInUp;">
<div class="about-us-photo">
<img src="<?php echo isset($companyExperienceIconName[$CKey]) && !empty($companyExperienceIconName[$CKey]) ? $companyExperienceIconName[$CKey] : $baseurl . 'public/images/no-image-a.png' ?>" style="<?php echo empty($companyExperienceIconName[$CKey]) ? 'height:100px; weight:100px' : '' ?>">
</div>
<span><?php echo $CValue; ?></span>
</div>
<?php }
}
?>
</div>
</div>
</div>
<?php } ?>
<!--company experience end-->
<?php if (!empty($LeadTestimonialName) && !empty($LeadTestimonialName[0])) { ?>
<section class="py-4 rann-customers-section">
<div class="testimonial-one__bg" style="background-image: url(<?php echo $baseurl; ?>/public/lendingPage/img/testimonial-bg.png);"></div>
<div class="container">
<div class="row">
<div class="col-sm-12">
<h2 class="rann-section-title">What Our Customers say ?</h2>
</div>
</div>
<div class="owl-carousel" id="rann-customers-slider">
<?php
foreach ($LeadTestimonialName as $tKey => $tValue) {
$date = (isset($LeadTestimonialDate[$tKey]) && trim($LeadTestimonialDate[$tKey]) != '') ? explode('/', $LeadTestimonialDate[$tKey]) : '';
$finalDate = ($date != '') ? $date[2] . '-' . $date[1] . '-' . $date[0] : '';
?>
<div class="rann-testimonials-card">
<div class="testimonials-card__image">
<!--<img src="<?php echo $baseurl ?>/public/lendingPage/img/anoop.jpg" alt="">-->
</div>
<div class="testimonials-card__ratings">
<?php for ($i = 0; $i < $LeadTestimonialStar[$tKey]; $i++) { ?>
<span class="fa fa-star checked"></span>
<?php } ?>
</div>
<div class="testimonials-card__quote">
<?php echo (isset($LeadTestimonialDescription[$tKey])) ? $LeadTestimonialDescription[$tKey] : '' ?>
</div>
<div class="testimonials-card__meta">
<h5 class="testimonials-card__meta__name"><?php echo (isset($tValue)) ? $tValue : '' ?></h5>
<p class="testimonials-card__meta__designation"><?php echo (isset($LeadTestimonialTitle[$tKey])) ? $LeadTestimonialTitle[$tKey] : '' ?></p>
</div>
</div>
<?php } ?>
</div>
</div>
</section>
<?php } ?>
<footer class="rann-footer">
<div class="container">
<div class="row">
<div class="col-md-4">
<?php if (!empty($ContactNumber)) { ?>
<div class="rann-footer-block">
<i class="fa fa-phone"></i>
<a href="tel:<?php echo $CountryCode . $ContactNumber; ?>"><?php echo $CountryCode . $ContactNumber; ?></a>
</div>
<?php } ?>
</div>
<div class="col-md-4">
<?php if (!empty($EmailId)) { ?>
<div class="rann-footer-block">
<i class="fa fa-envelope"></i>
<a href="mailto:<?php echo isset($EmailId) ? trim($EmailId) : '' ?>"><?php echo isset($EmailId) ? trim($EmailId) : '' ?></a>
</div>
<?php } ?>
</div>
<div class="col-md-4">
<div class="rann-footer-block">
<i class="fa fa-globe"></i>
<a href="<?php echo $baseurl; ?>"><?php echo $baseurl; ?></a>
</div>
</div>
</div>
</div>
</footer>
<div class="rann-footer-bottom">
<div class="line"></div>
<div class="container">
<div class="rann-media">
<?php
foreach ($LeadSocialUrl['0'] as $socialKey => $socialVal) {
if (!empty($socialVal)) {
?>
<a target="_blank" title="<?php echo $socialKey; ?>" href="<?php echo $socialVal; ?>" class="btn-floating btn-sm rgba-white-slight mx-1 waves-effect waves-light">
<img src="<?php echo $baseurl; ?>public/images/social/<?php echo $socialKey; ?>.png" alt="Youtube">
</a>
<?php
}
}
?>
</div>
<p>Copyright © <?php echo date("Y"); ?>, Powered by <a target="_blank" href="http://www.hellogtx.com">
<span style="color:#0b74c4;">hello</span>
<span style="color:#fb5a2d">GTX</span></a>.
All Rights Reserved.</p>
</div>
</div>
<div class="wowi-footer">
<ul>
<li>
<span><i class="fa fa-info-circle" aria-hidden="true"></i></span>
<strong><a href="#submitEnquiryForm">Enquiry Now</a></strong>
</li>
<li>
<span><i class="fa fa-phone" aria-hidden="true"></i></span>
<strong><a href="tel:<?php echo $CountryCode . $ContactNumber; ?>">Call Us</a></strong>
</li>
<li>
<span><i class="fa fa-whatsapp" aria-hidden="true"></i></span>
<strong>
<a class="whatsapp-btn" href="https://wa.me/<?php echo $CountryCode . $ContactNumber; ?>?text=Hi %0a%0a I visited aasaan at https://www.aasaanholidays.com/. I am interested in this offer. Do contact me to discuss it further.Thanks." target="_blank">
Chat
</a>
</strong>
</li>
</ul>
</div>
<script type="text/javascript" src="<?php echo $baseurl ?>public/assets/js/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo $baseurl ?>public/assets/js/owl.carousel.min.js"></script>
<script>
$('#rann-customers-slider').owlCarousel({
nav: false,
dots: true,
loop: false,
mouseDrag: true,
autoplay: true,
autoplayTimeout: 5000,
autoplayHoverPause: true,
responsiveClass: true,
margin: 25,
responsive: {
0: {
items: 1
},
576: {
items: 2
},
1200: {
items: 3
}
}
});
</script>
<script>
$(document).ready(function() {
setTimeout(function() {
runfromDestination();
}, 500);
var getbaseurl = '<?php echo $baseurl ?>';
$("#submitEnquiryForm").submit(function(event) {
$(".msg").text('');
var EmailReg = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
event.preventDefault();
if ($(".Name").val() === "") {
$(".msg").text("Please Enter Name").show().css({
'color': '#fff'
}).fadeOut(5000);
// $("#register").effect("shake");
$(".Name").focus();
return false;
}
// if ($(".LastName").val() === "") {
// $(".msg").text("Please Enter Last Name").show().css({'color': 'red'}).fadeOut(5000);
// $(".LastName").focus();
// return false;
// }
if ($(".EmailId").val() == "") {
$(".msg").text("Please Enter Email Id").show().css({
'color': '#fff'
}).fadeOut(5000);
$(".EmailId").focus();
return false;
}
if (!EmailReg.test($('.EmailId').val())) {
$(".msg").text("Please Enter Valid Email Id").show().css({
'color': '#fff'
}).fadeOut(5000);
$(".EmailId").focus();
return false;
}
if ($(".Mobile").val() === "") {
$(".msg").text("Please Enter Mobile Number").show().css({
'color': '#fff'
}).fadeOut(5000);
$(".Mobile").focus();
return false;
} else if (isNaN($(".Mobile").val())) {
$(".msg").text("Please Enter Valid Mobile Number").show().css({
'color': '#fff'
}).fadeOut(5000);
$(".Mobile").focus();
return false;
}
if ($("#packageSysId").val() === "" || $("#packageSysId").val() == 0) {
$(".msg").text("Please Select Package").show().css({
'color': '#fff'
}).fadeOut(5000);
$("#packageSysId").focus();
return false;
}
var leadsend = $('#leadsend').val();
var data = $(this).serialize();
$.ajax({
url: getbaseurl + 'index/sendquery-landingpage',
data: data,
dataType: 'json',
type: 'post',
beforeSend: function() {
$('.sendEnquiryBtn').html('<i class="ace-icon fa fa-spinner fa-spin bigger-125"></i> Please Wait..').attr('disabled', true);
},
success: function(response) {
var sendEnquiryBtnText = $('#sendEnquiryBtnText').val() != undefined ? $('#sendEnquiryBtnText').val() : 'Get Instant Quote';
if (response.queryType == 'lead') {
$('#leadsend').val(1);
$('#leadID').val(response.leadID);
$('#BookingType').val(response.BookingType);
$('#PkgType').val(response.PkgType);
$('#DestinationValue').val(response.DestinationValue);
$('#DestinationId').val(response.DestinationId);
$('#byopacktypeCat').val(response.byopacktypeCat);
if ($('#LeadPageType').val() != 6) {
$('.Noofdays').val(response.noofday);
}
$('.sendEnquiryBtn').html(sendEnquiryBtnText).attr('disabled', false);
$('.showQueryForm').show();
$('.showleadform').hide();
if ($('#LeadPageType').val() == 6 && leadsend == 0) {
$("#submitEnquiryForm").submit();
}
if (response.BookingType == 1) {
$('.totalTravellersDiv').hide();
$('.totalTravellersRoomwiseDiv').show();
} else {
$('.totalTravellersDiv').show();
$('.totalTravellersRoomwiseDiv').hide();
}
if ($('#AgencySysId').val() == '48') {
gtag('event', 'conversion', {
'send_to': 'AW-954359114/LvTyCPGLiMQBEMq6iccD',
});
}
if ($('#AgencySysId').val() == '4650') {
gtag('event', 'conversion', {
'send_to': 'AW-983990709/qjvwCIyI8pUBELWDmtUD'
});
}
} else {
$('.sendEnquiryBtn').html(sendEnquiryBtnText).attr('disabled', false);
if (response.status == true) {
if (response.data.IsBooking == true) {
if ($('#AgencySysId').val() == '4995') {
$('.msg').html('Thank you for registering for our Trip.').show().css({
'color': '#fff'
});
} else {
$('.msg').html('Thank you for your query. we will get back to you soon.').show().css({
'color': '#fff'
});
window.location.href = SITEURL + 'thankyou';
}
$('.sendEnquiryBtn').hide();
$('.sendEnquiryBookNowBtn').show().attr('href', response.data.url);
window.location.href = response.data.url;
} else {
if ($('#AgencySysId').val() == '4995') {
$('.msg').html('Thank you for registering for our Trip.').show().css({
'color': '#fff'
});
} else {
$('.msg').html('Thank you for your query. we will get back to you soon.').show().css({
'color': '#fff'
});
window.location.href = SITEURL + 'thankyou';
}
}
} else {
if ($('#AgencySysId').val() == '4995') {
$('.msg').html('Thank you for registering for our Trip.').show().css({
'color': '#fff'
});
} else {
$('.msg').html('Thank you for your query. we will get back to you soon.').show().css({
'color': '#fff'
});
window.location.href = SITEURL + 'thankyou';
}
}
}
},
});
});
});
$(".PKGCheckInDate").datepicker({
minDate: 0,
dateFormat: 'dd/mm/yy'
});
function putPackageSysIdEnquiryForm(packageId, packageName, IsFixedDeparturePackage) {
$('.Name').focus();
if (packageId != '') {
$('#packageSysId').val(packageId);
getFixedDepartureDates(1);
} else {
$('#packageSysId').val(0);
$('#IsFixedDeparturePackage').val(0);
$('#PKGCheckInDateDiv').html('<label class="sr-only" for="c-form-1-subject">Travel Date</label> <input type="text" name="PKGCheckInDate" placeholder="Travel Date" class="c-form-1-subject form-control whbg PKGCheckInDateNew" id="PKGCheckInDate" autocomplete="off">');
$(".PKGCheckInDateNew").datepicker({
minDate: 0,
dateFormat: 'dd/mm/yy'
});
}
$('#packageNameHtml').html('<b>Send Enquiry For ' + packageName + '</b>');
$('.Name').focus();
}
$(document).ready(function() {
getFixedDepartureDates(1);
})
function getFixedDepartureDates(that) {
var packageId = $('#packageSysId').val();
var IsFixedDeparturePackage = $('#IsFixedDeparturePackage' + parseInt(packageId)).val();
var PlanType = $('#PlanType').val();
var placeholder = 'From Destination';
if (PlanType == 6) {
placeholder = 'Nationality';
}
if (IsFixedDeparturePackage == 1) {
$('#IsFixedDeparturePackage').val(1);
var FixedDeparturePackageDateDiv = $('#FixedDeparturePackageDateDiv' + parseInt(packageId)).html();
var FixedDeparturePackageDestinationDiv = $('#FixedDeparturePackageDestinationDiv' + parseInt(packageId)).html();
if (FixedDeparturePackageDateDiv.trim() != '') {
$('#PKGCheckInDateDiv').html(FixedDeparturePackageDateDiv);
} else {
$('#PKGCheckInDateDiv').html('<label class="sr-only" for="c-form-1-subject">Travel Date</label> <input type="text" name="PKGCheckInDate" placeholder="Travel Date" class="c-form-1-subject form-control whbg form-control PKGCheckInDateNew" id="PKGCheckInDate" autocomplete="off">');
$(".PKGCheckInDateNew").datepicker({
minDate: 0,
dateFormat: 'dd/mm/yy'
});
}
if (FixedDeparturePackageDestinationDiv.trim() != '') {
$('#DestinationDiv').html(FixedDeparturePackageDestinationDiv);
} else {
$('#DestinationDiv').html('<label class="sr-only" for="c-form-1-subject">Destination</label> <input type="text" id="FromDestination" name="Destination" value="" class="form-control destinations1 fromDestination" placeholder="' + placeholder + '"><input type="hidden" name="FromDestinationId" id="FromDestinationId" value="">');
runfromDestination();
}
} else {
$('#IsFixedDeparturePackage').val(0);
$('#PKGCheckInDateDiv').html('<label class="sr-only" for="c-form-1-subject">Travel Date</label> <input type="text" name="PKGCheckInDate" placeholder="Travel Date" class="c-form-1-subject form-control whbg form-control PKGCheckInDateNew" id="PKGCheckInDate" autocomplete="off">');
$('#DestinationDiv').html('<label class="sr-only" for="c-form-1-subject">Destination</label> <input type="text" id="FromDestination" name="Destination" value="" class="form-control destinations1 fromDestination" placeholder="' + placeholder + '"><input type="hidden" name="FromDestinationId" id="FromDestinationId" value="">');
$(".PKGCheckInDateNew").datepicker({
minDate: 0,
dateFormat: 'dd/mm/yy'
});
runfromDestination();
}
}
function runfromDestination() {
var getbaseurl = '<?php echo $baseurl ?>';
var PlanType = $('#PlanType').val();
var baseUrlUrl = getbaseurl + 'index/master-data-destination';
if (PlanType == 6) {
baseUrlUrl = '';
}
$.getJSON(baseUrlUrl, function(destinations) {
$(".fromDestination").autocomplete({
source: destinations,
minLength: 3,
autoFocus: true,
focus: function(event, ui) {
event.preventDefault();
},
select: function(event, ui) {
var value = ui.item.label.replace('"', '');
this.value = value.replace('"', '');
var v = ui.item.value;
$('#FromDestinationId').val(v);
return false;
}
});
$(".ToDestination").autocomplete({
source: destinations,
minLength: 3,
autoFocus: true,
focus: function(event, ui) {
event.preventDefault();
},
select: function(event, ui) {
var value = ui.item.label.replace('"', '');
this.value = value.replace('"', '');
var v = ui.item.value;
$('#ToDestinationId').val(v);
return false;
}
});
});
}
$(".backform").on("click", function(e) {
$(".showQueryForm").css({
display: "none"
}),
$(".showleadform").css({
display: "block"
}),
//$("#leadsend").val(0),
$("#BookingType").val(0),
$("#PkgType").val(0)
});
function addroom() {
var e = $("#roomlp").val(),
t = parseInt(e) + 1;
if (11 === t)
return alert("Only 10 rooms are allowed."), !1;
$("#roomlp").val(t), $("#rmres_" + t).show(), $(".disproom").hide(), $(".disproom_" + t).show(), $("#adult_" + parseInt(t)).focus()
}
function delroom(e) {
var t = parseInt(e) - 1;
$("#roomlp").val(t), $("#rmres_" + e).hide(), $(".disproom").hide(), $(".disproom_" + t).show()
}
function showextrabedbox(e) {
$("#adult_" + e).val(), tottravelerInRoom(e)
}
function showextrabedchildagebox(e) {
var t, o = $("#child_" + e).val(),
a = $("#adult_" + e).val(),
l = $("#child_" + e).val(),
r = $("#infant_" + e).val();
if (5 <= parseInt(a) + parseInt(l) + parseInt(r))
return $("#child_" + e).val(0), $(".childage_" + e).hide(), alert("Only 4 pax are allowed in each room. Please modify travelers in Room no. " + e), !1;
for ($(".childage_" + e).hide(), t = 1; t <= o; t++)
$("#childcl_" + e + "_" + t).show(), $("#childcl_" + e + "_" + t + " select").val("extrabed")
}
function tottravelerInRoom(e) {
var t = $("#adult_" + e).val(),
o = $("#child_" + e).val(),
a = $("#infant_" + e).val();
if (5 <= parseInt(t) + parseInt(o) + parseInt(a))
return $("#adult_" + e).val(2), alert("Only 4 pax are allowed in each room. Please modify travelers in Room no. " + e), !1
}
function tottraveller() {
var e = 0,
t = 0,
o = 0,
a = $("#roomlp").val();
for (j = 1; j <= a; j++)
e = parseInt(e) + parseInt($("#adult_" + j).val()), t = parseInt(t) + parseInt($("#child_" + j).val()), o = parseInt(o) + parseInt($("#infant_" + j).val());
var l = parseInt(e) + parseInt(t) + parseInt(o);
if (4 * parseInt(a) < l)
return alert("Only 4 pax are allowed in each room. Please modify travelers"), !1;
$("#totadlt").val(e), $("#totchld").val(t), $("#totinfnt").val(t), $("#travelers").html(l), $("#totaltravelersHtml").html('<span class="qtyTotal">' + parseInt(l) + "</span>");
var r = '[{"totalRoom" : ' + a + '},{"totalTraveler" : ' + l + '},{"totaladult" : ' + e + '},{"totalchild" : ' + t + '},{"totalinfant" : ' + o + "}]";
$("#roominfojson").val(r), $("#tarvller_show").hide(), $("#Noofdays").focus()
}
function showDiv() {
document.getElementById("tarvller_show").style.display = "block", $("i", ".tarveller_rotate").toggleClass("fa-angle-down fa-angle-up")
}
</script>
<?php echo $footerScript; ?>
</body>
</html>