AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 18.220.94.189


Current Path : /var/www/lhjmq-records.qc.ca/public_html/lang_en/calendars/lib/
Upload File :
Current File : /var/www/lhjmq-records.qc.ca/public_html/lang_en/calendars/lib/fusDetail.php

<span class="blueText14px"><b>Shootout</b></span><br />
<table width="621" border="0" cellspacing="0" cellpadding="0" bgcolor="#546085">
	<tr>
		<td><img src="../images/spacer.gif" width="621" height="1"></td>
	</tr>
</table>

<table width="621" border="0" cellspacing="0" cellpadding="3" class="blackText11px">
	<tr>
		<td>
			<br />
			<b>Results:</b> <?php echo $partie['nom_equipe_vis']; ?>: <?php echo mysql_num_rows(mysql_query('SELECT * FROM parties_subevents AS ps LEFT JOIN parties_events AS pe USING(id_partie_event) WHERE id_partie = '.$partie['id_partie'].' AND code_event = 13 AND param2 = 1 AND id_equipe = '.$partie['id_equipe_vis'], $mysql_link)); ?> - <?php echo $partie['nom_equipe_dom']; ?>: <?php echo mysql_num_rows(mysql_query('SELECT * FROM parties_subevents AS ps LEFT JOIN parties_events AS pe USING(id_partie_event) WHERE id_partie = '.$partie['id_partie'].' AND code_event = 13 AND param2 = 1 AND id_equipe = '.$partie['id_equipe_dom'], $mysql_link)); ?>
			<br />
			<table width="100%" border="0" cellpadding="5" cellspacing="0">
				<tr>
					<td>
						<table width="100%" border="0" cellpadding="0" cellspacing="0" class="outlinetab" style="font-size:12px">
							<?php
							//Setup
							$rowClass = "list2Reg";
							$curindex = 1;
							//Get the events for the fus in seq order
							$events = mysql_query("SELECT * FROM parties_subevents AS ps LEFT JOIN parties_events AS pe USING(id_partie_event) WHERE id_partie = $id_partie AND code_event = 13 ORDER BY param3, REPLACE(REPLACE(id_equipe, ".$idDom.", 1), ".$idVis.", 0) ASC", $mysql_link);
							while ($event = mysql_fetch_assoc($events)) {
								if ($rowClass == "list1Reg") {
									$rowClass = "list2Reg";
								} else {
									$rowClass = "list1Reg";
								}
								//Get the participants
								$shooter = mysql_fetch_assoc(mysql_query("SELECT * FROM parties_joueurs LEFT JOIN parties_equipes USING(id_equipe) WHERE id_partie_joueur = ".$event['id_partie_joueur']." AND parties_equipes.id_partie = $id_partie", $mysql_link));
								$goalie = mysql_fetch_assoc(mysql_query("SELECT * FROM parties_joueurs LEFT JOIN parties_equipes USING(id_equipe) WHERE id_partie_joueur = ".$event['param1']." AND parties_equipes.id_partie = $id_partie", $mysql_link));
								//Print the event
								if ($curindex != $event['param3']) {
									$curindex = $event['param3'];
									?>
						</table><br />
						<table width="100%" border="0" cellpadding="0" cellspacing="0" class="outlinetab" style="font-size:12px">
							<?php
								}
								?>
								<tr class="<?php echo $rowClass; ?>">
									<td class="blackText10px" valign="top" align="left" width="20" style="padding:5px"><?php echo $event['param3'] . ". "; ?></td>
									<td class="blackText10px" style="padding:5px" width="200"><?php echo strtoupper($shooter['abreviation']) . " - <a href='index.php?page=2147483647&id_register=".$shooter[id_register]."' class='lnkBase9px'>" . $shooter['prenom'] . " " . $shooter['nom']."</a>"; ?></td>
									<td class="blackText10px" style="padding:5px">&nbsp;&nbsp;&nbsp;<i>against</i>&nbsp;&nbsp;&nbsp;<?php echo strtoupper($goalie['abreviation']) . " - <a href='index.php?page=2147483647&id_register=".$goalie[id_register]."' class='lnkBase9px'>" . $goalie['prenom'] . " " . $goalie['nom']."</a>"; ?></td>
									<td class="blackText10px" width="50" align="right" style="padding:5px"><?php echo $event['param2'] == 0 ? 'Stopped' : '<b>Goal</b>'; ?></td>
								</tr>
							<?php
							}
							?>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>