Subversion Repositories Applications.annuaire

Rev

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

<div id="carte_id">
        <span id="avatar" class="gauche"> 
        <?php if (isset($champs['image']) && isset($champs['image']['amv_valeur_affichage'])) { ?>
                        <a href="<?php $url_form = clone($base_url); 
                        $url_form->setVariableRequete('m','annuaire_afficher_formulaire_ajout_image'); 
                        $url_form->setVariableRequete('id_annuaire',$id_annuaire); 
                        $url_form->setVariableRequete('id_utilisateur',$id_utilisateur); 
                        $url_form->setVariableRequete('id_champ_image',$champs['image']['amv_ce_colonne']);
                        echo $url_form;?>" >    
                        <img src="<?= $champs['image']['amv_valeur_affichage'] ?>" title="avatar" /> 
                        </a>
        <?php } else { ?>
                        <a href="<?php $url_image = clone($base_url); 
                                        $url_image->setVariableRequete('m','annuaire_afficher_formulaire_ajout_image'); 
                                        $url_image->setVariableRequete('id_annuaire',$id_annuaire); 
                                        $url_image->setVariableRequete('id_utilisateur',$id_utilisateur); 
                                        echo $url_image;?>" >
                                <img src="<?= $base_url_styles ?>squelettes/images/avatar_defaut.gif" title="pas encore d'avatar ? cliquez pour ajouter le votre !" />  
                        </a>
        <?php } ?>
        </span>
        
        <span id="carte_infos"><span><b><?=$champs['nom']['amv_valeur_affichage']?> <?=$champs['prenom']['amv_valeur_affichage']?></b></span>
                <br /><br /><span><?= $champs['experience_bota']['amv_valeur_affichage'] ?></span>
                <br /><span><?= $champs['ville']['amv_valeur_affichage'] ?>  (<?= $champs['pays']['amv_valeur_affichage'] ?>) </span>
                <br /><span>    Inscrit depuis le <?= $champs['date_inscription']['amv_valeur_affichage'] ?></span>
                <?php if($identification_id === $id_utilisateur || $est_admin) { ?>
                <br /><br /><span><a id="lien_modification" href="<?= $url_modification_profil ?>" > Modifier / Enrichir mon profil </a></span>
                <?php } ?>
        </span>
</div>