Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 837 Rev 957
Line 1... Line 1...
1
<div id="ecologie">
1
<div id="ecologie">
2
 
-
 
-
 
2
	<?php if(isset($baseflor)) : ?>
3
	<h2>Optimum écologique</h2>
3
		<h2>Optimum écologique</h2>
4
	<? if (!isset($baseflor['aucune'])) : ?>
4
		<? if (!isset($baseflor['aucune'])) : ?>
5
		<div class="fond_graphique">
5
			<div class="fond_graphique">
-
 
6
					<div class="bloc_graph">
-
 
7
					<? if (isset($baseflor['climat_url'])) :?>
-
 
8
						<span class="titre">caractéristiques climatiques</span>
-
 
9
						
-
 
10
						<div class="graphique">
-
 
11
							<object class="ecologie_svg" type="image/svg+xml" data="<?=$baseflor['climat_url']?>" class="svg" alt="<?=$baseflor['climat_url_png']?>">  
-
 
12
						</object>
-
 
13
						</div>
-
 
14
						
-
 
15
						<button class="voir"> voir la légende </button>
-
 
16
						<button class="cacher">masquer la légende </button>
-
 
17
							<br/>
-
 
18
						<div class="legende_graphique">
-
 
19
							<table>
-
 
20
								<tr> 
-
 
21
									<td class="largeur-02" >
-
 
22
										<span class="titre">Lumière </span>
-
 
23
									</td>
-
 
24
									<td>
-
 
25
										<? foreach ($baseflor['legende']['VEL'] as $code => $infos ) : ?>
-
 
26
										 <?=$code ?> :  <?=$infos['nom'] ?> 
-
 
27
										<? endforeach;	?>
-
 
28
									</td>
-
 
29
								</tr>
-
 
30
								<tr> 
-
 
31
									<td>
-
 
32
										<span class="titre">Température </span>
-
 
33
									</td>
-
 
34
									<td>
-
 
35
										<? foreach ($baseflor['legende']['VET'] as $code => $infos ) : ?>
-
 
36
										 <?=$code ?> :  <?=$infos['nom'] ?> 
-
 
37
										<? endforeach;	?>
-
 
38
									</td>
-
 
39
								</tr>
-
 
40
								<tr> 
-
 
41
									<td>
-
 
42
										<span class="titre">Humidité atmosphérique </span>
-
 
43
									</td>
-
 
44
									<td>
-
 
45
										<? foreach ($baseflor['legende']['VEHA'] as $code => $infos ) : ?>
-
 
46
										 <?=$code ?> :  <?=$infos['nom'] ?> 
-
 
47
										<? endforeach;	?>
-
 
48
									</td>
-
 
49
								</tr>
-
 
50
								<tr> 
-
 
51
									<td>
-
 
52
										<span class="titre">Continentalité </span>
-
 
53
									</td>
-
 
54
									<td>
-
 
55
										<? foreach ($baseflor['legende']['VEC'] as $code => $infos ) : ?>
-
 
56
										 <?=$code ?> :  <?=$infos['nom'] ?> 
-
 
57
										<? endforeach;	?>
-
 
58
									</td>
-
 
59
								</tr>
-
 
60
						</table>
-
 
61
					</div>
-
 
62
					<? endif;	?>
-
 
63
				</div>
-
 
64
				<br /><br />
6
				<div class="bloc_graph">
65
				<div class="bloc_graph">
7
				<? if (isset($baseflor['climat_url'])) :?>
66
				<? if (isset($baseflor['sol_url'])) : ?>
8
					<span class="titre">caractéristiques climatiques</span>
67
					<span class="titre">caractéristiques du sol</span>
Line 9... Line 68...
9
					
68
					
10
					<div class="graphique">
69
					<div class="graphique">
11
						<object class="ecologie_svg" type="image/svg+xml" data="<?=$baseflor['climat_url']?>" class="svg" alt="<?=$baseflor['climat_url_png']?>">  
70
						<object class="ecologie_svg" type="image/svg+xml" data="<?=$baseflor['sol_url']?>" class="svg" alt="<?=$baseflor['sol_url_png']?>">  
-
 
71
						</object>
-
 
72
					</div>
12
					</object>
73
					<div class="legende_formes">
13
					</div>
-
 
14
					
74
					</div>
15
					<button class="voir"> voir la légende </button>
75
					<button class="voir"> voir la légende </button>
