This commit is contained in:
“Louis 2022-04-07 11:00:30 +02:00
parent 53eabca315
commit ef07234ad3
3 changed files with 7485 additions and 4 deletions

View File

@ -9,5 +9,22 @@
// Auteur : Pascal.Blain@ac-dijon.fr ' // Auteur : Pascal.Blain@ac-dijon.fr '
//*****************************************' //*****************************************'
$action = $_REQUEST['action'];
switch($action) {
case 'voir':
{
$formulaire ="choixP";
$champ ="lstVisite";
include("vues/v_entete.php");
//$lesLignes =$pdo->getLesVisites($_SESSION['idUtilisateur']);
include("vues/v_choixVisite.php");
$lesInfosVisite= $pdo->getInfosVisite($_SESSION['idUtilisateur'],$NumVisite);
?> include("vues/v_ficheVisite.php");
break;
}
}
?>

7464
lynis.log Normal file

File diff suppressed because it is too large Load Diff

View File

@ -12,8 +12,8 @@ class PdoBD
{ {
private static $serveur='mysql:host=localhost'; private static $serveur='mysql:host=localhost';
private static $bdd='dbname=gsb2022'; private static $bdd='dbname=gsb2022';
private static $user='sio'; private static $user='gsbadm';
private static $mdp='Sio2023'; private static $mdp='gsbadm';
private static $monPdo; private static $monPdo;
private static $monPdoBD=null; private static $monPdoBD=null;
@ -348,6 +348,6 @@ class PdoBD
$rs = PdoBD::$monPdo->exec($req); $rs = PdoBD::$monPdo->exec($req);
if ($rs === false) {afficherErreurSQL("Probleme lors de l'insertion d'un parametre dans la base de données.", $req, PdoBD::$monPdo->errorInfo());} if ($rs === false) {afficherErreurSQL("Probleme lors de l'insertion d'un parametre dans la base de données.", $req, PdoBD::$monPdo->errorInfo());}
} }
/** ---------------------------------------------- fin gestion des PARAMETRES /** ---------------------------------------------- fin gestion des PARAMETRES*/
} }
?> ?>