Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 876 | Rev 908 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 876 Rev 886
Line 148... Line 148...
148
					<? else : ?>
148
					<? else : ?>
149
						<?=$description['description']?>
149
						<?=$description['description']?>
Line 150... Line 150...
150
						
150
						
Line 151... Line 151...
151
					<? endif;?>
151
					<? endif;?>
152
				
152
				
153
				<? endif;?>
153
				<? endif;?><br />
154
				<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" >
154
				<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" id="alignement-droite">
155
					Complétez cette description
155
					Voir +/Compléter
156
				</a>
156
				</a>
Line 157... Line 157...
157
			</div>
157
			</div>
Line 166... Line 166...
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
						Rajouter vos informations.
172
					</a>
172
					</a>
173
				<? } else { echo $ethnobotanique['wikini']['noms_communs'];?><br /><br />
173
				<? } else { echo $ethnobotanique['wikini']['noms_communs'];} ?>
174
						<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
-
 
175
							Compléter cette liste
-
 
176
						</a>
-
 
177
					<? } ?>
-
 
178
				<?php } else { ?>
174
				<?php } else { ?>
179
					<?php foreach ($ethnobotanique['nomsVerna'] as $nom_verna) : ?>
175
					<?php foreach ($ethnobotanique['nomsVerna'] as $nom_verna) : ?>
180
						<div> - <?= $nom_verna['nom_vernaculaire'].' ('.$nom_verna['code_langue'].')'; ?> </div>
176
						<div> - <?= $nom_verna['nom_vernaculaire'].' ('.$nom_verna['code_langue'].')'; ?> </div>
181
					<?php endforeach; ?>
177
					<?php endforeach; ?>
182
					<?php if($ethnobotanique['autresNomsVerna'] > 0) { ?>
178
					<?php if($ethnobotanique['autresNomsVerna'] > 0) { ?>
183
						<a href="<?=$url;?>ethnobotanique" style="float:right;" class="lien_ouverture_onglet_parent" >et 
179
						<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" id="alignement-droite">
184
							<?= $ethnobotanique['autresNomsVerna'] ?>
180
							et <?= $ethnobotanique['autresNomsVerna'] ?>
185
							autre<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
181
							autre<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
186
							nom<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
182
							nom<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
187
						</a><br />
183
						</a><br />
188
					<?php }?>
184
					<?php }?>
189
				<?php }?>
185
				<?php }?>
190
				<h4>Usages</h4>
186
				<h4>Usages</h4>
191
				<? if ($ethnobotanique['wikini']['usage'] == '') {?>
187
				<? if ($ethnobotanique['wikini']['usage'] == '') {?>
192
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
188
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
193
						Participez à la rédaction collaborative des usages
-
 
194
					</a>
-
 
195
				<? } else { echo $ethnobotanique['wikini']['usage'];?><br /><br />
-
 
196
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
-
 
197
						Compléter ces informations
189
						Rajouter vos informations.
198
					</a>
190
					</a>
199
				<? } ?>
191
				<? } else { echo $ethnobotanique['wikini']['usage']; } ?>
200
				<h4>Culture et arts</h4>
192
				<h4>Culture et arts</h4>
201
				<? if ($ethnobotanique['wikini']['culture_et_arts'] == '') {?>
193
				<? if ($ethnobotanique['wikini']['culture_et_arts'] == '') {?>
202
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
194
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
203
						Participez à la rédaction collaborative sur la culture et les arts
195
						Rajouter vos informations.
204
					</a>
196
					</a>
205
				<? } else { echo $ethnobotanique['wikini']['culture_et_arts'];?><br /><br />
197
				<? } else { echo $ethnobotanique['wikini']['culture_et_arts']; } ?>
-
 
198
				<br />
206
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
199
				<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" id="alignement-droite">
207
						Compléter ces informations
200
					Voir +/Compléter
208
					</a>
201
				</a>
209
				<? } ?>
-
 
210
			</div>
202
			</div>
211
		</div>
203
		</div>
Line 212... Line 204...
212
		
204
		
213
		<!-- Ecologie -->
205
		<!-- Ecologie -->
214
		<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">
215
			<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">
216
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ecologie">Ecologie</a>
208
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ecologie">Ecologie</a>
217
			</h3>
209
			</h3>
218
			<div id="contenu-8" class="contenu">
210
			<div id="contenu-8" class="contenu">
219
				<h4><?= $ecologie['graph']['titre'] ?></h4>
211
				<h4><?= $ecologie['graph']['titre'] ?></h4>
220
					<? if (empty($ecologie['graph']['description'])) : ?>
212
				<? if (empty($ecologie['graph']['description'])) : ?>
221
						<? if ($ecologie['graph']['wikini']['ecologie'] == '') :?>
