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



Your IP : 3.140.188.195


Current Path : /var/www/lhjmq-records.qc.ca/public_html/xsl/records/booknew/
Upload File :
Current File : /var/www/lhjmq-records.qc.ca/public_html/xsl/records/booknew/index2_bck20160316.php

<?php
include_once './includes/common.php';
?>
<!DOCTYPE html>
<html lang="<?php echo $_SESSION['lang']; ?>" class="no-js">

	<head>
    	
    	<meta charset="utf-8">
    	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    	<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">    	
    	
		<title></title>
		
		<?//<script language="javascript" src="js/jquery-1.4.2.min.js"></script>?>
		
        <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
        <script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>		
		
		<script language="javascript" src="config/params_hugo.js"></script>
		<script language="javascript" src="js/functions_hugo.js"></script>
		
		<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/jQuery.mmenu/5.6.1/css/jquery.mmenu.all.min.css">
		<link rel="stylesheet" type="text/css" href="css/theme-lhjmq.css">
		<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jQuery.mmenu/5.6.1/js/jquery.mmenu.all.min.js"></script>
		
        <script type="text/javascript">
        jQuery(document).ready(function( $ ) {
    		$('nav#menu').mmenu({
    			extensions	: [ 'theme-lhjmq' ],
    			searchfield	: false,
    			scrollBugFix : {
        			fix : true
    			},
    			counters	: false,
                offCanvas   : {
                        position  : "right",
                        zposition : "front"
                },	
                onClick     : {
                        preventDefault  : false
                },            		
    			navbar 		: {
    				title		: ''
    			},
    			navbars		: [
    				/*{
    					position	: 'top',
    					content		: [
    						'prev',
    						'title',
    						'close'
    					]
    				},*/				
    				{
    					position	: 'bottom',
    					content		: [
    						'<a href="/">LHJMQ</a>'
    					]
    				}
    			]
    		});
    		
            var API = $("nav#menu").data( "mmenu" );
            
            $(".close_menu").click(function() {
             API.close();
            });
        });
        </script>		
		

		<link rel=StyleSheet href="css/styles.css" type="text/css" />

		<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>
		
    	<!-- detection -->
    	<script src="assets/js/vendor/modernizr-custom.js"></script>
    	
    	<!-- stylesheet -->
    	<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,300,700,800" rel="stylesheet" type="text/css">
        <link href="assets/css/main.min.css" rel="stylesheet" type="text/css">	
        <link href="assets/css/records.css" rel="stylesheet" type="text/css">	

		<?php
		function left($str, $length) {
			return substr($str, 0, $length);
		}

		$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 = "/xsl/records/book/index2.php";
				var p_lang = "' . $f_lang . '";
				var is_get_link = false;
				var server_name = "' . $_SERVER['HTTP_HOST'] . '";
				var home = "false";
				var thisPage = "index2.php";
			 </script>';


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

		if(isset($_REQUEST['file_id']) && isset($_REQUEST['rep']))
		{
			
			if ($_REQUEST['rep'] == 'V'){				
				$_REQUEST['rep'] = 'Z';	
			}
			
			if (left($_REQUEST['file_id'],1) == 'F' ){
				
				$new_repertoire = 'F';	
			}
			else if (left($_REQUEST['file_id'],1) == 'E' ){
				$new_repertoire = 'E';
			}
			else
			{
				$new_repertoire = '';
			}   
			
			echo '<script>
					var hide_swf_header = true;
					var is_catcher = true;
					var catch_rep = "' . $_REQUEST['rep'] . '";
					var catch_file = "V_' . $_REQUEST['file_id'] . '.xml";
					var new_repertoire = "' . $new_repertoire . '";
				</script>';
		}
		else
		{
			echo '<script>
					var is_catcher = false;
					var hide_swf_header = false;
					var new_repertoire = "";
				 </script>';
		}
		?>
		

	</head>

	<body>
    	    	
    <div class="wrapper"> 
        
    <div style="background:#005BAE;">    
        <div class="container">
            <div class="row">
                <div class="col-xs-9">    
                        
                	<nav class="nav__main" style="position:relative;">
                		<div>
                			<a href="/" class="logo-lhjmq"><img src="assets/img/logo-lhjmq.svg"></a>
                			<a class="records selected" href="/xsl/records/book/"><?= $lang['MENU_1']; ?></a>
                			<a class="historique" href="#"><?= $lang['MENU_2']; ?></a>                			
                		</div>
                	</nav>
                	
                </div>
                <div class="col-xs-3">
                    <div style="float:right;margin:20px 30px 0 0;"><a href="#menu" class="hamburger"><img src="assets/img/records/menu.svg" alt="" class="img-responsive center" /></a></div>
                </div>
            </div>
        </div> 
    </div>       
        
    <div class="container">
        <div class="row">
            <div class="col-sm-12">    
                    
                <p><img src="assets/img/records/header.jpg" alt="" class="img-responsive center" style="width:100%;" /></p>

                <p><img src="assets/img/records/banner.jpg" alt="" class="img-responsive center" /></p>
                      	

            		<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;">
            
            				<? include('../../../lang_' . $f_lang . '/records_top.php'); ?>
            
            				<div id="flashcontent"></div>            				
            				
            				<a href="javascript:open_close_tool(search_tool)" id="tool_btn"></a>
            				
            				<div style="display:none" id="display_search_tool">
            
            
            						<div id="denis_links" style="display:none;"></div>
            
            						<!-- <td bgcolor="#000000"> -->
            						
            						    <div class="search_tool_wrapper">
            
            								<div id="search_tool">
            
                                    			<div class="row">
                                    				<div class="col-md-5">
                                        				
                                        				<div class="search1">
                											
        												<?// include file - main_tools_selectors.xsl ?>
        												<div id="main_level_tool"></div>
            												
            											</div>	
            												
            										</div>
            										<div class="col-md-4">
                										
                										<div class="search2">
                										
            												<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>
            
                                                                <?// include file - .xsl ?>
            													<div id="main_seasons"></div>

            												</div>
            												
                                                        </div>

            										</div>
            										<div class="col-md-3">
                										
                										<div class="search3">

            												<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>
            												
                                                        </div>
            												
                                                    </div>
            									</div>
            
                                    			<div class="row">
                                    				<div class="col-md-12">
                                        				
                                        				<div class="search4">
                                        				
            												<div class="record_font_color" id="season_text_cat_02"></div>
            
            												<div id="second_level_tool"></div>
            
            												<div style="display:none;padding:10px;background-color:#000000;border:.1em solid #ffffff;z-index: -1;" 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>
            												
                                                        </div>
            
                                                    </div>
                                                </div>
                                                
                                    			<div class="row">
                                    				<div class="col-sm-4">   
        												<p><a class="btn1" style="margin-left:30px;" href="javascript:get_final_xml_name2(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; ?>')">Afficher</a></p>
            								        </div>
            								        <div class="col-sm-8 text-right">  
                								        <p id="nav_notice"></p>   
                								    </div>
                								</div>                                   				                                             
            
            								</div>
            
            							</div>
            							
            							<a name="a1"></a>
            							
            							<div id="main_records"></div>
            							
            				</div>			
            
            			</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>
            		
    
            <?// end content ?>
            
            </div>
        </div>
    </div> 
    
	<footer style="background:#e9e9ea;padding:20px 0;">	
        <div class="container">
            <div class="row">
                <div class="col-sm-12 text-center">
                    <div style="color:#717686;">
                        © 2015 LHJMQ - TOUS DROITS RÉSERVÉS | CRÉDITS
                    </div>
                </div>
            </div>
        </div>		
    </footer> 
    
    
    <nav id="menu">
       <div>
    
            <div class="text-right"><p><a href="#" class="close_menu"><img src="assets/img/records/close.svg" alt=""></a></p></div>

            <div class="menu_wrap">
                <div class="level1"><a href="/xsl/records/book/">RECORDS</a></div>
                <div class="level1"><a href="#">HISTORIQUE</a></div>
                <div class="level1"><a href="#">AMBASSADEURS</a></div>
                <div class="level1"><a href="#">TEMPLE DE LA RENOMMÉE</a></div>
                <div class="level1"><a href="#">STATISTIQUES</a></div>
                <div class="level1"><a href="#">SOMMAIRES DES MATCHS</a></div>
                    <div class="level2"><a href="#">Saisons 2010-11 et +</a></div>
                    <div class="level2"><a href="#">Saisons antérieur à 2010-11</a></div>
                <div class="level1"><a href="#">SOMMAIRES DES MATCHS ÉLIMINATOIRES</a></div>
                    <div class="level2"><a href="#">Saisons 2010-11 et +</a></div>
                    <div class="level2"><a href="#">Saisons antérieur à 2010-11</a></div>
                <div class="level1"><a href="#">RECHERCHER UN JOUEUR</a></div>
                <div class="level1"><a href="#">SITE OFFICIEL</a></div>
                <hr/>    
                <div class="level1"><a href="/xsl/records/book/index.php?lang=<?=$switch_lang;?>"><?=$switch_lang;?></a></div>           
    		</div>		
    		
            
       </div>
    </nav>                  
            
	</div>
		
    </body>
</html>