{*
  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}{if $q}&q={$q}{/if}{if $nationalteamfilter}&nationalteamfilter=1{/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}{if $q}&q={$q}{/if}{if $nationalteamfilter}&nationalteamfilter=1{/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}
			</div>
			<div>
			<a href="javascript:" onclick="blocking('filters','yes', 'block'); return false;"><b>{$lang.filters}:</b></a>
			</div>
		</div>
		</td>
	</tr>
	<form action="clubs.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 class="filtersalphabet" nowrap="nowrap" colspan="2">
				{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 class="filtersalphabet" align="right">
				<b>{$lang.nationalteams} :</b>
				<input type="radio" value="1" name="teamfilter" onclick="submit()"{if $teamfilter == 1} checked{/if}>
				<b>{$lang.clubs} :</b>
				<input type="radio" value="2" name="teamfilter" onclick="submit()"{if $teamfilter == 2} checked{/if}>
			</td>
		</tr>
		</table>
		</div>
		</td></form>
	</tr>
</table>

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