<?php
/*
* Vue générée automatiquement le : 08/03/2009 à 02:14:27
* @author : Karl COSSE
*/
?>
<?php
$ttab_tournois = v('ttab_tournois');
$tOuiNon = v('tOuiNon');
$ttab_equipes = v('ttab_equipes');
$ttab_equipes = v('ttab_equipes');
$tMatchEtat = v('tMatchEtat');
$tTypesMatch = v('tTypesMatch');
?>
<h1>Fiche</h1>
<?php if ( v('oRelTnsEqiMat') !==null ) { 
$oRelTnsEqiMat = v('oRelTnsEqiMat');
?>
<table cellpadding="0" cellspacing="0" class="tableVoir">

<tr>
	<td class="g">Tournoi</td>
	<td class="d"><?php echo isset($ttab_tournois[$oRelTnsEqiMat->get_TNS_CLE()]['nom'])?$ttab_tournois[$oRelTnsEqiMat->get_TNS_CLE()]['nom']:'--'; ?></td>
</tr>
<tr>
	<td class="g">Tour</td>
	<td class="d"><?php echo $oRelTnsEqiMat->get_MAT_TOUR(); ?></td>
</tr>
<tr>
	<td class="g">Poule</td>
	<td class="d"><?php echo $oRelTnsEqiMat->get_MAT_POU(); ?></td>
</tr>
<tr>
	<td class="g">LoserBracket</td>
	<td class="d"><?php echo isset($tOuiNon[$oRelTnsEqiMat->get_MAT_LB()]['nom'])?$tOuiNon[$oRelTnsEqiMat->get_MAT_LB()]['nom']:'--'; ?></td>
</tr>
<tr>
	<td class="g">Equipe 1</td>
	<td class="d"><?php echo isset($ttab_equipes[$oRelTnsEqiMat->get_EQI_CLE1()]['nom'])?$ttab_equipes[$oRelTnsEqiMat->get_EQI_CLE1()]['nom']:'--'; ?></td>
</tr>
<tr>
	<td class="g">Score Eq1</td>
	<td class="d"><?php echo $oRelTnsEqiMat->get_EQI_S1(); ?></td>
</tr>
<tr>
	<td class="g">Equipe 2</td>
	<td class="d"><?php echo isset($ttab_equipes[$oRelTnsEqiMat->get_EQI_CLE2()]['nom'])?$ttab_equipes[$oRelTnsEqiMat->get_EQI_CLE2()]['nom']:'--'; ?></td>
</tr>
<tr>
	<td class="g">Score Eq2</td>
	<td class="d"><?php echo $oRelTnsEqiMat->get_EQI_S2(); ?></td>
</tr>
<tr>
	<td class="g">Date</td>
	<td class="d"><?php echo $oRelTnsEqiMat->get_MAT_DATE(); ?></td>
</tr>
<tr>
	<td class="g">Lieu</td>
	<td class="d"><?php echo $oRelTnsEqiMat->get_MAT_LIEU(); ?></td>
</tr>
<tr>
	<td class="g">Etat</td>
	<td class="d"><?php echo isset($tMatchEtat[$oRelTnsEqiMat->get_MAT_ETAT()]['nom'])?$tMatchEtat[$oRelTnsEqiMat->get_MAT_ETAT()]['nom']:'--'; ?></td>
</tr>
<tr>
	<td class="g">Mat_type</td>
	<td class="d"><?php echo isset($tTypesMatch[$oRelTnsEqiMat->get_MAT_TYPE()]['nom'])?$tTypesMatch[$oRelTnsEqiMat->get_MAT_TYPE()]['nom']:'--'; ?></td>
</tr>
</table>
<?php } else { ?>
<p>Cet enregistrement n'existe pas</p>
<?php } ?>