16
					<button class="cacher">masquer la légende </button>
76
					<button class="cacher">masquer la légende </button>
17
						<br/>
77
					<br/>
18
					<div class="legende_graphique">
78
					<div class="legende_graphique">
19
						<table>
79
						<table>
20
							<tr> 
80
							<tr> 
21
								<td class="largeur-02" >
81
								<td class="largeur-02">
22
									<span class="titre">Lumière </span>
82
									<span class="titre"> Réaction (pH)  </span>
23
								</td>
83
								</td>
24
								<td>
84
								<td>
25
									<? foreach ($baseflor['legende']['VEL'] as $code => $infos ) : ?>
85
									<? foreach ($baseflor['legende']['VER'] as $code => $infos ) : ?>
26
									 <?=$code ?> :  <?=$infos['nom'] ?> 
86
									 <?=$code ?> :  <?=$infos['nom'] ?> 
27
									<? endforeach;	?>
87
									<? endforeach;	?>
28
								</td>
88
								</td>
29
							</tr>
89
							</tr>
30
							<tr> 
90
							<tr> 
31
								<td>
91
								<td>
32
									<span class="titre">Température </span>
92
									<span class="titre"> Humidité   </span>
33
								</td>
93
								</td>
34
								<td>
94
								<td>
35
									<? foreach ($baseflor['legende']['VET'] as $code => $infos ) : ?>
95
									<? foreach ($baseflor['legende']['VEHE'] as $code => $infos ) : ?>
36
									 <?=$code ?> :  <?=$infos['nom'] ?> 
96
									 <?=$code ?> :  <?=$infos['nom'] ?> 
37
									<? endforeach;	?>
97
									<? endforeach;	?>
38
								</td>
98
								</td>
39
							</tr>
99
							</tr>
40
							<tr> 
100
							<tr> 
41
								<td>
101
								<td>
42
									<span class="titre">Humidité atmosphérique </span>
102
									<span class="titre"> Texture   </span>
43
								</td>
103
								</td>
44
								<td>
104
								<td>
45
									<? foreach ($baseflor['legende']['VEHA'] as $code => $infos ) : ?>
105
									<? foreach ($baseflor['legende']['VETX'] as $code => $infos ) : ?>
46
									 <?=$code ?> :  <?=$infos['nom'] ?> 
106
									 <?=$code ?> :  <?=$infos['nom'] ?> 
47
									<? endforeach;	?>
107
									<? endforeach;	?>
48
								</td>
108
								</td>
49
							</tr>
109
							</tr>
50
							<tr> 
110
							<tr> 
51
								<td>
111
								<td>
52
									<span class="titre">Continentalité </span>
112
									<span class="titre"> Nutriments   </span>
53
								</td>
113
								</td>
54
								<td>
114
								<td>
55
									<? foreach ($baseflor['legende']['VEC'] as $code => $infos ) : ?>
115
									<? foreach ($baseflor['legende']['VEN'] as $code => $infos ) : ?>
-
 
116
									 <?=$code ?> :  <?=$infos['nom'] ?> 
-
 
117
									 <? endforeach;	?>
-
 
118
								</td>
-
 
119
							</tr>
-
 
120
							<tr> 
-
 
121
								<td>
-
 
122
									<span class="titre">  Salinité   </span>
-
 
123
								</td>
-
 
124
								<td>
-
 
125
									<? foreach ($baseflor['legende']['VES'] as $code => $infos ) : ?>
56
									 <?=$code ?> :  <?=$infos['nom'] ?> 
126
									<?=$code ?> :  <?=$infos['nom'] ?> 
57
									<? endforeach;	?>
127
									<? endforeach;	?>
58
								</td>
128
								</td>
59
							</tr>
129
							</tr>
60
					</table>
130
							<tr> 
61
				</div>
131
								<td>
-
 
132
									<span class="titre"> Matière Organique   </span>
62
				<? endif;	?>
133
									
63
			</div>
134
								</td>
64
			<br /><br />
135
								<td>
65
			<div class="bloc_graph">
136
									 <? foreach ($baseflor['legende']['VEMO'] as $code => $infos ) : ?>
66
			<? if (isset($baseflor['sol_url'])) : ?>
137
									<?=$code ?> :  <?=$infos['nom'] ?> 
-
 
138
									<? endforeach;	?>
-
 
139
								</td>
-
 
