Subversion Repositories Applications.annuaire

Rev

Rev 154 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<div id="fiche_utilisateur">
<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 } ?>
</h2>

        <div class="element_profil">Nom : <?=$champs[$mappage_nom_champs['champ_nom']]['amv_valeur_affichage'] ?></div>
        
        <?php if(isset($mappage_nom_champs['champ_prenom']) && isset($champs[$mappage_nom_champs['champ_prenom']])) { ?>
        <div class="element_profil">Prenom : <?=$champs[$mappage_nom_champs['champ_prenom']]['amv_valeur_affichage'] ?></div>
        <?php } ?>
        
        <?php if(isset($mappage_nom_champs['champ_pays']) && isset($champs[$mappage_nom_champs['champ_pays']])) { ?>
        <div class="element_profil">Pays : <?=$champs[$mappage_nom_champs['champ_pays']]['amv_valeur_affichage'] ?></div>
        <?php } ?>
        
        <?php if(isset($mappage_nom_champs['champ_ville']) && isset($champs[$mappage_nom_champs['champ_ville']])) { ?>
        <div class="element_profil">Ville : <?=$champs[$mappage_nom_champs['champ_ville']]['amv_valeur_affichage'] ?></div>
        <?php } ?>
        
        <?php if(isset($mappage_nom_champs['champ_prenom']) && isset($champs[$mappage_nom_champs['champ_code_postal']])) { ?>
        <div class="element_profil">Code Postal : <?=$champs[$mappage_nom_champs['champ_code_postal']]['amv_valeur_affichage'] ?></div>
        <?php } ?>

<?php if($identification_id == $id_utilisateur || $est_admin) { ?>
<form method="post" id="modification" action="<?php $url_form = clone($base_url); 
                                $url_form->setVariableRequete('m','annuaire_formulaire_modification_inscription'); 
                                $url_form->setVariableRequete('id_annuaire',$id_annuaire); 
                                $url_form->setVariableRequete('id_utilisateur',$id_utilisateur); 
                                echo $url_form;?>" >
<input id="bouton_modification" type="submit" name="bouton_modification" value="Modifier" />                            
</form>

<form method="post" id="suppression" action="<?php $url_form = clone($base_url); 
                                $url_form->setVariableRequete('m','annuaire_formulaire_suppression_inscription'); 
                                $url_form->setVariableRequete('id_annuaire',$id_annuaire); 
                                $url_form->setVariableRequete('id_utilisateur',$id_utilisateur); 
                                echo $url_form; ?>" >   
<input id="bouton_suppression" type="submit" name="bouton_suppression" value="Supprimer" />                             
</form>
<? } ?>                 
</div>