| 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/b2bzend/application/views/scripts/buyhotel/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style></head>
<body>
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0" style="border:1px solid #e5e5e5;">
<tr>
<td height="40" align="left" valign="middle" style="border-bottom:1px solid #e5e5e5; color:#333333; font:normal 18px Arial, Helvetica, sans-serif;"> Preview</td>
</tr>
<tr>
<td align="center" style="padding:10px 0px;"><table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="33%" align="left" valign="top"><table width="170" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="middle" style="border:1px solid #e3dfd8; padding:15px 0px;"><img src="<?php echo $this->baseUrl('public/assets/images/tripsbanklogo.png'); ?>" /></td>
</tr>
</table>
</td>
<td width="67%" align="right" valign="top">
<?php if(isset($customerDetails) && !empty($customerDetails)){ ?>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="right" style="border:1px solid #e3dfd8; padding:15px; background:#fafafa; color:#333333; font:normal 14px/20px Arial, Helvetica, sans-serif;">Name : <?php echo stripslashes($customerDetails['FullName']); ?><br />
Contact Number : <?php echo stripslashes($customerDetails['PrimaryContactNumber']); ?></td>
</tr>
</table> <?php } ?></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center"><table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<?php if(isset($customerDetails) && !empty($customerDetails)){
?>
<td style="font:normal 14px/20px Arial, Helvetica, sans-serif; padding:15px 0px; color:#333333;">Dear <?php echo stripslashes($customerDetails['FullName']); ?><br /><br />
<?php } $res=json_decode($vars['data'][0]);?>
As per your request, we are forwarding itineraries from <?php echo stripslashes($res->cityName); ?> on <?php echo date('l, d F Y',strtotime($res->checkInDate)); ?></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" style="background:#d9edf7; border-bottom:1px solid #bce8f1; border-top:1px solid #bce8f1; padding:15px 0px;"><table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="49%" align="left" valign="top" style="color:#31708f; font:normal 14px/20px Arial, Helvetica, sans-serif;"><?php if(isset($vars['leadId']) && !empty($vars['leadId'])){ ?><strong>Query Id: <?php echo base64_decode($vars['leadId']); ?></strong><br /><?php } ?>
<?php echo stripslashes($res->cityName); ?></td>
<td width="51%" align="right" valign="top" style="color:#31708f; font:normal 14px/20px Arial, Helvetica, sans-serif;">All | <?php echo $vars['noOfAdults']; ?> Adults ,<?php echo $vars['noOfChilds']; ?> Child</td>
</tr>
</table></td>
</tr>
<?php
$s=1;
$data=$vars['data'];
if(!empty($data) ){
for($i=0;$i<count($data);$i++){
$result= json_decode($data[$i]);
?>
<tr>
<td align="center" style="padding:20px 0px;"><table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" style="background:#428bca;"><table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" height="40" align="left" valign="middle" style="color:#ffffff; font:normal 15px Arial, Helvetica, sans-serif;"><strong><?php echo stripslashes($result->hotelName); ?> </strong> <span style="font-size:10px;"><?php echo $result->title; ?> Room</span></td>
<td width="50%" height="40" align="right" valign="middle" style="color:#ffffff; font:normal 15px Arial, Helvetica, sans-serif;">Fare : <?php echo $vars['finalPrice'][$i]; ?></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" style="border:1px solid #428bca; padding:10px 0px;"><table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" height="30" align="left" valign="middle" style="color:#333333; font:normal 14px Arial, Helvetica, sans-serif;"><strong>Hoten Name:</strong> <?php echo stripslashes($result->hotelName); ?></td>
<td width="50%" height="30" align="left" valign="middle" style="color:#333333; font:normal 14px Arial, Helvetica, sans-serif;"><strong>Address:</strong> <?php echo stripslashes($result->address); ?></td>
</tr>
<tr>
<td height="30" align="left" valign="middle" style="color:#333333; font:normal 14px Arial, Helvetica, sans-serif;"><strong>Check In:</strong> <?php echo date('d M Y',strtotime($result->checkInDate)); ?></td>
<td height="30" align="left" valign="middle" style="color:#333333; font:normal 14px Arial, Helvetica, sans-serif;"><strong>Check out:</strong> <?php echo date('d M Y',strtotime($result->checkOutdate)); ?></td>
</tr>
<tr>
<td height="30" align="left" valign="middle" style="color:#333333; font:normal 14px Arial, Helvetica, sans-serif;"><strong>Nights:</strong> <?php echo ($result->nights > 0)?$result->nights:0; ?></td>
<td height="30" align="left" valign="middle" style="color:#333333; font:normal 14px Arial, Helvetica, sans-serif;"> </td>
</tr>
<tr>
<td height="30" align="left" valign="middle"> </td>
<td height="30" align="right" valign="middle" style="color:#333333; font:normal 14px Arial, Helvetica, sans-serif;"><a href="#" style="color:#31708f; font:normal 14px Arial, Helvetica, sans-serif;">Book Now</a> | <a href="#" style="color:#31708f; font:normal 14px Arial, Helvetica, sans-serif;">Enquire</a></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
<?php }
} else {
?>
No Result
<?php
}
?>
</table>
</body>
</html>