Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 810 Rev 823
1
<!-- Fichier expert -->
1
<!-- Fichier expert -->
2
<? $url = htmlentities('index.php?referentiel=bdtfx&niveau=1&module=fiche&num_nom='.$num_nom.'&type_nom='.$type_nom.'&nom='.$nom.'&onglet=');?>
2
<? $url = htmlentities('index.php?referentiel=bdtfx&niveau=1&module=fiche&num_nom='.$num_nom.'&type_nom='.$type_nom.'&nom='.$nom.'&onglet=');?>
3
<script type="text/javascript">
3
<script type="text/javascript">
4
//<![CDATA[
4
//<![CDATA[
5
	var urlTexteBrutSectionWikiTpl = "<?= Config::get('texteBrutSectionWikiTpl'); ?>";
5
	var urlTexteBrutSectionWikiTpl = "<?= Config::get('texteBrutSectionWikiTpl'); ?>";
6
	var urlEditionSectionWikiTpl = "<?= Config::get('editionSectionWikiTpl'); ?>";
6
	var urlEditionSectionWikiTpl = "<?= Config::get('editionSectionWikiTpl'); ?>";
7
	var urlTexteFormateSectionWikiTpl = "<?= Config::get('texteFormateSectionWikiTpl'); ?>";
7
	var urlTexteFormateSectionWikiTpl = "<?= Config::get('texteFormateSectionWikiTpl'); ?>";
8
	var pageWikiTaxon = "<?= strtoupper($infos['referentiel']); ?>nt<?= $infos['num_tax']; ?>";
8
	var pageWikiTaxon = "<?= strtoupper($infos['referentiel']); ?>nt<?= $infos['num_tax']; ?>";
9
//]]>
9
//]]>
10
</script>
10
</script>
11
<div class="synthese">
11
<div class="synthese">
12
	<div class="colonne deuxtiers">
12
	<div class="colonne deuxtiers">
13
	
13
	
14
		<!-- Nomenclature -->
14
		<!-- Nomenclature -->
15
		<div id="synthese_nomenclature" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
15
		<div id="synthese_nomenclature" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
16
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-6">
16
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-6">
17
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>nomenclature">Nomenclature</a>
17
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>nomenclature">Nomenclature</a>
18
			</h3>
18
			</h3>
19
			<div id="contenu-6" class="contenu">
19
			<div id="contenu-6" class="contenu">
20
				<h4>Nom retenu</h4>
20
				<h4>Nom retenu</h4>
21
				<div>
21
				<div>
22
					<div class="nom retenu <?= ($nomenclature['nom_selectionne'] == $nomenclature['nom_retenu_formate']) ? 'surlignage' : '' ?>">
22
					<div class="nom retenu <?= ($nomenclature['nom_selectionne'] == $nomenclature['nom_retenu_formate']) ? 'surlignage' : '' ?>">
23
						<?= $nomenclature['nom_retenu_formate']; ?>
23
						<?= $nomenclature['nom_retenu_formate']; ?>
24
					</div>
24
					</div>
25
					<?php if($nomenclature['basionyme_nom_retenu'] != '') { ?>	
25
					<?php if($nomenclature['basionyme_nom_retenu'] != '') { ?>	
26
						<div class="nom"> Basionyme : <?= $nomenclature['basionyme_nom_retenu']; ?></div>
26
						<div class="nom"> Basionyme : <?= $nomenclature['basionyme_nom_retenu']; ?></div>
27
					<?php } ?>
27
					<?php } ?>
28
				</div>
28
				</div>
29
				
29
				
30
				<h4>Synonymes</h4>
30
				<h4>Synonymes</h4>
31
				<?php if($nomenclature['synonymes'] == array()) { ?>
31
				<?php if($nomenclature['synonymes'] == array()) { ?>
32
					Aucun synonyme
32
					Aucun synonyme
33
				<? } else { ?>
33
				<? } else { ?>
34
					<?php foreach ($nomenclature['synonymes'] as $synonyme) : ?>
34
					<?php foreach ($nomenclature['synonymes'] as $synonyme) : ?>
35
						<div class="nom<?= ($nomenclature['nom_selectionne'] == $synonyme['nom_sci_complet']) ? ' surlignage' : '' ?>">
35
						<div class="nom<?= ($nomenclature['nom_selectionne'] == $synonyme['nom_sci_complet']) ? ' surlignage' : '' ?>">
36
							<?= $synonyme['nom_sci_complet']; ?>
36
							<?= $synonyme['nom_sci_complet']; ?>
37
						</div>
37
						</div>
38
					<?php endforeach; ?>
38
					<?php endforeach; ?>
39
					<?php if($nomenclature['autresSynonymesNbre'] > 0) { ?>
39
					<?php if($nomenclature['autresSynonymesNbre'] > 0) { ?>
40
						<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et 
40
						<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et 
41
							<?= $nomenclature['autresSynonymesNbre'] ?>
41
							<?= $nomenclature['autresSynonymesNbre'] ?>
42
							autre<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
42
							autre<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
43
							synonyme<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
43
							synonyme<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
44
						</a>
44
						</a>
45
				<?php }} ?>
45
				<?php }} ?>
