Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 1220 | Rev 1237 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1220 Rev 1236
1
<div id="repartition">
1
<div id="repartition">
2
	<? if (isset($repartition)) : ?>
2
	<? if (isset($repartition)) : ?>
3
	<div id="repartition">
3
	<div id="repartition">
4
		<h2>Chorologie départementale</h2>
4
		<h2>Chorologie départementale</h2>
5
		<object class="chorodep_svg" type="image/svg+xml" data="<?=$repartition['svgUrl']?>" class="svg" alt="<?=$repartition['pngUrl']?>">     
5
		<object class="chorodep_svg" type="image/svg+xml" data="<?=$repartition['svgUrl']?>" class="svg" alt="<?=$repartition['pngUrl']?>">     
6
		</object>
6
		</object>
7
		<div id="legende" style="position:absolute; margin-top:-250px;margin-left:20px;">
7
		<div id="legende" style="position:absolute; margin-top:-250px;margin-left:20px;">
8
			<h3>Légende</h3><br />
8
			<h3>Légende</h3><br />
9
			<? foreach ($repartition['legende'] as $id => $details) :?>
9
			<? foreach ($repartition['legende'] as $id => $details) :?>
10
					<div style="clear:left; ">
10
					<div style="clear:left; ">
11
						<div class="bloc_legende_repartition" style="background:<?=$details['couleur']?>"></div>
11
						<div class="bloc_legende_repartition" style="background:<?=$details['couleur']?>"></div>
12
						<div class="texte_legende_repartition"><b><?=$details['nom']?></b></div>
12
						<div class="texte_legende_repartition"><b><?=$details['nom']?></b></div>
13
					</div>
13
					</div>
14
			<? endforeach;	?>
14
			<? endforeach;	?>
15
		</div>
15
		</div>
16
		<div class="conteneur_lien_metadonnees">
16
		<div class="conteneur_lien_metadonnees">
17
			<?=$repartition['meta']['citation']?>
17
			<?=$repartition['meta']['citation']?>
18
			<span class="conteneur_lien_metadonnees">
18
			<span class="conteneur_lien_metadonnees">
19
				<a class="lien_metadonnees lien_popup" href="<?= $repartition['meta']['url']; ?>">Voir toutes les metadonnées</a>
19
				<a class="lien_metadonnees lien_popup" href="<?= $repartition['meta']['url']; ?>">Voir toutes les metadonnées</a>
20
			</span>
20
			</span>
21
		</div>
21
		</div>
22
		<a href="http://www.tela-botanica.org/page:liste_projets?id_projet=9&amp;act=description"
22
		<a href="http://www.tela-botanica.org/page:liste_projets?id_projet=9&amp;act=description"
23
			title="Carte en cours d'élaboration. Participez au projet" onclick="window.open(this.href); return false;" 
23
			title="Carte en cours d'élaboration. Participez au projet" onclick="window.open(this.href); return false;" 
24
			class="acceder-outil">Participez au projet</a>
24
			class="acceder-outil">Participez au projet</a>
25
	</div>
25
	</div>
26
	<? endif; ?>
26
	<? endif; ?>
27
	<hr class="nettoyage" />
27
	<hr class="nettoyage" />
28
	
28
	
29
	<? if (isset($moissonnage)) : ?>
29
	<? if (isset($moissonnage)) : ?>
30
	<div id="moissonnage">
30
	<div id="moissonnage">
31
		<h2>Observations</h2>
31
		<h2>Observations</h2>
32
		<object id="repartition_observations" type="text/html" data="<?=$moissonnage['mapUrl']?>" class="svg" alt="<?=$moissonnage['mapUrl']?>" style="width:620px; height:620px; overflow:none;">     
32
		<object id="repartition_observations" type="text/html" data="<?=$moissonnage['mapUrl']?>" class="svg" alt="<?=$moissonnage['mapUrl']?>" style="width:620px; height:620px; overflow:none;">     
33
		</object>
33
		</object>
34
		<div id="legende" style="padding:15px;margin-top:-25px;">
34
		<div id="legende" style="padding:15px;margin-top:-25px;">
35
			<? foreach ($moissonnage['legende'] as $id => $details) :?>
35
			<? foreach ($moissonnage['legende'] as $id => $details) :?>
36
					<div style="clear:left;">
36
					<div style="clear:left;">
37
						<div class="bloc_legende_repartition" style="background:<?=$details['couleur']?>"></div>
37
						<div class="bloc_legende_repartition" style="background:<?=$details['couleur']?>"></div>
38
						<div ><b><?=$details['nom']?> : </b><?=$details['description']?></div>
38
						<div ><b><?=$details['nom']?> : </b><?=$details['description']?></div>
39
					</div>
39
					</div>
40
			<? endforeach;	?>
40
			<? endforeach;	?>
41
		</div>
41
		</div>
42
		<div id="carte_telechargement">
