Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64
Your IP : 18.191.205.110
<?php
//Load the standard includes
include("../includes/secur_isloggedin.php");
include("../includes/mysql_connect.php");
$partie = mysql_fetch_assoc(mysql_query($sql='SELECT * FROM parties WHERE id_partie = '.$_GET['id_partie'], $mysql_link));
$groupes = mysql_query($sql='SELECT * FROM types_groupespunitions WHERE season_id = '.$partie['id_saison'].' ORDER BY groupe', $mysql_link);
$details = mysql_query($sql='SELECT * FROM types_detailspunitions WHERE season_id = '.$partie['id_saison'].' ORDER BY code', $mysql_link);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Aide mémoire de punitions</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<LINK href="../../css/links.css" rel="stylesheet" type="text/css">
<LINK href="../../css/table.css" rel="stylesheet" type="text/css">
<LINK href="../../css/tags.css" rel="stylesheet" type="text/css">
<LINK href="../../css/text.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY>
<TABLE width="100%" border="0" cellpadding="1" cellspacing="0" class="outlinetab">
<TR bgcolor="#546085">
<TD width="10"> </TD>
<TD width="30"> </TD>
<TD bgcolor="#546085" class="whiteText12px"><STRONG>Groupe de punition</STRONG></TD>
<TD width="10"> </TD>
</TR>
<?php while($groupe = mysql_fetch_assoc($groupes)){
$class = ($class == 'bluerow' ? '' : 'bluerow'); ?>
<TR class="<?php echo $class; ?>">
<TD> </TD>
<TD align="center" class="blackText11px"><?php echo $groupe['groupe']; ?></TD>
<TD class="blackText11px"><?php echo $groupe['description_fr']; ?></TD>
<TD> </TD>
</TR>
<?php } ?>
</TABLE>
<!-- Results table -->
<BR>
<table width="100%" border="0" cellpadding="1" cellspacing="0" class="outlinetab">
<!-- Results table headers -->
<tr class="whiteText12px">
<td width="10" bgcolor="#546085"> </td>
<td width="30" bgcolor="#546085"> </td>
<td bgcolor="#546085"><STRONG>Code de punition</STRONG></td>
<td width="10" bgcolor="#546085"> </td>
</tr>
<?php while($detail = mysql_fetch_assoc($details)){
$class = ($class == 'bluerow' ? '' : 'bluerow'); ?>
<TR class="<?php echo $class; ?>">
<TD> </TD>
<TD align="center" class="blackText11px"><?php echo $detail['code']; ?></TD>
<TD class="blackText11px"><?php echo $detail['description_fr']; ?></TD>
<TD> </TD>
</TR>
<?php } ?>
</TABLE>
</BODY>
</HTML>
|