Subversion Repositories Applications.annuaire

Rev

Rev 47 | Rev 75 | 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="<?=$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="<?=$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>
        <?php } ?>
        </span>
        
        <span class=""><b><?=$champs['champ_nom']['amv_valeur_affichage']?> <?=$champs['champ_prenom']['amv_valeur_affichage']?></b>
                <br /><?= $champs['ville']['amv_valeur_affichage'] ?>  (<?= $champs['pays']['amv_valeur_affichage'] ?>) 
        </span>
        
        <span id="points" class="" >
                <p> Telabotaniste coopératif <br />
                        125 points
                </p>
        </span> 
</div>