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