42
		<div id="carte_telechargement">
43
			<span>Télécharger la carte au format </span>
43
			<span>Télécharger la carte au format </span>
44
			<a href="<?=$moissonnage['mapTelechargementUrls']['png']; ?>">png</a>&nbsp;
44
			<a href="<?=$moissonnage['mapTelechargementUrls']['png']; ?>">png</a>&nbsp;
45
			<a href="<?=$moissonnage['mapTelechargementUrls']['html']; ?>">html</a>
45
			<a href="<?=$moissonnage['mapTelechargementUrls']['html']; ?>">html</a>
46
		</div>
46
		</div>
47
	</div>
47
	</div>
48
	<hr class="nettoyage" />
48
	<hr class="nettoyage" />
49
	<?endif;?>
49
	<?endif;?>
50
	
50
	
51
	<? if (isset($flore_probable)) : ?>
51
	<? if (isset($flore_probable)) : ?>
52
	<div id="flore_probable">
52
	<div id="flore_probable">
53
		<h2>Carte de la flore probable</h2>
53
		<h2>Carte de la flore probable</h2>
54
		<? if ($flore_probable['carte']['url'] != null) { ?>
54
		<? if ($flore_probable['carte']['url'] != null) { ?>
55
			<div class="conteneur_flore_probable">
55
			<div class="conteneur_flore_probable">
56
				<img id="carte_flore_probable" alt="Carte de la flore probable pour ce taxon" src="<?= $flore_probable['carte']['url'] ?>" />
56
				<img id="carte_flore_probable" alt="Carte de la flore probable pour ce taxon" src="<?= $flore_probable['carte']['url'] ?>" />
57
			</div>
57
			</div>
58
			<hr class="nettoyage" />
58
			<hr class="nettoyage" />
59
			<span class="conteneur_lien_metadonnees">
59
			<span class="conteneur_lien_metadonnees">
-
 
60
				<?=$flore_probable['meta']['citation']?>
60
				<a class="lien_metadonnees lien_popup" href="<?= $flore_probable['meta']['url']; ?>">Voir toutes les metadonnées</a>
61
				<a class="lien_metadonnees lien_popup" href="<?= $flore_probable['meta']['url']; ?>">Voir toutes les metadonnées</a>
61
			</span>
62
			</span>
62
		<? } else { ?>
63
		<? } else { ?>
63
			<h3 class="aucune_info"> Aucune carte de flore probable pour ce taxon </h3> 
64
			<h3 class="aucune_info"> Aucune carte de flore probable pour ce taxon </h3> 
64
		<?php } ?>
65
		<?php } ?>
65
	</div>
66
	</div>
66
	<hr class="nettoyage" />
67
	<hr class="nettoyage" />
67
	<?endif;?>
68
	<?endif;?>
68
			
69
			
69
	<div id="cel">
70
	<div id="cel">
70
		<h2>Observations du carnet en ligne</h2>
71
		<h2>Observations du carnet en ligne</h2>
71
		<iframe style="width:100%;height:500px" src="http://www.tela-botanica.org/widget:cel:cartoPoint?num_taxon=<?=$widget['nt']?>&referentiel=<?=$widget['referentiel']; ?>"></iframe>	
72
		<iframe style="width:100%;height:500px" src="http://www.tela-botanica.org/widget:cel:cartoPoint?num_taxon=<?=$widget['nt']?>&referentiel=<?=$widget['referentiel']; ?>"></iframe>	
72
		<a href="http://www.tela-botanica.org/widget:cel:cartoPoint?num_taxon=<?=$widget['nt']?>&referentiel=<?=$widget['referentiel']; ?>">Consultez les données du carnet en ligne sur le widget carto</a>
73
		<a href="http://www.tela-botanica.org/widget:cel:cartoPoint?num_taxon=<?=$widget['nt']?>&referentiel=<?=$widget['referentiel']; ?>">Consultez les données du carnet en ligne sur le widget carto</a>
73
		<hr class="nettoyage" />
74
		<hr class="nettoyage" />
74
		<div>
75
		<div>
75
			<a href="http://www.tela-botanica.org/widget:cel:saisie?num_nom=<?=$widget['nn']?>&referentiel=<?=$widget['referentiel'] ?>" title="Ajouter une observation au moyen du Carnet en Ligne" 
76
			<a href="http://www.tela-botanica.org/widget:cel:saisie?num_nom=<?=$widget['nn']?>&referentiel=<?=$widget['referentiel'] ?>" title="Ajouter une observation au moyen du Carnet en Ligne" 
76
					onclick="window.open(this.href); return false;" class="acceder-outil">
77
					onclick="window.open(this.href); return false;" class="acceder-outil">
77
						Rajouter une observation
78
						Rajouter une observation
78
			</a>
79
			</a>
79
		</div>
80
		</div>
80
	</div>
81
	</div>
81
</div>
82
</div>