| 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/template8/models/ |
Upload File : |
<?php
$siteName = $this->siteName;
$baseUrl = $options['siteUrl'];
$currUrl = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
$options = Zend_Controller_Front::getInstance()->getParam('bootstrap')->getOption('bootstrap');
$contactDetail = Zend_Controller_Action_HelperBroker::getStaticHelper('Custom')->getContactDetailForFooter();
$whatsappnumber = ($contactDetail['whatsapp_no']) ? $contactDetail['whatsapp_no'] : $whatsappnumber;
$POPUPCOOKIESENQUIRY = $this->POPUPCOOKIESENQUIRY;
if (isset($_SESSION['User']['session']) && !empty($_SESSION['User']['session'])) {
$salutation = isset($_SESSION['User']['session']['Salutation']) ? trim($_SESSION['User']['session']['Salutation']) : '';
$fname = isset($_SESSION['User']['session']['FirstName']) ? trim($_SESSION['User']['session']['FirstName']) : '';
$lname = isset($_SESSION['User']['session']['LastName']) ? trim($_SESSION['User']['session']['LastName']) : '';
$phoneNumber = isset($_SESSION['User']['session']['ContactNo1']) ? trim($_SESSION['User']['session']['ContactNo1']) : '';
$EmailId = isset($_SESSION['User']['session']['EmailId']) ? trim($_SESSION['User']['session']['EmailId']) : '';
} else if (isset($_SESSION['TravelAgent']['session']) && !empty($_SESSION['TravelAgent']['session'])) {
$salutation = isset($_SESSION['TravelAgent']['session']['Salutation']) ? trim($_SESSION['TravelAgent']['session']['Salutation']) : '';
$fname = isset($_SESSION['TravelAgent']['session']['FirstName']) ? trim($_SESSION['TravelAgent']['session']['FirstName']) : '';
$lname = isset($_SESSION['TravelAgent']['session']['LastName']) ? trim($_SESSION['TravelAgent']['session']['LastName']) : '';
$phoneNumber = isset($_SESSION['TravelAgent']['session']['ContactNo1']) ? trim($_SESSION['TravelAgent']['session']['ContactNo1']) : '';
$EmailId = isset($_SESSION['User']['session']['EmailId']) ? trim($_SESSION['User']['session']['EmailId']) : '';
} else {
$salutation = isset($POPUPCOOKIESENQUIRY['salutation']) ? trim($POPUPCOOKIESENQUIRY['salutation']) : '';
$fname = isset($POPUPCOOKIESENQUIRY['fname']) ? trim($POPUPCOOKIESENQUIRY['fname']) : '';
$lname = isset($POPUPCOOKIESENQUIRY['lname']) ? trim($POPUPCOOKIESENQUIRY['lname']) : '';
$countrycode = isset($POPUPCOOKIESENQUIRY['countrycode']) ? trim($POPUPCOOKIESENQUIRY['countrycode']) : '+91';
$phoneNumber = isset($POPUPCOOKIESENQUIRY['mobile']) ? trim($POPUPCOOKIESENQUIRY['mobile']) : '';
$EmailId = isset($POPUPCOOKIESENQUIRY['email']) ? trim($POPUPCOOKIESENQUIRY['email']) : '';
}
//die($salutation);
?>
<style>
.colspan-enquiry {
display: inline-table;
width: 100%;
margin-bottom: 0px;
padding: 0px 15px 0;
}
.sendEnquiry-row {
margin-right: 0 !important;
margin-left: 0 !important;
}
.modal-header.label-primary.white {
margin-left: 10px;
}
.enquiryclose {
font-size: 32px!important;
line-height: 24px!important;
color:#000
}
.login-box-modal .modal-header .enquiryclose {
color: #323232;
}
.giveus {
padding-left: 15px;
font-size: 15px;
}
.sendEnquiry .custom-success {
padding: 4px;
margin: 0;
position: relative;
left: 10px;
}
.date-parent input {
background-repeat: no-repeat;
position: relative;
width: 100%;
box-sizing: border-box;
border-radius: 4px;
cursor: pointer;
margin-right: 3px;
background-color: #fff;
background-position: center right 10px;
border: 1px solid #ccc;
padding: 8px 15px;
}
div#inquiryfromdate {
margin-bottom: 0;
}
label.checkbox.inlinebl {
position: relative;
left: 15px;
}
.giveus{
padding-left:15px;
}
@media (min-width: 320px) and (max-width: 480px){
.date-parent input {
background-repeat: no-repeat;
position: relative;
width: 100%;
font-size: 12px;
box-sizing: border-box;
border-radius: 4px;
cursor: pointer;
margin-right: 3px;
background-color: #fff;
background-position: center right 10px;
border: 1px solid #ccc;
padding: 8px 5px;
}
.colspan-enquiry .inputBox .inputBoxIn .txtField {
margin: 0;
width: 100%;
border: 0;
color: #444;
background: 0 0;
outline: 0;
padding-left: 0px;
height: auto;
line-height: 30px;
}
textarea {
display: block;
width: 100%;
padding: 0.375rem 0.15rem;
font-size: 13px;
}
#lname {
margin-top: 0;
}
.form-group.m0 {
margin-bottom: 10px;
}
.modal-header.label-primary.white {
margin-left: 30px;
padding: 20px 35px 20px 0px;
}
.sendEnquiry .custom-success {
padding: 4px;
margin: 0;
position: relative;
left: 10px;
width: 90%;
}
strong.wts {
display: block;
}
.textfieldMain_mobile {
margin-bottom: 10px;}
}
</style>
<div class="modal fade" id="myModa1Enquiry" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="login-box login-box-modal">
<div class="row">
<div class="offset-md-5 col-lg-7 col-md-7 col-sm-12 col-12">
<div class="modal-header label-primary white">
<div class="modal-title text-white">
Send Enquiry </div>
<button type="button" title="close" class="close pull-right close-pop-timeout button-close close enquiryclose"
data-dismiss="modal" aria-hidden="true" onclick="SetCookieTimeout()">×</button>
</div>
<form id="sendEnquiry" class="sendEnquiry" method="post" autocomplete="off">
<div class="modal-body">
<div class="panel-body pop-up-view no-padding" >
<div class="package_det_d_left_form no-padding">
<h5 class="alert custom-success "> <a href="tel:<?php echo $this->tollfreenumber; ?>"><strong ><i class="fa fa-phone-square"></i> Call us at : </strong> <span class="tollfreenumbersize"><?php echo $this->tollfreenumber; ?></span> <span></span></a><strong class="wts"><i class="fa fa-whatsapp" aria-hidden="true"></i> <span class="whatsappsize">
<a id="" href="https://wa.me/<?php echo str_replace(' ','',$whatsappnumber) ;?>?text=Hi %0a%0a I visited <?php echo $siteName ?> at <?php echo $currUrl; ?>. I am interested in this offer. Do contact me to discuss it further.Thanks." target="_blank"><?php echo $whatsappnumber;?> </a></span></strong></h5>
<p align="center" class="or-txt">OR</p>
<h6 class="giveus">Give us your requirement for Customizable holiday </h6>
<input type="hidden" name="planType" value="5">
<input type="hidden" name="cityid" class="cityid" value="<?php echo isset($POPUPCOOKIESENQUIRY['cityid']) && !empty($POPUPCOOKIESENQUIRY['cityid']) ? $POPUPCOOKIESENQUIRY['cityid'] : ''; ?>">
<!-- <div class="colspan-enquiry">
<div class="inputBox ">
<div class="inputBoxIn destination">
<input autocomplete="off" type="text" name="Destination" id="Destination" class="txtField destinationBox" placeholder="Destination" aria-label="Name" value="<?php //echo isset($POPUPCOOKIESENQUIRY['Destination']) && !empty($POPUPCOOKIESENQUIRY['Destination']) ? $POPUPCOOKIESENQUIRY['Destination'] : '' ; ?>">
</div>
</div>
</div>-->
<div class="colspan-enquiry">
<div class="row sendEnquiry-row">
<div class="col-sm-4 col-md-3 col-4 no-padding">
<div class="form-group m0">
<select class="form-control" name="salutation">
<option value="1" <?php echo (isset($salutation) && $salutation == '1') ? 'selected' : ''; ?>>Mr.</option>
<option value="2" <?php echo (isset($salutation) && $salutation == '2') ? 'selected' : ''; ?>>Mrs</option>
<option value="3" <?php echo (isset($salutation) && $salutation == '3') ? 'selected' : ''; ?>>Miss</option>
</select>
</div>
</div>
<div class="col-sm-12 col-md-5 col-8 no-padding_right">
<div class="form-group m0">
<!--<input class="form-control" type="text" name="dates" placeholder="When..">-->
<input autocomplete="off" type="text" name="fname" id="mname" class="en_customername2 form-control name_ladkh firstname_border" placeholder="First Name *" aria-label="name" maxlength="50" value="<?php echo $fname; ?>" />
</div>
</div>
<div class="col-sm-12 col-md-4 col-12 no-padding">
<div class="form-group m0">
<!--<input class="form-control" type="text" name="dates" placeholder="When..">-->
<input autocomplete="off" type="text" name="lname" id="lname" class="en_customername form-control" placeholder="Last Name *" aria-label="name" maxlength="50" value="<?php echo $lname; ?>" />
</div>
</div>
</div>
<!--<div class="inputBox">
<div class="inputBoxIn name">
<input autocomplete="off" type="text" name="fname" id="fname" class="txtField" placeholder="Full Name" aria-label="Full Name" value="<?php /* echo isset($FirstName) ? $FirstName : ''; */ ?>">
</div>
</div>-->
</div>
<!--<div class="colspan-enquiry">
<div class="inputBox">
<div class="inputBoxIn mobile">
<input autocomplete="off" type="text" name="mobile" id="inputPhone" class="txtField" maxlength="10" placeholder="Phone Number" aria-label="Phone Number" value="<?php /* echo isset($ContactNo1) ? $ContactNo1 : ''; */ ?>">
</div>
</div>
</div>-->
<div class="row ">
<div class="col-lg-12 col-md-12 col-sm-12 col-12">
<div class="form-group m0" style="padding: 0 15px;">
<div class="txtfieldMain textfieldMain_mobile" style="border-radius: 4px !important; position: relative;">
<div class="country_details">
<div id="iti-flag3" class="iti-flag in"></div>
<div class="iti-arrow"></div>
</div>
<div class="country_dropdown">
<div class="search_country">
<input type="text" name="" class="txtfield form-control countries_list" placeholder=" Search countries *" id="countries_list" readonly="">
<div class="search_icon"></div>
</div>
<ul class="allcountries"></ul>
</div>
<input style="display: inline-table !important;width: 13% !important; border:0px solid #ccc !important; box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.075) !important;" class="form-control mr-sm-2 sign-in-form-input-width country_code" maxlength="5" id="mobile_code" name="countrycode" value="<?php echo ($countrycode) ? $countrycode : '+91' ?>" type="tel" >
<input style="display: inline-table !important;width: 66% !important; border:0px solid #ccc !important;" class="form-control numericonly mr-sm-2 sign-in-form-input-width1 en_customermobile" autocomplete="off" name="mobile" maxlength="10" placeholder="Mobile *" type="tel" value="<?php echo $phoneNumber; ?>">
</div>
</div>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-12">
<div class="form-group m0">
<div class="colspan-enquiry">
<div class="">
<div class="">
<input autocomplete="off" type="text" name="email" id="inputEmail" class="txtField form-control" placeholder="Email Address *" aria-label="Email Address" value="<?php echo isset($EmailId) ? $EmailId : ''; ?>">
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-12">
<div class="form-group m0 bottom0" >
<div class="colspan-enquiry">
<div>
<div class="form-group form-group1 date-parent" ><input type="text" name="traveldate" placeholder="Travel Date " id="datepicker" aria-label="Travel Date" maxlength="10" value="" autocomplete="off"></div>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-12">
<div class="form-group m0">
<input type="text" class="form-control" id="usr" placeholder="Destination" name="Destination" autocomplete="off">
</div>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-12">
<div class="form-group m0">
<input type="text" class="form-control" id="usr" placeholder="No. of Pax" name="NoofTraveler">
</div>
</div>
</div>
<div class="row ">
<div class="col-lg-12 col-md-12 col-sm-12 col-12">
<div class="form-group m0" style="padding: 0 15px;">
<textarea id="remarkforquery" placeholder=" Remarks.... *" class="remarkforquery" name="remark" rows="3" cols="50"></textarea>
</div>
</div>
</div>
<div class="row ">
<div class="col-lg-6 col-md-6 col-sm-6 col-6">
<div class="form-group m0" style="padding: 0 15px;">
<input type="text" name="captcha" id="captcha" class="form-control" value="" placeholder = "Capcha code*">
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-6">
<div class="form-group m0" style="padding: 0 15px;">
<span align="center" class="border-right" bgcolor="#ececec"><img src="<?php echo $baseUrl; ?>public/captcha/captcha.php" alt="CAPTCHA code" id="captcha_one" height="35" ></span>
<span> <a href="javascript:void(0);" onclick="
document.getElementById('captcha_one').src='<?php echo $baseUrl; ?>public/captcha/captcha.php?'+Math.random();
document.getElementById('captcha').focus();"
id="change-image" class="change-image"> <img src="<?php echo $baseUrl; ?>public/images/refresh.png" alt="Refresh image" border="0" width="16" title="Refresh" >
</a>
</span>
</div>
</div>
</div>
<label class="checkbox inlinebl">
<!-- -->
<input type="checkbox" name="optionscheckbox" id="optionscheckbox1" value="option1" class="icheck-green optionscheckbox1" checked>
<span style="font-size: 13px; cursor: pointer;font-weight: 600;color: var(--black-bg-color);">
I request and authorize <?php echo $siteName; ?> to contact me. </span>
</label>
</div>
<div class="clear"></div>
</div>
<div class="modal-footer alert-dismissible hidebtn">
<p id="enqmsg" class="enqmsg">
<span class="btn-primary btn-danger btn sendEnquirySubmit" style="background:#64b161 !important;color:#fff;">
<a style="color:#fff !important;text-decoration: none;" id="" href="https://wa.me/<?php echo str_replace(' ','',$whatsappnumber) ;?>?text=Hi %0a%0a I visited <?php echo $siteName ?> at <?php echo $currUrl; ?>. I am interested in this offer. Do contact me to discuss it further.Thanks." target="_blank">
<i class="fa fa-whatsapp"></i><span> Whatsapp </span>
</a>
</span>
</p>
<p><input type="submit" class="btn-primary btn-danger btn sendEnquirySubmit" value="Send Enquiry"></p>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>