36 lines
888 B
PHP
36 lines
888 B
PHP
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Police.php';
|
|
require_once 'Modele/Adherent.php';;
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
require_once 'Modele/Quittance.php';
|
|
|
|
class ControleurInfoadherent extends Controleur {
|
|
private $police;
|
|
private $adh;
|
|
|
|
|
|
|
|
public function __construct() {
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue("Infoadherent");
|
|
|
|
$this->police = new Police();
|
|
$this->adh = new adherent();
|
|
$this->quittance = new Quittance();
|
|
|
|
$_SESSION['modeDevis'] = "0";
|
|
}
|
|
public function index() {
|
|
|
|
|
|
$idAdherent = $_SESSION["idAdherent_C"];
|
|
|
|
$adherents = $this->requete->getParametreFormulaire("adherents");
|
|
|
|
$adherents = $this->adh->getAdherentSimple($adherents);
|
|
|
|
$this->genererVue(array('adherents' => $adherents));
|
|
}
|
|
|
|
} |