1
0

modification du texte du mailing\noptimisation

This commit is contained in:
2022-10-09 14:22:16 +02:00
parent 6ff1d6b4d2
commit e89dcf2cc7
3 changed files with 10 additions and 6 deletions

View File

@ -22,6 +22,7 @@ print '<script type="text/javascript">
</script>';
$db = new db();
$idVotation = getpost("id");
print(' <br><br>
<!-- lalis Grid Section -->
@ -31,17 +32,16 @@ print(' <br><br>
<div class="row">
<div class="col-lg-12 text-center"><h3>LISTE DES VOTATIONS</h3>');
if ( empty( $_GET["id"]))
if (empty($idVotation))
{
choixVotation('/vote.resultat.php');
}else
{
$idVotation = $_GET["id"];
print('
<h3>VOTE</h3>
<h4>');
$query = 'SELECT *, UNIX_TIMESTAMP(DATE_ADD(dateFin, INTERVAL 1 DAY)) as tf FROM liste_votations WHERE id=' . $db->protect($idVotation);
$query = 'SELECT *, UNIX_TIMESTAMP(DATE_ADD(dateFin, INTERVAL 1 DAY)) as tf FROM liste_votations WHERE id = ' . $db->protect($idVotation);
$result = $db->query($query);
$votation = $db->result->fetch_array(MYSQLI_ASSOC);
if ($result === FALSE)