Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 428 Rev 619
Line 1... Line 1...
1
<ul id="ef-resultats-determination">
1
<ul id="ef-resultats-determination">
2
	<?php if ($noms) : ?>
2
	<?php if ($noms) :?>
-
 
3
	
3
		<? foreach ($noms as $nnTaxon => $nom) : ?>
4
		<? foreach ($noms as $nnTaxon => $nom) : ?>
4
		 	<li class="zone-resultat">
5
		 	<li class="zone-resultat">
5
				<a href="<?=$nom['urlFiche']?>">
6
				<a href="<?=$nom['urlFiche']?>">
6
					<strong class="nom-sci-retenu"><?=$nom['nomSciRetenu']?></strong>
7
					<strong class="nom-sci-retenu"><?=$nom['nomSciRetenu']?></strong>
7
				</a>
8
				</a>
Line 8... Line 9...
8
				
9
				
9
				<?php if (isset($repartition['urls'][$nnTaxon])) : ?>
10
				<?php if (isset($repartition['urls'][$nnTaxon])) : ?>
10
					<img src="<?=htmlentities($repartition['urls'][$nnTaxon])?>" alt="Carte de répartition" class="repartition_vignette"/>
11
					<img src="<?=htmlentities($repartition['urls'][$nnTaxon])?>" alt="Carte de répartition" />
11
				<?php else : ?>
12
				<?php else : ?>
12
					<div class="absent">Pas de carte</div>
13
					<div class="absent">Pas de carte</div>
13
				<?php endif; ?>
14
				<?php endif; ?>
14
				<?php if (isset($imagesUrls[$nnTaxon])) : ?>
15
				<?php  if (isset($imagesUrls[$nnTaxon])) : ?>
15
					<img src="<?=htmlentities($imagesUrls[$nnTaxon][0])?>" alt="Image provenant du CEL" style="width:100px;height:100px;display:block;float:right;"/>
16
					<img src="<?=htmlentities($imagesUrls[$nnTaxon][0])?>" alt="Image provenant du CEL" style="width:100px;height:100px;display:block;float:right;"/>
16
				<?php else : ?>
17
				<?php else : ?>
17
					<p class="absent">
18
					<p class="absent">
18
						Pas de photo<br />
19
						Pas de photo<br />
Line 21... Line 22...
21
							onclick="window.open(this.href); return false;" class="contribuer">
22
							onclick="window.open(this.href); return false;" class="contribuer">
22
							Contribuer
23
							Contribuer
23
						</a>
24
						</a>
24
					</p>
25
					</p>
25
				<?php endif; ?>
26
				<?php endif; ?>
-
 
27
					<?php  if (isset($imagesCoste[$taxons[$nnTaxon]][0])) : ?> 
-
 
28
					<img src="<?=htmlentities($imagesCoste[$taxons[$nnTaxon]][0])?>" alt="illustration de Coste" />
-
 
29
				<?php else : ?>
-
 
30
					<div class="absent">
-
 
31
					Pas d'illustration de Coste.</div>
-
 
32
				<?php endif; ?>
26
				<?php if (isset($synonymes[$nnTaxon])) : ?>
33
				<?php if (isset($synonymes[$nnTaxon])) : ?>
27
					<?php $nbrSynonymes = count($synonymes[$nnTaxon]) ?>
34
					<?php $nbrSynonymes = count($synonymes[$nnTaxon]) ?>
28
					<ul class="synonymes" style="width:100%;">
35
					<ul class="synonymes" style="width:100%;">
29
						<?php for ($i = 0; ($i < 3); $i++) : ?>
36
						<?php for ($i = 0; ($i < 3); $i++) : ?>
30
							<?php if (isset($synonymes[$nnTaxon][$i])) : ?>
37
							<?php if (isset($synonymes[$nnTaxon][$i])) : ?>