modification du texte du mailing\noptimisation
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user