{*
  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} -->

{if $id}
<br>
<div id="toppage">
	<a href="javascript:" onclick="blocking('filters','yes', 'block'); return false;"><b>{$lang.filters}:</b></a>
</div>
{/if}
<div align="left" id="tablefilter">
<table id="filters" border="0" cellpadding="0" cellspacing="2" width="100%">
	{if $editable}
	<tr>
		{if $editable}
			<form action="edit_bettable.php" name="editform" method="post">
			<td>
				<span class="onglet-admin">
				<input type="submit" value="{$lang.newdata}"/>
				</span>
			</td>
			</form>
		{/if}
		{if $editable && $id}
			<form action="edit_betlist.php" name="betlistform" method="post">
			<td>
				<span class="onglet-admin">
				<input type="hidden" name="id" value="{$id}">
				<input type="submit" value="{$lang.matchs}"/>
				</span>
			</td>
			</form>
			<form action="edit_bettable.php" name="bettableform" method="post">
			<td>
				<span class="onglet-admin">
				<input type="hidden" name="id" value="{$id}">
				<input type="submit" value="{$lang.edit}"/>
				</span>
			</td>
			</form>
			<td>&nbsp;</td>
		{else}
			<td colspan="3">&nbsp;</td>
		{/if}	
	</tr>
	{/if}
	<tr>
		<form action="pronostics.php" name="editform" method="post">
		<td>
			<span class="onglet">
			<input type="submit" value="{$lang.pronostics}"/>
			</span>
		</td>
		
		</form>
		<form action="prono_results.php" name="editform" method="post">
		<td>
			<span class="onglet">
			<input type="submit" value="{$lang.results}"/>
			</span>
		</td>
		</form>
		<form action="prono_table.php" name="editform" method="post">
		<td>
			<span class="onglet">
			<input type="submit" value="{$lang.classement}"/>
			</span>
		</td>
		</form>
		<td width="80%">&nbsp;</td>	
	</tr>
</table>
</div>
<!-- /filters -->