page de connexion fonctionnelle avec bdd

This commit is contained in:
Pierr0
2024-01-02 17:42:42 +01:00
parent 85c00fde0a
commit 9f245f6578
10 changed files with 161 additions and 21 deletions

View File

@@ -85,11 +85,11 @@
</td>
<td>
<?php
if ($_SESSION['typeU'] === 'comptable') { ?>
if ($typeUser === 'comptable') { ?>
<button type="button" class="btn btn-outline-primary btnRefuseFraisHf" id="frsSup-<?= $key ?>">
Refuser
</button>
<?php } elseif ($_SESSION['typeU'] === 'visiteur') { ?>
<?php } elseif ($typeUser === 'visiteur') { ?>
<button type="button" class="btn btn-outline-primary btnSuprFraisHf" id="frsSup-<?= $key ?>">
Supprimer
</button>