major commit
This commit is contained in:
@ -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';
|
||||
print '<script type="text/javascript">
|
||||
function show(object, idVote)
|
||||
@ -20,21 +20,22 @@ print '<script type="text/javascript">
|
||||
|
||||
}
|
||||
</script>';
|
||||
$idVotation = $_GET["id"];
|
||||
$db = new db();
|
||||
|
||||
if ( empty($idVotation))
|
||||
{
|
||||
choixVotation('/vote.resultat.php');
|
||||
}else
|
||||
{
|
||||
print(' <br><br>
|
||||
$db = new db();
|
||||
print(' <br><br>
|
||||
<!-- lalis Grid Section -->
|
||||
|
||||
<section id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12 text-center">
|
||||
<div class="col-lg-12 text-center"><h3>LISTE DES VOTATIONS</h3>');
|
||||
if ( empty( $_GET["id"]))
|
||||
{
|
||||
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);
|
||||
|
Reference in New Issue
Block a user