1
0
This commit is contained in:
Daniel Tartavel 2022-09-29 13:35:40 +02:00
parent 901157b9b6
commit 1086b1f2e0

View File

@ -18,9 +18,11 @@ print(' <br><br>
<div class="row"> <div class="row">
<ul>'); <ul>');
$votationsList = $db->queryVotationList(); $votationsList = $db->queryVotationList();
print ("<table>");
foreach($votationsList as $votation) foreach($votationsList as $votation)
{ {
print('<a href="' . $vote_url . '"gestion/saisieVotes.php?idVotation=' . $votation["id"] . '>' . $votation["libelle"] . '</a>'); print("<tr><td>");
print('<a href="' . $vote_url . 'gestion/saisieVotes.php?idVotation=' . $votation["id"] . '">' . $votation["libelle"] . '</a></td><td>');
if ($votation["status"] == 1) if ($votation["status"] == 1)
{ {
print(_("Cloturé")); print(_("Cloturé"));
@ -28,7 +30,7 @@ foreach($votationsList as $votation)
{ {
print(_("En cours")); print(_("En cours"));
} }
print('<br>'); print('</td></tr><br>');
} }
print(' </ul> print(' </ul>
</div> </div>