affichage lstVisiteur dans gestionFiches

This commit is contained in:
2023-12-21 10:16:37 +01:00
parent ce94d71198
commit 30ccc68f7a
4 changed files with 38 additions and 22 deletions

View File

@@ -39,27 +39,26 @@ if (!isset($_SESSION['userId'])) {
<body>
<div class="container-fluid">
<div class="row flex-nowrap">
<?php include('include/menu.php'); ?>
<?php
include('include/menu.php');
?>
<div class="col py-3">
<?php
$action = $_REQUEST['direction'];
switch ($action) {
case 'connexion':
include("controleurs/c_connexion.php");
break;
$action = $_REQUEST['direction'];
switch ($action) {
case 'connexion':
include("controleurs/c_connexion.php");
break;
case 'gestionFiche':
include("controleurs/c_gestionFiche.php");
break;
case 'gestionFiche':
include("controleurs/c_gestionFiches.php");
break;
case 'nouvelleFiche':
include(__DIR__ . "/controleurs/c_nouvelleFiche.php");
break;
case 'nouvelleFiche':
include(__DIR__ . "/controleurs/c_nouvelleFiche.php");
break;
default:
include("controleurs/c_gestionFiche.php");
break;
}
}
?>
</div>
</div>