140
							</tr>
Line 67... Line -...
67
				<span class="titre">caractéristiques du sol</span>
-
 
68
				
-
 
69
				<div class="graphique">
-
 
70
					<object class="ecologie_svg" type="image/svg+xml" data="<?=$baseflor['sol_url']?>" class="svg" alt="<?=$baseflor['sol_url_png']?>">  
141
						</table>	
71
					</object>
-
 
72
				</div>
-
 
73
				<div class="legende_formes">
-
 
74
				</div>
-
 
75
				<button class="voir"> voir la légende </button>
-
 
76
				<button class="cacher">masquer la légende </button>
-
 
77
				<br/>
-
 
78
				<div class="legende_graphique">
-
 
79
					<table>
-
 
80
						<tr> 
-
 
81
							<td class="largeur-02">
-
 
82
								<span class="titre"> Réaction (pH)  </span>
-
 
83
							</td>
-
 
84
							<td>
-
 
85
								<? foreach ($baseflor['legende']['VER'] as $code => $infos ) : ?>
-
 
86
								 <?=$code ?> :  <?=$infos['nom'] ?> 
-
 
87
								<? endforeach;	?>
-
 
88
							</td>
-
 
89
						</tr>
-
 
90
						<tr> 
-
 
91
							<td>
-
 
92
								<span class="titre"> Humidité   </span>
-
 
93
							</td>
-
 
94
							<td>
-
 
95
								<? foreach ($baseflor['legende']['VEHE'] as $code => $infos ) : ?>
-
 
96
								 <?=$code ?> :  <?=$infos['nom'] ?> 
-
 
97
								<? endforeach;	?>
-
 
98
							</td>
-
 
99
						</tr>
-
 
100
						<tr> 
-
 
101
							<td>
-
 
102
								<span class="titre"> Texture   </span>
-
 
103
							</td>
-
 
104
							<td>
-
 
105
								<? foreach ($baseflor['legende']['VETX'] as $code => $infos ) : ?>
-
 
106
								 <?=$code ?> :  <?=$infos['nom'] ?> 
-
 
107
								<? endforeach;	?>
-
 
108
							</td>
-
 
109
						</tr>
-
 
110
						<tr> 
-
 
111
							<td>
-
 
112
								<span class="titre"> Nutriments   </span>
-
 
113
							</td>
-
 
114
							<td>
-
 
115
								<? foreach ($baseflor['legende']['VEN'] as $code => $infos ) : ?>
-
 
116
								 <?=$code ?> :  <?=$infos['nom'] ?> 
-
 
117
								 <? endforeach;	?>
-
 
118
							</td>
-
 
119
						</tr>
-
 
120
						<tr> 
-
 
121
							<td>
-
 
122
								<span class="titre">  Salinité   </span>
-
 
123
							</td>
-
 
124
							<td>
-
 
125
								<? foreach ($baseflor['legende']['VES'] as $code => $infos ) : ?>
-
 
126
								<?=$code ?> :  <?=$infos['nom'] ?> 
-
 
127
								<? endforeach;	?>
-
 
128
							</td>
-
 
129
						</tr>
-
 
130
						<tr> 
-
 
131
							<td>
-
 
132
								<span class="titre"> Matière Organique   </span>
-
 
133
								
-
 
134
							</td>
-
 
135
							<td>
-
 
136
								 <? foreach ($baseflor['legende']['VEMO'] as $code => $infos ) : ?>
142
				
137
								<?=$code ?> :  <?=$infos['nom'] ?> 
-
 
138
								<? endforeach;	?>
-
 
139
							</td>
-
 
140
						</tr>
-
 
141
					</table>	
143
					</div>
142
			
-
 
143
				</div>
144
					<? endif;	?>
144
				<? endif;	?>
-
 
145
			</div>
145
				</div>
146
		</div>
-
 
147
		<div class="conteneur_lien_metadonnees">
-
 
148
		
-
 
Line -... Line 146...
-
 
146
			</div>
-
 
147
			<div class="conteneur_lien_metadonnees">
-
 
148
			
149
				<?=$baseflor['meta']['citation']?> 
149
					<?=$baseflor['meta']['citation']?> 
150
			
150
				
151
			
151
				
152
			<span class="conteneur_lien_metadonnees">
152
				<span class="conteneur_lien_metadonnees">
