Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 990 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 990 Rev 991
Line 9... Line 9...
9
 
9
 
10
$icones = array('icon-eye-open', 'icon-book', 'icon-certificate', 'icon-home', 'icon-flag');
10
$icones = array('icon-eye-open', 'icon-book', 'icon-certificate', 'icon-home', 'icon-flag');
11
$index_icones = 0;
11
$index_icones = 0;
12
$nb_onglets = 0;
12
$nb_onglets = 0;
13
?>	
-
 
14
<div id="up">
13
?>	
15
	<header class="row-fluid">
14
<header class="row-fluid">
16
		<div id="tela" class="padding-05em">
15
	<div id="tela" class="padding-05em">
17
			<div class="text-center titre">
16
		<div class="text-center titre">
18
				<? if ($nomsCommuns[0]['nom_vernaculaire'] != '') : ?>
17
			<? if ($nomsCommuns[0]['nom_vernaculaire'] != '') : ?>
19
					<?= $nomsCommuns[0]['nom_vernaculaire'] ?>
18
				<?= $nomsCommuns[0]['nom_vernaculaire'] ?>
20
				<? else : ?>
19
			<? else : ?>
21
					<? if ($texte['titre'][0] != '') : ?>
20
				<? if ($texte['titre'][0] != '') : ?>
22
						<?= $texte['titre'][0]; ?>
-
 
23
					<? else : ?>
-
 
24
						Aucun nom commun défini.
-
 
25
					<? endif; ?>
-
 
26
				<? endif; ?>
-
 
27
			</div>
-
 
28
			<div class="align-center">
-
 
29
				<? if ($nom_retenu != '') : ?>
-
 
30
					<?= $nom_retenu; ?>
21
					<?= $texte['titre'][0]; ?>
31
				<? else : ?>
22
				<? else : ?>
32
					Aucun nom scientifique.
-
 
33
				<? endif; ?>
-
 
34
				<? if ($famille != '') : ?>
-
 
35
					(<span class="small-caps"><?= $famille; ?>)</span>
23
					Aucun nom commun défini.
-
 
24
				<? endif; ?>
36
				<? endif; ?>
25
			<? endif; ?>
-
 
26
		</div>
-
 
27
		<div class="align-center">
-
 
28
			<? if ($nom_retenu != '') : ?>
-
 
29
				<?= $nom_retenu; ?>
-
 
30
			<? else : ?>
-
 
31
				Aucun nom scientifique.
-
 
32
			<? endif; ?>
-
 
33
			<? if ($famille != '') : ?>
-
 
34
				(<span class="small-caps"><?= $famille; ?>)</span>
37
			</div>
35
			<? endif; ?>
-
 
36
		</div>
38
		</div>
37
	</div>
39
	</header> 
38
</header> 
Line 40... Line 39...
40
	<span class="gradient-bas"></span>	
39
<span class="gradient-bas"></span>	
41
	
40
	
42
	<div id="" class="row-fluid">
41
<div id="" class="row-fluid">
43
		<div class="span6">
42
	<div class="span6">
44
			<div class="wrapper">
43
		<div class="wrapper">
45
				<ul id="galerie_images" class="gallery">
44
			<ul id="galerie_images" class="gallery">
46
					<? if (count($illustrations) != 0) : ?>
45
				<? if (count($illustrations) != 0) : ?>
47
						<? for($i = 0; $i < count($illustrations); $i++) : ?>
46
					<? for($i = 0; $i < count($illustrations); $i++) : ?>
48
							<? if (trim($illustrations[$i]['legende']['texte']) != '&nbsp;') : ?>
47
						<? if (trim($illustrations[$i]['legende']['texte']) != '&nbsp;') : ?>
49
								<? $alt = $illustrations[$i]['legende']['titre'].' ('.$illustrations[$i]['legende']['texte'].')'; ?>
48
							<? $alt = $illustrations[$i]['legende']['titre'].' ('.$illustrations[$i]['legende']['texte'].')'; ?>
50
							<? else : ?>
49
						<? else : ?>
51
								<? $alt = $illustrations[$i]['legende']['titre']; ?>
50
							<? $alt = $illustrations[$i]['legende']['titre']; ?>
52
							<? endif; ?>
51
						<? endif; ?>
53
							<li>
52
						<li>
54
								<a href="<?= $illustrations[$i]['src'] ?>" rel="external">
53
							<a href="<?= $illustrations[$i]['src'] ?>" rel="external">
55
									<img src="<?= $illustrations[$i]['src'] ?>" alt="<?= $alt; ?>" />
