| 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/views/scripts/flight/ |
Upload File : |
<?php
$FlightData = $this->FlightData;
$RoomData = $this->roomData;
// echo "FlightData<pre>"; print_r($hotelBookingData);die;
$getAgencyData = $this->getAgencyData;
$baseUrl = $this->baseUrl;
$agencySysID = $this->agencySysID;
$addMarkup = $this->addMarkup;
$sessionFlightSearchParams = $this->sessionFlightSearchParams;
$Logo = isset($getAgencyData['Logo']) ? $getAgencyData['Logo'] : '';
$roominfo1 = $this->roominfo;
$adultCount = $roominfo1['totadlt'];
$childCount = $roominfo1['totchld'];
$infantCount = $roominfo1['totinfnt'];
$intMemberCount = $adultCount + $childCount + $infantCount;
$hotelData = $this->hotelData;
// echo 'roominfo<pre>';
// print_r($roominfo1);
// echo '</pre>';die;
// echo 'hotelData<pre>';
// print_r($hotelData);
// echo '</pre>';
// // echo '<pre>';
// // print_r($sessionFlightSearchParams);
// // echo '</pre>';
// echo "intMemberCount $intMemberCount";die;
?>
<!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" lang="en-GB">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Email</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" rel="stylesheet">
</head>
<body style="margin: 0; padding: 0;">
<table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="padding: 20px 0 30px 0;">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="600" style="border-collapse: collapse; border: 1px solid #cccccc;">
<tr>
<td align="center" colspan="2" style="padding:10px; border-bottom:solid 0px #70bbd9;">
<!-- <img src="<?= $baseUrl ?>/public/upload/media/agency/<?= $agencySysID ?>/<?= $Logo ?>" alt="" height="50" style="display: block;" /> -->
<img src="<?= $baseUrl ?>/public/asset/images/b2b.png" alt="" height="50" style="display: block;" />
</td>
</tr>
<tr>
<td align="center" colspan="2"> </td>
</tr>
<tr>
<td align="left" style="padding:10px; border-bottom:solid 1px #d7d7d7; width:50%;">
<span style="font-family: 'Lato', sans-serif; font-size: 14px; line-height: 30px; color: #444; padding-top: 10px; font-weight:600; text-align:justify;">
Dear <?= $this->customername ?>,<br> </span>
<span style="font-family: 'Lato', sans-serif; font-size: 14px; line-height: 30px; color: #444; padding-top: 10px; font-weight:normal; text-align:justify;">Greetings from <?= $getAgencyData['DisplayName'] ?>!<br></span>
<span style="font-family: 'Lato', sans-serif; font-size: 14px; line-height: 30px; color: #444; padding-top: 10px; font-weight:normal; text-align:justify;">Please find the bellow hotel detail as per required.<br></span>
<span style="font-family: 'Lato', sans-serif; font-size: 14px; line-height: 30px; color: #444; padding-top: 10px; font-weight:normal; text-align:justify;"> <b> City : </b> <?= $roominfo1['destination'] ?> </span><br>
<span style="font-family: 'Lato', sans-serif; font-size: 14px; line-height: 30px; color: #444; padding-top: 10px; font-weight:normal; text-align:justify;"> <b> Check In : </b> <?= date('d M Y', strtotime($roominfo1['strCheckin'])) ?>, <b> Check Out : </b> <?= date('d M Y', strtotime($roominfo1['strCheckout'])) ?></span><br>
<span style="font-family: 'Lato', sans-serif; font-size: 14px; line-height: 30px; color: #444; padding-top: 10px; font-weight:normal; text-align:justify;"><b>Room :</b> <?= $roominfo1['room'] ?>, <b>Night : </b><?= $roominfo1['nightCount'] ?>, <b>Pax : </b><?= $intMemberCount ?></span>
<br><br><br>
<span style="font-family: 'Lato', sans-serif; font-size: 14px; line-height: 24px; color: #444; padding-top: 10px; font-weight:600; text-align:justify;"> Thanks.<br>
<?= $getAgencyData['FullName'] ?><br>
<?= $getAgencyData['countrycode'] ?> <?= $getAgencyData['Contacts'] ?> <br>
</span>
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#ffffff" style="padding: 20px 15px 0px 15px;">
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse;">
<tbody>
<tr class="alert alert-graylight">
<th class="small smallbold"><b>Hotel Details</b></th>
<th class="small smallbold"><b>Room Price</b></th>
</tr>
<tr>
<td align="left">
<figure style="margin: 5px 0px;">
<img check-image src="<?= $hotelData['HotelImages'][0]['url'] ?>" style="height: 58px; margin-right: 10px;">
<div style="display: inline-block; vertical-align: top;">
<?= $hotelData['HotelName'] ?> <br>
<label for="checkbox-star" class="checkbox1-custom-label" style="display: inline-block; margin-bottom: 7px;margin-top: 2px;">
<img src="<?= $baseUrl ?>public/images/<?= ($Dataval['HotelStars'] >= '1') ? 'red-star1.png' : 'gray-star1.png' ?>">
<img src="<?= $baseUrl ?>public/images/<?= ($Dataval['HotelStars'] >= '2') ? 'red-star1.png' : 'gray-star1.png' ?>">
<img src="<?= $baseUrl ?>public/images/<?= ($Dataval['HotelStars'] >= '3') ? 'red-star1.png' : 'gray-star1.png' ?>">
<img src="<?= $baseUrl ?>public/images/<?= ($Dataval['HotelStars'] >= '4') ? 'red-star1.png' : 'gray-star1.png' ?>">
<img src="<?= $baseUrl ?>public/images/<?= ($Dataval['HotelStars'] >= '5') ? 'red-star1.png' : 'gray-star1.png' ?>">
</label><br>
<?= $hotelData['HotelAddress'] ?>
</div>
</figure>
</td>
</tr>
<tr>
<th class="small smallbold"><b>Room Type</b></th>
<th class="small smallbold"><b>Benefits</b></th>
</tr>
<?php foreach ($RoomData as $key => $value) {
$GSTOnMarkUpPer = (($addMarkup[$key]) * 18 / 100);
$totalAmt = $value['HotelRoomPrice']+$addMarkup[$key] + $GSTOnMarkUpPer; ?>
<tr>
<td align="left"> <?= $value['Rooms'][0]['RoomType'] ?></td>
<td align="left"> <?= $value['Rooms'][0]['MealBase'] ?></td>
<td align="left"> <?= number_format(($totalAmt), 2) ?></td>
</tr>
<?php } ?>
<br><br>
</tr>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#4a4747" style="padding: 15px 15px 15px;">
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse;">
<tr>
<td style="color: #ffffff; font-family: Arial, sans-serif; font-size: 14px; text-align: center;">
<p style="margin: 0; line-height: 25px;"><?= $getAgencyData['Title'] ?><br />
<a href="<?= isset($getAgencyData['Url']) ? $getAgencyData['Url'] : '#' ?>" target="_blank" style="color: #ffffff; text-decoration: none;"><?= isset($getAgencyData['Url']) ? $getAgencyData['Url'] : '#' ?></a> | <a href="tel:+91<?= $getAgencyData['PrimaryMobileNo'] ?>" style="color: #ffffff; text-decoration: none;"><?= $getAgencyData['countrycode'] ?> <?= $getAgencyData['Contacts'] ?></a> | <a href="mailto:<?= $getAgencyData['EmailId'] ?>" style="color: #ffffff; text-decoration: none;"><?= $getAgencyData['EmailId'] ?></a>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>