Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

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