153
				<a class="lien_metadonnees lien_popup " href="<?= $baseflor['meta']['url']; ?>">Voir toutes les metadonnées</a>
153
					<a class="lien_metadonnees lien_popup " href="<?= $baseflor['meta']['url']; ?>">Voir toutes les metadonnées</a>
154
			</span>
154
				</span>
155
		</div>
155
			</div>
-
 
156
		<?else : ?> 
156
	<?else : ?> 
157
			<?=$baseflor['aucune']?> 
Line 157... Line -...
157
		<?=$baseflor['aucune']?> 
-
 
158
		<br />
-
 
-
 
158
			<br />
159
	<? endif; ?>
159
		<? endif; ?>
160
	
160
	<? endif; ?>
161
	
161
	
162
	
162
	
163
	
163
	<?php if(isset($baseflor)) : ?>
164
	<h2>Phytosociologie</h2>
164
		<h2>Phytosociologie</h2>
165
	<? if (isset($baseveg['syntaxons-sup']) || isset($baseveg['syntaxons-sup'])) : ?>
165
		<? if (isset($baseveg['syntaxons-sup']) || isset($baseveg['syntaxons-sup'])) : ?>
166
		<br/>
166
			<br/>
167
		 Le code catminat de ce taxon est <span class="gras"> <?=$baseveg['baseflor']['catminat'] ?></span> </br>
167
			 Le code catminat de ce taxon est <span class="gras"> <?=$baseveg['baseflor']['catminat'] ?></span> </br>
168
		 Il est caractéristique du syntaxon de niveau <span class="gras"><?=$baseveg['syntaxon-courant'][0]['niveau.libelle']?></span> présenté 
168
			 Il est caractéristique du syntaxon de niveau <span class="gras"><?=$baseveg['syntaxon-courant'][0]['niveau.libelle']?></span> présenté 
169
		 dans le tableau ci-dessous avec ses niveaux supérieurs. [ <a href="http://philippe.julve.pagesperso-orange.fr/catminat.htm" target="_blank">Voir le site Catminat pour en savoir plus.</a> ]
169
			 dans le tableau ci-dessous avec ses niveaux supérieurs. [ <a href="http://philippe.julve.pagesperso-orange.fr/catminat.htm" target="_blank">Voir le site Catminat pour en savoir plus.</a> ]
170
		<table>
170
			<table>
171
			<?php foreach ($baseveg['syntaxons-sup'] as $cle => $valeurs ) : ?>
171
				<?php foreach ($baseveg['syntaxons-sup'] as $cle => $valeurs ) : ?>
172
				<tr>
172
					<tr>
173
					<td>
173
						<td>
174
						<span class="gras"><?=$valeurs['code_catminat']?></span></br>
174
							<span class="gras"><?=$valeurs['code_catminat']?></span></br>
175
						<?=$valeurs['niveau.libelle']?> 
175
							<?=$valeurs['niveau.libelle']?> 
176
						
176
							
177
					</td>
-
 
178
					<td>
-
 
179
						<span class="gras"><?=$valeurs['syntaxon']?></span> </br>
-
 
180
						<span ><?=$valeurs['physio_biotype']?></span> </br>
-
 
181
						<?= !empty($valeurs['repartition_france']) ? 'répartition : '.$valeurs['repartition_france'] : '' ?>
-
 
182
					</td>
-
 
183
					<td>
177
						</td>
184
					
-
 
185
						<a class="lien_popup" href="<?=$baseveg['ref']['lien-liste-fancy'][$valeurs['code_catminat']]?>">Réf.</a>  </br>
-
 
186
						<a class="lien_popup" href="<?=$baseveg['synonymes']['lien-liste-fancy'][$valeurs['code_catminat']]?>">Syn.</a> </br>
-
 
187
						<a  class="lien_popup" href="<?=$baseveg['taxons']['lien-liste-fancy'][$valeurs['code_catminat']]?>">Taxons</a>
178
						<td>
188
					</td>
-
 
189
				</tr>
-
 
Line 190... Line -...
190
			<? endforeach; ?>
-
 
191
				<tr class="surlignage">
-
 
192
					<td> 
179
							<span class="gras"><?=$valeurs['syntaxon']?></span> </br>
193
					<span class="gras"><?=$baseveg['syntaxon-courant'][0]['code_catminat']?></span></br>
180
							<span ><?=$valeurs['physio_biotype']?></span> </br>