46
			</div>
46
			</div>
47
		</div>
47
		</div>
48
		
48
		
49
		<!-- Classification -->
49
		<!-- Classification -->
50
		<div id="synthese_classification" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
50
		<div id="synthese_classification" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
51
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-5">
51
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-5">
52
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>classification">Classification</a>
52
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>classification">Classification</a>
53
			</h3>
53
			</h3>
54
			<div id="contenu-5" class="contenu">
54
			<div id="contenu-5" class="contenu">
55
				<h4>Taxons supérieurs</h4>
55
				<h4>Taxons supérieurs</h4>
56
				<?php if($classification['taxons_sup'] != array()) { ?>	
56
				<?php if($classification['taxons_sup'] != array()) { ?>	
57
					<?php foreach($classification['taxons_sup'] as $taxon) : ?>	
57
					<?php foreach($classification['taxons_sup'] as $taxon) : ?>	
58
						<div><?= $taxon['rang.libelle'];  ?> : <?= $taxon['nom_sci']; ?></div>
58
						<div><?= $taxon['rang.libelle'];  ?> : <?= $taxon['nom_sci']; ?></div>
59
					<?php endforeach; ?>
59
					<?php endforeach; ?>
60
				<?php } else { ?>	
60
				<?php } else { ?>	
61
					<div>Aucun taxon supérieur référencé </div>
61
					<div>Aucun taxon supérieur référencé </div>
62
				<?php } ?>	
62
				<?php } ?>	
63
				<h4>Taxons inférieurs</h4>
63
				<h4>Taxons inférieurs</h4>
64
				<?php if($classification['taxons_inf'] != array()) { ?>
64
				<?php if($classification['taxons_inf'] != array()) { ?>
65
					<?php foreach($classification['taxons_inf'] as $taxon) : ?>	
65
					<?php foreach($classification['taxons_inf'] as $taxon) : ?>	
66
						<div><?= $taxon['rang.libelle'];  ?> : <?= $taxon['nom_sci']; ?></div>
66
						<div><?= $taxon['rang.libelle'];  ?> : <?= $taxon['nom_sci']; ?></div>
67
					<?php endforeach; ?>
67
					<?php endforeach; ?>
68
				<?php } else { ?>	
68
				<?php } else { ?>	
69
					<div>Aucun taxon inférieur référencé </div>
69
					<div>Aucun taxon inférieur référencé </div>
70
				<?php } ?>	
70
				<?php } ?>	
71
			</div>
71
			</div>
72
		</div>
72
		</div>
73
		
73
		
74
		<!-- Description -->
74
		<!-- Description -->
75
		<div id="synthese_description" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
75
		<div id="synthese_description" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
76
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-1">
76
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-1">
77
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>description">Description</a>
77
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>description">Description</a>
78
			</h3>
78
			</h3>
79
			<div id="contenu-1" class="contenu">
79
			<div id="contenu-1" class="contenu">
80
				<h4><?= $description['titre']?></h4>
80
				<h4><?= $description['titre']?></h4>
81
				<? if ($description['description'] != '') : ?>
81
				<? if ($description['description'] != '') : ?>
82
					<? if($description['titre'] == 'Description Baseflor') : ?>
82
					<? if($description['titre'] == 'Description Baseflor') : ?>
83
						<table class="desc">
83
						<table class="desc">
84
							<tr>
84
							<tr>
85
								<td colspan="2">
85
								<td colspan="2">
86
									<?if ($description['description']['type_bio'] != '') : ?>
86
									<?if ($description['description']['type_bio'] != '') : ?>
87
									 	<span class="titre">Type Biologique :</span> <?=$description['description']['type_bio']; ?><br/>
87
									 	<span class="titre">Type Biologique :</span> <?=$description['description']['type_bio']; ?><br/>
88
									 <? endif; ?>
88
									 <? endif; ?>
89
								</td>
89
								</td>
90
							</tr>
90
							</tr>
91
							<tr>
91
							<tr>
92
								<td colspan="2">
92
								<td colspan="2">
93
									<?  if ($description['description']['form_vegetale'] != '') : ?>
93
									<?  if ($description['description']['form_vegetale'] != '') : ?>
94
								 		<span class="titre">Forme végétale  :</span>  <?=$description['description']['form_vegetale']; ?><br/>
94
								 		<span class="titre">Forme végétale  :</span>  <?=$description['description']['form_vegetale']; ?><br/>
