1
0

Merge branch 'master' of git.labolyon.fr:DTux/serveur-vote-lalis

This commit is contained in:
2022-09-14 13:38:57 +02:00
15 changed files with 262 additions and 28 deletions

View File

@ -3,7 +3,7 @@
require_once '../session_init.php';
require_once 'config.inc.php';
require_once 'db.class.php';
require_once './entete.html';
require_once './entete.php';
require_once 'fonctions.inc.php';
$action = $_GET["action"];
@ -22,7 +22,7 @@ $db = new db();
if (empty($action))
{
$action="modif";
choixVotation('/gestionsite/modifVotation.php') ;
choixVotation('./modifVotation.php') ;
}else
{
@ -31,7 +31,7 @@ if (empty($action))
if (empty($idVotation))
{
// choix de la votation à cloturer
choixVotation('/gestionsite/modifVotation.php',1 );
choixVotation('./modifVotation.php',1 );
}else
{
$query = "UPDATE liste_votations SET status=0 WHERE id=" . $db->protect($idVotation); // clotûre