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

<div class="floatleft">{$numproducts} {$LANG.recordsfound},  {$LANG.page} {$pagenumber} {$LANG.pageof} {$totalpages}</div>

    <div class="floatright">
    <form method="post" action="clientarea.php?action=products">
    <input type="text" name="q" value="{if $q}{$q}{/if}" class="searchinput" placeholder="{$LANG.products_search}" />
    <input type="submit" value="{$LANG.searchfilter}" class="searchinput button1 color1" />
    </form>
    </div>

<div class="clear">&nbsp;</div>


<div class="table-responsive table-grey">
<table>
  <tr>
    <th><a href="clientarea.php?action=products{if $q}&q={$q}{/if}&orderby=product">{$LANG.orderproduct}</a>{if $orderby eq "product"} &raquo;{/if}</th>
    <th><a href="clientarea.php?action=products{if $q}&q={$q}{/if}&orderby=price">{$LANG.orderprice}</a>{if $orderby eq "price"} &raquo;{/if}</th>
    <th><a href="clientarea.php?action=products{if $q}&q={$q}{/if}&orderby=billingcycle">{$LANG.orderbillingcycle}</a>{if $orderby eq "billingcycle"} &raquo;{/if}</th>
    <th><a href="clientarea.php?action=products{if $q}&q={$q}{/if}&orderby=nextduedate">{$LANG.clientareahostingnextduedate}</a>{if $orderby eq "nextduedate"} &raquo;{/if}</th>
    <th width="20">&nbsp;</th>
  </tr>
  {foreach key=num item=service from=$services}
  <tr class="clientareatable{$service.class}">
    <td>{$service.group} - {$service.product}{if $service.domain}<br />
    <strong>{$service.domain}</strong>{/if}</td>
    <td>{$service.amount}</td>
    <td>{$service.billingcycle}</td>
    <td>{$service.nextduedate}</td>
   
   	<td><a href="{$smarty.server.PHP_SELF}?action=productdetails&id={$service.id}" class="button1 color2">{$LANG.button_manage}</a></td>
    </form></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=products{if $q}&q={$q}{/if}&itemlimit=10">10</a></li>
	<li><a href="clientarea.php?action=products{if $q}&q={$q}{/if}&itemlimit=25">25</a></li>
	<li><a href="clientarea.php?action=products{if $q}&q={$q}{/if}&itemlimit=50{if $q}&q={$q}{/if}">50</a></li>
	<li><a href="clientarea.php?action=products{if $q}&q={$q}{/if}&itemlimit=100">100</a></li>
	<li><a href="clientarea.php?action=products{if $q}&q={$q}{/if}&itemlimit=all">{$LANG.all}</a></li>
</ul>

<ul class="navsub floatright">
	{if $prevpage}<li><a href="clientarea.php?action=products{if $q}&q={$q}{/if}&amp;page={$prevpage}">&laquo; {$LANG.previouspage}</a></li>{/if}
	{if $nextpage}<li><a href="clientarea.php?action=products{if $q}&q={$q}{/if}&amp;page={$nextpage}">{$LANG.nextpage} &raquo;</a></li>{/if}
</ul>			

<div class="clear">&nbsp;</div>


<div class="serviceblock clientareatableactive">{$LANG.clientareaactive}</div>
<div class="serviceblock clientareatablepending">{$LANG.clientareapending}</div>
<div class="serviceblock clientareatablesuspended">{$LANG.clientareasuspended}</div>
<div class="serviceblock clientareatableterminated">{$LANG.clientareaterminated}</div>
<div class="clear">&nbsp;</div>

<div style="height: 15px;"></div>