95
								 	<? endif; ?>
95
								 	<? endif; ?>
96
								 </td>
96
								 </td>
97
							</tr>
97
							</tr>
98
							<tr>
98
							<tr>
99
								<td colspan="2">
99
								<td colspan="2">
100
									<? if ($description['description']['chorologie'] != ''): ?>
100
									<? if ($description['description']['chorologie'] != ''): ?>
101
								 		<span class="titre">Chorologie  : </span> <?=$description['description']['chorologie']; ?><br/>
101
								 		<span class="titre">Chorologie  : </span> <?=$description['description']['chorologie']; ?><br/>
102
								 	<? endif; ?>
102
								 	<? endif; ?>
103
								</td>
103
								</td>
104
							</tr>
104
							</tr>
105
							<tr>
105
							<tr>
106
								<td >
106
								<td >
107
									<? if ($description['description']['inflorescence'] != '') : ?>
107
									<? if ($description['description']['inflorescence'] != '') : ?>
108
									 	<span class="titre">Inflorescence :</span>  <?=$description['description']['inflorescence']; ?><br/>
108
									 	<span class="titre">Inflorescence :</span>  <?=$description['description']['inflorescence']; ?><br/>
109
									<? endif; ?>
109
									<? endif; ?>
110
									<? if ($description['description']['fruit'] != '') : ?>
110
									<? if ($description['description']['fruit'] != '') : ?>
111
									 	<span class="titre">Fruit :</span>  <?=$description['description']['fruit']; ?><br/>
111
									 	<span class="titre">Fruit :</span>  <?=$description['description']['fruit']; ?><br/>
112
									<? endif; ?>
112
									<? endif; ?>
113
									<? if ($description['description']['couleur_fleur'] != '') : ?>
113
									<? if ($description['description']['couleur_fleur'] != '') : ?>
114
									 	<span class="titre">Couleur de la fleur  : </span> <?=$description['description']['couleur_fleur']; ?><br/>
114
									 	<span class="titre">Couleur de la fleur  : </span> <?=$description['description']['couleur_fleur']; ?><br/>
115
									<? endif; ?>
115
									<? endif; ?>
116
									<? if ($description['description']['macule'] != '') : ?>
116
									<? if ($description['description']['macule'] != '') : ?>
117
									 	<span class="titre">Macule  :</span>  <?=$description['description']['macule']; ?><br/>
117
									 	<span class="titre">Macule  :</span>  <?=$description['description']['macule']; ?><br/>
118
									<? endif; ?>
118
									<? endif; ?>
119
									<? if ($description['description']['floraison'] != '') : ?>
119
									<? if ($description['description']['floraison'] != '') : ?>
120
									 	<span class="titre">Floraison  :</span>  <?=$description['description']['floraison']; ?><br/>
120
									 	<span class="titre">Floraison  :</span>  <?=$description['description']['floraison']; ?><br/>
121
									<? endif; ?>
121
									<? endif; ?>
122
								</td>
122
								</td>
123
								<td>
123
								<td>
124
									<? if ($description['description']['sexualite'] != '') : ?>
124
									<? if ($description['description']['sexualite'] != '') : ?>
125
									 	<span class="titre">Sexualité : </span> <?=$description['description']['sexualite']; ?><br/>
125
									 	<span class="titre">Sexualité : </span> <?=$description['description']['sexualite']; ?><br/>
126
									<? endif; ?>
126
									<? endif; ?>
127
									<?if ($description['description']['ordre_maturation'] != '') : ?>
127
									<?if ($description['description']['ordre_maturation'] != '') : ?>
128
									 	<span class="titre">Ordre de maturation : </span> <?=$description['description']['ordre_maturation']; ?><br/>
128
									 	<span class="titre">Ordre de maturation : </span> <?=$description['description']['ordre_maturation']; ?><br/>
129
									<? endif; ?>
129
									<? endif; ?>
130
									<? if ($description['description']['pollinisation'] != '') : ?>
130
									<? if ($description['description']['pollinisation'] != '') : ?>
131
									 	<span class="titre">Pollinisation : </span> <?=$description['description']['pollinisation']; ?><br/>
131
									 	<span class="titre">Pollinisation : </span> <?=$description['description']['pollinisation']; ?><br/>
132
									<? endif; ?>
132
									<? endif; ?>
133
									<? if ($description['description']['dissemination'] != '') : ?>
133
									<? if ($description['description']['dissemination'] != '') : ?>
134
									 	<span class="titre">Dissémination : </span><?=$description['description']['dissemination']; ?><br/>
134
									 	<span class="titre">Dissémination : </span><?=$description['description']['dissemination']; ?><br/>
135
									<? endif; ?>
135
									<? endif; ?>
136
								</td>
