Subversion Repositories Applications.annuaire

Rev

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

<span id="carte_id">
        <?=$champs['champ_nom']['amv_valeur_affichage']?> <?=$champs['champ_prenom']['amv_valeur_affichage']?> 

        <?php if (isset($champs['image']) && isset($champs['image']['amv_valeur_affichage'])) { ?>
                <div id="avatar" class="gauche"> 
                        <a href="<?=$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); 
                        echo $url_form;?>" >    
                        <img src="<?= $champs['image']['amv_valeur_affichage'] ?>" title="avatar" /> </div> <br />
                        </a>
        <?php } else { ?>
                <div id="avatar" class="gauche"> 
                        <a href="<?=$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',$champs['champ_id']['amv_valeur_affichage']); 
                                        echo $url_image;?>" >
                                <img src="<?= $base_url ?>/annuaire/squelettes/images/avatar_defaut.gif" title="pas encore d'avatar ? cliquez pour ajouter le votre !" />  
                        </a>
                </div> <br />
        <?php } ?>
        
        <span> <?= $champs['ville']['amv_valeur_affichage'] ?>  (<?= $champs['pays']['amv_valeur_affichage'] ?>) </span>
</span>