<?php

require 'PHP/general.php';

if ( isset($_SESSION['LvL']) )
	if ($_SESSION['LvL'] == 0)

{
$loadPass = 'false';

$pageContents1 = <<< EOPAGE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="fr" xml:lang="fr" id="html" xmlns="http://www.w3.org/1999/xhtml">

<head>
	<title>Page maître</title>
	<meta http-equiv="Content-Type" content="txt/html; charset=utf-8" />
	<link rel="stylesheet" type="text/css" href="css/style0.css" />

	<link rel="apple-touch-icon" href="CI/icons/touch-icon-iphone.png" />
	<link rel="apple-touch-icon" sizes="72x72" href="CI/icons/touch-icon-ipad.png" />
	<link rel="apple-touch-icon" sizes="114x114" href="CI/icons/touch-icon-iphone4.png" />
	<link rel="shortcut icon" href="CI/icons/favicon.ico" type="image/x-icon" />
	<script type="text/javascript">
	<!--
		var loadPass = $loadPass;
	-->
	</script>
	<script type="text/javascript" src="js/javascript_cookies.js"></script>
	<script type="text/javascript" src="js/module0.js"></script>
</head>

<body>
	<div id='msg0Container' class='messageContainer'>
		<div id='msg0Header' class='messageHeader'>Erreur</div>
		<div id='msg0Area' class='messageArea'>Le navigateur ne peut pas exécuter du code JavaScript.</br>Il faut l'activer afin de visualiser le site.</div>
	</div>
	<div id="mainContainer" class="mainContainer">
		<div id="rDiv1" class="right1BottomContainer" >
			<div class="right1BottomHeader" >Connectez-vous</div>
				<div class="right1BottomArea" style="text-align:center">
					<a style="color:red;" ></a></br>
					<form id="loginForm" action="index.php" method="post" onsubmit="processLogin();">
					<table id="passTable" align="center" border="0" cellpadding="1" cellspacing="0">
					<tr>
						<td align="right" nowrap="nowrap">Nom de compte:</td>
						<td><input type="text" name="Account" id="Account" size="18" onchange="checkSubmitLogin();" onkeyup="checkSubmitLogin();" /></td>
					</tr>
					<tr>
						<td align="right" nowrap="nowrap">Mot de passe:</td>
						<td><input type="password" name="Passwd" id="Passwd" size="18" onchange="checkSubmitLogin();" onkeyup="checkSubmitLogin();" /></td>
					</tr>
					<tr>
						<td align="center" nowrap="nowrap">
							<input type="submit" id="submitLogin" value="Connexion" disabled="disabled" />
						</td>
						<td align="center" nowrap="nowrap"></td>
					</tr>
					</table>
					</form>
					</br>
				</div>
		</div>
	</div>

	<script type="text/javascript" src="js/module1.js"></script>

</body>

</html>
EOPAGE;

} else {

require("../CI/indexPWD.php");

$pageContents1 = <<< EOPAGE
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html lang="fr" xml:lang="fr" id="html" xmlns="http://www.w3.org/1999/xhtml">

<head>
	<title>Page maître</title>
	<meta http-equiv="Content-Type" content="txt/html; charset=utf-8" />
	<link rel="stylesheet" type="text/css" href="css/style0.css" />

</head>

<body>
	<div id="bottomContainer">
	<div class="leftBottomContainerHeader">
		Demo
	</div>
	<div class="leftBottomContainer">
		<a href="CI/comparateur.php">Imprimantes - Comparateur d'image sans parametres</a><br/>
		<a href="CI/comparateur.php?Type_product_id=_1">Imprimantes - Comparateur d'image avec 1 parametre</a><br/>
		<a href="CI/comparateur.php?Type_product_id=_1&Product_ref_id=2150">Imprimantes - Comparateur d'image avec 2 parametres</a><br/>
		<a href="CI/comparateur.php?Type_product_id=_1&Product_ref_id=2150&Product_ref_img=_Img1">Imprimantes - Comparateur d'image avec 3 parametres</a><br/>
		<a href="CI/comparateur.php?Type_product_id=_1&Product_ref_id=2150&Product_ref_img=_Img1&Product_ref_type=_iso1">Imprimantes - Comparateur d'image avec 4 parametres</a><br/>
		<a href="CI/comparateur.php?Type_product_id=_2&Product_ref_id=i1180&Product_ref_img=_laser1&Product_ref_type=_1&CFG=2">Imprimantes - Comparateur d'image avec 4 parametres et configuration 2 (Pour imprimates, 300x300)</a><br/>
		<a href="CI/comparateur.php?Type_product_id=_1&Product_ref_id=1171&Product_ref_img=_D&Product_ref_type=_200&CFG=3">APN - Comparateur d'image avec 4 parametres et configuration 3 (300x200)</a><br/>
		<a href="CI/comparateur.php?Type_product_id=_1&Product_ref_id=1171&Product_ref_img=_D&Product_ref_type=_200&CFG=4">APN - Comparateur d'image avec 4 parametres et configuration 4 (300x300)</a><br/>
	</div>
	${pageContents2}
	<div class="leftBottomContainerHeader">

EOPAGE;


}

echo $pageContents1;
?>