136
								</td>
137
							</tr>
137
							</tr>
138
						</table>	
138
						</table>	
139
					<? elseif($description['titre'] == 'Description de Coste') : ?> 
139
					<? elseif($description['titre'] == 'Description de Coste') : ?> 
140
						<table class="desc">
140
						<table class="desc">
141
							 <tr>
141
							 <tr>
142
							 	<td>
142
							 	<td>
143
									<?if ($description['description']['nom_scientifique'] != '') : ?>
143
									<?if ($description['description']['nom_scientifique'] != '') : ?>
144
										<span class="gras">
144
										<span class="gras">
145
										<?=$description['description']['nom_scientifique']; ?>
145
										<?=$description['description']['nom_scientifique']; ?>
146
										</span> 
146
										</span> 
147
									<? endif; ?>
147
									<? endif; ?>
148
									<?if ($description['description']['nom_commun'] != '') : ?>
148
									<?if ($description['description']['nom_commun'] != '') : ?>
149
										<span class="italique">
149
										<span class="italique">
150
										<?=$description['description']['nom_commun']; ?> 
150
										<?=$description['description']['nom_commun']; ?> 
151
										</span>
151
										</span>
152
									<? endif; ?>
152
									<? endif; ?>
153
								</td>
153
								</td>
154
							 </tr>
154
							 </tr>
155
							 <?if ($description['description']['synonymes'] != '') : ?>
155
							 <?if ($description['description']['synonymes'] != '') : ?>
156
								<tr>
156
								<tr>
157
							 		<td>
157
							 		<td>
158
										<span class="titre">Synonymes </span>
158
										<span class="titre">Synonymes </span>
159
										<?=$description['description']['synonymes']; ?> 
159
										<?=$description['description']['synonymes']; ?> 
160
									</td>
160
									</td>
161
								</tr>
161
								</tr>
162
							<? endif; ?>
162
							<? endif; ?>
163
							 <tr>
163
							 <tr>
164
							 	<td>
164
							 	<td>
165
									<?if ($description['description']['texte'] != '') : ?>
165
									<?if ($description['description']['texte'] != '') : ?>
166
										<?=$description['description']['texte']; ?> 
166
										<?=$description['description']['texte']; ?> 
167
										<br/>
167
										<br/>
168
									<? endif; ?>
168
									<? endif; ?>
169
								</td>
169
								</td>
170
							</tr>
170
							</tr>
171
							<?if ($description['description']['ecologie'] != '') : ?>
171
							<?if ($description['description']['ecologie'] != '') : ?>
172
								 <tr>
172
								 <tr>
173
							 		<td>
173
							 		<td>
174
										<span class="titre">Écologie </span>
174
										<span class="titre">Écologie </span>
175
										<?=$description['description']['ecologie']; ?>
175
										<?=$description['description']['ecologie']; ?>
176
									</td>
176
									</td>
177
								</tr>
177
								</tr>
178
							<? endif; ?>
178
							<? endif; ?>
179
							<?if ($description['description']['repartition'] != '') : ?>
179
							<?if ($description['description']['repartition'] != '') : ?>
180
								<tr>
180
								<tr>
181
							 		<td>
181
							 		<td>
182
										<span class="titre">Répartition </span>
182
										<span class="titre">Répartition </span>
183
										<?=$description['description']['repartition']; ?> 
183
										<?=$description['description']['repartition']; ?> 
184
									</td>
184
									</td>
185
								</tr>
185
								</tr>
186
							<? endif; ?>
186
							<? endif; ?>
187
							<?if ($description['description']['floraison'] != '') : ?>				
187
							<?if ($description['description']['floraison'] != '') : ?>				
188
								 <tr>
188
								 <tr>
189
									 <td>
189
									 <td>
190
										<span class="titre">Floraison </span>
190
										<span class="titre">Floraison </span>
191
										<?=$description['description']['floraison']; ?>
191
										<?=$description['description']['floraison']; ?>
192
										<?if ($description['description']['fructification'] != '') : ?>
192
										<?if ($description['description']['fructification'] != '') : ?>
193
											<span class="titre">Fructification </span>
193
											<span class="titre">Fructification </span>
194
											<?=$description['description']['fructification']; ?>
194
											<?=$description['description']['fructification']; ?>
195
										<? endif; ?>
195
										<? endif; ?>
196
									</td>
196
									</td>
197
								</tr>
197
								</tr>
198
							<? endif; ?>
198
							<? endif; ?>
199
							<?if ($description['description']['usages'] != '') : ?>
199
							<?if ($description['description']['usages'] != '') : ?>
200
								<tr>
200
								<tr>
201
									<td>
201
									<td>
202
										<span class="titre">Usages</span>
202
										<span class="titre">Usages</span>
203
											<?=$description['description']['usages']; ?>
