| 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/b2b.hellogtx.com/application/layouts/scripts/ |
Upload File : |
<?php
$object = Zend_Controller_Front::getInstance();
$options = Zend_Controller_Front::getInstance()->getParam('bootstrap')->getOption('bootstrap');
$baseUrl = $options['siteUrl'];
$siteName = $options['siteName'];
$callusnumber = $options['callusnumber'];
$tollfreenumber = $options['tollfreenumber'];
$IsPoweredGTX = $options['IsPoweredGTX'];
$modulename = $object->getRequest()->getModuleName();
$controller = $object->getRequest()->getControllerName();
$action = $object->getRequest()->getActionName();
$socialLinksForFooterLink = Zend_Controller_Action_HelperBroker::getStaticHelper('Custom')->selectSocialLinksForFooterLink();
$POPUPSESS = $this->POPUPSESS;
$fullName = $emailId = $phoneNumber= '';
if(isset($_SESSION['User']['data'])){
$fullName = trim($_SESSION['User']['data']['FirstName']).' '.trim($_SESSION['User']['data']['LastName']);
$emailId = trim($_SESSION['User']['data']['EmailId']);
$phoneNumber = trim($_SESSION['User']['data']['ContactNo1']);
}
?>
<footer id="fh5co-footer" role="contentinfo" class="fh5co-section ftco-section" ng-controller="FooterController">
<!-- <div class="row">
<div class="container">
<div class="col-md-12 text-center"><a href="<?php echo $baseUrl?>"><img src="<?php echo $baseUrl;?>public/images/Logo.png" border="0" alt="" title="" /></a></div>
</div>
</div>-->
<div class="col-md-12" id="contact">
<div class="clearfix"></div>
<!-- <div class="col-md-4 mobile-padd-tab fh5co-widget">
<h4>Tours by Category</h4>
<ul class="fh5co-footer-links">
<li class="col-md-6" ng-repeat="cat in resultsetFooterCategory" ng-cloak><a href="<?php echo $baseUrl?>tours/package?cat={{cat.Title}}">{{cat.Title}}</a></li>
</ul>
</div>
<div class="col-md-4 mobile-padd-tab fh5co-widget">
<h4>Popular Destinations</h4>
<ul class="fh5co-footer-links">
<li class="col-md-6" ng-repeat="ds in resultsetDestination" ng-cloak><a href="<?php echo $baseUrl?>tours/package?des={{lowercase(ds.Title)}}">{{ds.Title}}</a></li>
</ul>
</div>
<div class="col-md-4 mobile-padd-tab fh5co-widget">
<div class="cl"></div>
<h4 class="pull-left">Important Links</h4>
<div class="cl"></div>
<ul class="fh5co-footer-links">
<?php
$staticPage_ = Zend_Controller_Action_HelperBroker::getStaticHelper('Custom')->getStatiPages();
// echo "<pre>";print_r($staticPage_);die;
foreach($staticPage_ as $key=>$value) {
?>
<li><a href="<?php echo $baseUrl; ?>cms/p/<?php echo $value['identifier']; ?>.html"><?php echo ucwords(strtolower($value['page_title']));?></a></li>
<?php } ?>
</ul>
</div>-->
<div class="col-md-6 mobile-padd-tab fh5co-widget">
<?php
$contactQuery_ = Zend_Controller_Action_HelperBroker::getStaticHelper('Custom')->getcontactQuery();
?>
<h4>Contact Us</h4>
<ul class="fh5co-footer-links">
<li><?php echo @$contactQuery_['contact_name'];?></li>
<li><?php echo @$contactQuery_['location'];?>, <?php echo @$contactQuery_['pin_code'];?></li>
<li><?php echo @$contactQuery_['otherLocation'];?></li>
<li><?php echo @$contactQuery_['phone'];?> </li>
<li><?php echo @$contactQuery_['email'];?> , <?php echo @$contactQuery_['alter_email'];?></li>
</ul>
</div>
<div class="col-md-6 mobile-padd-tab fh5co-widget">
<h4>Subscribe Newsletter</h4>
<h6 style="color:#FFF;" >Sign up for our mailing list to get latest updates and offers.</h6>
<form id="subscribe-form" class="inline-form" onsubmit="return addDetail();" method="post" autocomplete="off">
<div class="col-md-10">
<div class="row form-group">
<input id="send_email" type="text" autocomplete="off" name="email" maxlength="25" class="form-control" onfocus="x(this)" placeholder="Enter Email" />
<input id="send_url" type="hidden" class="form-control" value="<?php echo $baseUrl;?>"/>
<span id="eml"></span>
</div>
</div>
<div class="col-md-2">
<div class="row form-group">
<input type="submit" class="btn btn-primary search-btn" value="Go" />
</div>
</div>
</form>
</div>
<div class="clearfix"></div>
<div class="row copyright" style="background:#121212; padding:10px 0;">
<div class="col-md-12">
<div class="col-md-4 mobile-padd-tab text-left">
<small class="block">© <?php echo date('Y')?> <strong><?php echo $siteName?></strong>. All Rights Reserved.</small>
</div>
<div class="col-md-4 mobile-padd-tab text-left">
<ul class="fh5co-social-icons">
<?php foreach($socialLinksForFooterLink as $key=>$value) {?>
<li><a target="_blank" title="<?php echo $value['name']; ?>" href="<?php echo $value['link']; ?>"><i class="fa fa-<?php echo strtolower(str_replace(" ","-",$value['name'])); ?>"></i></a></li>
<?php } ?>
<!--<li ng-repeat="scl in resultsetSocialLinks"><a href="{{scl.link}}" target="_blank"><i class="icon-{{lowercase(scl.name)}}2"></i></a></li>-->
</ul>
</div>
<?php if($IsPoweredGTX == 1){ ?>
<div class="col-md-4 mobile-padd-tab text-right">
<small class="block">Powered by : <a href="http://hellogtx.com/" alt="helloGTX" target="_blank"><img src="<?php echo $baseUrl;?>public/images/hellogtx.png" border="0" alt="helloGTX.com" title="helloGTX"></a> </small>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
<div class="clearfix"></div>
</footer>
<script type = "text/javascript" language = "javascript" >
function addDetail() {
var email=document.getElementById("send_email").value;
if(email.length==0)
{
var d=document.getElementById("eml");
d.style.color="red";
d.style.fontWeight="bold";
d.innerHTML="E-Mail Can't be Empty";
count++;
}
else{
var at=email.indexOf("@");
var dot=email.lastIndexOf(".");
if(at<3 || dot-at<3 || email.length-(dot)<3)
{
var d=document.getElementById("eml");
d.style.color="red";
d.style.fontWeight="bold";
d.innerHTML="Enter valid email address";
count++;
}
}
var url = $("#send_url").val();
requestData = $('#subscribe-form').serialize();
$.ajax({
url: url + "index/save-letter/",
type: "POST",
data: requestData,
dataType: "json",
//OnComplete = "ClearInputField"
success: function (response) {
if(response.success === false){
alert(response.msg);
}
if(response.success === true){
alert(response.msg);
}
$("#send_email").val("");
},
error: function () {
}
});
return false;
}
function x(a1)
{
var a1=document.getElementById("eml");
a1.innerHTML="";
}
</script>
<!--<form id="auth_login_submit" method="POST" action="<?php echo $baseUrl;?>index/customerlogin">
<div class="auth_login_submit">
<input type="hidden" name="EmailId" id="EmailId">
<input type="hidden" name="CustomerSysId" id="CustomerSysId">
<input type="hidden" name="AgencySysId" id="AgencySysId_">
<input type="hidden" name="FirstName" id="FirstName">
<input type="hidden" name="LastName" id="LastName">
<input type="hidden" name="Password_cu" id="Password_cu">
</div>
</form> -->
<div class="modal fade" id="myModa1Enquiry" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<form method="post" action="" class="talktous" name="talktous_footer" autocomplete="off">
<div class="modal-dialog modal-lx" >
<div class="modal-content">
<div class="modal-header label-primary white">
<h4 class="modal-title" style="color:#FFF;" >Request a Callback</h4>
<button type="button" class="close pull-right close-pop-timeout" data-dismiss="modal" aria-hidden="true" style="margin-top:0px;">×</button>
</div>
<div class="modal-body no-padding">
<div class="panel-body" >
<div class="package_det_d_left_form no-padding" id="successmsg">
<h4 class="alert alert-success no-margin" style="padding-top:1rem; padding-bottom:1rem;"><a href="tel:<?php echo $callusnumber?>"> <strong><i class="fa fa-phone-square"></i>
Call us at :</strong> <strong><?php echo $tollfreenumber?></strong> <span style="font-size:12px;">(24X7 Toll free)</span></a></h4>
<p align="center" class="no-margin">OR</p>
<h6>Give us your requirement for Customizable holiday </h6>
<div class="colspan-enquiry">
<div class="inputBox ">
<div class="inputBoxIn name">
<input type="text" name="name" class="txtField" placeholder="Full Name" aria-label="Name" maxlength="50" value="<?php echo $fullName;?>" />
</div>
</div>
</div>
<div class="colspan-enquiry">
<div class="inputBox">
<div class="inputBoxIn mail">
<input type="text" name="email" class="txtField" placeholder="Email" aria-label="Email" maxlength="50" value="<?php echo $emailId;?>" />
</div>
</div>
</div>
<div class="colspan-enquiry">
<div class="inputBox">
<div class="inputBoxIn mobile">
<input type="text" name="mobile" class="txtField" placeholder="Mobile Number" aria-label="Mobile Number" maxlength="10" value="<?php echo $phoneNumber;?>" />
</div>
</div>
</div>
<div class="colspan-enquiry">
<div class="inputBox">
<div class="inputBoxIn ">
<textarea name="message" cols="" rows="" class="txtField" placeholder="Message/Query" aria-label="Message/Query" maxlength="255"></textarea>
</div>
</div>
</div>
<label class="checkbox inlinebl" style="margin-left: 20px;">
<input type="checkbox" name="authoriseme" id="authoriseme" value="1" class="icheck-green-" checked>
<span style="font-size:12px;">I request and authorize <?php echo $options['siteName'];?> to contact me. </span>
</label>
</div>
<div> </div>
</div>
<div class="clear"></div>
</div>
<div class="modal-footer alert-dismissible hidebtn">
<p class="errormsg no-margin" style="color:#ff0000;" ></p>
<button type="submit" class="btn btn-primary btn-primary btn sendingq">Request a Callback</button>
</div>
</div>
</div>
</form>
</div>
<?php if($modulename == 'default' && $controller == 'index' && $action == 'index'){?>
<?php } else{?>
<div class="rightFloat">
<div class="rightFloatIn"><a href="javascript:void(0);"><div class="rightFloatLeft"><i class="fa fa-phone"></i></div><div class="rightFloatRight"> <p><?php echo $callusnumber?></p></div></a><div class="cl"></div></div>
<div class="rightFloatIn">
<a href="javascript:void(0);" data-target="#myModa1Enquiry" data-toggle="modal">
<div class="rightFloatLeft"><i class="fa fa-edit"></i></div><div class="rightFloatRight"><p>Request A Call Back</p></div>
</a>
<div class="cl"></div>
</div>
</div>
<?php } ?>