From f817b4ec48a2fd29167e5e79869417066a73dc8e Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Mon, 8 Dec 2025 13:00:18 +0000 Subject: [PATCH] page connexion --- Modele/Societeuser.php | 9 +++++++++ Vue/Ajaxconnexioncookie/english.php | 11 ++++------- Vue/Ajaxconnexioncookie/french.php | 8 ++------ 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/Modele/Societeuser.php b/Modele/Societeuser.php index 75a7fdc..dcfd159 100755 --- a/Modele/Societeuser.php +++ b/Modele/Societeuser.php @@ -40,5 +40,14 @@ class Societeuser extends Modele { return $nbTentativeConnexionMax; } + + public function getLangues() + { + $sql = 'SELECT codeLangue AS `code`, CONCAT(libelle, " <=> ", libelleEng) AS libelle FROM langue ORDER BY parDefaut DESC, 2;'; + + $resultat = $this->executerRequete($sql); + + return $resultat->fetchAll(PDO::FETCH_ASSOC); + } } \ No newline at end of file diff --git a/Vue/Ajaxconnexioncookie/english.php b/Vue/Ajaxconnexioncookie/english.php index ab270bc..63e1830 100755 --- a/Vue/Ajaxconnexioncookie/english.php +++ b/Vue/Ajaxconnexioncookie/english.php @@ -7,10 +7,9 @@
- - +
@@ -18,9 +17,7 @@
- +
diff --git a/Vue/Ajaxconnexioncookie/french.php b/Vue/Ajaxconnexioncookie/french.php index c97315a..d8b2b6e 100755 --- a/Vue/Ajaxconnexioncookie/french.php +++ b/Vue/Ajaxconnexioncookie/french.php @@ -8,9 +8,7 @@
-
@@ -19,9 +17,7 @@
- +