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,36 @@
<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Adherent.php';
require_once 'Modele/Menuvueutilisateur.php';
class ControleurRemplaceradherent extends Controleur {
private $menuvue;
private $adherent;
public function __construct() {
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue('Remplaceradherent');
$this->adherent = new Adherent();
}
public function index()
{
$idPolice = $_SESSION['idPolice_C'];
$idAdherent = $_SESSION['idAdherent_C'];
// $adherent = $this->adherent->getAdherentIdConso($idAdherent);
$adherent = $this->adherent->getAdherentIdRempl($idAdherent);
$chemin = $this->menuvue->getChemin('Remplaceradherent');
$this->genererVue(array('adherent' => $adherent, 'chemin' => $chemin));
}
}