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.221.157.203


Current Path : /var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/js/
Upload File :
Current File : /var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/js/index2.php

<?php


$f_lang = $_GET['lang'];

if(! isset($_GET['lang']))
{
	$f_lang = 'fr';
}

if($f_lang != 'en')
{
	if($f_lang != 'fr')
	{
		$f_lang = 'fr';
	}
}


$dart_lang = $f_lang;
if($dart_lang != 'fr')
	$dart_lang = 'eng';

$curzone = "league-info";
/*
$curzone = "stats";
$curzone = "playoffs";
$curzone = "promotions";
$curzone = "news";
$curzone = "home";
*/

$playoffs_radio_msg = $f_lang == 'fr' ? 'Disponible bient�t' : 'Available soon';

$dart_rand = rand(1000000, 99999999);

$url = $_SERVER['SCRIPT_NAME'];
$is_home = substr_count($url, 'index1.php') == 1 ? 'true' : 'false';
$current_page_name = basename($_SERVER['PHP_SELF']);

echo '<script>
		var record_main_folder = "' . $url . '";
		var p_lang = "' . $f_lang . '";
		var is_get_link = false;
		var server_name = "' . $_SERVER['HTTP_HOST'] . '";
		var home = "' . $is_home . '";
		var thisPage = "' . $current_page_name . '";
	 </script>';


if(isset($_REQUEST['getlink']))
{
	echo '<script>
			is_get_link = true;
		</script>';
}

