Subversion Repositories eFlore/Applications.cel

Rev

Rev 553 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 553 Rev 556
Line 11... Line 11...
11
			<? foreach ($observations as $obs) : ?>
11
			<? foreach ($observations as $obs) : ?>
12
			<li>
12
			<li>
13
				<? if (isset($images[$obs['id']])) : ?>
13
				<? if (isset($images[$obs['id']])) : ?>
14
					<? foreach ($images[$obs['id']] as $num => $urls) : ?>
14
					<? foreach ($images[$obs['id']] as $num => $urls) : ?>
15
				<div<?=($num == 0) ? '': ' style="display:none;"'?>>
15
				<div<?=($num == 0) ? '': ' style="display:none;"'?>>
16
					<a class="cel-img" href="<?=$urls['L']?>" rel="cel-obs-<?=$obs['id']?>" >
16
					<a class="cel-img" href="<?=$urls['L']?>" rel="cel-obs-<?=$obs['id']?>">
17
						<img src="<?=$urls['S']?>" alt="Image #<?=$urls['id']?> de l'osbervation #<?=$obs['id']?>" style="float:right;height:75px;"/>
17
						<img src="<?=$urls['S']?>" alt="Image #<?=$urls['id']?> de l'osbervation #<?=$obs['id']?>" style="float:right;height:75px;"/>
18
					</a>
18
					</a>
19
				</div>
19
				</div>
20
					<? endforeach ?>
20
					<? endforeach ?>
21
				<? endif ?>
21
				<? endif ?>