1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<link rel="shortcut icon" href="script/images/favicon.ico" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="keywords" content="FIPROCESS, fabricant, Machine spéciale">
<meta name="description" content="INTRANET FI-PROCESS">
<meta name="authors" content="CROZET Mathieu"/>
<title>FIPROCESS - INTRANET</title>
<link rel="stylesheet" type="text/css" href= "style/fiproc-intra.css">
</head>
<body>
<div id="entete">
<img align="center" src="script/images/entete_h.jpg" alt="entete FIPROCESS"/>
<img align="center" src="script/images/entete_b.jpg" alt="entete bas FIPROCESS"/>
</div>
<div id="nav">
<?php
require_once ('script/inc/calendrier.inc');
calendrier();
?>
</div>
<div id="nav">
<?php
$date= date("d-m-Y");
$heure=date("h-i");
echo"<p>aujourd'hui nous sommes le <BR> $date - $heure</p>";
//echo"<BR>";
//echo"<BR>";
?>
</div>
<div id="nav">
<?php
echo "<br>";
// appel de la fenétre de login
include('script/login.htm');
// appel du menu
include('script/menu.htm');
?>
</div>
<div id="contenu">
<p class="astuce">bientot le site fonctionnera donc soyez patient</p>
<?php
// On définit le tableau contenant les pages autorisées
// ----------------------------------------------------
$pageOK = array('accueil'=>'script/accueil.php',
'timer' => 'script/timer.php',
'admin'=>'script/admin.php');
// On teste que le paramètre d'url existe et qu'il est bien autorisé
// -----------------------------------------------------------------
//echo"hello";
if ( (isset($_GET['page'])) && (isset($pageOK[$_GET['page']])) ) {
} else {
include('script/accueil.php'); // Page par défaut quant elle n'existe pas dans le tableau
}
?>
</div>
<div id="pp">
<?php
include ('script\pp.htm');
?>
</div>
</body>
</html> |
Partager