a
This commit is contained in:
parent
333b03d5bf
commit
6f17cdad81
23
Controleur/ControleurExtranetclient.php
Normal file
23
Controleur/ControleurExtranetclient.php
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Client.php';
|
||||
require_once 'Modele/Menuvueutilisateur.php';
|
||||
|
||||
class ControleurExtranetclient extends Controleur {
|
||||
private $adherent;
|
||||
|
||||
public function __construct() {
|
||||
$this->menuvue = new Menuvueutilisateur();
|
||||
$this->menuvue->getMenuVue("Extranetclient");
|
||||
|
||||
$this->client = new Client();
|
||||
}
|
||||
public function index() {
|
||||
$idClient = $_SESSION['idClient_C'];
|
||||
|
||||
$this->client->getContexteClientId($idClient);
|
||||
$client = $this->client->getClientId($idClient);
|
||||
|
||||
$this->genererVue(array('client' => $client));
|
||||
}
|
||||
}
|
||||
30
Vue/Extranetclient/index.php
Normal file
30
Vue/Extranetclient/index.php
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
$this->titre = "INTER-SANTE - Gestion Extranet Client";
|
||||
$idClient = $_SESSION['idClient_C'];
|
||||
$extranetActif = ($client['extranetActif'];
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
</script>
|
||||
|
||||
<legend> <?= _("Gestion Extranet Client ") . " : " . $this->nettoyer($_SESSION['nomClient_C'])?> </legend>
|
||||
|
||||
<div id="div_liste">
|
||||
<table class="table table-responsive table-condensed" style="font-size:10pt;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="15%" > <?= _("Nom") ?> </td>
|
||||
<td><INPUT style="font-size:10pt;" class="form-control" TYPE="text" value="<?=$this->nettoyer($_SESSION['nomClient_C'])?>" readonly></td>
|
||||
|
||||
<td> </td>
|
||||
<td>
|
||||
<?php if($extranetActif==1): ?>
|
||||
<input style="font-size:10pt;" class = "form-control btn btn-danger" type="button" value="<?= _("Désactiver") ?>" onClick="javascript:desactiver_user_assure('<?= $idClient ?>');">
|
||||
<?php else: ?>
|
||||
<input style="font-size:10pt;" class = "form-control btn btn-primary" type="button" value="<?= _("Activer") ?>" onClick="javascript:activer_user_assure('<?= $idClient ?>');">
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
Loading…
Reference in New Issue
Block a user