2015-12-03 09:02:40 +00:00
|
|
|
<?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/global.css'/>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<!-- WRAPPER DE LA PAGE -->
|
|
|
|
<div id='WRAPPER'>
|
|
|
|
|
|
|
|
<!-- MENU DE LA PAGE -->
|
|
|
|
<nav id='MENU'>
|
|
|
|
<div id='ICON'></div>
|
|
|
|
<a id='dashboard'>Tableau de bord</a>
|
|
|
|
<a id='consultations'>Nouvelle consultation</a>
|
|
|
|
<a>Médecins</a>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- CONTAINER DE LA PAGE -->
|
|
|
|
<section id='CONTAINER'>
|
|
|
|
|
|
|
|
<!-- FIL D'ARIANE -->
|
|
|
|
<div id='BREADCRUMB'><a href='Dashboard.php'>Accueil</a> <a href='Test1.php'>Test1</a> <a href='test2.php'>test2</a> </div>
|
|
|
|
|
2015-12-03 10:49:29 +00:00
|
|
|
|
|
|
|
<article data-title="Saisir un rendez-vous">
|
|
|
|
<div>
|
|
|
|
<select id='newRDVPatient'>
|
|
|
|
<?php $patients = json_decode( file_get_contents('Docs/PatientExemple.json') );
|
|
|
|
foreach($patients as $PATIENT)
|
|
|
|
echo "<option value='".$PATIENT->Id."'>".$PATIENT->Nom." ".$PATIENT->Prenom."</option>";
|
|
|
|
?>
|
|
|
|
</select>
|
|
|
|
</div><div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
|
2015-12-03 08:51:40 +00:00
|
|
|
</section>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
2015-12-03 09:02:40 +00:00
|
|
|
</html>
|