![]() 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/phox/ |
{include file="$template/includes/tablelist.tpl" tableName="TicketsList" filterColumn="2"}
<script type="text/javascript">
jQuery(document).ready( function ()
{
var table = jQuery('#tableTicketsList').removeClass('hidden').DataTable();
{if $orderby == 'did' || $orderby == 'dept'}
table.order(0, '{$sort}');
{elseif $orderby == 'subject' || $orderby == 'title'}
table.order(1, '{$sort}');
{elseif $orderby == 'status'}
table.order(2, '{$sort}');
{elseif $orderby == 'lastreply'}
table.order(3, '{$sort}');
{/if}
table.draw();
jQuery('#tableLoading').addClass('hidden');
});
</script>
<div class="table-container clearfix">
<table id="tableTicketsList" class="table table-list hidden">
<thead>
<tr>
<th>{$LANG.supportticketsdepartment}</th>
<th>{$LANG.supportticketssubject}</th>
<th>{$LANG.supportticketsstatus}</th>
<th>{$LANG.supportticketsticketlastupdated}</th>
</tr>
</thead>
<tbody>
{foreach from=$tickets item=ticket}
<tr onclick="window.location='viewticket.php?tid={$ticket.tid}&c={$ticket.c}'">
<td>
{$ticket.department}
</td>
<td>
<a href="viewticket.php?tid={$ticket.tid}&c={$ticket.c}" class="border-left">
<span class="ticket-number">#{$ticket.tid}</span>
<span class="ticket-subject{if $ticket.unread} unread{/if}">{$ticket.subject}</span>
</a>
</td>
<td>
<span class="label status {if is_null($ticket.statusColor)}status-{$ticket.statusClass}"{else}status-custom" style="border-color: {$ticket.statusColor}; color: {$ticket.statusColor}"{/if}>
{$ticket.status|strip_tags}
</span>
</td>
<td class="text-center">
<span class="hidden">{$ticket.normalisedLastReply}</span>
{$ticket.lastreply}
</td>
</tr>
{/foreach}
</tbody>
</table>
<div class="text-center" id="tableLoading">
<p><i class="fas fa-spinner fa-spin"></i> {$LANG.loading}</p>
</div>
</div>