Subversion Repositories eFlore/Applications.cel

Rev

Rev 1799 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1799 raphael 1
<div class="info-bulle-contenu">
2
	<div class="onglets">
3
		<ul>
4
			<li class="inactif"><a class="onglet" onclick="chargerFormatObs('<?=$station_id?>', 'tableau');return false;" href="#">Tableau</a></li>
5
			<li class="actif"><span class="onglet">Liste</span></li>
6
		</ul>
7
	</div>
8
	<div id="observations">
9
		<h2><?=count($observations)?> observations pour <?=(isset($commune) ? $commune : '?')?></h2>
10
		<ol>
11
			<? foreach ($observations as $obs) : ?>
12
			<li>
13
				<div>
14
					<? if (isset($images[$obs['id']])) : ?>
15
						<? foreach ($images[$obs['id']] as $num => $urls) : ?>
16
					<div<?=($num == 0) ? ' class="cel-img-principale"': ' class="cel-img-secondaire"'?>>
17
						<a class="cel-img" href="<?=$urls['normale']?>" rel="cel-obs-<?=$obs['id']?>">
18
							<img src="<?=$urls['miniature']?>" alt="Image #<?=$urls['id']?> de l'osbervation #<?=$obs['id']?>" />
19
						</a>
20
					</div>
21
						<? endforeach ?>
22
					<? endif ?>
23
					<dl>
24
						<dt class="champ_nom_latin">Nom</dt>
25
						<dd>&nbsp;
26
						<? if (isset($obs['nn']) && $obs['nn'] != '' && $obs['nn'] != 0) : ?>
27
							<a href="http://www.tela-botanica.org/bdtfx-nn-<?=$obs['nn']?>" onclick="window.open(this.href); arreter(event); return false; "><?=$obs['nom']?></a>
28
						<? else : ?>
29
							<?=$obs['nom']?>
30
						<? endif; ?>
31
						</dd>
32
						<dt>Lieu</dt><dd>&nbsp;<?=$obs['lieu']?></dd>
33
						<dt>Publié par</dt><dd>&nbsp;<?=$obs['observateur']?></dd>
34
						<dt>Le</dt><dd>&nbsp;<?=$obs['date']?></dd>
35
					</dl>
36
					<hr class="nettoyage"/>
37
				</div>
38
			</li>
39
			<? endforeach; ?>
40
		</ol>
41
		<? include(dirname(__FILE__).'/obs_msg_info.tpl.html') ?>
42
	</div>
43
</div>