Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 814 Rev 837
1
<div id="ecologie">
1
<div id="ecologie">
2
 
2
 
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">
6
				<div class="bloc_graph">
-
 
7
				<? if (isset($baseflor['climat_url'])) :?>
7
					<span class="titre">caractéristiques climatiques</span>
8
					<span class="titre">caractéristiques climatiques</span>
8
					
9
					
9
					<div class="graphique">
10
					<div class="graphique">
10
						<object class="ecologie_svg" type="image/svg+xml" data="<?=$baseflor['climat_url']?>" class="svg" alt="<?=$baseflor['climat_url_png']?>">  
11
						<object class="ecologie_svg" type="image/svg+xml" data="<?=$baseflor['climat_url']?>" class="svg" alt="<?=$baseflor['climat_url_png']?>">  
11
					</object>
12
					</object>
12
					</div>
13
					</div>
13
					
14
					
14
					<button class="voir"> voir la légende </button>
15
					<button class="voir"> voir la légende </button>
15
					<button class="cacher">masquer la légende </button>
16
					<button class="cacher">masquer la légende </button>
16
						<br/>
17
						<br/>
17
					<div class="legende_graphique">
18
					<div class="legende_graphique">
18
						<table>
19
						<table>
19
							<tr> 
20
							<tr> 
20
								<td class="largeur-02" >
21
								<td class="largeur-02" >
21
									<span class="titre">Lumière </span>
22
									<span class="titre">Lumière </span>
22
								</td>
23
								</td>
23
								<td>
24
								<td>
24
									<? foreach ($baseflor['legende']['VEL'] as $code => $infos ) : ?>
25
									<? foreach ($baseflor['legende']['VEL'] as $code => $infos ) : ?>
25
									 <?=$code ?> :  <?=$infos['nom'] ?> 
26
									 <?=$code ?> :  <?=$infos['nom'] ?> 
26
									<? endforeach;	?>
27
									<? endforeach;	?>
27
								</td>
28
								</td>
28
							</tr>
29
							</tr>
29
							<tr> 
30
							<tr> 
30
								<td>
31
								<td>
31
									<span class="titre">Température </span>
32
									<span class="titre">Température </span>
32
								</td>
33
								</td>
33
								<td>
34
								<td>
34
									<? foreach ($baseflor['legende']['VET'] as $code => $infos ) : ?>
35
									<? foreach ($baseflor['legende']['VET'] as $code => $infos ) : ?>
35
									 <?=$code ?> :  <?=$infos['nom'] ?> 
36
									 <?=$code ?> :  <?=$infos['nom'] ?> 
36
									<? endforeach;	?>
37
									<? endforeach;	?>
37
								</td>
38
								</td>
38
							</tr>
39
							</tr>
39
							<tr> 
40
							<tr> 
40
								<td>
41
								<td>
41
									<span class="titre">Humidité atmosphérique </span>
42
									<span class="titre">Humidité atmosphérique </span>
42
								</td>
43
								</td>
43
								<td>
44
								<td>
44
									<? foreach ($baseflor['legende']['VEHA'] as $code => $infos ) : ?>
45
									<? foreach ($baseflor['legende']['VEHA'] as $code => $infos ) : ?>
45
									 <?=$code ?> :  <?=$infos['nom'] ?> 
46
									 <?=$code ?> :  <?=$infos['nom'] ?> 
46
									<? endforeach;	?>
47
									<? endforeach;	?>
47
								</td>
48
								</td>
48
							</tr>
49
							</tr>
49
							<tr> 
50
							<tr> 
50
								<td>
51
								<td>
51
									<span class="titre">Continentalité </span>
52
									<span class="titre">Continentalité </span>
52
								</td>
53
								</td>
53
								<td>
54
								<td>
54
									<? foreach ($baseflor['legende']['VEC'] as $code => $infos ) : ?>
55
									<? foreach ($baseflor['legende']['VEC'] as $code => $infos ) : ?>
55
									 <?=$code ?> :  <?=$infos['nom'] ?> 
56
									 <?=$code ?> :  <?=$infos['nom'] ?> 
56
									<? endforeach;	?>
57
									<? endforeach;	?>
57
								</td>
58
								</td>
58
							</tr>
59
							</tr>
59
					</table>
60
					</table>
60
				</div>
61
				</div>
-
 
62
				<? endif;	?>
61
			</div>
63
			</div>
62
			<br /><br />
64
			<br /><br />
63
			<div class="bloc_graph">
65
			<div class="bloc_graph">
-
 
66
			<? if (isset($baseflor['sol_url'])) : ?>
64
				<span class="titre">caractéristiques du sol</span>
67
				<span class="titre">caractéristiques du sol</span>
