Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

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