Файл: whmcs/templates/portal/supportticketslist.tpl
Строк: 74
<h2>{$LANG.clientareanavsupporttickets}</h2>
<p>{$LANG.supportticketssystemdescription}</p>
<table
width="100%" border="0" cellpadding="10"
cellspacing="0">
<tr>
<td>{$LANG.supportticketsopentickets}:
<strong>{$numopentickets}</strong></td>
<td
align="right"><a
href="submitticket.php">{$LANG.supportticketssubmitticket}</a></td>
</tr>
</table>
<form method="post"
action="supporttickets.php">
<p
align="center"><b>{$LANG.knowledgebasesearch}:</b>
<input type="text" name="searchterm"
size="25" value="{$searchterm}" />
<input
type="submit" value="{$LANG.knowledgebasesearch}"
/>
</p>
</form>
<table width="100%"
border="0" cellpadding="10"
cellspacing="0">
<tr>
<td>{$numtickets}
{$LANG.recordsfound}, {$LANG.page} {$pagenumber} {$LANG.pageof}
{$totalpages}</td>
<td align="right">{if
$prevpage}<a href="supporttickets.php?{if
$searchterm}searchterm={$searchterm}&token={$token}&{/if}page={$prevpage}">{/if}«
{$LANG.previouspage}{if $prevpage}</a>{/if} {if
$nextpage}<a href="supporttickets.php?{if
$searchterm}searchterm={$searchterm}&token={$token}&{/if}page={$nextpage}">{/if}{$LANG.nextpage}
»{if $nextpage}</a>{/if}</td>
</tr>
</table>
<br />
<table class="data"
width="100%" border="0" align="center"
cellpadding="10" cellspacing="0">
<tr>
<th>{$LANG.supportticketsdate}</th>
<th>{$LANG.supportticketsdepartment}</th>
<th>{$LANG.supportticketssubject}</th>
<th>{$LANG.supportticketsstatus}</th>
<th>{$LANG.supportticketsticketurgency}</th>
</tr>
{foreach key=num item=ticket from=$tickets}
<tr>
<td>{$ticket.date}</td>
<td>{$ticket.department}</td>
<td><DIV
ALIGN="left"><img src="images/article.gif"
hspace="5" align="middle"><a
href="viewticket.php?tid={$ticket.tid}&c={$ticket.c}">{if
$ticket.unread}<strong>{/if}{$ticket.subject}{if
$ticket.unread}</strong>{/if}</a></DIV></td>
<td>{$ticket.status}</td>
<td
width=80>{$ticket.urgency}</td>
</tr>
{foreachelse}
<tr>
<td
colspan="5">{$LANG.norecordsfound}</td>
</tr>
{/foreach}
</table>
<br />
<table width="100%"
border="0" cellpadding="10"
cellspacing="0">
<tr>
<td>{$LANG.show}:
<a href="supporttickets.php?{if
$searchterm}searchterm={$searchterm}&token={$token}&{/if}itemlimit=10">10</a>
<a href="supporttickets.php?{if
$searchterm}searchterm={$searchterm}&token={$token}&{/if}itemlimit=25">25</a>
<a href="supporttickets.php?{if
$searchterm}searchterm={$searchterm}&token={$token}&{/if}itemlimit=50">50</a>
<a href="supporttickets.php?{if
$searchterm}searchterm={$searchterm}&token={$token}&{/if}itemlimit=100">100</a>
<a href="supporttickets.php?{if
$searchterm}searchterm={$searchterm}&token={$token}&{/if}itemlimit=all">{$LANG.all}</a></td>
<td align="right">{if $prevpage}<a
href="supporttickets.php?{if
$searchterm}searchterm={$searchterm}&token={$token}&{/if}page={$prevpage}">{/if}«
{$LANG.previouspage}{if $prevpage}</a>{/if} {if
$nextpage}<a href="supporttickets.php?{if
$searchterm}searchterm={$searchterm}&token={$token}&{/if}page={$nextpage}">{/if}{$LANG.nextpage}
»{if $nextpage}</a>{/if}</td>
</tr>
</table><br />