Lynis
This commit is contained in:
parent
53eabca315
commit
ef07234ad3
@ -9,5 +9,22 @@
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
?>
|
@ -12,8 +12,8 @@ class PdoBD
|
||||
{
|
||||
private static $serveur='mysql:host=localhost';
|
||||
private static $bdd='dbname=gsb2022';
|
||||
private static $user='sio';
|
||||
private static $mdp='Sio2023';
|
||||
private static $user='gsbadm';
|
||||
private static $mdp='gsbadm';
|
||||
private static $monPdo;
|
||||
private static $monPdoBD=null;
|
||||
|
||||
@ -348,6 +348,6 @@ class PdoBD
|
||||
$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());}
|
||||
}
|
||||
/** ---------------------------------------------- fin gestion des PARAMETRES
|
||||
/** ---------------------------------------------- fin gestion des PARAMETRES*/
|
||||
}
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user