154 |
aurelien |
1 |
<div id="fiche_utilisateur">
|
|
|
2 |
<h2> Fiche de l'utilisateur <?= $champs[$mappage_nom_champs['champ_nom']]['amv_valeur_affichage'] ?> <?php if(isset($mappage_nom_champs['champ_prenom']) && isset($champs[$mappage_nom_champs['champ_prenom']])) { ?><?=$champs[$mappage_nom_champs['champ_prenom']]['amv_valeur_affichage'] ?><?php } ?>
|
|
|
3 |
</h2>
|
|
|
4 |
|
|
|
5 |
<div class="element_profil">Nom : <?=$champs[$mappage_nom_champs['champ_nom']]['amv_valeur_affichage'] ?></div>
|
|
|
6 |
|
|
|
7 |
<?php if(isset($mappage_nom_champs['champ_prenom']) && isset($champs[$mappage_nom_champs['champ_prenom']])) { ?>
|
|
|
8 |
<div class="element_profil">Prenom : <?=$champs[$mappage_nom_champs['champ_prenom']]['amv_valeur_affichage'] ?></div>
|
|
|
9 |
<?php } ?>
|
|
|
10 |
|
|
|
11 |
<?php if(isset($mappage_nom_champs['champ_pays']) && isset($champs[$mappage_nom_champs['champ_pays']])) { ?>
|
|
|
12 |
<div class="element_profil">Pays : <?=$champs[$mappage_nom_champs['champ_pays']]['amv_valeur_affichage'] ?></div>
|
|
|
13 |
<?php } ?>
|
|
|
14 |
|
|
|
15 |
<?php if(isset($mappage_nom_champs['champ_ville']) && isset($champs[$mappage_nom_champs['champ_ville']])) { ?>
|
|
|
16 |
<div class="element_profil">Ville : <?=$champs[$mappage_nom_champs['champ_ville']]['amv_valeur_affichage'] ?></div>
|
|
|
17 |
<?php } ?>
|
|
|
18 |
|
|
|
19 |
<?php if(isset($mappage_nom_champs['champ_prenom']) && isset($champs[$mappage_nom_champs['champ_code_postal']])) { ?>
|
|
|
20 |
<div class="element_profil">Code Postal : <?=$champs[$mappage_nom_champs['champ_code_postal']]['amv_valeur_affichage'] ?></div>
|
|
|
21 |
<?php } ?>
|
|
|
22 |
|
|
|
23 |
<?php if($identification_id == $id_utilisateur || $est_admin) { ?>
|
|
|
24 |
<form method="post" id="modification" action="<?php $url_form = clone($base_url);
|
|
|
25 |
$url_form->setVariableRequete('m','annuaire_formulaire_modification_inscription');
|
|
|
26 |
$url_form->setVariableRequete('id_annuaire',$id_annuaire);
|
|
|
27 |
$url_form->setVariableRequete('id_utilisateur',$id_utilisateur);
|
|
|
28 |
echo $url_form;?>" >
|
|
|
29 |
<input id="bouton_modification" type="submit" name="bouton_modification" value="Modifier" />
|
|
|
30 |
</form>
|
|
|
31 |
|
|
|
32 |
<form method="post" id="suppression" action="<?php $url_form = clone($base_url);
|
|
|
33 |
$url_form->setVariableRequete('m','annuaire_formulaire_suppression_inscription');
|
|
|
34 |
$url_form->setVariableRequete('id_annuaire',$id_annuaire);
|
|
|
35 |
$url_form->setVariableRequete('id_utilisateur',$id_utilisateur);
|
|
|
36 |
echo $url_form; ?>" >
|
|
|
37 |
<input id="bouton_suppression" type="submit" name="bouton_suppression" value="Supprimer" />
|
|
|
38 |
</form>
|
|
|
39 |
<? } ?>
|
|
|
40 |
</div>
|