28 |
aurelien |
1 |
<script src="<?= $base_url ?>/annuaire/squelettes/scripts/jquery.js" type="text/javascript"></script>
|
|
|
2 |
<script src="<?= $base_url ?>/annuaire/squelettes/scripts/desinscription.js" type="text/javascript"></script>
|
|
|
3 |
|
|
|
4 |
<div id="fiche_utilisateur">
|
|
|
5 |
<h2> Fiche de la structure <?= $champs['champ_nom']['amv_valeur_affichage'] ?></h2><br />
|
|
|
6 |
|
|
|
7 |
<?php if (isset($champs['image']) && isset($champs['image']['amv_valeur_affichage'])) { ?>
|
|
|
8 |
<div id="avatar" class="gauche">
|
|
|
9 |
<a href="<?=$url_form = clone($base_url);
|
|
|
10 |
$url_form->setVariableRequete('m','annuaire_afficher_formulaire_ajout_image');
|
|
|
11 |
$url_form->setVariableRequete('id_annuaire',$id_annuaire);
|
|
|
12 |
$url_form->setVariableRequete('id_utilisateur',$id_utilisateur);
|
|
|
13 |
echo $url_form;?>" >
|
|
|
14 |
<img src="<?= $champs['image']['amv_valeur_affichage'] ?>" title="avatar" /> </div> <br />
|
|
|
15 |
</a>
|
|
|
16 |
<?php } else { ?>
|
|
|
17 |
<div id="avatar" class="gauche">
|
|
|
18 |
<a href="<?=$url_image = clone($base_url);
|
|
|
19 |
$url_image->setVariableRequete('m','annuaire_afficher_formulaire_ajout_image');
|
|
|
20 |
$url_image->setVariableRequete('id_annuaire',$id_annuaire);
|
|
|
21 |
$url_image->setVariableRequete('id_utilisateur',$champs['champ_id']['amv_valeur_affichage']);
|
|
|
22 |
echo $url_image;?>" >
|
|
|
23 |
<img src="<?= $base_url ?>/annuaire/squelettes/images/avatar_defaut.gif" title="pas encore d'avatar ? cliquez pour ajouter le votre !" />
|
|
|
24 |
</a>
|
|
|
25 |
</div> <br />
|
|
|
26 |
<?php } ?>
|
|
|
27 |
|
|
|
28 |
<div><h3><?=$champs['nom']['amv_valeur_affichage'] ?></h3></div>
|
|
|
29 |
|
|
|
30 |
<div><h3><?=$champs['mail']['amv_valeur_affichage'] ?></h3></div>
|
|
|
31 |
|
|
|
32 |
<div><h3>Type de structure : <?=$champs['type']['amv_valeur_affichage'] ?></h3></div>
|
|
|
33 |
|
|
|
34 |
<div><h3>Description : <?=$champs['description']['amv_valeur_affichage'] ?></h3></div>
|
|
|
35 |
|
|
|
36 |
<div><h3>Pays : <?=$champs['pays']['amv_valeur_affichage'] ?></h3></div>
|
|
|
37 |
|
|
|
38 |
<div><h3>Code postal : <?=$champs['champ_code_postal']['amv_valeur_affichage'] ?></h3></div>
|
|
|
39 |
|
|
|
40 |
<div><h3>Adresse : <?=$champs['adresse']['amv_valeur_affichage'] ?></h3></div>
|
|
|
41 |
|
|
|
42 |
<div><h3>Inscrit à la lettre d'actualité : <?=$champs['champ_lettre']['amv_valeur_affichage'] ?></h3></div>
|
|
|
43 |
|
|
|
44 |
<form method="post" id="modification" action="<?=$url_form = clone($base_url);
|
|
|
45 |
$url_form->setVariableRequete('m','annuaire_formulaire_modification_inscription');
|
|
|
46 |
$url_form->setVariableRequete('id_annuaire',$id_annuaire);
|
|
|
47 |
$url_form->setVariableRequete('id_utilisateur',$id_utilisateur);
|
|
|
48 |
echo $url_form;?>" >
|
|
|
49 |
<input id="bouton_modification" type="submit" name="bouton_modification" value="Modifier" />
|
|
|
50 |
</form>
|
|
|
51 |
|
|
|
52 |
<form method="post" id="suppression" action="<?=$url_form = clone($base_url);
|
|
|
53 |
$url_form->setVariableRequete('m','annuaire_formulaire_suppression_inscription');
|
|
|
54 |
$url_form->setVariableRequete('id_annuaire',$id_annuaire);
|
|
|
55 |
$url_form->setVariableRequete('id_utilisateur',$id_utilisateur);
|
|
|
56 |
echo $url_form; ?>" >
|
|
|
57 |
<input id="bouton_suppression" type="submit" name="bouton_suppression" value="Supprimer" />
|
|
|
58 |
</form>
|
|
|
59 |
|
|
|
60 |
</div>
|