39 lines
712 B
PHP
39 lines
712 B
PHP
|
<?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';
|
||
|
|
||
|
$idVotation = getpost("id");
|
||
|
$path = $_SERVER["PHP_SELF"];
|
||
|
print('<br><br>
|
||
|
<!-- lalis Grid Section -->
|
||
|
<section id="content">
|
||
|
<div class="container">');
|
||
|
print(' <div class="row">
|
||
|
<div class="col-lg-12 text-center">
|
||
|
<h3>Nouveau vote</h3>
|
||
|
<h4>');
|
||
|
if (empty($idVotation))
|
||
|
{
|
||
|
if (array_key_exists("idVotation", $GLOBALS))
|
||
|
{
|
||
|
$idVotation == $GLOBALS["idVotation"];
|
||
|
}else
|
||
|
{
|
||
|
choixVotation($path);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
votesForm($path);
|
||
|
|
||
|
print(' </div>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</section>');
|
||
|
require_once("footer.html");
|
||
|
|
||
|
?>
|