Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

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