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

45
Modele/Typtachesante.php Executable file
View File

@@ -0,0 +1,45 @@
<?php
require_once 'Framework/Modele.php';
class Typtachesante extends Modele {
public function getListe() {
$sql = 'SELECT A.codeTypTache as `code`, B.libelle
FROM typtachesanteprofil_c A
JOIN typtachesante B ON (B.codeTypTache=A.codeTypTache)
WHERE (A.codeProfil=?) ORDER BY B.libelle';
$liste = $this->executerRequete($sql, array($_SESSION['codeProfil']));
return $liste->fetchAll(PDO::FETCH_ASSOC);
}
public function getListeAdherent() {
$sql = 'SELECT A.codeTypTache as `code`, B.libelle
FROM typtachesanteprofil_c_adherent A
JOIN typtachesante B ON (B.codeTypTache=A.codeTypTache)
WHERE (A.codeProfil=?) ORDER BY B.libelle';
$liste = $this->executerRequete($sql, array($_SESSION['codeProfil']));
return $liste->fetchAll(PDO::FETCH_ASSOC);
}
public function getListeNouveau() {
$sql = 'SELECT A.codeTypTache as `code`, B.libelle
FROM typtachesanteprofil_n A
JOIN typtachesante B ON (B.codeTypTache=A.codeTypTache)
WHERE (A.codeProfil=?) ORDER BY B.libelle';
$liste = $this->executerRequete($sql, array($_SESSION['codeProfil']));
return $liste->fetchAll(PDO::FETCH_ASSOC);
}
public function getListeNouveauAdherent() {
$sql = 'SELECT A.codeTypTache as `code`, B.libelle
FROM typtachesanteprofil_n_adherent A
JOIN typtachesante B ON (B.codeTypTache=A.codeTypTache)
WHERE (A.codeProfil=?) ORDER BY B.libelle';
$liste = $this->executerRequete($sql, array($_SESSION['codeProfil']));
return $liste->fetchAll(PDO::FETCH_ASSOC);
}
}