65
				
68
				
66
				<div class="graphique">
69
				<div class="graphique">
67
					<object class="ecologie_svg" type="image/svg+xml" data="<?=$baseflor['sol_url']?>" class="svg" alt="<?=$baseflor['sol_url_png']?>">  
70
					<object class="ecologie_svg" type="image/svg+xml" data="<?=$baseflor['sol_url']?>" class="svg" alt="<?=$baseflor['sol_url_png']?>">  
68
					</object>
71
					</object>
69
				</div>
72
				</div>
70
				<div class="legende_formes">
73
				<div class="legende_formes">
71
				</div>
74
				</div>
72
				<button class="voir"> voir la légende </button>
75
				<button class="voir"> voir la légende </button>
73
				<button class="cacher">masquer la légende </button>
76
				<button class="cacher">masquer la légende </button>
74
				<br/>
77
				<br/>
75
				<div class="legende_graphique">
78
				<div class="legende_graphique">
76
					<table>
79
					<table>
77
						<tr> 
80
						<tr> 
78
							<td class="largeur-02">
81
							<td class="largeur-02">
79
								<span class="titre"> Réaction (pH)  </span>
82
								<span class="titre"> Réaction (pH)  </span>
80
							</td>
83
							</td>
81
							<td>
84
							<td>
82
								<? foreach ($baseflor['legende']['VER'] as $code => $infos ) : ?>
85
								<? foreach ($baseflor['legende']['VER'] as $code => $infos ) : ?>
83
								 <?=$code ?> :  <?=$infos['nom'] ?> 
86
								 <?=$code ?> :  <?=$infos['nom'] ?> 
84
								<? endforeach;	?>
87
								<? endforeach;	?>
85
							</td>
88
							</td>
86
						</tr>
89
						</tr>
87
						<tr> 
90
						<tr> 
88
							<td>
91
							<td>
89
								<span class="titre"> Humidité   </span>
92
								<span class="titre"> Humidité   </span>
90
							</td>
93
							</td>
91
							<td>
94
							<td>
92
								<? foreach ($baseflor['legende']['VEHE'] as $code => $infos ) : ?>
95
								<? foreach ($baseflor['legende']['VEHE'] as $code => $infos ) : ?>
93
								 <?=$code ?> :  <?=$infos['nom'] ?> 
96
								 <?=$code ?> :  <?=$infos['nom'] ?> 
94
								<? endforeach;	?>
97
								<? endforeach;	?>
95
							</td>
98
							</td>
96
						</tr>
99
						</tr>
97
						<tr> 
100
						<tr> 
98
							<td>
101
							<td>
99
								<span class="titre"> Texture   </span>
102
								<span class="titre"> Texture   </span>
100
							</td>
103
							</td>
101
							<td>
104
							<td>
102
								<? foreach ($baseflor['legende']['VETX'] as $code => $infos ) : ?>
105
								<? foreach ($baseflor['legende']['VETX'] as $code => $infos ) : ?>
103
								 <?=$code ?> :  <?=$infos['nom'] ?> 
106
								 <?=$code ?> :  <?=$infos['nom'] ?> 
104
								<? endforeach;	?>
107
								<? endforeach;	?>
105
							</td>
108
							</td>
106
						</tr>
109
						</tr>
107
						<tr> 
110
						<tr> 
108
							<td>
111
							<td>
109
								<span class="titre"> Nutriments   </span>
112
								<span class="titre"> Nutriments   </span>
110
							</td>
113
							</td>
111
							<td>
114
							<td>
112
								<? foreach ($baseflor['legende']['VEN'] as $code => $infos ) : ?>
115
								<? foreach ($baseflor['legende']['VEN'] as $code => $infos ) : ?>
113
								 <?=$code ?> :  <?=$infos['nom'] ?> 
116
								 <?=$code ?> :  <?=$infos['nom'] ?> 
114
								 <? endforeach;	?>
117
								 <? endforeach;	?>
115
							</td>
118
							</td>
116
						</tr>
119
						</tr>
117
						<tr> 
120
						<tr> 
118
							<td>
121
							<td>
119
								<span class="titre">  Salinité   </span>
122
								<span class="titre">  Salinité   </span>
120
							</td>
123
							</td>
121
							<td>
124
							<td>
122
								<? foreach ($baseflor['legende']['VES'] as $code => $infos ) : ?>
125
								<? foreach ($baseflor['legende']['VES'] as $code => $infos ) : ?>
123
								<?=$code ?> :  <?=$infos['nom'] ?> 
126
								<?=$code ?> :  <?=$infos['nom'] ?> 
124
								<? endforeach;	?>
127
								<? endforeach;	?>
125
							</td>
128
							</td>
126
						</tr>