213
					<? if ($ecologie['graph']['wikini']['ecologie'] == '') :?>
222
							<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
214
						<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
223
								Participez à la rédaction collaborative de l'écologie
215
							Rajouter vos informations.
224
							</a>
216
						</a>
225
						<? else : echo $ecologie['graph']['wikini']['ecologie'];?><br /><br />
-
 
226
							<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent" >
-
 
227
								Compléter ces informations
-
 
228
							</a>
217
					<? else : echo $ecologie['graph']['wikini']['ecologie'];?>
229
						<? endif; ?>
218
					<? endif; ?>
-
 
219
				<? else : ?>
230
					<? else : ?>
220
					<div class="fond_graphique">	
231
					<? if (isset($ecologie['graph']['description']['climat_url'])) :?>
-
 
232
						<div class="fond_graphique">	
221
						<? if (isset($ecologie['graph']['description']['climat_url'])) :?>
233
							<span class="titre">caractéristiques climatiques</span>
222
							<span class="titre">caractéristiques climatiques</span>
234
							<div class="graphique">
223
							<div class="graphique">
235
								<object  type="image/svg+xml" data="<?=$ecologie['graph']['description']['climat_url']?>" 
224
								<object  type="image/svg+xml" data="<?=$ecologie['graph']['description']['climat_url']?>" 
236
								class="svg" alt="<?=$ecologie['graph']['description']['climat_url_png']?>" >  
225
									class="svg" alt="<?=$ecologie['graph']['description']['climat_url_png']?>" >  
237
								</object>
226
								</object>
238
							</div>
227
							</div>
239
						<? endif;?>
228
						<? endif;?>
240
						<? if (isset($ecologie['graph']['description']['sol_url'])) :?>
229
						<? if (isset($ecologie['graph']['description']['sol_url'])) :?>
241
							<span class="titre">caractéristiques du sol</span>
230
							<span class="titre">caractéristiques du sol</span>
242
							<div class="graphique">
231
							<div class="graphique">
243
								<object  type="image/svg+xml" data="<?=$ecologie['graph']['description']['sol_url']?>" 
232
								<object  type="image/svg+xml" data="<?=$ecologie['graph']['description']['sol_url']?>" 
244
								class="svg" alt="<?=$ecologie['graph']['description']['sol_url_png']?>" >   
233
									class="svg" alt="<?=$ecologie['graph']['description']['sol_url_png']?>" >   
245
								</object>
234
								</object>
246
							</div>
235
							</div>
247
						<? endif;?>
236
						<? endif;?>
248
							<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent">
237
						<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent">
249
								Voir les références
238
							Voir les références
250
							</a>
239
						</a>
251
						</div>
240
					</div>
252
					<? endif; ?>
241
				<? endif; ?>
253
					<? if (!empty($ecologie['phytosocio']['description'])) : ?>
242
				<? if (!empty($ecologie['phytosocio']['description'])) : ?>
254
						<h4>Phytosociologie</h4>
243
					<h4>Phytosociologie</h4>
255
						<span class="gras">
244
					<span class="gras">
256
							<?=$ecologie['phytosocio']['description'][0]['niveau.libelle']?> - 
245
						<?=$ecologie['phytosocio']['description'][0]['niveau.libelle']?> - 
257
							<?=$ecologie['phytosocio']['description'][0]['code_catminat']?>
246
						<?=$ecologie['phytosocio']['description'][0]['code_catminat']?>
258
						</span> <br/>
247
					</span> <br/>
259
							<?=$ecologie['phytosocio']['description'][0]['syntaxon']?> - 
248
					<?=$ecologie['phytosocio']['description'][0]['syntaxon']?> - 
260
						<span class="italique">
249
					<span class="italique">
261
						 	<?=$ecologie['phytosocio']['description'][0]['physio_biotype']?>
250
						<?=$ecologie['phytosocio']['description'][0]['physio_biotype']?>
262
						 </span> 
251
					</span> 
263
					<? endif; ?> 	
252
				<? endif; ?>
264
					<br/>
-
 
265
							<br/>
253
				<br/>
266
					<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent">
254
				<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent" id="alignement-droite">
267
								Complétez nos données sur l'écologie.
255
					Voir +/Compléter
268
							</a>
256
				</a>
269
			</div>
257
			</div>
Line 270... Line 258...
270
		</div>
258
		</div>
271
		
259
		
Line 315... Line 303...
315
						<div><?= $taxon['rang.libelle'];  ?> : <?= $taxon['nom_sci']; ?></div>
303
						<div><?= $taxon['rang.libelle'];  ?> : <?= $taxon['nom_sci']; ?></div>
316
					<?php endforeach; ?>
304
					<?php endforeach; ?>
