![]() Server : Apache/2 System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64 User : gositeme ( 1004) PHP Version : 8.2.29 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/gositeme/domains/gositeme.com/public_html/whmcs/templates/twenty-one/ |
{include file="$template/includes/tablelist.tpl" tableName="EmailsList" noSortColumns="-1"}
<script>
jQuery(document).ready(function () {
var table = jQuery('#tableEmailsList').show().DataTable();
{if $orderby == 'date'}
table.order(0, '{$sort}');
{elseif $orderby == 'subject'}
table.order(1, '{$sort}');
{/if}
table.draw();
jQuery('#tableLoading').hide();
});
</script>
<div class="table-container clearfix">
<table id="tableEmailsList" class="table table-list w-hidden">
<thead>
<tr>
<th>{lang key='clientareaemailsdate'}</th>
<th>{lang key='clientareaemailssubject'}</th>
<th> </th>
</tr>
</thead>
<tbody>
{foreach $emails as $email}
<tr onclick="popupWindow('viewemail.php?id={$email.id}', 'emailWin', '800', '600')">
<td class="text-center"><span class="w-hidden">{$email.normalisedDate}</span>{$email.date}</td>
<td>{$email.subject}{if $email.attachmentCount > 0} <i class="fal fa-paperclip"></i>{/if}</td>
<td class="text-center">
<button type="button" class="btn btn-info btn-sm text-nowrap" onclick="popupWindow('viewemail.php?id={$email.id}', 'emailWin', '800', '600', 'scrollbars=1,')">
{lang key='emailviewmessage'}
</button>
</td>
</tr>
{/foreach}
</tbody>
</table>
<div class="text-center" id="tableLoading">
<p><i class="fas fa-spinner fa-spin"></i> {lang key='loading'}</p>
</div>
</div>