129
						</tr>
127
						<tr> 
130
						<tr> 
128
							<td>
131
							<td>
129
								<span class="titre"> Matière Organique   </span>
132
								<span class="titre"> Matière Organique   </span>
130
								
133
								
131
							</td>
134
							</td>
132
							<td>
135
							<td>
133
								 <? foreach ($baseflor['legende']['VEMO'] as $code => $infos ) : ?>
136
								 <? foreach ($baseflor['legende']['VEMO'] as $code => $infos ) : ?>
134
								<?=$code ?> :  <?=$infos['nom'] ?> 
137
								<?=$code ?> :  <?=$infos['nom'] ?> 
135
								<? endforeach;	?>
138
								<? endforeach;	?>
136
							</td>
139
							</td>
137
						</tr>
140
						</tr>
138
					</table>	
141
					</table>	
139
			
142
			
140
				</div>
143
				</div>
-
 
144
				<? endif;	?>
141
			</div>
145
			</div>
142
		</div>
146
		</div>
143
		<div class="conteneur_lien_metadonnees">
147
		<div class="conteneur_lien_metadonnees">
144
		
148
		
145
				<?=$baseflor['meta']['citation']?> 
149
				<?=$baseflor['meta']['citation']?> 
146
			
150
			
147
			
151
			
148
			<span class="conteneur_lien_metadonnees">
152
			<span class="conteneur_lien_metadonnees">
149
				<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>
150
			</span>
154
			</span>
151
		</div>
155
		</div>
152
	<?else : ?> 
156
	<?else : ?> 
153
		<?=$baseflor['aucune']?> 
157
		<?=$baseflor['aucune']?> 
154
		<br />
158
		<br />
155
	<? endif; ?>
159
	<? endif; ?>
156
	
160
	
157
	
161
	
158
	
162
	
159
	
163
	
160
	<h2>Phytosociologie</h2>
164
	<h2>Phytosociologie</h2>
161
	<? if (isset($baseveg['syntaxons-sup']) || isset($baseveg['syntaxons-sup'])) : ?>
165
	<? if (isset($baseveg['syntaxons-sup']) || isset($baseveg['syntaxons-sup'])) : ?>
162
		<br/>
166
		<br/>
163
		 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>
164
		 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é 
165
		 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> ]
166
		<table>
170
		<table>
167
			<?php foreach ($baseveg['syntaxons-sup'] as $cle => $valeurs ) : ?>
171
			<?php foreach ($baseveg['syntaxons-sup'] as $cle => $valeurs ) : ?>
168
				<tr>
172
				<tr>
169
					<td>
173
					<td>
170
						<span class="gras"><?=$valeurs['code_catminat']?></span></br>
174
						<span class="gras"><?=$valeurs['code_catminat']?></span></br>
171
						<?=$valeurs['niveau.libelle']?> 
175
						<?=$valeurs['niveau.libelle']?> 
172
						
176
						
173
					</td>
177
					</td>
174
					<td>
178
					<td>
175
						<span class="gras"><?=$valeurs['syntaxon']?></span> </br>
179
						<span class="gras"><?=$valeurs['syntaxon']?></span> </br>
176
						<span ><?=$valeurs['physio_biotype']?></span> </br>
180
						<span ><?=$valeurs['physio_biotype']?></span> </br>
177
						<?= !empty($valeurs['repartition_france']) ? 'répartition : '.$valeurs['repartition_france'] : '' ?>
181
						<?= !empty($valeurs['repartition_france']) ? 'répartition : '.$valeurs['repartition_france'] : '' ?>
178
					</td>
182
					</td>
179
					<td>
183
					<td>
180
					
184
					
181
						<a class="lien_popup" href="<?=$baseveg['ref']['lien-liste-fancy'][$valeurs['code_catminat']]?>">Réf.</a>  </br>
185
						<a class="lien_popup" href="<?=$baseveg['ref']['lien-liste-fancy'][$valeurs['code_catminat']]?>">Réf.</a>  </br>
182
						<a class="lien_popup" href="<?=$baseveg['synonymes']['lien-liste-fancy'][$valeurs['code_catminat']]?>">Syn.</a> </br>
186
						<a class="lien_popup" href="<?=$baseveg['synonymes']['lien-liste-fancy'][$valeurs['code_catminat']]?>">Syn.</a> </br>
183
						<a  class="lien_popup" href="<?=$baseveg['taxons']['lien-liste-fancy'][$valeurs['code_catminat']]?>">Taxons</a>
187
						<a  class="lien_popup" href="<?=$baseveg['taxons']['lien-liste-fancy'][$valeurs['code_catminat']]?>">Taxons</a>
184
					</td>
188
					</td>