203
											<?=$description['description']['usages']; ?>
204
									</td>
204
									</td>
205
								</tr>
205
								</tr>
206
							<? endif; ?>
206
							<? endif; ?>
207
						</table>
207
						</table>
208
					<? else : ?>
208
					<? else : ?>
209
						<?=$description['description'];?>
209
						<?=$description['description'];?>
210
					<? endif;?>
210
					<? endif;?>
211
				
211
				
212
				<? endif;?>
212
				<? endif;?>
213
				<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" >
213
				<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" >
214
					Complétez cette description
214
					Complétez cette description
215
				</a>
215
				</a>
216
			</div>
216
			</div>
217
		</div>
217
		</div>
218
		
218
		
219
		<!-- Ecologie -->
219
		<!-- Ecologie -->
220
		<div id="synthese_ecologie" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
220
		<div id="synthese_ecologie" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
221
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-8">
221
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-8">
222
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ecologie">Ecologie</a>
222
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ecologie">Ecologie</a>
223
			</h3>
223
			</h3>
224
			<div id="contenu-8" class="contenu">
224
			<div id="contenu-8" class="contenu">
225
				<h4><?=$ecologie['titre']?></h4>
225
				<h4><?=$ecologie['graph']['titre']?></h4>
226
					<? if (empty($ecologie['description'])) : ?>
226
					<? if (empty($ecologie['graph']['description'])) : ?>
227
						<? if ($ecologie['wikini']['ecologie'] == '') :?>
227
						<? if ($ecologie['graph']['wikini']['ecologie'] == '') :?>
228
							<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
228
							<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
229
								Participez à la rédaction collaborative de l'écologie
229
								Participez à la rédaction collaborative de l'écologie
230
							</a>
230
							</a>
231
						<? else : echo $ecologie['wikini']['ecologie'];?><br /><br />
231
						<? else : echo $ecologie['graph']['wikini']['ecologie'];?><br /><br />
232
							<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent" >
232
							<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent" >
233
								Complétez ces informations.
233
								Complétez ces informations.
234
							</a>
234
							</a>
235
						<? endif; ?>
235
						<? endif; ?>
236
					<? else : ?>
236
					<? else : ?>
237
						<div class="fond_graphique">	
237
						<div class="fond_graphique">	
238
							<span class="titre">caractéristiques climatiques</span>
238
							<span class="titre">caractéristiques climatiques</span>
239
							<div class="graphique">
239
							<div class="graphique">
240
								<object  type="image/svg+xml" data="<?=$ecologie['description']['climat_url']?>" 
240
								<object  type="image/svg+xml" data="<?=$ecologie['graph']['description']['climat_url']?>" 
241
								class="svg" alt="<?=$ecologie['description']['climat_url_png']?>" >  
241
								class="svg" alt="<?=$ecologie['graph']['description']['climat_url_png']?>" >  
242
								</object>
242
								</object>
243
							</div>
243
							</div>
244
							<span class="titre">caractéristiques du sol</span>
244
							<span class="titre">caractéristiques du sol</span>
245
							<div class="graphique">
245
							<div class="graphique">
246
								<object  type="image/svg+xml" data="<?=$ecologie['description']['sol_url']?>" 
246
								<object  type="image/svg+xml" data="<?=$ecologie['graph']['description']['sol_url']?>" 
247
								class="svg" alt="<?=$ecologie['description']['sol_url_png']?>" >   
247
								class="svg" alt="<?=$ecologie['graph']['description']['sol_url_png']?>" >   
248
								</object>
248
								</object>
249
							</div>
249
							</div>
250
							<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent">
250
							<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent">
251
								Voir les références
251
								Voir les références
252
							</a>
252
							</a>
253
							<br/>
-
 
254
							<br/>
-
 
255
							<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent">
-
 
256
								Complétez nos données sur l'écologie.
-
 
257
							</a>	
-
 
258
						</div>
253
					</div>
259
						
254
						
-
 
255
					<? endif; ?>
-
 
256
					<? if (!empty($ecologie['phytosocio']['description'])) : ?>
-
 
257
						<h4>Phytosociologie</h4>
-
 
258
						<span class="gras">
-
 
259
							<?=$ecologie['phytosocio']['description'][0]['niveau.libelle']?> - 
-
 
260
							<?=$ecologie['phytosocio']['description'][0]['code_catminat']?>
-
 
261
						</span> <br/>
-
 
262
							<?=$ecologie['phytosocio']['description'][0]['syntaxon']?> - 
-
 
263
						<span class="italique">
-
 
264
						 	<?=$ecologie['phytosocio']['description'][0]['physio_biotype']?>
-
 
265
						 </span> 
260
					<? endif; ?>
266
					<? endif; ?> 	
-
 
267
					<br/>