if(isset($_REQUEST['file_id']) && isset($_REQUEST['rep']))
{
	echo '<script>
			var hide_swf_header = true;
			var is_catcher = true;
			var catch_rep = "' . $_REQUEST['rep'] . '";
			var catch_file = "' . $_REQUEST['rep'] . '_' . $_REQUEST['file_id'] . '.xml";
		</script>';
}
else
{
	echo '<script>
			var is_catcher = false;
			var hide_swf_header = false;
		 </script>';
}
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>

	<head>
		<title></title>
		<script language="javascript" src="js/jquery-1.4.2.min.js"></script>
		<script language="javascript" src="config/params.js"></script>
		<script language="javascript" src="js/functions.js"></script>
		<script language="javascript" src="js/swfobject.js"></script>
		<link rel=StyleSheet href="css/styles.css" type="text/css" />
		<!--[if lt IE 7.]><script defer type="text/javascript" src="js/pngfix.js"></script><![endif]-->
		<link rel="stylesheet" type="text/css" href="css/shadowbox.css">
		<script type="text/javascript" src="js/shadowbox.js"></script>
		<script type="text/javascript">	
	    Shadowbox.init({
	        players:    ["img","iframe","html"],
	        handleOversize:   "resize"
	    });	
	    
		</script>
		
		
	</head>

	<body bgcolor="black">

	<center>
		<div id="search_msg" style="position:absolute; top:465px; font-weight:bold; color:#000000; font-size:20px;display:none; margin-left:-125px; background-color:#ffffff; padding:10px; border:solid #dddddd 1px;">
			Searching... / Recherche...
		</div>

		<div id="page_to_preload" style="display:block;">

				<table cellpadding="0" cellspacing="0" border="0" width="945">
					<tr>
						<td>
							<? include('../../../lang_' . $f_lang . '/records_top.php'); ?>
						</td>
					</tr>
				</table>

				<table cellpadding="0" cellspacing="0" border="0" width="945">
					<tr>
						<td>
							<div id="flashcontent"></div>
						</td>
					</tr>
				</table>
				<table cellpadding="0" cellspacing="0" border="0" width="945">
					<tr>
						<td style="color:white;">
							<a href="javascript:open_close_tool(search_tool)" id="tool_btn"></a>
						</td>
					</tr>
					<tr>
						<td class="tool_bg" valign="top" style="display:none" id="display_search_tool">

						<div id="denis_links" style="display:none;"></div>

						<!-- <td bgcolor="#000000"> -->

								<div id="search_tool">

									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td style="height:30px;" colspan="5"></td>
										</tr>
										<tr valign="top">
											<td width="60">&nbsp;</td>
											<td width="380">
												<div id="main_level_tool"></div>
											</td>
											<td width="330" valign="top">
												<div id="top_bloc_2">
												<!-- REF seasons.xsl -->
													<div>
														<div>
															<label for="select_carriere" class="record_font_color">
																<input type="radio" name="select_2" id="select_carriere" value="V" class="radio_margin" onClick="is_main_selector_selection(false); get_section_letter(document.getElementById('section02'), this.value); show_hide_season_section(this); get_section_number(section2_number, '1'); reload_drop_lists(true);" /> <span id="career_text"></span>
															</label>
														</div>
													</div>
													<div id="season_to_hide">
														<div style="padding-right:10px;">
															<label for="select_saison" class="record_font_color float_left">
																<input type="radio" name="select_2" id="select_saison" class="radio_margin" onClick="is_main_selector_selection(false); get_section_letter(document.getElementById('section02'), document.getElementById('season_selector').value); show_hide_season_section(this); get_section_number(section2_number, '2'); reload_drop_lists(true)" /> <span id="in_season_text"></span>
															</label>
														</div>
													</div>

													<div id="main_seasons"></div>
													<div class="clear_float"></div>
												</div>
											</td>
											<td valign="top">
												<div id="top_bloc_3">
												<!--div style="padding-bottom:10px;" class="record_font_color" id="season_type_cat_03">TYPE DE SAISON 3 (titre de travail):</div-->
													<div>
														<div style="padding-right:10px;">
															<label for="select_reg" class="record_font_color">
																<input type="radio" name="select_3" id="select_reg" value="SR" class="radio_margin" onClick="is_main_selector_selection(false); get_section_letter(document.getElementById('section03'), this.value); get_section_number(section3_number, '1'); reload_drop_lists(true)" /> <span id="regular_season_text"></span>
															</label>
														</div>
													</div>

													<div>
														<div style="padding-right:10px;">
															<label for="select_elim" class="record_font_color">
																<input type="radio" name="select_3" id="select_elim" value="SE" class="radio_margin" onClick="is_main_selector_selection(false); get_section_letter(document.getElementById('section03'), this.value); get_section_number(section3_number, '2'); reload_drop_lists(true)" /> <span id="playoffs_text"></span>
															</label>
														</div>
													</div>

													<div style="display:none;">
														<div style="padding-right:10px;">
															<label for="select_both" class="record_font_color">
																<input type="radio" name="select_3" id="select_both" value="SRE" class="radio_margin" onClick="is_main_selector_selection(false); get_section_letter(document.getElementById('section03'), this.value); get_section_number(section3_number, '3'); reload_drop_lists(false)" /> <span id="both_seasons"></span>
															</label>
														</div>
													</div>
												</div>
											</td>
										</tr>
										<tr>
											<td style="height:10px;"></td>
										</tr>
									</table>

									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="68">&nbsp;</td>
											<td valign="top">
											<!-- REF main_tool_selectors.xsl -->
												<div class="float_left">
													<div style="padding-bottom:10px;" class="record_font_color" id="season_text_cat_02"></div>
												</div>

												<div id="second_level_tool"></div>

												<div style="display:none;padding:10px;background-color:#000000;border:.1em solid #ffffff;" id="debug_zone" name="debug_zone">
													<div class="record_font_color" style="padding-bottom:5px;font-weight:bold;font-size:12px;">ZONE DE GESTION (sera masqu�e une fois le d�veloppement termin�)</div>
													<div>
														<div style="padding-bottom:5px;" class="record_font_color">NOM DU FICHIER XML G�N�R�</div>
														<input type="text" name="section00" id="section00" style="width:75px;text-align:left;" value="-1" /> -
														<input type="text" name="section01" id="section01" style="width:75px;text-align:left;" value="-1" /> -
														<input type="text" name="section02" id="section02" style="width:75px;text-align:left;" value="-1"  /> -
														<input type="text" name="section03" id="section03" style="width:75px;text-align:left;" value="-1"  /> -
														<input type="text" name="section04" id="section04" style="width:75px;text-align:left;" value="-1"  /><span class="record_font_color"> .xml</span>
													</div>
													<div style="padding-top:10px;">
														<div class="record_font_color">DROPDOWNS VARIABLES FOR RELOADING</div>
														<input type="text" name="drop_second_level" id="drop_second_level" style="width:140px;text-align:left;" />
														<input type="text" name="drop_third_level" id="drop_third_level" style="width:140px;text-align:left;" />
														<input type="text" name="drop_forth_level" id="drop_forth_level" style="width:140px;text-align:left;"  />
														<input type="text" name="drop_fifth_level" id="drop_fifth_level" style="width:140px;text-align:left;"  />
														<input type="text" name="drop_sixth_level" id="drop_sixth_level" style="width:140px;text-align:left;"  />
														<input type="text" name="drop_seventh_level" id="drop_seventh_level" style="width:140px;text-align:left;"  />
													</div>
													<div style="padding-top:10px;">
														<div class="record_font_color">DYNAMIC LEVEL TYPE CHOOSER</div>
														<span class="record_font_color">xxxxx_levels</span><input type="text" name="section2_number" id="section2_number" style="width:25px;text-align:center;"  />
														<input type="text" name="section3_number" id="section3_number" style="width:25px;text-align:center;"  />
														<input type="text" name="debug_text" id="debug_text" style="width:450px;"/>
													</div>
												</div>

											</td>
										</tr>
										<tr>
											<td style="height:5px;" colspan="2"></td>
										</tr>
									</table>

									<table width="100%" border="0" cellspacing="0" cellpadding="0" class="main_font_size">
										<tr>
											<td align="right" valign="middle">
												<span style="color:#fff;" id="nav_notice"></span>
											</td>
											<td valign="top" align="center" width="80px">
												<a href="javascript:get_final_xml_name(document.getElementById('section02').value + '_' + document.getElementById('section00').value + document.getElementById('section01').value + document.getElementById('section03').value + document.getElementById('section04').value + '.xml', '<?php echo $f_lang; ?>')">
													<img src="img/btn_go.png" alt="Go" />
												</a>
											</td>
										</tr>
									</table>

								</div>


						</td>
					</tr>
					<tr>
						<td valign="top" style="padding-top:5px;">
							<a name="a1"></a>
							<div id="main_records"></div>
						</td>
					</tr>
				</table>
			</div>

			<div id="preload_msg">
				<!--
				<table width="100%" border="0" cellspacing="0" cellpadding="0" style="height:100%;">
					<tr>
						<td align="center">
							<table border="0" cellspacing="0" cellpadding="10">
								<tr>
									<td align="center" bgColor="#ffffff"><img src="img/logo_lhjmq.png" border="0"></td>
									<td align="center" bgColor="#ffffff">
										<?php
											$loading_msg = $_GET['lang'] == 'fr' ? 'Chargement en cours...' : 'Loading. Please wait...';
											echo $loading_msg;
										?>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
				-->
			</div>
		</center>
	</body>
</html>