    <div class="imgright">
    <form method="post" action="supporttickets.php">
    <input type="text" name="searchterm" class="searchinput" placeholder="{$LANG.listtickets_search}" />
    <input type="submit" value="{$LANG.knowledgebasesearch}" class="searchinput button1 color1" />
    </form>
    </div>


<p>{$LANG.supportticketssystemdescription}</p>

<div class="clear">&nbsp;</div>
    
<p class="floatleft">
{$numtickets} {$LANG.recordsfound},  {$LANG.page} {$pagenumber} {$LANG.pageof} {$totalpages}
</p>    
    
<p class="floatright"><a href="submitticket.php" class="button1 color2">{$LANG.supportticketssubmitticket}</a></p>

<div class="table-responsive table-grey">
<table>
  <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><a href="viewticket.php?tid={$ticket.tid}&amp;c={$ticket.c}">{$ticket.subject}</a>{if $ticket.unread} - <strong class="red">Unread</strong>{/if}</td>
    <td>{$ticket.status}</td>
    <td width=80>{$ticket.urgency}</td>
  </tr>
  {foreachelse}
  <tr>
    <td colspan="5" align="center">{$LANG.norecordsfound}</td>
  </tr>
  {/foreach}
</table>
</div>

			<ul class="navsub floatleft">
				<li><a href="supporttickets.php?{if $searchterm}searchterm={$searchterm}&{/if}itemlimit=10">10</a></li>
				<li><a href="supporttickets.php?{if $searchterm}searchterm={$searchterm}&{/if}itemlimit=25">25</a></li>
				<li><a href="supporttickets.php?{if $searchterm}searchterm={$searchterm}&{/if}itemlimit=50">50</a></li>
				<li><a href="supporttickets.php?{if $searchterm}searchterm={$searchterm}&{/if}itemlimit=100">100</a></li>
				<li><a href="supporttickets.php?{if $searchterm}searchterm={$searchterm}&{/if}itemlimit=all">{$LANG.all}</a></li>
			</ul>
			
			<ul class="navsub floatright">
				{if $prevpage}<li><a href="supporttickets.php?{if $searchterm}searchterm={$searchterm}&{/if}page={$prevpage}">&laquo; {$LANG.previouspage}</a></li>{/if}
				{if $nextpage}<li><a href="supporttickets.php?{if $searchterm}searchterm={$searchterm}&{/if}page={$nextpage}">{$LANG.nextpage} &raquo;</a></li>{/if}
			</ul>			
			
			<div class="clear">&nbsp;</div>