54
								<img src="<?= $illustrations[$i]['src'] ?>" alt="<?= $alt; ?>" />
56
								</a>
55
							</a>
57
							</li>
56
						</li>
58
						<? endfor; ?>
57
					<? endfor; ?>
59
					<? endif; ?>
-
 
60
				</ul>
58
				<? endif; ?>
-
 
59
			</ul>
61
			</div>
60
		</div>
62
		</div>
61
	</div>
63
		<div class="span6">
62
	<div class="span6">
64
			<div class="wrapper_carte half-width">
63
		<div class="wrapper_carte">
65
				<ul id="galerie_carte" class="gallery">
64
			<ul id="galerie_carte" class="gallery">
66
					<li>
65
				<li>
67
						<a href="<?= $repartition['chorodep'] ?>" rel="external">
66
					<a href="<?= $repartition['chorodep'] ?>" rel="external">
68
							<img src="<?= $repartition['chorodep'] ?>" class="" title="Carte de répartition" alt="Carte de répartition" />
67
						<img src="<?= $repartition['chorodep'] ?>" class="" title="Carte de répartition" alt="Carte de répartition" />
69
						</a>
68
					</a>
70
					</li>
-
 
71
				</ul>
69
				</li>
72
			</div>
70
			</ul>
-
 
71
		</div>
-
 
72
	</div>
73
		</div>
73
</div>					
74
	</div>
74
<? if ($floraison['floraison'] != -1) : ?>
75
	<div class="row-fluid margin-top-05em padding-left-01em">
75
	<div class="row-fluid margin-top-05em padding-left-01em">
76
		<div class="span12 bordered">
76
		<div class="span12 bordered">
77
			<i class="margin-top-03em margin-left-03em icon-leaf pull-left"></i>
-
 
78
			<div class="margin-left-05em pull-left">Floraison</div>							
77
			<i class="margin-top-03em margin-left-03em icon-leaf pull-left"></i>
79
			<? if ($floraison['floraison'] != -1) : ?>
78
			<div class="margin-left-05em pull-left">Floraison</div>		
80
				<canvas id="canvas_fleur" height="60"></canvas>
-
 
81
				<span id="floraison_value"><?= $floraison['floraison'] ?></span>	
-
 
82
			<? else : ?>
-
 
83
				<br />Aucune information.
79
				<canvas id="canvas_fleur" height="60"></canvas>
84
			<? endif; ?>
80
				<span id="floraison_value"><?= $floraison['floraison'] ?></span>	
-
 
81
		</div>
Line -... Line 82...
-
 
82
	</div>
85
		</div>
83
<? endif; ?>
86
	</div>
84
 
87
 
85
<? if ($floraison['fructification'] != -1) : ?>
88
	<div class="row-fluid margin-top-05em padding-left-01em">
86
	<div class="row-fluid margin-top-05em padding-left-01em">
89
		<div class="span12 bordered">
-
 
90
			<i class="margin-top-03em margin-left-03em icon-asterisk pull-left"></i>
87
		<div class="span12 bordered">
91
			<div class="margin-left-05em pull-left">Fructification</div>
88
			<i class="margin-top-03em margin-left-03em icon-asterisk pull-left"></i>
92
			<? if ($floraison['fructification'] != -1) : ?>
-
 
93
				<canvas id="canvas_fruit" height="60"></canvas>
-
 
94
				<span id="fructification_value"><?= $floraison['fructification'] ?></span>	
-
 
95
			<? else : ?>
89
			<div class="margin-left-05em pull-left">Fructification</div>
96
				<br />Aucune information.
90
				<canvas id="canvas_fruit" height="60"></canvas>
97
			<? endif; ?>
91
				<span id="fructification_value"><?= $floraison['fructification'] ?></span>	
98
		</div>
92
		</div>
99
	</div>
93
	</div>
100
</div>				
94
<? endif; ?>		
101
<script type="text/javascript">
95
<script type="text/javascript">
102
	var fleur = document.getElementById('floraison_value'),
96
	var fleur = document.getElementById('floraison_value'),
Line 147... Line 141...
147
			<? else : ?>
141
			<? else : ?>
148
				<?= $txt_vide; ?>
142
				<?= $txt_vide; ?>
149
			<? endif; ?>
143
			<? endif; ?>
150
		<? endif; ?>
144
		<? endif; ?>
151
	<? endif; ?>
145
	<? endif; ?>
152
	</div>
-
 
153
</div> 
146
</div>
Line 154... Line 147...
154
			
147