projet-php/Dashboard.php

75 lines
1.8 KiB
PHP
Raw Normal View History

<?php session_start();
require('autoloader.php');
if(!Authentification::checkUser(0)){
header("Location: http://".$_SERVER['HTTP_HOST']."/index.php");
die();
};?>
2015-12-03 08:51:40 +00:00
<!DOCTYPE html>
<html>
<head>
<title>Tableau de bord</title>
<meta charset='utf-8'/>
<meta name='description' value='Site de test'/>
<meta name='author' value='{xdrm} & SeekDaSky'/>
<link rel='stylesheet' href='css/animations.css'/>
2015-12-03 08:51:40 +00:00
<link rel='stylesheet' href='css/global.css'/>
<link rel='stylesheet' href='css/responsive.css'/>
<script type='text/javascript' src='js/lib/API.js'></script>
2015-12-14 10:01:35 +00:00
<script type='text/javascript' src='js/lib/adjust.js'></script>
<script type='text/javascript' src='js/input-checker.js'></script>
2015-12-03 08:51:40 +00:00
</head>
<body>
<!-- BARRE DE NOTIFICATIONS -->
<div id='NOTIFBAR'>
<div></div>
<div>
<h3>Oups!</h3>
<p>Certains champs sont incorrects. Veuillez réessayer.</p>
<input type='button' value='Fermer'>
</div>
</div>
2015-12-03 08:51:40 +00:00
<!-- WRAPPER DE LA PAGE -->
<div id='WRAPPER'>
<!-- MENU DE LA PAGE -->
<nav id='MENU'>
<a href='Dashboard.php' id='ICON'></a>
2015-12-09 20:43:02 +00:00
<div>
<a href='Dashboard.php' id='dashboard' class='active'>Tableau de bord</a>
<a href='Consultations.php' id='consultations'>Consultations</a>
<a href='Medecins.php' id='medecin'>Gestion des médecins</a>
<a href='Patients.php' id='patient'>Gestion des patients</a>
</div>
2015-12-03 08:51:40 +00:00
</nav>
<!-- CONTAINER DE LA PAGE -->
<section id='CONTAINER'>
<!-- FIL D'ARIANE -->
<div id='BREADCRUMB'><a href='Dashboard.php'>Accueil</a></div>
2015-12-03 10:49:29 +00:00
2015-12-08 08:31:51 +00:00
2015-12-03 08:51:40 +00:00
</section>
</div>
<script type='text/javascript'>
var notifBar = document.getElementById('NOTIFBAR');
notifBar.children[1].children[2].addEventListener('click', function(e){
remClass(notifBar, 'active');
}, false);
</script>
2015-12-03 08:51:40 +00:00
</body>
</html>