Subversion Repositories Applications.annuaire

Rev

Rev 135 | Rev 230 | 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 class=""><b><?=$champs['nom']['amv_valeur_affichage']?> <?=$champs['prenom']['amv_valeur_affichage']?></b>
                <br /><?= $champs['experience_bota']['amv_valeur_affichage'] ?>
                <br /><?= $champs['ville']['amv_valeur_affichage'] ?>  (<?= $champs['pays']['amv_valeur_affichage'] ?>) 
        </span>
</div>