| Server IP : 23.111.136.34 / Your IP : 216.73.216.136 Web Server : Apache System : Linux servidor.eurohost.com.br 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : meusitei ( 1072) PHP Version : 5.6.40 Disable Function : show_source, system, shell_exec, passthru, proc_open MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/meusitei/templates_c/ |
Upload File : |
<?php
/* Smarty version 3.1.29, created on 2022-09-21 18:44:51
from "/home/meusitei/public_html/central/templates/six/clientareaemails.tpl" */
if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
'has_nocache_code' => false,
'version' => '3.1.29',
'unifunc' => 'content_632b5ba3a585d6_72410350',
'file_dependency' =>
array (
'793d9a8cab2fc45304b39bb1a22421964c23bca1' =>
array (
0 => '/home/meusitei/public_html/central/templates/six/clientareaemails.tpl',
1 => 1534448897,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_632b5ba3a585d6_72410350 ($_smarty_tpl) {
$_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, ((string)$_smarty_tpl->tpl_vars['template']->value)."/includes/tablelist.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('tableName'=>"EmailsList",'noSortColumns'=>"-1"), 0, true);
?>
<?php echo '<script'; ?>
type="text/javascript">
jQuery(document).ready( function ()
{
var table = jQuery('#tableEmailsList').removeClass('hidden').DataTable();
<?php if ($_smarty_tpl->tpl_vars['orderby']->value == 'date') {?>
table.order(0, '<?php echo $_smarty_tpl->tpl_vars['sort']->value;?>
');
<?php } elseif ($_smarty_tpl->tpl_vars['orderby']->value == 'subject') {?>
table.order(1, '<?php echo $_smarty_tpl->tpl_vars['sort']->value;?>
');
<?php }?>
table.draw();
jQuery('#tableLoading').addClass('hidden');
});
<?php echo '</script'; ?>
>
<div class="table-container clearfix">
<table id="tableEmailsList" class="table table-list hidden">
<thead>
<tr>
<th><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareaemailsdate'];?>
</th>
<th><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareaemailssubject'];?>
</th>
<th> </th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->tpl_vars['emails']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_email_0_saved_item = isset($_smarty_tpl->tpl_vars['email']) ? $_smarty_tpl->tpl_vars['email'] : false;
$_smarty_tpl->tpl_vars['email'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['email']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['email']->value) {
$_smarty_tpl->tpl_vars['email']->_loop = true;
$__foreach_email_0_saved_local_item = $_smarty_tpl->tpl_vars['email'];
?>
<tr onclick="popupWindow('viewemail.php?id=<?php echo $_smarty_tpl->tpl_vars['email']->value['id'];?>
', 'emailWin', '715', '450')">
<td class="text-center"><span class="hidden"><?php echo $_smarty_tpl->tpl_vars['email']->value['normalisedDate'];?>
</span><?php echo $_smarty_tpl->tpl_vars['email']->value['date'];?>
</td>
<td><?php echo $_smarty_tpl->tpl_vars['email']->value['subject'];?>
</td>
<td class="text-center"><input type="button" class="btn btn-info btn-sm" value="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['emailviewmessage'];?>
" onclick="popupWindow('viewemail.php?id=<?php echo $_smarty_tpl->tpl_vars['email']->value['id'];?>
', 'emailWin', '715', '450', 'scrollbars=1,')" /></td>
</tr>
<?php
$_smarty_tpl->tpl_vars['email'] = $__foreach_email_0_saved_local_item;
}
if ($__foreach_email_0_saved_item) {
$_smarty_tpl->tpl_vars['email'] = $__foreach_email_0_saved_item;
}
?>
</tbody>
</table>
<div class="text-center" id="tableLoading">
<p><i class="fa fa-spinner fa-spin"></i> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['loading'];?>
</p>
</div>
</div>
<?php }
}