-
 
268
							<br/>
-
 
269
					<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent">
-
 
270
								Complétez nos données sur l'écologie.
261
					
271
							</a>
262
				
272
				
263
			</div>
273
			</div>
264
		</div>
274
		</div>
265
		
275
		
266
		<!-- Ethnobotanique -->
276
		<!-- Ethnobotanique -->
267
		<div id="synthese_ethnobotanique" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
277
		<div id="synthese_ethnobotanique" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
268
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-4">
278
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-4">
269
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ethnobotanique">Ethnobotanique</a>
279
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ethnobotanique">Ethnobotanique</a>
270
			</h3>
280
			</h3>
271
			<div id="contenu-4" class="contenu">
281
			<div id="contenu-4" class="contenu">
272
				<h4>Noms communs</h4>
282
				<h4>Noms communs</h4>
273
				<?php if ($ethnobotanique['nomsVerna'] == array()) { ?>
283
				<?php if ($ethnobotanique['nomsVerna'] == array()) { ?>
274
					Aucun nom vernaculaire<br /><br />
284
					Aucun nom vernaculaire<br /><br />
275
					<? if ($ethnobotanique['wikini']['noms_communs'] == '') {?>
285
					<? if ($ethnobotanique['wikini']['noms_communs'] == '') {?>
276
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
286
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
277
						Participez à la rédaction collaborative de la liste des noms communs
287
						Participez à la rédaction collaborative de la liste des noms communs
278
					</a>
288
					</a>
279
				<? } else { echo $ethnobotanique['wikini']['noms_communs'];?><br /><br />
289
				<? } else { echo $ethnobotanique['wikini']['noms_communs'];?><br /><br />
280
						<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
290
						<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
281
							Compléter cette liste
291
							Compléter cette liste
282
						</a>
292
						</a>
283
					<? } ?>
293
					<? } ?>
284
				<?php } else { ?>
294
				<?php } else { ?>
285
					<?php foreach ($ethnobotanique['nomsVerna'] as $nom_verna) : ?>
295
					<?php foreach ($ethnobotanique['nomsVerna'] as $nom_verna) : ?>
286
						<div> - <?= $nom_verna['nom_vernaculaire'].' ('.$nom_verna['code_langue'].')'; ?> </div>
296
						<div> - <?= $nom_verna['nom_vernaculaire'].' ('.$nom_verna['code_langue'].')'; ?> </div>
287
					<?php endforeach; ?>
297
					<?php endforeach; ?>
288
					<?php if($ethnobotanique['autresNomsVerna'] > 0) { ?>
298
					<?php if($ethnobotanique['autresNomsVerna'] > 0) { ?>
289
						<a href="<?=$url;?>ethnobotanique" style="float:right;" class="lien_ouverture_onglet_parent" >et 
299
						<a href="<?=$url;?>ethnobotanique" style="float:right;" class="lien_ouverture_onglet_parent" >et 
290
							<?= $ethnobotanique['autresNomsVerna'] ?>
300
							<?= $ethnobotanique['autresNomsVerna'] ?>
291
							autre<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
301
							autre<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
292
							nom<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
302
							nom<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
293
						</a><br />
303
						</a><br />
294
					<?php }?>
304
					<?php }?>
295
				<?php }?>
305
				<?php }?>
296
				<h4>Usages</h4>
306
				<h4>Usages</h4>
297
				<? if ($ethnobotanique['wikini']['usage'] == '') {?>
307
				<? if ($ethnobotanique['wikini']['usage'] == '') {?>
298
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
308
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
299
						Participez à la rédaction collaborative des usages
309
						Participez à la rédaction collaborative des usages
300
					</a>
310
					</a>
301
				<? } else { echo $ethnobotanique['wikini']['usage'];?><br /><br />
311
				<? } else { echo $ethnobotanique['wikini']['usage'];?><br /><br />
302
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
312
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
303
						Compléter ces informations
313
						Compléter ces informations
304
					</a>
314
					</a>
305
				<? } ?>
315
				<? } ?>
306
				<h4>Culture et arts</h4>
316
				<h4>Culture et arts</h4>
307
				<? if ($ethnobotanique['wikini']['culture_et_arts'] == '') {?>
317
				<? if ($ethnobotanique['wikini']['culture_et_arts'] == '') {?>
308
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
318
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
309
						Participez à la rédaction collaborative sur la culture et les arts
319
						Participez à la rédaction collaborative sur la culture et les arts
310
					</a>
320
					</a>
311
				<? } else { echo $ethnobotanique['wikini']['culture_et_arts'];?><br /><br />
321
				<? } else { echo $ethnobotanique['wikini']['culture_et_arts'];?><br /><br />
312
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
322
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
313
						Compléter ces informations.
323
						Compléter ces informations.
314
					</a>
324
					</a>
315
				<? } ?>
325
				<? } ?>
