diff --git a/Consultations.php b/Consultations.php
index d283a2b..8d61ce3 100755
--- a/Consultations.php
+++ b/Consultations.php
@@ -4,8 +4,10 @@ if(!Authentification::checkUser(0)){
header("Location: http://".$_SERVER['HTTP_HOST']."/index.php");
die();
};
-// formattage $_GET['type']
-$answerType = (isset($_GET['type'])) ? $_GET['type'] : null;
+/* REPONSE DU MANAGER */
+$managerStatus = (isset($_GET['status'])) ? $_GET['status'] : null;
+$managerTitle = (isset($_GET['title'])) ? $_GET['title'] : 'Oups!';
+$managerMessage = (isset($_GET['message'])) ? $_GET['message'] : 'Erreur interne!';
?>
@@ -30,12 +32,12 @@ $answerType = (isset($_GET['type'])) ? $_GET['type'] : null;
-
+
'>
-
Oups!
-
Certains champs sont incorrects. Veuillez réessayer.
-
+
+
+
@@ -61,24 +63,16 @@ $answerType = (isset($_GET['type'])) ? $_GET['type'] : null;
- ';
- switch($answerType){
- case 'creation': echo 'Patient créé.'; break;
- case 'modification': echo 'Patient modifié.'; break;
- case 'suppression': echo 'Patient supprimé.'; break;
- case 'error': echo 'Une erreur est survenue.'; break;
- default: echo 'rien à déclarer ? Non!'; break;
- }
- echo '';
- }/************************************/
+
+ /*************************************/?>
-
+ getSVG(['mois'=>'10/2015']);
+ ?>
@@ -141,6 +142,8 @@ $answerType = (isset($_GET['type'])) ? $_GET['type'] : null;
+
+
diff --git a/Medecins.php b/Medecins.php
index 57c5fc7..1cc556c 100755
--- a/Medecins.php
+++ b/Medecins.php
@@ -94,27 +94,24 @@ $medecinsSearch = ( isset($_GET['medecins']) ) ? json_decode( customCompression(
// pour chaque médecin
foreach($medecinsSearch as $MED){ if( isset($MED['Id']) && isset($MED['Civilite']) && isset($MED['Prenom']) && isset($MED['Nom']) ){
echo '';
-
- echo ''.(($MED['Civilite']=='M')?'Monsieur':'Madame').' | ';
- echo ''.$MED['Prenom'].' | ';
- echo ''.strtoupper($MED['Nom']).' | ';
-
// début modification
- echo " |
';
}}
diff --git a/css/global.css b/css/global.css
index aa9be64..29f780c 100755
--- a/css/global.css
+++ b/css/global.css
@@ -807,4 +807,16 @@ input[type=radio]:checked + label:before{
/* background */
background-image: url(../src/svg/edit.svg);
background-position: center center;
+}
+
+
+/* CALENDRIER */
+#calendar{
+ width: 100%;
+ padding: 10%;
+ height: auto;
+}
+
+#Textday_3:hover{
+ background: red;
}
\ No newline at end of file
diff --git a/js/medecins.js b/js/medecins.js
index 8aa0ee1..0a15056 100755
--- a/js/medecins.js
+++ b/js/medecins.js
@@ -150,33 +150,32 @@ sbCherche.addEventListener('click', function(e){
////////////////////////////////////////////
function displayFoundMedecins(foundMedecins){
var container = document.getElementById('searchResultMedecin');
- var content = '';
-
// on vide le container
container.innerHTML = content;
diff --git a/js/patients.js b/js/patients.js
index f3daeec..18f4609 100755
--- a/js/patients.js
+++ b/js/patients.js
@@ -243,7 +243,6 @@ function displayFoundPatients(foundPatients){
content += "";
content += "";
- content += "";
content += "";
content += '';
// fin modification
diff --git a/managers/RDV.class.php b/managers/RDV.class.php
index f34d5d9..5165f51 100755
--- a/managers/RDV.class.php
+++ b/managers/RDV.class.php
@@ -120,37 +120,45 @@ class RDV
}
public function getSVG($params){
+ // conversion du mois
+ if( preg_match('/^(\d{2})\/(\d{4})$/', $params['mois'], $m) )
+ $mois = $m[2].'-'.$m[1];
+ else
+ $mois = '2015-12';
+
+ // constantes et début