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.101.51
<?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><?= $lang['PAGE_TITLE']; ?></title>
<meta property="og:title" content="<?= $lang['META_TITLE']; ?>">
<meta property="og:image" content="<?php echo "http://".urlencode($protocol.$_SERVER['HTTP_HOST'])?>/xsl/records/book/assets/img/meta-ogimage.png">
<meta property="og:site_name" content="<?= $lang['META_SITE_NAME']; ?>">
<meta property="og:url" content="<?php echo "http://".$protocol.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'] ?>">
<meta property="og:description" content="<?= $lang['META_DESCRIPTION']; ?>">
<meta property="og:type" content="website">
<?//<script language="javascript" src="js/jquery-1.4.2.min.js"></script>?>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,300,700,800" rel="stylesheet" type="text/css">
<script src="http://code.jquery.com/jquery-1.12.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();
});
$('.btn_recherche').click(function(e) {
e.preventDefault;
//$('.search_tool_wrapper').css("display","block");
$('.search_tool_wrapper').toggle();
});
$('.btn_afficher').click(function(e) {
e.preventDefault;
//$('.search_tool_wrapper').css("display","block");
});
});
</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>';
}
?>
<script type='text/javascript'>
var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
(function() {
var gads = document.createElement('script');
gads.async = true;
gads.type = 'text/javascript';
var useSSL = 'https:' == document.location.protocol;
gads.src = (useSSL ? 'https:' : 'http:') +
'//www.googletagservices.com/tag/js/gpt.js';
var node = document.getElementsByTagName('script')[0];
node.parentNode.insertBefore(gads, node);
})();
</script>
<script type='text/javascript'>
<? if($f_lang=="fr") { ?>
googletag.cmd.push(function() {
googletag.defineSlot('/3034/web.chl/QMJHL.ca/History', [[970, 90],[728, 90]], 'div-gpt-ad-1452832437881-0').addService(googletag.pubads()).setTargeting("lang", "fr");
googletag.defineSlot('/3034/web.chl/QMJHL.ca/History', [300, 250], 'div-gpt-ad-1452832437881-1').addService(googletag.pubads()).setTargeting("lang", "fr");
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
<? } else { ?>
googletag.cmd.push(function() {
googletag.defineSlot('/3034/web.chl/QMJHL.ca/History', [[970, 90],[728, 90]], 'div-gpt-ad-1452832437881-0').addService(googletag.pubads()).setTargeting("lang", "eng");
googletag.defineSlot('/3034/web.chl/QMJHL.ca/History', [300, 250], 'div-gpt-ad-1452832437881-1').addService(googletag.pubads()).setTargeting("lang", "eng");
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
<? } ?>
</script>
</head>
<body>
<div class="wrapper">
<div style="background:#005BAE;">
<div class="container">
<div class="row">
<div class="col-xs-6 col-sm-10">
<nav class="nav__main" style="position:relative;">
<div>
<a href="/xsl/records/book/" class="logo-lhjmq"><img src="assets/img/logo-LHJMQ-border.png" style="max-height:46px;"></a>
<div class="nav1">
<a class="records selected" href="#"><?= $lang['MENU_1']; ?></a>
<a href="/xsl/records/book/?lang=<?=$f_lang;?>"><?= $lang['MENU_2']; ?></a>
<a href="http://www.lhjmq-records.qc.ca/lang_<?=$f_lang;?>/index.php?&page=3429" target="_blank"><?= $lang['MENU_3']; ?></a>
<a href="/xsl/records/book/index2.php?lang=<?=$switch_lang;?>"><?=$switch_lang;?></a>
</div>
</div>
</nav>
</div>
<div class="col-xs-6 col-sm-2">
<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><a class="records selected" href="/xsl/records/book/index2.php"><img src="assets/img/records/header-<?=$f_lang?>.jpg" alt="" class="img-responsive center" style="width:100%;" /></a></p>
<?/*<p><img src="assets/img/records/banner.jpg" alt="" class="img-responsive center" /></p>*/?>
<div class="pub_top">
<div id='div-gpt-ad-1452832437881-0'>
<script type='text/javascript'>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1452832437881-0'); });
</script>
</div>
</div>
<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 class="row recherche">
<div class="col-sm-12 text-center">
<p><a class="btn1 btn_recherche" href="javascript:void(0);">Rechercher</a></p>
</div>
</div>
<div id="page_to_preload" style="display:block;">
<? include('../../../lang_' . $f_lang . '/records_top.php'); ?>
<a name="a0"></a>
<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 class="radio-inline">
<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 class="radio-inline">
<label for="select_saison" class="record_font_color">
<input type="radio" name="select_2" id="select_saison" value="S" 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 class="radio-inline">
<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 class="radio-inline">
<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 class="radio-inline">
<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:#FFFF00;" id="debug_zone" name="debug_zone">
<div style="padding-bottom:5px;font-weight:bold;font-size:12px;"><br /><br />ZONE DE GESTION (sera masquée une fois le développement terminé)</div>
<div>
<div>GENERATED FILE NAME</div>
<input type="text" name="section02" id="section02" style="width:75px;" value="-1" /> _
<input type="text" name="section00" id="section00" style="width:75px;" value="-1" /> -
<input type="text" name="section01" id="section01" style="width:75px;" value="-1" /> -
<input type="text" name="section03" id="section03" style="width:75px;" value="-1" /> -
<input type="text" name="section04" id="section04" style="width:170px;" value="-1" />.xml
</div>
<div style="padding-top:10px;">
<div>DROPDOWN VARIABLES FOR RELOADING</div>
<input type="text" name="drop_second_level" id="drop_second_level" style="width:160px; font-size:12px;" />
<input type="text" name="drop_third_level" id="drop_third_level" style="width:160px; font-size:12px;" />
<input type="text" name="drop_forth_level" id="drop_forth_level" style="width:160px; font-size:12px;" />
<input type="text" name="drop_fifth_level" id="drop_fifth_level" style="width:160px; font-size:12px;" />
<input type="text" name="drop_sixth_level" id="drop_sixth_level" style="width:160px; font-size:12px;" />
<input type="text" name="drop_seventh_level" id="drop_seventh_level" style="width:160px; font-size:12px;" />
</div>
<div style="display:none; padding-top:10px;">
<div>DYNAMIC LEVEL TYPE CHOOSER</div>
<span>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 btn_afficher" 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; ?>')"><? echo $f_lang == 'fr' ? 'Affichez' : 'Display' ?></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>
<?php
// shorten url for twitter
$url = urlencode('http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);
$fp = fopen( 'http://tinyurl.com/api-create.php?url='.$url, 'r');
if($fp) {
$tinyurl = fgets($fp);
if($tinyurl && !empty($tinyurl)) {
// if we get a response set the new short URL variable
$returnurl = $tinyurl;
fclose($fp);
}
}
//echo $returnurl;
?>
<footer style="background:#e9e9ea;padding:20px 0;">
<div class="container">
<div class="row">
<div class="col-sm-12 text-center">
<div class="sharing-btns">
<p class="pad-20"><?= ($_SESSION['lang']=="fr")?"Partagez avec vos amis !":"Share with your friends!" ?></p>
<a href="http://www.facebook.com/sharer.php?u=<?=$returnurl?>" target="_blank" class="sharing facebook"></a>
<!-- Twitter -->
<a href="https://twitter.com/intent/tweet?url=<?=$returnurl?>&text=<?= $lang['META_TITLE']; ?>&hashtags=<?=($_SESSION['lang']=="fr")?"LHJMQ":"QMJHL"?>" target="_blank" class="sharing twitter"></a>
</div>
<? if($f_lang=="fr") { ?>
<div style="color:#717686;font-size:14px;font-family:'Open Sans','HelveticaNeue','Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:bold;">
<?= $lang['FOOTER_LEGAL']; ?> <a href="https://www.facebook.com/LHJMQPageOfficielle/" target="_blank" style="margin:0 10px;"><img src="assets/img/facebook.png"></a><a href="https://twitter.com/lhjmq" target="_blank"><img src="assets/img/twitter.png"></a>
</div>
<? } else { ?>
<div style="color:#717686;font-size:14px;font-family:'Open Sans','HelveticaNeue','Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:bold;">
<?= $lang['FOOTER_LEGAL']; ?> <a href="https://www.facebook.com/qmjhl" target="_blank" style="margin:0 10px;"><img src="assets/img/facebook.png"></a><a href="https://twitter.com/qmjhl" target="_blank"><img src="assets/img/twitter.png"></a>
</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>
<? if($f_lang=="fr") { ?>
<div class="menu_wrap">
<div class="level1"><a href="http://www.lhjmq-records.qc.ca/xsl/records/book/index2.php?lang=fr">RECORDS</a></div>
<div class="level1"><a href="http://www.lhjmq-records.qc.ca/xsl/records/book/index.php?lang=fr">HISTORIQUE</a></div>
<div class="level1"><a href="http://www.lhjmq-records.qc.ca/lang_fr/index.php?&page=3429" target="_blank">NOS FRANCHISES</a></div>
<div class="level1"><a href="https://www.facebook.com/groups/729180980448730/" target="_blank">CLUB DES AMBASSADEURS</a></div>
<div class="level1"><a href="http://lhjmq.qc.ca/temple-renommee-fr/" target="_blank">TEMPLE DE LA RENOMMÉE</a></div>
<div class="level1"><a href="http://lhjmq.qc.ca/stats" target="_blank">STATISTIQUES</a></div>
<div class="level1"><a href="http://lhjmq.qc.ca/schedule" target="_blank">SOMMAIRES DES MATCHS</a></div>
<div class="level1"><a href="http://lhjmq.qc.ca/searchpeople" target="_blank">RECHERCHEZ UN JOUEUR</a></div>
<div class="level1"><a href="http://lhjmq.qc.ca/" target="_blank">SITE OFFICIEL</a></div>
<hr/>
<div class="level1"><a href="http://www.lhjmq-records.qc.ca/xsl/records/book/index2.php?lang=<?=$switch_lang;?>"><?=$switch_lang;?></a></div>
</div>
<? } else { ?>
<div class="menu_wrap">
<div class="level1"><a href="http://www.lhjmq-records.qc.ca/xsl/records/book/index2.php?lang=en">RECORDS</a></div>
<div class="level1"><a href="http://www.lhjmq-records.qc.ca/xsl/records/book/index.php?lang=en">HISTORY</a></div>
<div class="level1"><a href="http://www.lhjmq-records.qc.ca/lang_en/index.php?&page=3429" target="_blank">OUR FRANCHISES</a></div>
<div class="level1"><a href="https://www.facebook.com/groups/729180980448730/" target="_blank">AMBASSADORS CLUB</a></div>
<div class="level1"><a href="http://theqmjhl.ca/hall-of-fame-en/" target="_blank">HALL OF FAME</a></div>
<div class="level1"><a href="http://theqmjhl.ca/stats/" target="_blank">STATISTICS</a></div>
<div class="level1"><a href="http://theqmjhl.ca/schedule/184" target="_blank">GAME SUMMARIES</a></div>
<div class="level1"><a href="http://theqmjhl.ca/searchpeople" target="_blank">SEARCH A PERSON</a></div>
<div class="level1"><a href="http://theqmjhl.ca/" target="_blank">OFFICIAL QMJHL WEBSITE</a></div>
<hr/>
<div class="level1"><a href="http://www.lhjmq-records.qc.ca/xsl/records/book/index2.php?lang=<?=$switch_lang;?>"><?=$switch_lang;?></a></div>
</div>
<? } ?>
</div>
</nav>
</div>
</body>
</html>
|