317
				<?php } else { ?>	
305
				<?php } else { ?>	
318
					<div>Aucun taxon inférieur référencé </div>
306
					<div>Aucun taxon inférieur référencé </div>
319
				<?php } ?>
307
				<?php } ?>
-
 
308
				<br/>
-
 
309
				<a href="<?=$url;?>nomenclature" class="lien_ouverture_onglet_parent" id="alignement-droite">
-
 
310
					Voir +/Compléter
-
 
311
				</a>
320
			</div>
312
			</div>
321
		</div>
313
		</div>
Line -... Line 314...
-
 
314
		
322
		
315
		
323
		<!-- Bibliographie -->	
316
		<!-- Bibliographie -->	
324
		<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">
325
				<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">
326
					<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>bibliographie">Bibliographie</a>
319
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>bibliographie">Bibliographie</a>
327
				</h3>
320
			</h3>
328
				<div id="contenu-2" class="contenu">
321
			<div id="contenu-2" class="contenu">
329
					<?php if (isset($bibliographie['wikini'])) { ?>
322
				<?php if (isset($bibliographie['wikini'])) { ?>
330
						<?= ($bibliographie['wikini']['biblio'] == '') ? 
323
					<?= ($bibliographie['wikini']['biblio'] == '') ? 
331
							'<a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
324
						'<a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
332
							Ajoutez votre bibliographie sur ce taxon</a>'
325
							Rajouter vos données.</a>'
333
						: $bibliographie['wikini']['biblio'].
326
					: $bibliographie['wikini']['biblio'].
334
							'<br /><br /><a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
327
						'<br /><br /><a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
-
 
328
						Compléter cette  bibliographie</a>'; ?>
-
 
329
				<?php } else { ?>
-
 
330
					<h4>Flores</h4>
-
 
331
					<?php if ($bibliographie['flores'] == array()) { ?>
335
								Compléter cette  bibliographie</a>'; ?>
332
						Aucune flore indiquée
336
					<?php } else { ?>
-
 
337
					
-
 
338
						<h4>Flores</h4>
-
 
339
						<?php if ($bibliographie['flores'] == array()) { ?>
-
 
340
							Aucune flore indiquée
-
 
341
						<?php } else { ?>
333
					<?php } else { ?>
342
							<?php foreach ($bibliographie['flores'] as $flore) : ?>
334
						<?php foreach ($bibliographie['flores'] as $flore) : ?>
343
								<div> - <?= $flore; ?> </div>
335
							<div> - <?= $flore; ?> </div>
344
							<?php endforeach; ?>
336
						<?php endforeach; ?>
345
							<?php if($bibliographie['autresFlores'] > 0) { ?>	
337
						<?php if($bibliographie['autresFlores'] > 0) { ?>	
346
								<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et 
338
							<a href="<?=$url;?>nomenclature" class="lien_ouverture_onglet_parent" id="alignement-droite">
347
									<?= htmlentities($bibliographie['autresFlores']) ?>
339
								et <?= htmlentities($bibliographie['autresFlores']) ?>
348
									autre<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
340
								autre<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
349
									flore<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
341
								flore<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
350
								</a>
342
							</a>
351
						<?php } } ?><br />
-
 
352
						
343
						<?php } } ?><br />
353
						<h4>Références</h4>
344
					<h4>Références</h4>
354
						<?php if ($bibliographie['references'] == array()) { ?>
345
					<?php if ($bibliographie['references'] == array()) { ?>
355
							Aucune référence bibliographique
346
						Aucune référence bibliographique
356
						<?php } else { ?>
347
					<?php } else { ?>
357
							<?php foreach ($bibliographie['references'] as $reference) : ?>
348
						<?php foreach ($bibliographie['references'] as $reference) : ?>
358
								<div> - <?= $reference['reference_html']; ?> </div>
349
							<div> - <?= $reference['reference_html']; ?> </div>
359
							<?php endforeach; ?>
350
						<?php endforeach; ?>
360
							<?php if($bibliographie['autresReferences'] > 0) { ?>
351
						<?php if($bibliographie['autresReferences'] > 0) { ?>
361
								<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et 
352
							<a href="<?=$url;?>nomenclature" class="lien_ouverture_onglet_parent" id="alignement-droite">
362
									<?= $bibliographie['autresReferences'] ?>
353
								et <?= $bibliographie['autresReferences'] ?>
363
									autre<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
354
								autre<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
364
									référence<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
355
								référence<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
365
								</a>
356
							</a>
366
						<?php } } ?>
357
					<?php } } ?>
-
 
358
				<?php }?>
-
 
359
				<br/>
-
 
360
				<a href="<?=$url;?>bibliographie" class="lien_ouverture_onglet_parent" id="alignement-droite">
367
					<?php }?>
361
					Voir +/Compléter
368
				</div>
362
				</a>
369
			</div>
