Subversion Repositories Applications.annuaire

Rev

Rev 75 | Rev 103 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
54 aurelien 1
<div id="carte_id">
2
	<span id="avatar" class="gauche">
28 aurelien 3
	<?php if (isset($champs['image']) && isset($champs['image']['amv_valeur_affichage'])) { ?>
4
			<a href="<?=$url_form = clone($base_url);
5
			$url_form->setVariableRequete('m','annuaire_afficher_formulaire_ajout_image');
6
			$url_form->setVariableRequete('id_annuaire',$id_annuaire);
7
			$url_form->setVariableRequete('id_utilisateur',$id_utilisateur);
47 aurelien 8
			$url_form->setVariableRequete('id_champ_image',$champs['image']['amv_ce_colonne']);
28 aurelien 9
			echo $url_form;?>" >
54 aurelien 10
			<img src="<?= $champs['image']['amv_valeur_affichage'] ?>" title="avatar" />
28 aurelien 11
			</a>
12
	<?php } else { ?>
13
			<a href="<?=$url_image = clone($base_url);
14
					$url_image->setVariableRequete('m','annuaire_afficher_formulaire_ajout_image');
15
					$url_image->setVariableRequete('id_annuaire',$id_annuaire);
16
					$url_image->setVariableRequete('id_utilisateur',$champs['champ_id']['amv_valeur_affichage']);
17
					echo $url_image;?>" >
95 aurelien 18
				<img src="<?= $base_url_styles ?>squelettes/images/avatar_defaut.gif" title="pas encore d'avatar ? cliquez pour ajouter le votre !" />
28 aurelien 19
			</a>
20
	<?php } ?>
54 aurelien 21
	</span>
28 aurelien 22
 
54 aurelien 23
	<span class=""><b><?=$champs['champ_nom']['amv_valeur_affichage']?> <?=$champs['champ_prenom']['amv_valeur_affichage']?></b>
24
		<br /><?= $champs['ville']['amv_valeur_affichage'] ?>  (<?= $champs['pays']['amv_valeur_affichage'] ?>)
25
	</span>
26
</div>