diff --git a/include/fonctions.inc.php b/include/fonctions.inc.php index f48d96c..fe13dfb 100644 --- a/include/fonctions.inc.php +++ b/include/fonctions.inc.php @@ -79,20 +79,22 @@ function choixVotation($path, $methode = 2, $confirm = true) //2 = toutes les v $result = $db->query($query); $votations = $db->result->fetch_all(MYSQLI_ASSOC); - print ('
'); - print "
";
+	//print ('');
+	//print "
";
 	foreach($votations as $key => $value )
 	{
-		print ' ' . $value["titre"] . ' :' . $value["libelle"] . '
'; + //print ' ' . $value["titre"] . ' :' . $value["libelle"] . '
'; + print '' . $value["libelle"] . '
'; } // TODO confirmation du choix par javascript si $confirm = true - print '

+ /*print '

'; + */ $db->close(); } diff --git a/index2.php b/index2.php index 80c2afa..4102d18 100644 --- a/index2.php +++ b/index2.php @@ -22,9 +22,9 @@ print (""); foreach($votationsList as $votation) { print("
"); - print('' . $votation["libelle"] . ''); if ($votation["status"] == 1) { + print('' . $votation["libelle"] . ''); print(_("Cloturé")); }else {