hotel_commerce/cache/smarty/compile/f7/38/5f/f7385fa4390807a7fbcc00310eaf027060849e1b_0.file.hotel-booking-cart-data.tpl.php
2023-06-26 13:09:26 +05:30

185 lines
6.2 KiB
PHP

<?php
/* Smarty version 3.1.39, created on 2023-06-22 17:25:34
from 'C:\xampp\htdocs\hotelcommerce\mails\en\hotel-booking-cart-data.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.39',
'unifunc' => 'content_649436b66ecb48_59781793',
'has_nocache_code' => false,
'file_dependency' =>
array (
'f7385fa4390807a7fbcc00310eaf027060849e1b' =>
array (
0 => 'C:\\xampp\\htdocs\\hotelcommerce\\mails\\en\\hotel-booking-cart-data.tpl',
1 => 1681709782,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_649436b66ecb48_59781793 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'C:\\xampp\\htdocs\\hotelcommerce\\tools\\smarty\\plugins\\modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
if ((isset($_smarty_tpl->tpl_vars['list']->value))) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['list']->value, 'data_v', false, 'data_k');
$_smarty_tpl->tpl_vars['data_v']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['data_k']->value => $_smarty_tpl->tpl_vars['data_v']->value) {
$_smarty_tpl->tpl_vars['data_v']->do_else = false;
?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['data_v']->value['date_diff'], 'rm_v', false, 'rm_k');
$_smarty_tpl->tpl_vars['rm_v']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['rm_k']->value => $_smarty_tpl->tpl_vars['rm_v']->value) {
$_smarty_tpl->tpl_vars['rm_v']->do_else = false;
?>
<tr>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10">&nbsp;</td>
<td class="text-center">
<font size="2" face="Open-sans, sans-serif" color="#555454">
<img src="<?php echo $_smarty_tpl->tpl_vars['data_v']->value['cover_img'];?>
" class="img-responsive" />
</font>
</td>
<td width="10">&nbsp;</td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10">&nbsp;</td>
<td class="text-center">
<font size="2" face="Open-sans, sans-serif" color="#555454">
<?php echo $_smarty_tpl->tpl_vars['data_v']->value['name'];?>
</font>
</td>
<td width="10">&nbsp;</td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10">&nbsp;</td>
<td class="text-center">
<font size="2" face="Open-sans, sans-serif" color="#555454">
<?php echo $_smarty_tpl->tpl_vars['data_v']->value['hotel_name'];?>
</font>
</td>
<td width="10">&nbsp;</td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10">&nbsp;</td>
<td class="text-center">
<font size="2" face="Open-sans, sans-serif" color="#555454">
<strong>
<?php echo $_smarty_tpl->tpl_vars['rm_v']->value['adults'];?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Adults'),$_smarty_tpl ) );?>
, <?php echo $_smarty_tpl->tpl_vars['rm_v']->value['children'];?>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Children'),$_smarty_tpl ) );?>
</strong>
</font>
</td>
<td width="10">&nbsp;</td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10">&nbsp;</td>
<td align="right" class="text-center">
<font size="2" face="Open-sans, sans-serif" color="#555454">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['convertPrice'][0], array( array('price'=>$_smarty_tpl->tpl_vars['rm_v']->value['avg_paid_unit_price_tax_excl']),$_smarty_tpl ) );?>
</font>
</td>
<td width="10">&nbsp;</td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10">&nbsp;</td>
<td align="right" class="text-center">
<font size="2" face="Open-sans, sans-serif" color="#555454">
<?php echo $_smarty_tpl->tpl_vars['rm_v']->value['num_rm'];?>
</font>
</td>
<td width="10">&nbsp;</td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10">&nbsp;</td>
<td align="right" class="text-center">
<font size="2" face="Open-sans, sans-serif" color="#555454">
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['rm_v']->value['data_form'],"%d-%b-%G");?>
</font>
</td>
<td width="10">&nbsp;</td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10">&nbsp;</td>
<td align="right" class="text-center">
<font size="2" face="Open-sans, sans-serif" color="#555454">
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['rm_v']->value['data_to'],"%d-%b-%G");?>
</font>
</td>
<td width="10">&nbsp;</td>
</tr>
</table>
</td>
<td style="border:1px solid #D6D4D4;">
<table class="table">
<tr>
<td width="10">&nbsp;</td>
<td align="right" class="text-center">
<font size="2" face="Open-sans, sans-serif" color="#555454">
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['convertPrice'][0], array( array('price'=>$_smarty_tpl->tpl_vars['rm_v']->value['amount_tax_excl']),$_smarty_tpl ) );?>
</font>
</td>
<td width="10">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
}?>
<style>
.pull-right {
float: right;
}
</style>
<?php }
}