1
0
This commit is contained in:
Daniel Tartavel 2022-09-19 13:17:44 +02:00
parent 5f6a1e827b
commit 70f82f66ba

View File

@ -7,19 +7,23 @@ require_once 'fonctions.inc.php';
$db = new db(); $db = new db();
$idVotation = getpost("id");
$query = "SELECT libelle FROM liste_votations WHERE id='" . $idVotation . "'";
$db->query($query);
$votationName = $db->result->fetch_assoc();
print('<br><br> print('<br><br>
<!-- lalis Grid Section --> <!-- lalis Grid Section -->
<section id="content"> <section id="content">
<div class="container">') . EOL; <div class="container">') . EOL;
print(' <div class="row"> print(' <div class="row">
<div class="col-lg-12 text-center"> <div class="col-lg-12 text-center">
<h3>Nouveau vote pour la votation : </h3>'); <h3>Nouveau vote pour la votation : ' . $votationName["libelle"]. '</h3>');
$path = $_SERVER["PHP_SELF"]; $path = $_SERVER["PHP_SELF"];
$idVotation = getpost("id");
$query = "SELECT libelle FROM liste_votations WHERE id='" . $idVotation . "'"; print
$db->query($query);
if (array_key_exists("idVotation", $GLOBALS) and empty($idVotation)) if (array_key_exists("idVotation", $GLOBALS) and empty($idVotation))
{ {