{*
  The filters on top of the browse page
  $Id: filters_persons.tpl,v 2.14 2006/12/22 13:10:51 andig2 Exp $
*}
<script language="JavaScript" type="text/javascript" src="javascript/look.js"></script>

<!-- {$smarty.template} -->

<br>
<table class="table-info" border="0" cellpadding="3" cellspacing="0" width="90%">
	<tr>
		<form action="persons.php" name="langform" method="post">
		<input type="hidden" name="type" value="{$type}">
		<input type="hidden" name="showimg" value="{$showimg}">
		<td class="title-classement" align="left" width="10%" nowrap>
		<input name="q" id="q" value="{$q}" size="25" maxlength="300" type="text">
		</td>
		<td class="title-classement">
		<input class="button" value="{$lang.search}" id="docpart_search" type="submit">
		</td>
		</form>
		<td class="title-classement" align="right">
				{if $number}
				<span class="footer-links">
				{if $pageno && $maxpageno}
					{if $pageno != 1}<a href="?pageno={$pageno-1}&type={$type}{if $q}&q={$q}{/if}"><img src="templates/classic/images/back.gif" align="absmiddle" hspace="5" width="22" height="18"></a>{/if}Page {$pageno} sur {$maxpageno}
					{if $pageno != $maxpageno}<a href="?pageno={$pageno+1}&type={$type}{if $q}&q={$q}{/if}"><img src="templates/classic/images/next.gif" align="absmiddle" hspace="5" width="22" height="18"></a>{/if}
					 
					{$totalresults} {$lang.records}.
				{/if}
				{if $number && !$totalresults}
					{$number} displayed.
				{/if}
				</span>
				{/if}
		</td>
	</tr>

	<form action="persons.php" id="browse" name="browse">
	<input type="hidden" name="type" value="{$type}">
	<input type="hidden" name="showimg" value="{$showimg}">
	<tr>
		<td class="title-classement" colspan="3" nowrap>
		{html_radios name=filter options=$filters checked=$filter label_class="filterlink" onclick="submit()"}
		</td>
	</tr>
	<tr>		
		<td class="title-classement" colspan="3" align="left">
		<b>{$lang.country} :</b>
		{$countryfilter}
		</td>
	</tr>
	</form>
</table>

<!-- /filters -->