Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 1016 Rev 1017
1
<!-- ECOLOGIE -->
1
<!-- ECOLOGIE -->
2
<div class="bloc no-break">
2
<div class="bloc no-break">
3
	<div class="categorie">Ecologie</div>
3
	<div class="categorie">Ecologie</div>
4
		<? if (!isset($ecologie['baseflor']['aucune'])) : ?>
4
		<? if (!isset($ecologie['baseflor']['aucune'])) : ?>
5
		<div class="no-break">
5
		<div class="no-break">
6
			<h2>Optimum écologique</h2>
6
			<h2>Optimum écologique</h2>
7
			<span class="citation"><?=$ecologie['baseflor']['meta']['citation']?></span>
7
			<span class="citation"><?=$ecologie['baseflor']['meta']['citation']?></span>
8
			<div class="fond_graphique">
8
			<div class="fond_graphique">
-
 
9
			  <? if($ecologie['baseflor']['climat_url']) : ?>
9
				<div class="no-break">
10
				<div class="no-break">
10
					<div class="graphique"> 
11
					<div class="graphique"> 
11
						<span class="titre">caractéristiques climatiques</span> 
12
						<span class="titre">caractéristiques climatiques</span> 
12
						<br/>
13
						<br/>
13
						 <!-- laisser attribut alt au cas où svg ne marche pas -->
14
						 <!-- laisser attribut alt au cas où svg ne marche pas -->
14
						<object class="svg_clim" type="image/svg+xml" data="<?=$ecologie['baseflor']['climat_url']?>" alt="<?=$ecologie['baseflor']['climat_url_png']?>">  
15
						<object class="svg_clim" type="image/svg+xml" data="<?=$ecologie['baseflor']['climat_url']?>" alt="<?=$ecologie['baseflor']['climat_url_png']?>">  
15
					</object>
16
					</object>
16
					</div>
17
					</div>
17
				</div>
18
				</div>
-
 
19
				<? endif; ?>
-
 
20
				<? if($ecologie['baseflor']['sol_url']) : ?>
18
				<div class="no-break">			
21
				<div class="no-break">			
19
					<div class="graphique">
22
					<div class="graphique">
20
						<span class="titre centrer">caractéristiques du sol</span>
23
						<span class="titre centrer">caractéristiques du sol</span>
21
						<br/>
24
						<br/>
22
						 <!-- laisser attribut alt au cas où svg ne marche pas -->
25
						 <!-- laisser attribut alt au cas où svg ne marche pas -->
23
						<object  type="image/svg+xml" data="<?=$ecologie['baseflor']['sol_url']?>" class="svg_sol" alt="<?=$ecologie['baseflor']['sol_url_png']?>">  
26
						<object  type="image/svg+xml" data="<?=$ecologie['baseflor']['sol_url']?>" class="svg_sol" alt="<?=$ecologie['baseflor']['sol_url_png']?>">  
24
					</object>
27
					</object>
25
					</div>
28
					</div>
26
				<br/>
29
				<br/>
27
				<img  src="<?=$ecologie['baseflor']['legende_eco']?>" class="legende_formes"/>
30
				<img  src="<?=$ecologie['baseflor']['legende_eco']?>" class="legende_formes"/>
28
			</div>
31
			</div>
-
 
32
				<? endif; ?>
29
		</div>
33
		</div>
30
		</div>
34
		</div>
31
	<? endif; ?>	
35
	<? endif; ?>	
32
		
36
		
33
		<!-- PHYTOSOCIOLOGIE -->
37
		<!-- PHYTOSOCIOLOGIE -->
34
	<div class="no-break">
38
	<div class="no-break">
35
	<? if (isset($ecologie['baseveg']['baseflor']['catminat'])) : ?>
39
	<? if (isset($ecologie['baseveg']['baseflor']['catminat'])) : ?>
36
		<h2>Phytosociologie</h2>
40
		<h2>Phytosociologie</h2>
37
			<span class="citation"><?=$ecologie['baseveg']['meta']['citation']?></span>
41
			<span class="citation"><?=$ecologie['baseveg']['meta']['citation']?></span>
38
		<? if (isset($ecologie['baseveg']['syntaxons-sup']) || isset($ecologie['baseveg']['syntaxons-sup'])) : ?>
42
		<? if (isset($ecologie['baseveg']['syntaxons-sup']) || isset($ecologie['baseveg']['syntaxons-sup'])) : ?>
39
			<br/>
43
			<br/>
40
			 Le code catminat de ce taxon est <span class="gras"> <?=$ecologie['baseveg']['baseflor']['catminat'] ?></span> </br>
44
			 Le code catminat de ce taxon est <span class="gras"> <?=$ecologie['baseveg']['baseflor']['catminat'] ?></span> </br>
41
			 Il est caractéristique du syntaxon de niveau <span class="gras"><?=$ecologie['baseveg']['syntaxon-courant'][0]['niveau.libelle']?></span> présenté 
