diff --git a/gestion/resultats_votation.php b/gestion/resultats_votation.php new file mode 100644 index 0000000..11951ea --- /dev/null +++ b/gestion/resultats_votation.php @@ -0,0 +1,46 @@ +
+ + +
+
'); +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(); + $listeVotants = $db->liste_votants(); + foreach($listeVotants as $votant) + { + print $votant["prenom"] . " " . votant["nom"] . EOLH; + } +} +print('

+
+ +
+
'); +require_once("footer.html"); +?>