-
 
370
		
363
			</div>
Line 371... Line -...
371
		
-
 
372
			
-
 
373
	</div>
-
 
374
	
364
		</div>
Line 375... Line 365...
375
	
365
			
376
	<div class="colonne">	
366
	</div><div class="colonne">	
377
	
367
	
378
		<!-- Illustrations -->
368
		<!-- Illustrations -->
379
		<div id="synthese_illustrations" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
369
		<div id="synthese_illustrations" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
380
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-0">
370
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-0">
381
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>illustrations">Illustrations</a>
371
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>illustrations">Illustrations</a>
382
			</h3>
372
			</h3>
383
			<span id="contenu-0" class="contenu">
373
			<div id="contenu-0" class="contenu">
384
				<?php if ($illustrations['imageUrl'] != '') : ?>
374
				<?php if ($illustrations['imageUrl'] != '') : ?>
385
					<img src="<?=$illustrations['imageUrl']?>" alt="Image issue du cel ou du site photoflora" style="margin-bottom: -15px; margin-left: -2px; width: 210px;"/>
375
					<img src="<?=$illustrations['imageUrl']?>" alt="Image issue du cel ou du site photoflora" style="margin-bottom: 0px; margin-left: -2px; width: 210px;"/>
386
				<?php else : ?>
376
				<?php else : ?>
387
					<span class="absent" style="float:none; margin-left:55px">
377
					<span class="absent" style="float:none; margin-left:55px">
388
						Pas de photo<br />
378
						Pas de photo<br />
389
						<a href="http://www.tela-botanica.org/page:cel" 
379
						<a href="http://www.tela-botanica.org/page:cel" 
390
							title="Ajouter une photographie au moyen du Carnet en Ligne" 
380
							title="Ajouter une photographie au moyen du Carnet en Ligne" 
391
							onclick="window.open(this.href); return false;" class="contribuer">
381
							onclick="window.open(this.href); return false;" class="contribuer">
392
							Contribuer
382
							Contribuer
-
 
383
						</a>
-
 
384
					</span>
-
 
385
				<?php endif; ?>
-
 
386
				<br/>
393
						</a>
387
				<a href="<?=$url;?>illustrations" class="lien_ouverture_onglet_parent" id="alignement-droite">
394
					</span>
388
					Voir +/Compléter
Line 395... Line 389...
395
				<?php endif; ?>
389
				</a>
396
			</span>
390
			</div>
397
		</div>
391
		</div>
398
		
392
		
399
		<!-- Répartition -->
393
		<!-- Répartition -->
400
		<div id="synthese_repartition" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
394
		<div id="synthese_repartition" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
401
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-3">
395
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-3">
402
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>repartition">Répartition</a>
396
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>repartition">Répartition</a>
-
 
397
			</h3>
-
 
398
			<div id="contenu-3" class="contenu">
-
 
399
				<h4>Observations</h4>
-
 
400
				<img src="<?=htmlentities($repartition['eflore'])?>" alt="Carte des observations" style="margin-left: 11px; width: 190px;" />
-
 
401
				<h4>Répartition départementale</h4>
-
 
402
				<img src="<?=htmlentities($repartition['chorodep'])?>" alt="Carte de répartition"/>
403
			</h3>
403
				<br/>
404
			<span id="contenu-3" class="contenu">
404
				<a href="<?=$url;?>repartition" class="lien_ouverture_onglet_parent" id="alignement-droite">
Line 405... Line 405...
405
				<img src="<?=htmlentities($repartition['chorodep'])?>" alt="Carte de répartition"/>
405
					Voir +/Compléter
406
				<img src="<?=htmlentities($repartition['eflore'])?>" alt="Carte des observations" style="margin-left: 11px; width: 190px;" />
406
				</a>
407
			</span>
407
			</div>
Line 421... Line 421...
421
						</a>
421
						</a>
422
					<?php endforeach; ?>
422
					<?php endforeach; ?>
423
					</span>
423
					</span>
424
				<? } else if ($statut['wikini']['statuts_de_protection'] == '') {?>
424
				<? } else if ($statut['wikini']['statuts_de_protection'] == '') {?>
425
					<span class="pas_de_protection">Pas de protection connue</span>
425
					<span class="pas_de_protection">Pas de protection connue</span>
426
				<? } else { echo $statut['wikini']['statuts_de_protection'];?><br /><br />
426
				<? } else { echo $statut['wikini']['statuts_de_protection']; } ?>
427
				<? } ?>
427
				<br/>
428
				<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent completer_statut" >
428
				<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" id="alignement-droite">
429
					Compléter
429
					Voir +/Compléter
430
				</a>
430
				</a>
431
			</span>
431
			</span>
432
		</div>
432
		</div>
Line 433... Line 433...
433
	
433