diff --git a/Vues/accueil.php b/Vues/accueil.php index ed6bfcf..1999153 100644 --- a/Vues/accueil.php +++ b/Vues/accueil.php @@ -1,73 +1,72 @@ + - Ajouter une Liste - - + Acceuil + + -
+
-
- -
- About - Services - Clients - Contact -
- -
- -
- Se connecter +

To-do

+ + + + '; + } + else{ + echo' +
+
+ + +
+
'; + }?> +
+
+
+

Public Lists

+ +
+ + +
+
'; + }?>
- - - -

Liste Publique

-
- - - - - - - - -
+ } + ?> + +
+
+ + +
+ + \ No newline at end of file diff --git a/controllers/UserController.php b/controllers/UserController.php index cc29498..7ec1a27 100644 --- a/controllers/UserController.php +++ b/controllers/UserController.php @@ -55,6 +55,7 @@ class UserController { break; default: + echo "????"; $dVueEreur[] = "Erreur d'appel php"; require ($rep.$vues['accueil']); break; diff --git a/gateway/ListeGateway.php b/gateway/ListeGateway.php index c7e19b1..294bcbe 100644 --- a/gateway/ListeGateway.php +++ b/gateway/ListeGateway.php @@ -92,9 +92,8 @@ class ListeGateway } $listes[] = new Liste($row['id'], $row['name'],false, null, $taches); $taches = null; + echo json_encode ($listes); } - echo "wesh"; - } catch(PDOException $Exception) { echo 'erreur';