debug
This commit is contained in:
parent
8b74aeeac7
commit
c4e1568207
@ -1,46 +0,0 @@
|
||||
<?php
|
||||
require_once '../session_init.php';
|
||||
require_once 'config.inc.php';
|
||||
require_once 'db.class.php';
|
||||
require_once 'entete.php';
|
||||
require_once 'fonctions.inc.php';
|
||||
|
||||
$path = $_SERVER["PHP_SELF"];
|
||||
$idVotation = getpost("idVotation");
|
||||
|
||||
print('<br><br>
|
||||
<!-- lalis Grid Section -->
|
||||
|
||||
<section id="content">
|
||||
<div class="container">');
|
||||
print(' <div class="row">
|
||||
<div class="col-lg-12 text-center">
|
||||
<h3>Nouvelle votation</h3>
|
||||
<h4>');
|
||||
if (empty($idVotation))
|
||||
{
|
||||
if (array_key_exists("idVotation", $_SESSION))
|
||||
{
|
||||
if (!empty($_SESSION["idVotation"]))
|
||||
{
|
||||
$idVotation = $_SESSION["idVotation"];
|
||||
$votationName = $db->queryVotationName($idVotation);
|
||||
}
|
||||
}
|
||||
}else
|
||||
{
|
||||
$db = new db();
|
||||
$db->resultats($idVotation);
|
||||
$listeVotants = $db->liste_votants();
|
||||
foreach($listeVotants as $votant)
|
||||
{
|
||||
print $votant["prenom"] . " " . votant["nom"] . EOLH;
|
||||
}
|
||||
}
|
||||
print(' </div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</section>');
|
||||
require_once("footer.html");
|
||||
?>
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once '../session_init.php';
|
||||
require_once 'session_init.php';
|
||||
require_once 'config.inc.php';
|
||||
require_once 'db.class.php';
|
||||
require_once 'entete.php';
|
||||
|
Reference in New Issue
Block a user