diff --git a/include/db.class.php b/include/db.class.php index a3a0ee9..50487ac 100644 --- a/include/db.class.php +++ b/include/db.class.php @@ -155,7 +155,7 @@ class dbcore function queryVotes($idVotation) { - $query = "SELECT id, lv.libelle, ms.libelle as methode FROM liste_votes as lv LEFT JOIN methods as ms ON lv.methode=ms.id WHERE idVotation='" . $idVotation . "'"; + $query = "SELECT lv.id, lv.libelle, ms.libelle as methode FROM liste_votes as lv LEFT JOIN methods as ms ON lv.methode=ms.id WHERE idVotation='" . $idVotation . "'"; $this->query($query); $votes = $this->result->fetch_all(MYSQLI_ASSOC); return $votes; diff --git a/include/entete.php b/include/entete.php new file mode 100644 index 0000000..e5f0271 --- /dev/null +++ b/include/entete.php @@ -0,0 +1,61 @@ + + + +
+ + + + + + + +