		<div class="bigheader">
			<h2>{$LANG.invoices}</h2>
		</div><!-- .bigheader -->

<p>{$numproducts} {$LANG.recordsfound},  {$LANG.page} {$pagenumber} {$LANG.pageof} {$totalpages}</p>

<div class="table-responsive table-grey">
<table>
  <tr>
    <th>{$LANG.invoicestitle}</th>
    <th>{$LANG.invoicesdatecreated}</th>
    <th>{$LANG.invoicesdatedue}</th>
    <th>{$LANG.invoicestotal}</th>
    <th>{$LANG.invoicesstatus}</th>
    <th>&nbsp;</th>
  </tr>
  {foreach key=num item=invoice from=$invoices}
  <tr>
    <td><a href="viewinvoice.php?id={$invoice.id}" target="_blank">{$invoice.invoicenum}</a></td>
    <td>{$invoice.datecreated}</td>
    <td>{$invoice.datedue}</td>
    <td>{$invoice.total}</td>
    <td><strong>{$invoice.status}</strong></td>
    <td align="center"><a href="viewinvoice.php?id={$invoice.id}" target="_blank" class="button1 color1">{$LANG.invoicesview}</a></td>
  </tr>
  {foreachelse}
  <tr>
    <td colspan="6" align="center">{$LANG.norecordsfound}</td>
  </tr>
  {/foreach}
</table>
</div>

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