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

To-do

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

Public Lists

- -
- - -
-
'; - }?> +
+ +
+ About + Services + Clients + Contact +
+ +
+ +
+ Se connecter
- -
-

• '.$liste->get_nom().'

- - - + + + +

Liste Publique

+
+ + + + +
    +
  • +
    List Name
    +
    See Details
    +
  • + + +
  • +
    getName(); ?>
    + + + +
  • -
'; + + + - -
-
- - -
+ ?> + + + + + + +
- - \ No newline at end of file diff --git a/controllers/VisitorController.php b/controllers/VisitorController.php index 3d58f1f..16a4fae 100644 --- a/controllers/VisitorController.php +++ b/controllers/VisitorController.php @@ -34,7 +34,6 @@ class VisitorController { } } catch (Exception $e){ - echo "exception c un pd"; } } diff --git a/gateway/ListeGateway.php b/gateway/ListeGateway.php index caa9764..ea1ec88 100644 --- a/gateway/ListeGateway.php +++ b/gateway/ListeGateway.php @@ -92,8 +92,18 @@ class ListeGateway } $listes[] = new Liste($row['id'], $row['name'],false, null, $taches); $taches = null; + + /*$queryBug = "SELECT count(*) FROM Liste WHERE idCreator IS NULL"; + $this->con->executeQuery($queryBug, array(':idListe' => array($idListe, PDO::PARAM_INT))); + $resultsBug = $this->con->getResults(); + echo "$resultsBug[0][0]"; + if (sizeof($listes)===$resultsBug[0][0]){ + break; + } + */ + } - echo "haaaaaaaaaaaaaaaa"; + echo "haaaaaaaaaaaaaaaa
"; } catch(PDOException $Exception) { echo 'erreur';