Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

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