Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64
Your IP : 3.21.105.46
<?php
// On ice officers
$arbitres = mysql_query($sql = "SELECT * FROM parties_off WHERE id_type_pers = 1 AND id_partie = $id_partie", $mysql_link);
$arbitre1 = mysql_fetch_assoc($arbitres);
$arbitre2 = mysql_fetch_assoc($arbitres);
// Juges
$jugelignes = mysql_query($sql = "SELECT * FROM parties_off WHERE id_type_pers = 2 AND id_partie = $id_partie ORDER BY id_partie_off DESC LIMIT 2", $mysql_link);
// Minor officers
$marqueur = mysql_fetch_assoc(mysql_query($sql = "SELECT * FROM parties_off WHERE id_type_pers = 102 AND id_partie = $id_partie", $mysql_link));
$jugebuts = mysql_query($sql = "SELECT * FROM parties_off WHERE id_type_pers = 100 AND id_partie = $id_partie", $mysql_link);
$annonceur = mysql_fetch_assoc(mysql_query($sql = "SELECT * FROM parties_off WHERE id_type_pers = 86 AND id_partie = $id_partie", $mysql_link));
$medecin = mysql_fetch_assoc(mysql_query($sql = "SELECT * FROM parties_off WHERE id_type_pers in (131, 132, 133) AND id_partie = $id_partie ORDER BY id_type_pers ASC", $mysql_link));
$chronometreur = mysql_fetch_assoc(mysql_query($sql = "SELECT * FROM parties_off WHERE id_type_pers = 99 AND id_partie = $id_partie", $mysql_link));
$webmarqueur = mysql_fetch_assoc(mysql_query($sql = "SELECT * FROM parties_off WHERE id_type_pers = 147 AND id_partie = $id_partie", $mysql_link));
$statisticien = mysql_fetch_assoc(mysql_query($sql = "SELECT * FROM parties_off WHERE id_type_pers = 126 AND id_partie = $id_partie", $mysql_link));
$statisticien_adj = mysql_fetch_assoc(mysql_query($sql = "SELECT * FROM parties_off WHERE id_type_pers = 87 AND id_partie = $id_partie", $mysql_link));
$statisticiens_adjs = mysql_query($sql = "SELECT * FROM parties_off WHERE id_type_pers = 87 AND id_partie = $id_partie", $mysql_link);
$statisticien_adj1 = mysql_fetch_assoc($statisticiens_adjs);
$statisticien_adj2 = mysql_fetch_assoc($statisticiens_adjs);
// Extract the dual officers
$jugebuts1 = mysql_fetch_assoc($jugebuts);
$jugebuts2 = mysql_fetch_assoc($jugebuts);
$jugelignes1 = mysql_fetch_assoc($jugelignes);
$jugelignes2 = mysql_fetch_assoc($jugelignes);
?>
<table width="100%" border="0" cellpadding="2" cellspacing="0" class="outlinetab">
<tr valign="bottom" class="blueRow">
<td height="20" colspan="3" nowrap class="blackText11px"><strong>Officiels sur glace</strong></td>
</tr>
<tr valign="top" class="blueRow">
<td width="16%" nowrap>
<table border="0" cellspacing="0" cellpadding="1" width="250">
<?php if (!empty($arbitre1['prenom']) && !empty($arbitre1['nom'])) { ?>
<tr align="left" valign="bottom">
<td align="right" class="whiteText9px"><img src="../../images/spacer.gif" width="10" height="8"></td>
<td align="right" nowrap class="blackText9px"><strong>Arbitre en chef:</strong></td>
<td nowrap class="blackText9px"><a href="index.php?page=342874&id_register=<?= $arbitre1[id_register] ?>" class="lnkBase9px"><?= $arbitre1['prenom'] . " " . $arbitre1['nom'] ?></a></td>
</tr>
<?php } else { echo '<tr><td class="whiteText9px"> </td><td /><td /></tr>'; } ?>
<?php if (!empty($jugelignes1['prenom']) && !empty($jugelignes1['nom'])) { ?>
<tr align="left" valign="bottom">
<td align="right" class="whiteText9px"> </td>
<td align="right" nowrap class="blackText9px"><strong>Juge de lignes:</strong></td>
<td nowrap class="blackText9px"><a href="index.php?page=342874&id_register=<?= $jugelignes1[id_register] ?>" class="lnkBase9px"><?= $jugelignes1['prenom'] . " " . $jugelignes1['nom'] ?></a></td>
</tr>
<?php } else { echo '<tr><td class="whiteText9px"> </td><td /><td /></tr>'; } ?>
</table>
</td>
<td width="21%" nowrap>
<table border="0" cellspacing="0" cellpadding="1" width="250">
<?php if (!empty($arbitre2['prenom']) && !empty($arbitre2['nom'])) { ?>
<tr>
<td align="right" nowrap class="blackText9px"><strong>Arbitre en chef:</strong></td>
<td nowrap class="blackText9px"><a href="index.php?page=342874&id_register=<?= $arbitre2[id_register] ?>" class="lnkBase9px"><?= $arbitre2['prenom'] . " " . $arbitre2['nom'] ?></a></td>
</tr>
<?php } else { echo '<tr><td class="blackText9px"> </td><td /></tr>'; } ?>
<?php if (!empty($jugelignes2['prenom']) && !empty($jugelignes2['nom'])) { ?>
<tr>
<td align="right" nowrap class="blackText9px"><strong>Juge de lignes:</strong></td>
<td nowrap class="blackText9px"><a href="index.php?page=342874&id_register=<?= $jugelignes2[id_register] ?>" class="lnkBase9px"><?= $jugelignes2['prenom'] . " " . $jugelignes2['nom'] ?></a></td>
</tr>
<?php } else { echo '<tr><td class="blackText9px"> </td><td /></tr>'; } ?>
</table>
</td>
</tr>
<tr valign="bottom" class="blueRow">
<td height="20" colspan="2" nowrap class="blackText11px"><strong>Officiels hors-glace</strong></td>
</tr>
<tr valign="top" class="blueRow">
<td nowrap>
<table border="0" cellspacing="0" cellpadding="1" width="250">
<?php if (!empty($marqueur['prenom']) && !empty($marqueur['nom'])) { ?>
<tr align="left" valign="bottom">
<td align="right" class="whiteText9px"><img src="../../images/spacer.gif" width="10" height="8"></td>
<td align="right" nowrap class="blackText9px"><strong>Marqueur:</strong></td>
<td nowrap class="blackText9px"><a href="index.php?page=2147483648&id_register=<?= $marqueur[id_register] ?>" class="lnkBase9px"><?= $marqueur['prenom'] . " " . $marqueur['nom'] ?></a></td>
</tr>
<?php } else { echo '<tr><td class="whiteText9px"> </td><td /><td /></tr>'; } ?>
<?php if (!empty($annonceur['prenom']) && !empty($annonceur['nom'])) { ?>
<tr align="left" valign="bottom">
<td align="right" class="whiteText9px"> </td>
<td align="right" nowrap class="blackText9px"><strong>Annonceur:</strong></td>
<td nowrap class="blackText9px"><a href="index.php?page=2147483648&id_register=<?= $annonceur[id_register] ?>" class="lnkBase9px"><?= $annonceur['prenom'] . " " . $annonceur['nom'] ?></a></td>
</tr>
<?php } else { echo '<tr><td class="whiteText9px"> </td><td /><td /></tr>'; } ?>
<?php if (!empty($jugebuts1['prenom']) && !empty($jugebuts1['nom'])) { ?>
<tr align="left" valign="bottom">
<td align="right" class="whiteText9px"> </td>
<td align="right" nowrap class="blackText9px"><strong>Juge de buts:</strong></td>
<td nowrap class="blackText9px"><a href="index.php?page=2147483648&id_register=<?= $jugebuts1[id_register] ?>" class="lnkBase9px"><?= $jugebuts1['prenom'] . " " . $jugebuts1['nom'] ?></a></td>
</tr>
<?php } else { echo '<tr><td class="whiteText9px"> </td><td /><td /></tr>'; } ?>
<?php if (!empty($statisticien['prenom']) && !empty($statisticien['nom'])) { ?>
<tr align="left" valign="bottom">
<td align="right" class="whiteText9px"> </td>
<td align="right" nowrap class="blackText9px"><strong>Statisticien:</strong></td>
<td nowrap class="blackText9px"><a href="index.php?page=2147483648&id_register=<?= $statisticien[id_register] ?>" class="lnkBase9px"><?= $statisticien['prenom'] . " " . $statisticien['nom'] ?></a></td>
</tr>
<?php } else { echo '<tr><td class="whiteText9px"> </td><td /><td /></tr>'; } ?>
<?php if (!empty($statisticien_adj1['prenom']) && !empty($statisticien_adj1['nom'])) { ?>
<tr align="left" valign="bottom">
<td align="right" class="whiteText9px"> </td>
<td align="right" nowrap class="blackText9px"><strong>Statisticien-adjoint:</strong></td>
<td nowrap class="blackText9px"><a href="index.php?page=2147483648&id_register=<?= $statisticien_adj1[id_register] ?>" class="lnkBase9px"><?= $statisticien_adj1['prenom'] . " " . $statisticien_adj1['nom'] ?></a></td>
</tr>
<?php } else { echo '<tr><td class="whiteText9px"> </td><td /><td /></tr>'; } ?>
</table>
</td>
<td nowrap>
<table border="0" cellspacing="0" cellpadding="1" width="250">
<?php if (!empty($chronometreur['prenom']) && !empty($chronometreur['nom'])) { ?>
<tr>
<td align="right" nowrap class="blackText9px"><strong>Chronométreur:</strong></td>
<td nowrap class="blackText9px"><a href="index.php?page=2147483648&id_register=<?= $chronometreur[id_register] ?>" class="lnkBase9px"><?= $chronometreur['prenom'] . " " . $chronometreur['nom'] ?></a></td>
</tr>
<?php } else { echo '<tr><td class="blackText9px"> </td><td /></tr>'; } ?>
<?php if (!empty($medecin['prenom']) && !empty($medecin['nom'])) { ?>
<tr align="left" valign="bottom">
<td align="right" nowrap class="blackText9px"><strong>Médecin de match:</strong></td>
<td nowrap class="blackText9px"><a href="index.php?page=2147483648&id_register=<?= $medecin[id_register] ?>" class="lnkBase9px"><?= $medecin['prenom'] . " " . $medecin['nom'] ?></a></td>
</tr>
<?php } else { echo '<tr><td class="blackText9px"> </td><td /></tr>'; } ?>
<?php if (!empty($jugebuts2['prenom']) && !empty($jugebuts2['nom'])) { ?>
<tr align="left" valign="bottom">
<td align="right" nowrap class="blackText9px"><strong>Juge de buts:</strong></td>
<td nowrap class="blackText9px"><a href="index.php?page=2147483648&id_register=<?= $jugebuts2[id_register] ?>" class="lnkBase9px"><?= $jugebuts2['prenom'] . " " . $jugebuts2['nom'] ?></a></td>
</tr>
<?php } else { echo '<tr><td class="blackText9px"> </td><td /></tr>'; } ?>
<?php if (!empty($webmarqueur['prenom']) && !empty($webmarqueur['nom'])) { ?>
<tr align="left" valign="bottom">
<td align="right" nowrap class="blackText9px"><strong>Web marqueur:</strong></td>
<td nowrap class="blackText9px"><a href="index.php?page=2147483648&id_register=<?= $webmarqueur[id_register] ?>" class="lnkBase9px"><?= $webmarqueur['prenom'] . " " . $webmarqueur['nom'] ?></a></td>
</tr>
<?php } else { echo '<tr><td class="blackText9px"> </td><td /></tr>'; } ?>
<?php if (!empty($statisticien_adj2['prenom']) && !empty($statisticien_adj2['nom'])) { ?>
<tr align="left" valign="bottom">
<td align="right" nowrap class="blackText9px"><strong>Statisticien-adjoint:</strong></td>
<td nowrap class="blackText9px"><a href="index.php?page=2147483648&id_register=<?= $statisticien_adj2[id_register] ?>" class="lnkBase9px"><?= $statisticien_adj2['prenom'] . " " . $statisticien_adj2['nom'] ?></a></td>
</tr>
<?php } else { echo '<tr><td class="blackText9px"> </td><td /></tr>'; } ?>
</table>
</td>
</tr>
</table>
|