Nouvel Adhérent

This commit is contained in:
2025-12-30 10:55:06 +00:00
parent ab855989cf
commit a009e04090
73 changed files with 16552 additions and 726 deletions

View File

@@ -3,10 +3,19 @@ require_once 'Framework/Modele.php';
class Sexe extends Modele {
public function getListe() {
$sql = 'SELECT codeSexe as code, libelle FROM sexe order by 1 DESC';
public function getListe()
{
if (est_anglophone())
{
$sql = 'SELECT codeSexe as `code`, libelleEng as libelle FROM sexe order by 1 DESC';
}
else
{
$sql = 'SELECT codeSexe as `code`, libelle FROM sexe order by 1 DESC';
}
$liste = $this->executerRequete($sql);
return $liste->fetchAll(PDO::FETCH_ASSOC);
}
}