185
				</tr>
189
				</tr>
186
			<? endforeach; ?>
190
			<? endforeach; ?>
187
				<tr class="surlignage">
191
				<tr class="surlignage">
188
					<td> 
192
					<td> 
189
					<span class="gras"><?=$baseveg['syntaxon-courant'][0]['code_catminat']?></span></br>
193
					<span class="gras"><?=$baseveg['syntaxon-courant'][0]['code_catminat']?></span></br>
190
						<?=$baseveg['syntaxon-courant'][0]['niveau.libelle']?>
194
						<?=$baseveg['syntaxon-courant'][0]['niveau.libelle']?>
191
						
195
						
192
					</td>
196
					</td>
193
					<td>
197
					<td>
194
						<span class="gras"><?=$baseveg['syntaxon-courant'][0]['syntaxon']?></span> </br>
198
						<span class="gras"><?=$baseveg['syntaxon-courant'][0]['syntaxon']?></span> </br>
195
						<span ><?=$baseveg['syntaxon-courant'][0]['physio_biotype']?></span> </br>
199
						<span ><?=$baseveg['syntaxon-courant'][0]['physio_biotype']?></span> </br>
196
						<?= !empty($baseveg['syntaxon-courant'][0]['repartition_france']) ? 'rép.'.$baseveg['syntaxon-courant'][0]['repartition_france'] : ''?>
200
						<?= !empty($baseveg['syntaxon-courant'][0]['repartition_france']) ? 'rép.'.$baseveg['syntaxon-courant'][0]['repartition_france'] : ''?>
197
					</td>
201
					</td>
198
					<td>
202
					<td>
199
						<a class="lien_popup" href="<?=$baseveg['ref']['lien-liste-fancy'][$baseveg['syntaxon-courant'][0]['code_catminat']]?>">Réf.</a>  </br>
203
						<a class="lien_popup" href="<?=$baseveg['ref']['lien-liste-fancy'][$baseveg['syntaxon-courant'][0]['code_catminat']]?>">Réf.</a>  </br>
200
						<a class="lien_popup" href="<?=$baseveg['synonymes']['lien-liste-fancy'][$baseveg['syntaxon-courant'][0]['code_catminat']]?>">Syn.</a></br>
204
						<a class="lien_popup" href="<?=$baseveg['synonymes']['lien-liste-fancy'][$baseveg['syntaxon-courant'][0]['code_catminat']]?>">Syn.</a></br>
201
						<a  class="lien_popup" href="<?=$baseveg['baseflor']['lien-liste-fancy']?>">Taxons</a>
205
						<a  class="lien_popup" href="<?=$baseveg['baseflor']['lien-liste-fancy']?>">Taxons</a>
202
 
206
 
203
					</td>
207
					</td>
204
				</tr>
208
				</tr>
205
		</table>
209
		</table>
206
		<div class="conteneur_lien_metadonnees">
210
		<div class="conteneur_lien_metadonnees">
207
		
211
		
208
			<?=$baseveg['meta']['citation']?> 
212
			<?=$baseveg['meta']['citation']?> 
209
			<span class="conteneur_lien_metadonnees">
213
			<span class="conteneur_lien_metadonnees">
210
				<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>
211
			</span>
215
			</span>
212
		</div>
216
		</div>
213
	
217
	
214
	<? else : ?>
218
	<? else : ?>
215
		Aucune Donnée.
219
		Aucune Donnée.
216
	<? endif; ?>
220
	<? endif; ?>
217
	<br/>
221
	<br/>
218
 
222
 
219
	<br/>
223
	<br/>
220
	<br/>
224
	<br/>
221
	<h2>Vos compléments sur l'écologie</h2>
225
	<h2>Vos compléments sur l'écologie</h2>
222
	<!-- TODO: cette phrase d'aide devrait être ajoutée avec javascript mais le système des onglets ajax nous en empêche -->
226
	<!-- TODO: cette phrase d'aide devrait être ajoutée avec javascript mais le système des onglets ajax nous en empêche -->
223
	<span class="aide_wikini"> Participez à la rédaction collaborative, un double clic dans le cadre suffit pour compléter ou corriger la page </span>
227
	<span class="aide_wikini"> Participez à la rédaction collaborative, un double clic dans le cadre suffit pour compléter ou corriger la page </span>
224
	<div class="contenu_editable">
228
	<div class="contenu_editable">
225
		<div class="description wikini editable_sur_clic" title="ecologie">
229
		<div class="description wikini editable_sur_clic" title="ecologie">
226
			<?=$wikini['ecologie']?>
230
			<?=$wikini['ecologie']?>
227
		</div>
231
		</div>
228
	</div>
232
	</div>
229
</div>
233
</div>