316
			</div>
326
			</div>
317
		</div>
327
		</div>
318
		
328
		
319
		<!-- Bibliographie -->	
329
		<!-- Bibliographie -->	
320
		<div id="synthese_bibliographie" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
330
		<div id="synthese_bibliographie" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
321
				<h3 class="titre ui-widget-header ui-corner-all" id="titre-2">
331
				<h3 class="titre ui-widget-header ui-corner-all" id="titre-2">
322
					<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>bibliographie">Bibliographie</a>
332
					<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>bibliographie">Bibliographie</a>
323
				</h3>
333
				</h3>
324
				<div id="contenu-2" class="contenu">
334
				<div id="contenu-2" class="contenu">
325
					<?php if (isset($bibliographie['wikini'])) { ?>
335
					<?php if (isset($bibliographie['wikini'])) { ?>
326
						<?= ($bibliographie['wikini']['biblio'] == '') ? 
336
						<?= ($bibliographie['wikini']['biblio'] == '') ? 
327
							'<a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
337
							'<a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
328
							Ajoutez votre bibliographie sur ce taxon</a>'
338
							Ajoutez votre bibliographie sur ce taxon</a>'
329
						: $bibliographie['wikini']['biblio'].
339
						: $bibliographie['wikini']['biblio'].
330
							'<br /><br /><a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
340
							'<br /><br /><a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
331
								Compléter cette  bibliographie</a>'; ?>
341
								Compléter cette  bibliographie</a>'; ?>
332
					<?php } else { ?>
342
					<?php } else { ?>
333
					
343
					
334
						<h4>Flores</h4>
344
						<h4>Flores</h4>
335
						<?php if ($bibliographie['flores'] == array()) { ?>
345
						<?php if ($bibliographie['flores'] == array()) { ?>
336
							Aucune flore indiquée
346
							Aucune flore indiquée
337
						<?php } else { ?>
347
						<?php } else { ?>
338
							<?php foreach ($bibliographie['flores'] as $flore) : ?>
348
							<?php foreach ($bibliographie['flores'] as $flore) : ?>
339
								<div> - <?= $flore; ?> </div>
349
								<div> - <?= $flore; ?> </div>
340
							<?php endforeach; ?>
350
							<?php endforeach; ?>
341
							<?php if($bibliographie['autresFlores'] > 0) { ?>	
351
							<?php if($bibliographie['autresFlores'] > 0) { ?>	
342
								<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et 
352
								<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et 
343
									<?= htmlentities($bibliographie['autresFlores']) ?>
353
									<?= htmlentities($bibliographie['autresFlores']) ?>
344
									autre<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
354
									autre<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
345
									flore<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
355
									flore<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
346
								</a>
356
								</a>
347
						<?php } } ?><br />
357
						<?php } } ?><br />
348
						
358
						
349
						<h4>Références</h4>
359
						<h4>Références</h4>
350
						<?php if ($bibliographie['references'] == array()) { ?>
360
						<?php if ($bibliographie['references'] == array()) { ?>
351
							Aucune référence bibliographique
361
							Aucune référence bibliographique
352
						<?php } else { ?>
362
						<?php } else { ?>
353
							<?php foreach ($bibliographie['references'] as $reference) : ?>
363
							<?php foreach ($bibliographie['references'] as $reference) : ?>
354
								<div> - <?= $reference['reference_html']; ?> </div>
364
								<div> - <?= $reference['reference_html']; ?> </div>
355
							<?php endforeach; ?>
365
							<?php endforeach; ?>
356
							<?php if($bibliographie['autresReferences'] > 0) { ?>
366
							<?php if($bibliographie['autresReferences'] > 0) { ?>
357
								<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et 
367
								<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et 
358
									<?= $bibliographie['autresReferences'] ?>
368
									<?= $bibliographie['autresReferences'] ?>
359
									autre<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
369
									autre<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
360
									référence<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
370
									référence<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
361
								</a>
371
								</a>
362
						<?php } } ?>
372
						<?php } } ?>
363
					<?php }?>
373
					<?php }?>
364
				</div>
374
				</div>
365
			</div>
375
			</div>
366
	</div>
376
	</div>
367
	
377
	
368
	
378
	
369
	<div class="colonne">	
379
	<div class="colonne">	
370
	
380
	
371
		<!-- Illustrations -->
381
		<!-- Illustrations -->
372
		<div id="synthese_illustrations" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
382
		<div id="synthese_illustrations" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
373
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-0">
383
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-0">
374
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>illustrations">Illustrations</a>
384
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>illustrations">Illustrations</a>
375
			</h3>
385
			</h3>
376
			<span id="contenu-0" class="contenu">
