Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64
Your IP : 3.138.34.93
<?php
// Get the info for the match
$matchID = $partie['id_match'];
$arena = $calendar['nom_arena'];
$ville = $nomDom;
// On ice officers
$arbitres = mysql_query($sql = 'SELECT * FROM parties_off WHERE id_type_pers = 1 AND id_partie = '.$_REQUEST['id_partie'], $mysql_link);
$arbitre1 = mysql_fetch_array($arbitres);
$arbitre2 = mysql_fetch_array($arbitres);
// Juges
$jugelignes = mysql_query($sql = 'SELECT * FROM parties_off WHERE id_type_pers = 2 AND id_partie = '.$_REQUEST['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 = '.$_REQUEST['id_partie'], $mysql_link));
$jugebuts = mysql_query($sql = 'SELECT * FROM parties_off WHERE id_type_pers = 100 AND id_partie = '.$_REQUEST['id_partie'], $mysql_link);
$annonceur = mysql_fetch_assoc(mysql_query($sql = 'SELECT * FROM parties_off WHERE id_type_pers = 86 AND id_partie = '.$_REQUEST['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 = '.$_REQUEST['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 = '.$_REQUEST['id_partie'], $mysql_link));
$webmarqueur = mysql_fetch_assoc(mysql_query($sql = 'SELECT * FROM parties_off WHERE id_type_pers = 147 AND id_partie = '.$_REQUEST['id_partie'], $mysql_link));
$statisticien = mysql_fetch_assoc(mysql_query($sql = 'SELECT * FROM parties_off WHERE id_type_pers = 126 AND id_partie = '.$_REQUEST['id_partie'], $mysql_link));
$statisticiens_adjs = mysql_query($sql = 'SELECT * FROM parties_off WHERE id_type_pers = 87 AND id_partie = '.$_REQUEST['id_partie'], $mysql_link);
$statisticien_adj1 = mysql_fetch_array($statisticiens_adjs);
$statisticien_adj2 = mysql_fetch_array($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);
// Set the default display mode
$display = "none";
// Check in what page we are, the current display will change
$page = substr(getenv("SCRIPT_NAME"), strrpos(getenv("SCRIPT_NAME"), "/") + 1);
// Set the changes
if ($page == "entry_selectparts_off.php" or $page == "entry_selectparts_vis.php" or $page == "entry_selectparts_dom.php") {
$display = "block";
} else if ($page == "entry_statevents.php") {
$display = "block";
} else if ($page == "entry_detevents.php") {
$display = "block";
} else {
$display = "none";
}
?>
<div id="details" style="display:<?= $display ?>">
<table width="100%" border="0" cellpadding="2" cellspacing="0" bgcolor="#546085">
<tr valign="top">
<td colspan="5" nowrap><table width="100%" border="0" cellpadding="0" cellspacing="0" class="whiteText12px">
<tr>
<td width="10"> </td>
<td width="32" height="32" nowrap><img src="../images/LHJMQ_32x32.gif" width="32" height="32"></td>
<td width="10" nowrap> </td>
<td nowrap><strong>Ligue de hockey junior majeur du Québec</strong></td>
</tr>
</table></td>
</tr>
<tr valign="top">
<td width="16%" nowrap>
<table border="0" cellspacing="0" cellpadding="1">
<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="whiteText9px"><span class="whiteText9px">Saison</span>:</td>
<td nowrap class="orangeText9px"><?php if (isset($season)) { echo $season['desc_fr']; } else { echo 'Aucune saison'; } ?></td>
</tr>
</table></td>
<td width="21%" nowrap>
<!-- col #1 -->
<table border="0" cellspacing="0" cellpadding="1">
<tr align="left" valign="bottom">
<td align="right" nowrap class="whiteText9px"># de match:</td>
<td nowrap class="orangeText9px"><?= $matchID ?></td>
</tr>
</table></td>
<td width="21%" nowrap>
<!-- col #2-->
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td align="right" nowrap class="whiteText9px">Date:</td>
<td nowrap class="orangeText9px"><?= $partie['date_match'] ?></td>
</tr>
</table></td>
<td width="21%" nowrap><table border="0" cellspacing="0" cellpadding="1">
<tr>
<td align="right" nowrap class="whiteText9px">Arena:</td>
<td nowrap class="orangeText9px"><?= $arena ?></td>
</tr>
</table></td>
<td width="21%" nowrap><table border="0" cellspacing="0" cellpadding="1">
<tr>
<td align="right" nowrap class="whiteText9px">Ville:</td>
<td nowrap class="orangeText9px"><?= $ville ?></td>
</tr>
</table>
<!-- col #3 -->
</td>
</tr>
<tr valign="bottom">
<td height="20" colspan="5" nowrap class="whiteText11px"><strong>Officiels sur glace</strong></td>
</tr>
<tr valign="top">
<td nowrap>
<table border="0" cellspacing="0" cellpadding="1">
<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="whiteText9px">Arbitre en chef:</td>
<td nowrap class="orangeText9px"><?= $arbitre1['prenom'] . " " . $arbitre1['nom'] ?></td>
</tr>
<tr align="left" valign="bottom">
<td align="right" class="whiteText9px"> </td>
<td align="right" nowrap class="whiteText9px">Arbitre en chef:</td>
<td nowrap class="orangeText9px"><?= $arbitre2['prenom'] . " " . $arbitre2['nom'] ?></td>
</tr>
</table>
</td>
<td nowrap>
<table border="0" cellspacing="0" cellpadding="1">
<tr align="left" valign="bottom">
<td align="right" nowrap class="whiteText9px">Juge de lignes:</td>
<td nowrap class="orangeText9px"><?= $jugelignes1['prenom'] . " " . $jugelignes1['nom'] ?></td>
</tr>
<tr align="left" valign="bottom">
<td align="right" nowrap class="whiteText9px">Juge de lignes:</td>
<td nowrap class="orangeText9px"><?= $jugelignes2['prenom'] . " " . $jugelignes2['nom'] ?></td>
</tr>
</table>
</td>
<td></td>
<td></td>
</tr>
<tr valign="bottom">
<td height="20" colspan="5" nowrap class="whiteText11px"><strong>Officiels mineurs</strong></td>
</tr>
<tr valign="top">
<td nowrap>
<table border="0" cellspacing="0" cellpadding="1">
<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="whiteText9px">Marqueur:</td>
<td nowrap class="orangeText9px"><?= $marqueur['prenom'] . " " . $marqueur['nom'] ?></td>
</tr>
<tr align="left" valign="bottom">
<td align="right" class="whiteText9px"> </td>
<td align="right" nowrap class="whiteText9px">Juge de buts:</td>
<td nowrap class="orangeText9px"><?= $jugebuts1['prenom'] . " " . $jugebuts1['nom'] ?></td>
</tr>
<tr align="left" valign="bottom">
<td align="right" class="whiteText9px"> </td>
<td align="right" nowrap class="whiteText9px">Web marqueur:</td>
<td nowrap class="orangeText9px"><?= $webmarqueur['prenom'] . " " . $webmarqueur['nom'] ?></td>
</tr>
</table>
</td>
<td nowrap>
<table border="0" cellspacing="0" cellpadding="1">
<tr align="left" valign="bottom">
<td align="right" nowrap class="whiteText9px">Juge de buts:</td>
<td nowrap class="orangeText9px"><?= $jugebuts2['prenom'] . " " . $jugebuts2['nom'] ?></td>
</tr>
<tr align="left" valign="bottom">
<td align="right" nowrap class="whiteText9px">Statisticien:</td>
<td nowrap class="orangeText9px"><?= $statisticien['prenom'] . " " . $statisticien['nom'] ?></td>
</tr>
<tr align="left" valign="bottom">
<td align="right" nowrap class="whiteText9px">Statisticien adjoint:</td>
<td nowrap class="orangeText9px"><?= $statisticien_adj1['prenom'] . " " . $statisticien_adj1['nom'] ?></td>
</tr>
<tr align="left" valign="bottom">
<td align="right" nowrap class="whiteText9px">Statisticien adjoint:</td>
<td nowrap class="orangeText9px"><?= $statisticien_adj2['prenom'] . " " . $statisticien_adj2['nom'] ?></td>
</tr>
</table>
</td>
<td nowrap>
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td align="right" nowrap class="whiteText9px">Chronometreur:</td>
<td nowrap class="orangeText9px"><?= $chronometreur['prenom'] . " " . $chronometreur['nom'] ?></td>
</tr>
<tr>
<td align="right" nowrap class="whiteText9px">Annonceur:</td>
<td nowrap class="orangeText9px"><?= $annonceur['prenom'] . " " . $annonceur['nom'] ?></td>
</tr>
<tr>
<td align="right" nowrap class="whiteText9px">Médecin de match:</td>
<td nowrap class="orangeText9px"><?= $medecin['prenom'] . " " . $medecin['nom'] ?></td>
</tr>
</table>
</td>
<td></td>
<td></td>
</tr>
</table>
</div>
|