Import initial du projet Production

This commit is contained in:
KANE LAZENI
2025-12-01 16:12:12 +00:00
commit 2f364ab2fc
14257 changed files with 3395325 additions and 0 deletions

17
Modele/Etatadherent.php Executable file
View File

@@ -0,0 +1,17 @@
<?php
require_once 'Framework/Modele.php';
class Etatadherent extends Modele {
public function getEtatsAdherent($idAdherent) {
$sql = 'select A.*, E.libelle AS etatadherent,
ifnull(concat(nom," ",prenoms), A.user) as utilisateur
from etatadherent A
LEFT JOIN etatpersonne E ON (E.codeEtatPersonne=A.codeEtatAdherent)
left join utilisateur U on (U.codeUtilisateur=A.user)
where (A.idAdherent=?) order by A.dateEtat, A.id';
$liste = $this->executerRequete($sql, array($idAdherent));
return $liste->fetchAll(PDO::FETCH_ASSOC);
}
}