{*
  Template for the club detailview
  $Id: show_stadiums.tpl,v 1.00 2006/10/25 20:14:18
*}

<!-- {$smarty.template} -->
{assign var="namenextyear" value="`$nameseason.season+1`"}


<script language="JavaScript" type="text/javascript" src="javascript/look.js"></script>

<div id="pagecontent">
<table id="tableshow" width="100%" border="0" cellspacing="0" cellpadding="5">


<!-- content begin -->
<form action="edit_betlist.php" id="edi" name="edi" method="post">
  <input type="hidden" name="id" id="id" value="{$id}" />
  <input type="hidden" name="save" id="save" value="1" />
  <tr>
      <td class="td-value" colspan="2">
			  {counter start=0 print=false name=matchcount}
			  {section name=foo start=0 loop=$bettable.nbr_prono step=1}
			  {counter assign=count name=matchcount}
			  {cycle values="listeven,listodd" assign=CLASS print=false}
			  <table width="100%" class="{$CLASS}" border="0" cellspacing="5" cellpadding="2">
			   <tr>
			   		<td>
					<b>{$lang.match} {$count}</b>
					</td>
			   		<td>
			   		<select name="bet{$count}">
					<option value="">---------------</option>
			   		{foreach item=betdata from=$betlist}
					{assign var="count2" value="`$count-1`"}
					<option value="{$betdata.id}" {if $betdata.id == $mybet[$count2].id_match}Selected{/if}>{$betdata.compet} {$betdata.dom} - {$betdata.ext}</option>
					{/foreach}
					</select>
			   		</td>
			   </tr>
    		   </table>		
			  {/section}
    </td>
  </tr>
  <tr>
	<td class="td-value" colspan="2">	
		<span class="onglet-admin">
		  <input style="width:100%;" type="submit" value="{$lang.save}" id="savebutton" accesskey="s" />
		</span>
	</td>
	</tr>  
</table>
</div>
<!-- /showheader -->
</form>

</div>
<!-- /content -->
