prestation/Vue/Extranetadherent/index.php
2025-12-05 10:42:46 +00:00

44 lines
2.0 KiB
PHP
Executable File

<?php
$this->titre = "INTER-SANTE - Gestion Extranet Assuré";
$codeUtilisateur = $adherent['numeroAdherent'];
$idAdherent = $_SESSION['idAdherent_C'];
$actif = $adherent['actif'];
$reInit = $adherent['reInit'];
?>
<script type="text/javascript">
</script>
<legend> <?= _("Gestion Extranet Assuré No") . " : " . $this->nettoyer($adherent['numeroAdherent'])?> </legend>
<div id="div_liste">
<table class="table table-responsive table-condensed" style="font-size:10pt;">
<tbody>
<tr>
<td width="15%" > <?= _("Nom Famille") ?> </td>
<td><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="prenoms" NAME="prenoms" value="<?=$this->nettoyer($adherent['nom'])?>" readonly></td>
<td width="15%" align="center"> <?= _("Prénoms") ?> </td>
<td><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="prenoms" NAME="prenoms" value="<?=$this->nettoyer($adherent['prenoms'])?>" readonly></td>
</tr>
<tr>
<td> </td>
<?php if($reInit==1): ?>
<td> <input style="font-size:10pt;" class = "form-control btn btn-danger" type="button" value="<?= _("Ré-Init Mot de Passe") ?>" onClick="javascript:reinitpaswd_assure('<?= $idAdherent ?>');"></td>
<?php else: ?>
<td> <input style="font-size:10pt;" class = "form-control btn btn-primary" type="button" value="<?= _("Ré-Init Mot de Passe") ?>" onClick="javascript:reinitpaswd_assure('<?= $idAdherent ?>');"></td>
<?php endif; ?>
<td> </td>
<?php if($actif==1): ?>
<td> <input style="font-size:10pt;" class = "form-control btn btn-danger" type="button" value="<?= _("Désactiver") ?>" onClick="javascript:desactiver_user_assure('<?= $idAdherent ?>');"></td>
<?php else: ?>
<td> <input style="font-size:10pt;" class = "form-control btn btn-primary" type="button" value="<?= _("Activer") ?>" onClick="javascript:activer_user_assure('<?= $idAdherent ?>');"></td>
<?php endif; ?>
</tbody>
</table>
</div>