From c4e1568207c194fb4efd6e74ad3a3c533fe02fcc Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Wed, 19 Oct 2022 16:19:16 +0200 Subject: [PATCH] debug --- gestion/resultats_votation.php | 46 ---------------------------------- index2.php | 2 +- 2 files changed, 1 insertion(+), 47 deletions(-) delete mode 100644 gestion/resultats_votation.php diff --git a/gestion/resultats_votation.php b/gestion/resultats_votation.php deleted file mode 100644 index 6099269..0000000 --- a/gestion/resultats_votation.php +++ /dev/null @@ -1,46 +0,0 @@ -
- - -
-
'); -print('
-
-

Nouvelle votation

-

'); -if (empty($idVotation)) -{ - if (array_key_exists("idVotation", $_SESSION)) - { - if (!empty($_SESSION["idVotation"])) - { - $idVotation = $_SESSION["idVotation"]; - $votationName = $db->queryVotationName($idVotation); - } - } -}else -{ - $db = new db(); - $db->resultats($idVotation); - $listeVotants = $db->liste_votants(); - foreach($listeVotants as $votant) - { - print $votant["prenom"] . " " . votant["nom"] . EOLH; - } -} -print('

-
- -
-
'); -require_once("footer.html"); -?> diff --git a/index2.php b/index2.php index e98fbdd..f0a6434 100644 --- a/index2.php +++ b/index2.php @@ -1,5 +1,5 @@