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

<!-- {$smarty.template} -->
<br />
<table border="0" cellpadding="2" cellspacing="0" width="90%">
  	<tr>
		<td><h2>{$actiontitle}</h2></td>
	</tr>
	<tr>
		<td class="title-classement">
	
			<form action="show_competitions.php" name="editform">
					<input type="hidden" name="id" value="{$competition.id}"/>
					<input type="hidden" name="action" value="card"/>
					<input type="hidden" name="season" value="{$season}"/>
					<input class="button" type="submit" value="{$lang.card}" />
			</form>
			<form action="prizelist.php" name="tableform">
					<input type="hidden" name="competition" value="{$competition.id}"/>
					<input class="button" type="submit" value="{$lang.prizelist}" {if !$competition.id}disabled="disabled"{/if} />
			</form>
			{if $haveseason}
			<form action="show_matchs.php" name="calendarform">
					<input type="hidden" name="competition" value="{$competition.id}"/>
					<input type="hidden" name="season" value="{$season}"/>
					<input class="button" type="submit" value="{$lang.matchdays}" {if !$competition.id} disabled="disabled"{/if} />
			</form>
				{if $competdata.type != 1}
				<form action="show_tables.php" name="tableform">
					<input type="hidden" name="competition" value="{$competition.id}"/>
					<input type="hidden" name="season" value="{$season}"/>
					<input class="button" type="submit" value="{$lang.classement}"{if !$competition.id} disabled="disabled"{/if} />
				</form>
				<form action="show_kickers.php" name="tableform">
					<input type="hidden" name="competition" value="{$competition.id}"/>
					<input type="hidden" name="season" value="{$season}"/>
					<input class="button" type="submit" value="{$lang.kickers}"{if !$competition.id} disabled="disabled"{/if} />
				</form>
				<form action="show_cards.php" name="tableform">
					<input type="hidden" name="competition" value="{$competition.id}"/>
					<input type="hidden" name="season" value="{$season}"/>
					<input class="button" type="submit" value="{$lang.cards}"{if !$competition.id} disabled="disabled"{/if} />
				</form>
				{/if}
			{/if}
			{if $prev_id || $next_id}
				<form action="show_competitions.php" name="prevform">
					<input type="hidden" name="id" value="{$prev_id}"/>
					<input class="button" type="submit" value="<" {if !$prev_id}disabled="disabled"{/if} accesskey="," />
				</form>
				<form action="show_competitions.php" name="nextform">
					<input type="hidden" name="id" value="{$next_id}"/>
					<input class="button" type="submit" value=">" {if !$next_id}disabled="disabled"{/if} accesskey="." />
				</form>			
			{/if}
		</td>
	</tr>
</table>