<?php
/*
* Vue générée automatiquement le : 08/03/2009 à 02:14:27
* @author : Karl COSSE
*/
?>
<h1>Ajouter un match</h1>
<?php echo form('form',array('method'=>"post",'legend'=>"Ajouter un match","class"=>"tabEdition")); ?>
<table>
<?php
if ( v('erreur') ){ ?>
<tr>
	<td colspan="2" class="erreurs"><?php echo display_erreurs(); ?></td>
</tr>
<?php } ?>

<tr>
	<td class="g"><label for="Tournoi">Tournoi</label></td>
	<td class="d"><?php echo formSelect('TNS_CLE',array(),v('ttab_tournois')); ?></td>
</tr>
<tr>
	<td class="g"><label for="Tour">Tour</label></td>
	<td class="d"><?php echo form('input',array('type'=>'text','name'=>'MAT_TOUR')); ?></td>
</tr>
<tr>
	<td class="g"><label for="Poule">Poule</label></td>
	<td class="d"><?php echo form('input',array('type'=>'text','name'=>'MAT_POU')); ?></td>
</tr>
<tr>
	<td class="g"><label for="LoserBracket">LoserBracket</label></td>
	<td class="d"><?php echo formSelect('MAT_LB',array(),v('tOuiNon')); ?></td>
</tr>
<tr>
	<td class="g"><label for="Equipe 1">Equipe 1</label></td>
	<td class="d"><?php echo formSelect('EQI_CLE1',array(),v('ttab_equipes')); ?></td>
</tr>
<tr>
	<td class="g"><label for="Score Eq1">Score Eq1</label></td>
	<td class="d"><?php echo form('input',array('type'=>'text','name'=>'EQI_S1')); ?></td>
</tr>
<tr>
	<td class="g"><label for="Equipe 2">Equipe 2</label></td>
	<td class="d"><?php echo formSelect('EQI_CLE2',array(),v('ttab_equipes')); ?></td>
</tr>
<tr>
	<td class="g"><label for="Score Eq2">Score Eq2</label></td>
	<td class="d"><?php echo form('input',array('type'=>'text','name'=>'EQI_S2')); ?></td>
</tr>
<tr>
	<td class="g"><label for="Date">Date</label></td>
	<td class="d"><?php echo form('input',array('type'=>'text','name'=>'MAT_DATE')); ?></td>
</tr>
<tr>
	<td class="g"><label for="Lieu">Lieu</label></td>
	<td class="d"><?php echo form('input',array('type'=>'text','maxlength'=>250,'name'=>'MAT_LIEU')); ?></td>
</tr>
<tr>
	<td class="g"><label for="Etat">Etat</label></td>
	<td class="d"><?php echo formSelect('MAT_ETAT',array(),v('tMatchEtat')); ?></td>
</tr>
<tr>
	<td class="g"><label for="mat_type">Mat_type</label></td>
	<td class="d"><?php echo formSelect('MAT_TYPE',array(),v('tTypesMatch')); ?></td>
</tr>
<tr valign="top">
 	<td class="validation" colspan="2"><?php echo formSubmit('Ajouter'); ?></td>
</tr>
</table>
<?php echo formClose('form'); ?>