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

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

{include file="docpart.tpl"}

<div align="left" id="tablefilter">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<td>
		<div id="filtertitle">
			<div>
			{if $number}
					<span class="footer-links">
					{if $pageno && $maxpageno}
						{if $pageno != 1}<a href="?pageno={$pageno-1}"><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}"><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}
			</div>
			<div>
			<a href="javascript:" onclick="blocking('filters','yes', 'block'); return false;"><b>{$lang.filters}:</b></a>
			</div>
		</div>
		</td>
	</tr>
	<form action="competitions.php" id="browse" name="browse">
		<input type="hidden" name="cat" value="{$cat}">
		<input type="hidden" name="showimg" value="{$showimg}">
	<tr>
		<td>
		<div id="filters" style="display:block; text-align:right;">		
		<table border="0" cellspacing="5" width="100%">
		<tr>
			<td  colspan="3" class="filtersalphabet" nowrap="nowrap">
				{html_radios name=filter options=$filters checked=$filter label_class="filterlink" onclick="submit()"}
			</td>
		</tr>
		<tr>		
			<td class="filtersalphabet" align="left">
				<b>{$lang.country} :</b>
				{$countryfilter}
			</td>
			<td>
		    {html_radios name=range options=$competrange checked=$range label_class="filterlink" onclick="submit()"}	
            </td>
			<td align="left">
			{html_radios name=type options=$compettype checked=$type label_class="filterlink" onclick="submit()"}
			</td>
		</tr>
		</table>
		</div>
		</td></form>
	</tr>
</table>

</div>
<!-- /filters -->