1
0
This repository has been archived on 2023-11-30. You can view files and clone it, but cannot push or open issues or pull requests.
dtux__serveur-vote-lalis/gestion/index2.php

32 lines
679 B
PHP
Raw Normal View History

2022-09-29 11:32:23 +02:00
<?php
require_once '../session_init.php';
require_once 'config.inc.php';
2022-09-29 11:39:00 +02:00
require_once 'db.class.php';
2022-09-29 11:32:23 +02:00
require_once 'entete.php';
2022-09-29 11:54:25 +02:00
$db = new db();
2022-09-29 11:32:23 +02:00
print(' <br><br>
<!-- lalis Grid Section -->
<section id="content">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
2022-09-29 13:15:43 +02:00
<h3>Gestion des votes</h3>
2022-09-29 11:32:23 +02:00
</div>
</div>
<div class="row">
<ul>');
2022-09-29 11:54:25 +02:00
$votationsList = $db->queryVotationList();
2022-09-29 11:32:23 +02:00
foreach($votationsList as $votation)
{
2022-09-29 13:15:43 +02:00
print'<a href="' . $vote_url . '"saisieVotes.php?idVotation=' . $votation["id"] . '>' . $votation["libelle"] . '</a>';
2022-09-29 11:32:23 +02:00
}
print(' </ul>
</div>
</div>
</section>');
require_once './footer.html';
?>