| 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/views/scripts/customer/ |
Upload File : |
<?php
$options = Zend_Controller_Front::getInstance()->getParam('bootstrap')->getOption('bootstrap');
$baseUrl = $this->baseUrl;
//print_r($this->profile);die;
//echo $this->action;die;
?>
<style>
input:focus,
input:active {
border: 1px solid red;
}
</style>
<div class="container-fluid top_package_detail_about no-padding" style="background:url(<?php echo $options['siteUrl']; ?>public/images/package-slider.jpg) no-repeat center;">
<div class="row ">
<div class="top_package_detail_cover">
<div class="top_package_detail_bredcrum">
<div class="container marketing" style="margin:0; width:100%;">
<!-- Three columns of text below the carousel -->
<div class="row ">
<div class="col-lg-12 ">
<ul>
<li style="border:none; padding-left:0;">Home</li>
<li><a href="#">Customer </a></li>
<li>Customer Details</li>
</ul>
</div>
</div>
<!-- /.row -->
</div>
</div>
<div class="top_package_detail_about_cover"></div>
<div class="top_package_detail_heding1">
<div class="container marketing" style="margin:0; width:100%;">
<!-- Three columns of text below the carousel -->
<div class="col-lg-12 ">
<div class="top_package_detail_heding_top"></div>
<div class=" top_package_detail_heding1">My Profile</span> </div>
</div>
<!-- /.row -->
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid padd_box ">
<div class="container marketing" style="margin:0; width:100%;"> </div>
<div class="row ">
<div class="container middle_container padd_box" style="margin:0; width:100%;">
<!-- Three columns of text below the carousel -->
<div class="row">
<div class="col-lg-12">
<div class="mt-3"></div>
<div class="package_det_d ">
<div class="row" style="margin-left:0; margin-right:0;">
<div class="col-lg-12 middle_container_about profile_Count">
<div class="mt-3-1"></div>
<ul class="demo at-tabs-when-possible bbq clearfix at-accordion-or-tabs at-tabs" style="padding-top:0;" data-tabset-id="tabset_0">
<li><a href="!#tabset_0=0" class="active"><span class="at-tab-one-pixel-fix-left"></span><span class="at-tab-one-pixel-fix-right"></span> My Profile</a>
<section style="padding: 0px; display: block;" aria-live="assertive" class="is-open"><h1 class="aria-only"> My Profile</h1>
<div class="row" style="margin:0;">
<div class="col-md-12 col-sm-12 alert alert-gray-light profile_Count">
<div class="mt-3"></div>
<h1 class="no-margin mt-headimg">My Profile</h1>
<div class="mt-3"></div>
<div class="content">
<form id="update_profile" method="POST" action="updateprofile">
<div class="row">
<div class="col-md-3">
<div class="form-group">
<label>Title</label>
<select name="title" class="form-control border-input" >
<?php if($this->salutation){foreach($this->salutation as $key=>$title){ ?>
<option value="<?php echo $key; ?>" <?php echo (!empty($this->profile['salutation']) && $key == $this->profile['salutation'])?'selected="selected"':'NA' ?>><?php echo $title; ?></option>
<?php } } ?>
</select>
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<label>First name</label>
<input class="form-control border-input" name="FirstName" value="<?php echo trim($this->profile['FirstName']); ?>" type="text">
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<label for="LastName">Last name</label>
<input class="form-control border-input" name="LastName" value="<?php echo trim($this->profile['LastName']); ?>" type="text">
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<label for="Contacts">Mobile</label>
<input class="form-control border-input" name="contacts" value="<?php echo trim($this->profile['Contacts']); ?>" type="text">
</div>
</div>
</div>
<div class="row">
<div class="col-md-3">
<div class="form-group">
<label>Email</label>
<input class="form-control border-input" name="EmailId" disabled="disabled" value="<?php echo $this->profile['EmailId']; ?>" type="text">
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<label>Country</label>
<select id="select-country" name="country" onchange="populateCity(this);" cityData ="<?php echo $this->profile['CitySysId']; ?>" class="form-control border-input" placeholder="Select">
<option value="">Select</option>
<?php if($this->countryArr){ foreach ($this->countryArr as $country){ ?>
<option value="<?php echo $country['ContId'] ?>" <?php echo (!empty($this->profile['CountrySysId']) && $country['ContId'] == $this->profile['CountrySysId'])?'selected="selected"':'NA' ?>><?php echo $country['Title'] ?></option>
<?php } } ?>
</select>
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<label>City </label>
<input type="hidden" id="city_id" name="city_id" value="<?php echo $this->profile['CitySysId']; ?>">
<select id="select-city" name="city" class="form-control border-input" placeholder="Select">
</select>
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<label>Passport No.</label>
<input class="form-control border-input" name="PassportNo" value="<?php echo !empty($this->profile['PassportNo'])?$this->profile['PassportNo']:'NA' ?>" type="text">
</div>
</div>
</div>
<div class="row">
<div class="col-md-3">
<div class="form-group">
<label>Passport Expiry</label>
<input class="form-control border-input img" name="PassportExpiry" value="<?php echo date('d-M-Y',strtotime($this->profile['PassportExpiry']['date'])); ?>" id="J-demo-01" type="text">
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<label>DOB</label>
<input class="form-control border-input img" name="DOB" placeholder="" value="<?php echo date('d-M-Y',strtotime($this->profile['DOB']['date'])); ?>" id="J-demo-02" type="text">
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<label>Marriage Anniversary</label>
<input class="form-control border-input img" name="MarriageAnniversary" placeholder="" value="<?php echo date('d-M-Y',strtotime($this->profile['MarriageAnniversary']['date'])); ?>" id="J-demo-03" type="text">
</div>
</div>
<div class="col-md-3">
<?php if($this->successMessage!="") { ?>
<p style="color:green;"><?php echo $this->successMessage;?></p>
<?php } ?>
<div class="text-left" style="margin-top:25px;">
<button type="submit" class="btn btn-primary btn-sm change">Update Profile</button>
<p style="color:red;" class="alrt_msg"></p>
<p style="color:green;" class="alrt_msg_success"></p>
</div>
<div class="mt-btn-form"></div>
</div>
</div>
<input type="hidden" value="<?php echo $this->profile['CustomerSysId'] ?>" name="CustomerSysId">
<input type="hidden" value="<?php echo $this->profile['AgencySysId'] ?>" name="AgencySysId">
<div class="clearfix"></div>
</form>
</div>
</div>
<div class="cl"></div>
</div>
</section>
</li>
<li><a href="!#tabset_0=2"><span class="at-tab-one-pixel-fix-left"></span><span class="at-tab-one-pixel-fix-right"></span>My Trips </a>
<section style=" padding:0;" aria-live="assertive"><h1 class="aria-only">My Trips </h1>
<div class="row" style="margin:0;">
<div class="col-md-12 col-sm-12 alert alert-gray-light profile_Count">
<div class="mt-3"></div>
<h1 class="no-margin mt-headimg">My Trips </h1>
<div class="mt-3"></div>
<div class="content table-responsive table-full-width">
<table class="table1 table-striped">
<thead>
<tr>
<th>#</th>
<th>Ref No.</th>
<th>Destination</th>
<th>Travel Date</th>
<th>Pax</th>
<th>Service Type</th>
<th>Amount (INR)</th>
<th>Agent Contact</th>
<th>Status</th>
<th>Action</th>
</tr></thead>
<tbody>
<?php
if(count($this->alldata) >0) {
foreach($this->alldata as $key=>$val){//echo '<pre>';print_r($val['roominfo']); ?>
<tr>
<td><?php echo $key+1;?></td>
<td><?php echo $val['all']['PlanBookingId'];?></td>
<td><?php echo $val['all']['DestinationPlaces'];?></td>
<td><?php echo date('d-M-Y',strtotime($val['all']['StartDate']['date']));?></td>
<td><?php echo $val['roominfo'][1]['Adult'];?> Adult</td>
<td>Package </td>
<td><?php echo $val['all']['NetPrice'];?> </td>
<td><?php echo $val['all']['ag_fname'];?> <?php echo $val['all']['ag_lname'];?> </td>
<td><?php echo $val['all']['TPStatus'];?> </td>
<td><a href="">View</a> </td>
</tr>
<?php }
}
else {
?>
<tr>
<td colspan="5">No data found.</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
<div class="cl"></div>
</div>
</section>
</li>
<li><a href="!#tabset_0=3"><span class="at-tab-one-pixel-fix-left"></span><span class="at-tab-one-pixel-fix-right"></span>Change Password</a>
<section style=" padding:0;" aria-live="assertive"><h1 class="aria-only">Change Password</h1>
<div class="row" style="margin:0;">
<div class="col-md-12 col-sm-12 alert alert-gray-light profile_Count">
<div class="mt-3"></div>
<h1 class="no-margin mt-headimg">Change Password</h1>
<div class="mt-3"></div>
<div class="content">
<form id="change_password" method="POST" action="changepassword">
<div class="row">
<div class="col-md-3">
<div class="form-group">
<label>Current Password </label>
<input class="form-control border-input" name="cpass" type="password">
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<label>New Password</label>
<input class="form-control border-input" name="npass" type="password">
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<label>Confirm Password</label>
<input class="form-control border-input" name="copass" type="password">
</div>
</div>
<div class="col-md-3">
<div class="text-left">
<label style="margin-bottom:50px;"> </label>
<button type="submit" class="btn btn-primary btn-sm change">Update</button>
<p style="color:red;" class="passchange_msg"></p>
<div class="mt-btn-form"></div>
</div>
</div>
</div>
<div class="clearfix"></div>
<input type="hidden" value="<?php echo $this->profile['CustomerSysId'] ?>" name="CustomerSysId">
<input type="hidden" value="<?php echo $this->profile['AgencySysId'] ?>" name="AgencySysId">
</form>
</div>
</div>
<div class="cl"></div>
</div>
</section>
</li>
</ul>
<div class="mt-3"></div>
</div>
</div>
</div>
</div>
<div class="close"></div>
</div>
<!-- /.row -->
<div class="mt-4 mt-4-mobile"></div>
</div>
</div>
</div>
<div class="container-fluid padd_box ">
<div class="container marketing"> </div>
<div class="row ">
<div class="container middle_container padd_box">
<!-- Three columns of text below the carousel -->
<!-- /.row -->
<div class="mt-4 mt-4-mobile"></div>
</div>
</div>
</div>