194
						<?=$baseveg['syntaxon-courant'][0]['niveau.libelle']?>
181
							<?= !empty($valeurs['repartition_france']) ? 'répartition : '.$valeurs['repartition_france'] : '' ?>
195
						
182
						</td>
196
					</td>
183
						<td>
-
 
184
						
197
					<td>
185
							<a class="lien_popup" href="<?=$baseveg['ref']['lien-liste-fancy'][$valeurs['code_catminat']]?>">Réf.</a>  </br>
-
 
186
							<a class="lien_popup" href="<?=$baseveg['synonymes']['lien-liste-fancy'][$valeurs['code_catminat']]?>">Syn.</a> </br>
198
						<span class="gras"><?=$baseveg['syntaxon-courant'][0]['syntaxon']?></span> </br>
187
							<a  class="lien_popup" href="<?=$baseveg['taxons']['lien-liste-fancy'][$valeurs['code_catminat']]?>">Taxons</a>
199
						<span ><?=$baseveg['syntaxon-courant'][0]['physio_biotype']?></span> </br>
188
						</td>
200
						<?= !empty($baseveg['syntaxon-courant'][0]['repartition_france']) ? 'rép.'.$baseveg['syntaxon-courant'][0]['repartition_france'] : ''?>
189
					</tr>
201
					</td>
190
				<? endforeach; ?>
202
					<td>
191
					<tr class="surlignage">
203
						<a class="lien_popup" href="<?=$baseveg['ref']['lien-liste-fancy'][$baseveg['syntaxon-courant'][0]['code_catminat']]?>">Réf.</a>  </br>
-
 
204
						<a class="lien_popup" href="<?=$baseveg['synonymes']['lien-liste-fancy'][$baseveg['syntaxon-courant'][0]['code_catminat']]?>">Syn.</a></br>
192
						<td> 
205
						<a  class="lien_popup" href="<?=$baseveg['baseflor']['lien-liste-fancy']?>">Taxons</a>
-
 
206
 
193
						<span class="gras"><?=$baseveg['syntaxon-courant'][0]['code_catminat']?></span></br>
207
					</td>
-
 
208
				</tr>
194
							<?=$baseveg['syntaxon-courant'][0]['niveau.libelle']?>
209
		</table>
195
							
210
		<div class="conteneur_lien_metadonnees">
196
						</td>
-
 
197
						<td>
-
 
198
							<span class="gras"><?=$baseveg['syntaxon-courant'][0]['syntaxon']?></span> </br>
-
 
199
							<span ><?=$baseveg['syntaxon-courant'][0]['physio_biotype']?></span> </br>
Line -... Line 200...
-
 
200
							<?= !empty($baseveg['syntaxon-courant'][0]['repartition_france']) ? 'rép.'.$baseveg['syntaxon-courant'][0]['repartition_france'] : ''?>
-
 
201
						</td>
-
 
202
						<td>
-
 
203
							<a class="lien_popup" href="<?=$baseveg['ref']['lien-liste-fancy'][$baseveg['syntaxon-courant'][0]['code_catminat']]?>">Réf.</a>  </br>
-
 
204
							<a class="lien_popup" href="<?=$baseveg['synonymes']['lien-liste-fancy'][$baseveg['syntaxon-courant'][0]['code_catminat']]?>">Syn.</a></br>
-
 
205
							<a  class="lien_popup" href="<?=$baseveg['baseflor']['lien-liste-fancy']?>">Taxons</a>
-
 
206
	
-
 
207
						</td>
-
 
208
					</tr>
-
 
209
			</table>
-
 
210
			<div class="conteneur_lien_metadonnees">
211
		
211
			
212
			<?=$baseveg['meta']['citation']?> 
212
				<?=$baseveg['meta']['citation']?> 
213
			<span class="conteneur_lien_metadonnees">
213
				<span class="conteneur_lien_metadonnees">
214
				<a class="lien_metadonnees lien_popup " href="<?= $baseveg['meta']['url']; ?>">Voir toutes les metadonnées</a>
214
					<a class="lien_metadonnees lien_popup " href="<?= $baseveg['meta']['url']; ?>">Voir toutes les metadonnées</a>
-
 
215
				</span>
Line 215... Line 216...
215
			</span>
216
			</div>
216
		</div>
217
		
217
	
218
		<? else : ?>
218
	<? else : ?>
219
			Aucune Donnée.