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

View File

@@ -0,0 +1,28 @@
<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Adherent.php';
require_once 'Modele/Menuvueutilisateur.php';
class ControleurSpadherent extends Controleur {
private $menuvue;
private $spadherent;
public function __construct() {
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue("Spadherent");
$this->spadherent = new Adherent();
}
public function index() {
$idAdherent = $_SESSION['idAdherent_C'];
$dj = date("Y-m-d");
$spadherent = $this->spadherent->getRapportSpAdherent($idAdherent, $dj);
$chemin = $this->menuvue->getChemin('Spadherent');
$this->genererVue(array('spadherent' => $spadherent, 'chemin' => $chemin));
}
}