45
			 Il est caractéristique du syntaxon de niveau <span class="gras"><?=$ecologie['baseveg']['syntaxon-courant'][0]['niveau.libelle']?></span> présenté 
42
			 dans le tableau ci-dessous avec ses niveaux supérieurs. 
46
			 dans le tableau ci-dessous avec ses niveaux supérieurs. 
43
			<table>
47
			<table>
44
				<?php foreach ($ecologie['baseveg']['syntaxons-sup'] as $cle => $valeurs ) : ?>
48
				<?php foreach ($ecologie['baseveg']['syntaxons-sup'] as $cle => $valeurs ) : ?>
45
					<tr>
49
					<tr>
46
						<td>
50
						<td>
47
							<span class="gras">
51
							<span class="gras">
48
								<?=$valeurs['code_catminat']?>	
52
								<?=$valeurs['code_catminat']?>	
49
							</span></br>
53
							</span></br>
50
							<?=$valeurs['niveau.libelle']?> 
54
							<?=$valeurs['niveau.libelle']?> 
51
						</td>
55
						</td>
52
						<td>	
56
						<td>	
53
							<span class="gras">
57
							<span class="gras">
54
								<?=$valeurs['syntaxon']?>
58
								<?=$valeurs['syntaxon']?>
55
							</span> </br>
59
							</span> </br>
56
							<span >
60
							<span >
57
								<?=$valeurs['physio_biotype']?>
61
								<?=$valeurs['physio_biotype']?>
58
							</span> </br>
62
							</span> </br>
59
							<?= !empty($valeurs['repartition_france']) ? 'répartition : '.$valeurs['repartition_france'] : '' ?>
63
							<?= !empty($valeurs['repartition_france']) ? 'répartition : '.$valeurs['repartition_france'] : '' ?>
60
							</br>
64
							</br>
61
							Réf. <?=$valeurs['ref_der_biblio']?>
65
							Réf. <?=$valeurs['ref_der_biblio']?>
62
						</td>
66
						</td>
63
					</tr>
67
					</tr>
64
				<? endforeach; ?>
68
				<? endforeach; ?>
65
					<tr class="surlignage">
69
					<tr class="surlignage">
66
						<td> 
70
						<td> 
67
						<span class="gras">
71
						<span class="gras">
68
							<?=$ecologie['baseveg']['syntaxon-courant'][0]['code_catminat']?>
72
							<?=$ecologie['baseveg']['syntaxon-courant'][0]['code_catminat']?>
69
						</span></br>
73
						</span></br>
70
							<?=$ecologie['baseveg']['syntaxon-courant'][0]['niveau.libelle']?>
74
							<?=$ecologie['baseveg']['syntaxon-courant'][0]['niveau.libelle']?>
71
						</td>
75
						</td>
72
						<td>
76
						<td>
73
							<span class="gras">
77
							<span class="gras">
74
								<?=$ecologie['baseveg']['syntaxon-courant'][0]['syntaxon']?>
78
								<?=$ecologie['baseveg']['syntaxon-courant'][0]['syntaxon']?>
75
							</span> </br>
79
							</span> </br>
76
							<span >
80
							<span >
77
								<?=$ecologie['baseveg']['syntaxon-courant'][0]['physio_biotype']?>
81
								<?=$ecologie['baseveg']['syntaxon-courant'][0]['physio_biotype']?>
78
							</span> </br>
82
							</span> </br>
79
							<?= !empty($ecologie['baseveg']['syntaxon-courant'][0]['repartition_france']) ? 'rép.'.$ecologie['baseveg']['syntaxon-courant'][0]['repartition_france'] : ''?>
83
							<?= !empty($ecologie['baseveg']['syntaxon-courant'][0]['repartition_france']) ? 'rép.'.$ecologie['baseveg']['syntaxon-courant'][0]['repartition_france'] : ''?>
80
							</br>
84
							</br>
81
							Réf. <?=$ecologie['baseveg']['syntaxon-courant'][0]['ref_der_biblio']?>
85
							Réf. <?=$ecologie['baseveg']['syntaxon-courant'][0]['ref_der_biblio']?>
82
						</td>
86
						</td>
83
					</tr>
87
					</tr>
84
			</table>
88
			</table>
85
			<?endif;?>
89
			<?endif;?>
86
		<?endif;?>
90
		<?endif;?>
87
		</div>	
91
		</div>	
88
				
92
				
89
	
93
	
90
		
94
		
91
		
95
		
92
		<!-- VIDE DE DONNEES -->
96
		<!-- VIDE DE DONNEES -->
93
		<? if (isset($ecologie['baseflor']['aucune'])) : ?> 
97
		<? if (isset($ecologie['baseflor']['aucune'])) : ?> 
94
			Aucune donnée.
98
			Aucune donnée.
95
		<? endif; ?>
99
		<? endif; ?>
96
		
100
		
97
		
101
		
98
		
102
		
99
</div>
103
</div>
100
 
104
 
101
	<br/>
105
	<br/>
102
 
106
 
103
 
107