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