386
			<span id="contenu-0" class="contenu">
377
				<?php if ($illustration['imageUrl'] != '') : ?>
387
				<?php if ($illustration['imageUrl'] != '') : ?>
378
					<img src="<?=$illustration['imageUrl']?>" alt="Image issue du cel ou du site photoflora" style="margin-bottom: -15px; margin-left: -2px; width: 210px;"/>
388
					<img src="<?=$illustration['imageUrl']?>" alt="Image issue du cel ou du site photoflora" style="margin-bottom: -15px; margin-left: -2px; width: 210px;"/>
379
				<?php else : ?>
389
				<?php else : ?>
380
					<span class="absent" style="float:none; margin-left:55px">
390
					<span class="absent" style="float:none; margin-left:55px">
381
						Pas de photo<br />
391
						Pas de photo<br />
382
						<a href="http://www.tela-botanica.org/page:cel" 
392
						<a href="http://www.tela-botanica.org/page:cel" 
383
							title="Ajouter une photographie au moyen du Carnet en Ligne" 
393
							title="Ajouter une photographie au moyen du Carnet en Ligne" 
384
							onclick="window.open(this.href); return false;" class="contribuer">
394
							onclick="window.open(this.href); return false;" class="contribuer">
385
							Contribuer
395
							Contribuer
386
						</a>
396
						</a>
387
					</span>
397
					</span>
388
				<?php endif; ?>
398
				<?php endif; ?>
389
			</span>
399
			</span>
390
		</div>
400
		</div>
391
		
401
		
392
		<!-- Répartition -->
402
		<!-- Répartition -->
393
		<div id="synthese_repartition" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
403
		<div id="synthese_repartition" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
394
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-3">
404
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-3">
395
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>repartition">Répartition</a>
405
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>repartition">Répartition</a>
396
			</h3>
406
			</h3>
397
			<span id="contenu-3" class="contenu">
407
			<span id="contenu-3" class="contenu">
398
				<img src="<?=htmlentities($repartition['chorodep'])?>" alt="Carte de répartition"/>
408
				<img src="<?=htmlentities($repartition['chorodep'])?>" alt="Carte de répartition"/>
399
				<img src="<?=htmlentities($repartition['eflore'])?>" alt="Carte des observations" style="margin-left: 11px; width: 190px;" />
409
				<img src="<?=htmlentities($repartition['eflore'])?>" alt="Carte des observations" style="margin-left: 11px; width: 190px;" />
400
			</span>
410
			</span>
401
		</div>
411
		</div>
402
		
412
		
403
		<!-- Statut de protection -->
413
		<!-- Statut de protection -->
404
		<div id="synthese_statut" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
414
		<div id="synthese_statut" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
405
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-7">
415
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-7">
406
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>statut">Statut de protection</a>
416
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>statut">Statut de protection</a>
407
			</h3>
417
			</h3>
408
			<span id="contenu-7" class="contenu <?= (!empty($statut['statuts'])) ? 'attention' : ''; ?>">
418
			<span id="contenu-7" class="contenu <?= (!empty($statut['statuts'])) ? 'attention' : ''; ?>">
409
				<? if (!empty($statut['statuts'])) { ?>
419
				<? if (!empty($statut['statuts'])) { ?>
410
					<span>Attention ce taxon est protégé dans les zones suivantes : <br />
420
					<span>Attention ce taxon est protégé dans les zones suivantes : <br />
411
					<?php foreach($statut['statuts'] as $statut_zone) : ?>	
421
					<?php foreach($statut['statuts'] as $statut_zone) : ?>	
412
						<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
422
						<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
413
							<?= $statut_zone['zone_application']; ?><br />
423
							<?= $statut_zone['zone_application']; ?><br />
414
						</a>
424
						</a>
415
					<?php endforeach; ?>
425
					<?php endforeach; ?>
416
					</span>
426
					</span>
417
				<? } else if ($statut['wikini']['statuts_de_protection'] == '') {?>
427
				<? } else if ($statut['wikini']['statuts_de_protection'] == '') {?>
418
					<span class="pas_de_protection">Pas de protection connue</span>
428
					<span class="pas_de_protection">Pas de protection connue</span>
419
				<? } else { echo $statut['wikini']['statuts_de_protection'];?><br /><br />
429
				<? } else { echo $statut['wikini']['statuts_de_protection'];?><br /><br />
420
				<? } ?>
430
				<? } ?>
421
				<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent completer_statut" >
431
				<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent completer_statut" >
422
					Compléter
432
					Compléter
423
				</a>
433
				</a>
424
			</span>
434
			</span>
425
		</div>
435
		</div>
426
		
436
		
427
	</div>
437
	</div>
428
	<hr class="nettoyage" />	
438
	<hr class="nettoyage" />	
429
</div>
439
</div>