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



Your IP : 13.59.83.202


Current Path : /var/www/lhjmq-records.qc.ca/public_html/administration/op_resultats/lib/
Upload File :
Current File : /var/www/lhjmq-records.qc.ca/public_html/administration/op_resultats/lib/starsBox.php

<?php
$star1 = mysql_fetch_array(mysql_query("SELECT * FROM parties_joueurs WHERE id_partie_joueur = '$partie[star1]'", $mysql_link));
$star2 = mysql_fetch_array(mysql_query("SELECT * FROM parties_joueurs WHERE id_partie_joueur = '$partie[star2]'", $mysql_link));
$star3 = mysql_fetch_array(mysql_query("SELECT * FROM parties_joueurs WHERE id_partie_joueur = '$partie[star3]'", $mysql_link));?>
<DIV id="1c" style="display:none">
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="outlinetab">
	<TR> 
		<TD width="94%" bgcolor="#546085"> 
			<TABLE width="402" border="0" cellpadding="0" cellspacing="0">
				<TR>
					<?php if($gamestate == 1){ ?>
					<TD width="12" bgcolor="#868A96"><IMG src="../images/spacer.gif" width="8" height="8"></TD>
				  <TD width="110" bgcolor="#868A96"><SPAN class="orangeText9px"><STRONG><A href="javascript:SwitchDivItem('1b', 'block');javascript:SwitchDivItem('1c', '')">Contr&ocirc;le de la partie</A></STRONG></SPAN></TD>
					  <TD width="29" bgcolor="#546085"><IMG src="../images/onglet_modulefin.gif" width="19" height="15"></TD>
				  <TD width="90" bgcolor="#546085"><SPAN class="orangeText9px"><STRONG>&Eacute;toiles du match</STRONG></SPAN></TD>
					<TD width="19"><IMG src="../images/spacer.gif" width="19" height="15"></TD>
					<TD><IMG src="../images/spacer.gif" width="1" height="1"></TD>
					<?php }elseif($gamestate == 2 && $fusilladestatus == 0){ ?>
					<TD width="8" bgcolor="#868A96"><IMG src="../images/spacer.gif" width="8" height="1"></TD>
					<TD width="146" bgcolor="#868A96"><SPAN class="orangeText9px"><STRONG><A href="javascript:SwitchDivItem('1a', 'block');javascript:SwitchDivItem('1b', '');javascript:SwitchDivItem('1c', '')">Assistance -Temps - P&eacute;riode</A></STRONG></SPAN></TD>
					<TD width="19" bgcolor="#868A96"><IMG src="../images/spacer.gif" width="19" height="15"></TD>
					<TD width="105" bgcolor="#868A96"><SPAN class="orangeText9px"><STRONG><A href="javascript:SwitchDivItem('1a', '');javascript:SwitchDivItem('1b', 'block');javascript:SwitchDivItem('1c', '')">Contr&ocirc;le de la partie</A></STRONG></SPAN></TD>
					<TD width="19"><IMG src="../images/onglet_modulefin.gif" width="19" height="15"></TD>
				  <TD width="85" bgcolor="#546085"><SPAN class="orangeText9px"><STRONG>&Eacute;toiles du match</STRONG></SPAN></TD>
					<TD width="19"><IMG src="../images/spacer.gif" width="19" height="15"></TD>
					<?php }elseif($gamestate == 2 && $fusilladestatus >= 1){ ?>
					<TD width="19" bgcolor="#868A96"><IMG src="../images/spacer.gif" width="19" height="15"></TD>
					<TD width="105" bgcolor="#868A96"><SPAN class="orangeText9px"><STRONG><A href="javascript:SwitchDivItem('1b', 'block');javascript:SwitchDivItem('1c', '')">Contr&ocirc;le de la partie</A></STRONG></SPAN></TD>
					<TD width="19"><IMG src="../images/onglet_modulefin.gif" width="19" height="15"></TD>
				  <TD width="85" bgcolor="#546085"><SPAN class="orangeText9px"><STRONG>&Eacute;toiles du match</STRONG></SPAN></TD>
					<TD><IMG src="../images/spacer.gif" width="19" height="15"></TD>
					<?php }elseif($gamestate == 3){ ?>
					<TD width="8" bgcolor="#546085"><IMG src="../images/spacer.gif" width="8" height="1"></TD>
				  <TD bgcolor="#546085"><SPAN class="orangeText9px"><STRONG>&Eacute;toiles du match</STRONG></SPAN></TD>
					<?php } ?>
				</TR>
			</TABLE>
		</TD>
		<TD width="6%" align="right" bgcolor="#546085" class="orangeText10px"><A href="#etoiles" onClick="MM_callJS('submitToModule(2, 0)')"><IMG src="images/but_go.gif" name="starsGo" width="42" height="14" border="0" id="starsGo"></A></TD>
	</TR>
	<TR> 
		<TD colspan="2" align="right" height="4" bgcolor="#FFFFFF"><IMG src="../images/bottombutgo.gif" width="45" height="4"></TD>
	</TR>
	<TR> 
		<TD colspan="2" bgcolor="#FFFFFF" align="center"> 
			<TABLE width="100%" border="0" cellspacing="0" cellpadding="2">
					<TR> 
						<TD width="200" align="center" class="blueText10px"><STRONG>&Eacute;toile du match 1</STRONG></TD>
						<TD width="200" align="center" class="blueText10px"><STRONG>&Eacute;toile du match 2</STRONG></TD>
						<TD width="200" align="center" class="blueText10px"><STRONG>&Eacute;toile du match 3</STRONG></TD>
						<TD class="blueText10px"><STRONG>Choisies par:</STRONG></TD>
					</TR>
					<TR>
						<TD width="200" align="center" class="blackText9px">
							<SELECT name="sec2nume1" id="sec2nume1">
								<OPTION value="<?php echo $idVis; ?>"<?php if($partie[star1_team] == $idVis or $partie[star1_team] != $idDom){echo " SELECTED";} ?>><?php echo $nomVis; ?></OPTION>
								<OPTION value="<?php echo $idDom; ?>"<?php if($partie[star1_team] == $idDom){echo " SELECTED";} ?>><?php echo $nomDom; ?></OPTION>
							</SELECT>
							&nbsp;&nbsp;
							<INPUT name="sec2numj1" type="text" id="sec2numj1" onKeyPress="MM_callJS('keypress_submitToModule(1, 2)')" value="<?php echo $star1[numero]; ?>" size="3" maxlength="3">
						</TD>
						<TD width="200" align="center" class="blackText9px">
							<SELECT name="sec2nume2" id="sec2nume2">
								<OPTION value="<?php echo $idVis; ?>"<?php if($partie[star2_team] == $idVis or $partie[star2_team] != $idDom){echo " SELECTED";} ?>><?php echo $nomVis; ?></OPTION>
								<OPTION value="<?php echo $idDom; ?>"<?php if($partie[star2_team] == $idDom){echo " SELECTED";} ?>><?php echo $nomDom; ?></OPTION>
							</SELECT>
							&nbsp;&nbsp;
							<INPUT name="sec2numj2" type="text" id="sec2numj2" onKeyPress="MM_callJS('keypress_submitToModule(1, 2)')" value="<?php echo $star2[numero]; ?>" size="3" maxlength="3">
						</TD>
						<TD width="200" align="center" class="blackText9px"> 
							<SELECT name="sec2nume3" id="sec2nume3">
								<OPTION value="<?php echo $idVis; ?>"<?php if($partie[star3_team] == $idVis or $partie[star3_team] != $idDom){echo " SELECTED";} ?>><?php echo $nomVis; ?></OPTION>
								<OPTION value="<?php echo $idDom; ?>"<?php if($partie[star3_team] == $idDom){echo " SELECTED";} ?>><?php echo $nomDom; ?></OPTION>
							</SELECT>
							&nbsp;&nbsp; 
							<INPUT name="sec2numj3" type="text" id="sec2numj3" onKeyPress="MM_callJS('keypress_submitToModule(1, 2)')" value="<?php echo $star3[numero]; ?>" size="3" maxlength="3">
						</TD>
						<TD> 
							<INPUT name="sec2sel" type="text" id="sec2sel" onKeyPress="MM_callJS('keypress_submitToModule(1, 2)')" value="<?php echo $partie[star_sel]; ?>" size="30" maxlength="30">
						</TD>
					</TR>
				</TABLE>
		</TD>
	</TR>
	<TR> 
		<TD colspan="2" bgcolor="#FFFFFF"><IMG src="../images/spacer.gif" width="1" height="8"></TD>
	</TR>
</TABLE>
</DIV>