1
0

major commit

This commit is contained in:
Daniel Tartavel
2022-09-14 13:05:25 +02:00
parent 70261fcd71
commit d2e27f5cde
13 changed files with 34 additions and 29 deletions

View File

@ -51,22 +51,22 @@
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li class="hidden">
<a href="https://lalis.fr/index.html#page-top"></a>
<a href="<?php echo $site_path;?>/index.html#page-top"></a>
</li>
<li class="page-scroll">
<a href="https://lalis.fr/index.html#content">Présentation</a>
<a href="<?php echo $site_path;?>/index.html#content">Présentation</a>
</li>
<li class="page-scroll">
<a href="https://lalis.fr/index.html#about">Nos engagements</a>
<a href="<?php echo $site_path;?>/index.html#about">Nos engagements</a>
</li>
<li class="page-scroll">
<a href="https://lalis.fr/index.html#horaires">Horaires</a>
<a href="<?php echo $site_path;?>/index.html#horaires">Horaires</a>
</li>
<li class="page-scroll">
<a href="https://lalis.fr/index.html#contact">Contact</a>
<a href="<?php echo $site_path;?>/index.html#contact">Contact</a>
</li>
<li class="page-scroll">
<a href="https://lalis.fr/index.html/votations.php">Votations</a>
<a href="<?php echo $site_path;?>/votations.php">Votations</a>
</li>
</ul>
</div><div><a>Association loi 1901</a></div>

View File

@ -76,7 +76,7 @@ function choixVotation($path, $methode=2) //2 = toutes les votations 1 = votat
}
$result = $db->query($query);
$votations = $db->result->fetch_all(MYSQLI_ASSOC);
print ('<form method="get" action="gestionsite/modifVotation.php">');
print ('<form method="get" action="' . $path . '">');
print "<pre>";
if ($db->result->num_rows == 1)
{
@ -96,7 +96,7 @@ function choixVotation($path, $methode=2) //2 = toutes les votations 1 = votat
}
print '</pre><br>
<div>
<input type="submit" value="Voter">
<input type="submit" value="Envoyer">
</div>
</form>';
}