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

74 lines
3.2 KiB
PHP
Executable File

<?php
$this->titre = "INTER-SANTE - Nouvell Utilisateur Prestataire";
$codePrestataire = $this->nettoyer($prestataire['codePrestataire']);
$idPrestataire = $this->nettoyer($prestataire['id']);
$nomPrestataire = $this->nettoyer($prestataire['libelle']);
?>
<legend> <?= _("Nouvel Utilisateur") . " : " . $nomPrestataire ?> </legend>
<input class="sr-only" type="text" id="codePrestataire" name="codePrestataire" value="<?= $codePrestataire ?>" >
<input class="sr-only" type="text" id="idPrestataire" name="idPrestataire" value="<?= $idPrestataire ?>" >
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="10%" > <?= _("Nom") ?> </td>
<td width="40%" ><INPUT style='font-size:10pt;' class="form-control" TYPE="text" id="nom" NAME="nom" required AUTOCOMPLETE="OFF" autofocus ></td>
<td width="10%" align="center" > <?= _("Prénoms") ?> </td>
<td colspan="3" ><INPUT style='font-size:10pt;' class="form-control" TYPE="text" id="prenoms" NAME="prenoms" required AUTOCOMPLETE="OFF" ></td>
</tr>
<tr>
<td> <?= _("Téléphone") ?> </td>
<td><INPUT style='font-size:10pt;' class="form-control" TYPE="tel" id="telephone" NAME="telephone" ></td>
<td align="center"> E-mail </td>
<td colspan="3" ><INPUT style='font-size:10pt;' class="form-control" TYPE="email" id="email" NAME="email" placeholder="E-mail" ></td>
</tr>
<tr>
<td> <?= _("Langue") ?> </td>
<td>
<SELECT style="font-size:10pt;" class="form-select" id="codeLangueUser" NAME="codeLangueUser" >
<?php liste_options($langue, ""); ?>
</SELECT>
</td>
<td align="center"> <?= _("Actes Visibles?") ?> </td>
<td>
<SELECT style="font-size:10pt;" class="form-select" id="actVisibleUser" NAME="actVisibleUser" >
<?php liste_options($user_actVisible, ""); ?>
</SELECT>
</td>
<td align="center"> <?= _("Affections Visibles?") ?> </td>
<td colspan="3" >
<SELECT style="font-size:10pt;" class="form-select" id="AffectionVisible" NAME="AffectionVisible" >
<?php liste_options($user_AffectionVisible, ""); ?>
</SELECT>
</td>
</tr>
<tr>
<td> <?= _("Mot de passe") ?> </td>
<td><INPUT style='font-size:10pt;' onBlur="controle_longeur_passe(this);" class="form-control" TYPE="password" id="nvmdp" NAME="nvmdp" placeholder="Mot de Passe / Pass Word" required AUTOCOMPLETE="OFF" ></td>
<td align="center"> <?= _("Confirmer MDP") ?> </td>
<td colspan="3" ><INPUT style='font-size:10pt;' onBlur="controle_new_pass();" class="form-control" TYPE="password" id="cfnvmdp" NAME="cfnvmdp" placeholder="Confirmation" required AUTOCOMPLETE="OFF" ></td>
</tr>
<tr>
<td> </td>
<td > <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:creer_user_prestataire();" style='font-size:10pt;' > </td>
<td> </td>
<td colspan="3" > <input class = "form-control btn btn-warning" type="button" value="<?= _("Annuler") ?>" onClick="javascript:users_prestataire();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>