Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 604 Rev 608
Line 17... Line 17...
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
					<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" >
-
 
23
						Participez à la rédaction collaborative de cette description
-
 
24
					</a>
-
 
25
				<? elseif($description['titre'] == 'Description Baseflor') : ?>
22
					<? if($description['titre'] == 'Description Baseflor') : ?>
26
					<table class="desc">
-
 
27
						<tr>
-
 
28
							<td colspan="2">
-
 
29
								<?if ($description['description']['type_bio'] != '') : ?>
-
 
30
								 	<span class="titre">Type Biologique :</span> <?=$description['description']['type_bio']; ?><br/>
-
 
31
								 <? endif; ?>
-
 
32
							</td>
-
 
33
						</tr>
-
 
34
						<tr>
-
 
35
							<td colspan="2">
-
 
36
								<?  if ($description['description']['form_vegetale'] != '') : ?>
-
 
37
							 		<span class="titre">Forme végétale  :</span>  <?=$description['description']['form_vegetale']; ?><br/>
-
 
38
							 	<? endif; ?>
-
 
39
							 </td>
-
 
40
						</tr>
-
 
41
						<tr>
-
 
42
							<td colspan="2">
-
 
43
								<? if ($description['description']['chorologie'] != ''): ?>
-
 
44
							 		<span class="titre">Chorologie  : </span> <?=$description['description']['chorologie']; ?><br/>
-
 
45
							 	<? endif; ?>
-
 
46
							</td>
-
 
47
						</tr>
-
 
48
						<tr>
-
 
49
							<td >
-
 
50
								<? if ($description['description']['inflorescence'] != '') : ?>
-
 
51
								 	<span class="titre">Inflorescence :</span>  <?=$description['description']['inflorescence']; ?><br/>
-
 
52
								<? endif; ?>
-
 
53
								<? if ($description['description']['fruit'] != '') : ?>
-
 
54
								 	<span class="titre">Fruit :</span>  <?=$description['description']['fruit']; ?><br/>
-
 
55
								<? endif; ?>
-
 
56
								<? if ($description['description']['couleur_fleur'] != '') : ?>
-
 
57
								 	<span class="titre">Couleur de la fleur  : </span> <?=$description['description']['couleur_fleur']; ?><br/>
-
 
58
								<? endif; ?>
-
 
59
								<? if ($description['description']['macule'] != '') : ?>
-
 
60
								 	<span class="titre">Macule  :</span>  <?=$description['description']['macule']; ?><br/>
-
 
61
								<? endif; ?>
-
 
62
								<? if ($description['description']['floraison'] != '') : ?>
-
 
63
								 	<span class="titre">Floraison  :</span>  <?=$description['description']['floraison']; ?><br/>
-
 
64
								<? endif; ?>
-
 
65
							</td>
-
 
66
							<td>
-
 
67
								<? if ($description['description']['sexualite'] != '') : ?>
-
 
68
								 	<span class="titre">Sexualité : </span> <?=$description['description']['sexualite']; ?><br/>
-
 
69
								<? endif; ?>
-
 
70
								<?if ($description['description']['ordre_maturation'] != '') : ?>
-
 
71
								 	<span class="titre">Ordre de maturation : </span> <?=$description['description']['ordre_maturation']; ?><br/>
-
 
72
								<? endif; ?>
-
 
73
								<? if ($description['description']['pollinisation'] != '') : ?>
-
 
74
								 	<span class="titre">Pollinisation : </span> <?=$description['description']['pollinisation']; ?><br/>
-
 
75
								<? endif; ?>
-
 
76
								<? if ($description['description']['dissemination'] != '') : ?>
-
 
77
								 	<span class="titre">Dissémination : </span><?=$description['description']['dissemination']; ?><br/>
-
 
78
								<? endif; ?>
-
 
79
							</td>
-
 
80
						</tr>
-
 
81
					</table>	
-
 
82
				<? elseif($description['titre'] == 'Description de Coste') : ?> 
-
 
83
					<table class="desc">
23
						<table class="desc">
84
						 <tr>
-
 
85
						 	<td>
-
 
86
								<?if ($description['description']['nom_scientifique'] != '') : ?>
-
 
87
									<span class="gras">
-
 
88
									<?=$description['description']['nom_scientifique']; ?>
-
 
89
									</span> 
-
 
90
								<? endif; ?>
-
 
91
								<?if ($description['description']['nom_commun'] != '') : ?>
-
 
92
									<span class="italique">
-
 
93
									<?=$description['description']['nom_commun']; ?> 
-
 
94
									</span>
-
 
95
								<? endif; ?>
-
 
96
							</td>
-
 
97
						 </tr>
-
 
98
						 <?if ($description['description']['synonymes'] != '') : ?>
-
 
99
							<tr>
24
							<tr>
100
						 		<td>
25
								<td colspan="2">
101
									<span class="titre">Synonymes </span>
26
									<?if ($description['description']['type_bio'] != '') : ?>
102
									<?=$description['description']['synonymes']; ?> 
27
									 	<span class="titre">Type Biologique :</span> <?=$description['description']['type_bio']; ?><br/>
-
 
28
									 <? endif; ?>
103
								</td>
29
								</td>
104
							</tr>
30
							</tr>
105
						<? endif; ?>
-
 
106
						 <tr>
31
							<tr>
107
						 	<td>
32
								<td colspan="2">
108
								<?if ($description['description']['texte'] != '') : ?>
33
									<?  if ($description['description']['form_vegetale'] != '') : ?>
109
									<?=$description['description']['texte']; ?> 
34
								 		<span class="titre">Forme végétale  :</span>  <?=$description['description']['form_vegetale']; ?><br/>
110
									<br/>
-
 
111
								<? endif; ?>
35
								 	<? endif; ?>
112
							</td>
36
								 </td>
113
						</tr>
37
							</tr>
114
						<?if ($description['description']['ecologie'] != '') : ?>
-
 
115
							 <tr>
38
							<tr>
116
						 		<td>
39
								<td colspan="2">
117
									<span class="titre">Écologie </span>
40
									<? if ($description['description']['chorologie'] != ''): ?>
118
									<?=$description['description']['ecologie']; ?>
41
								 		<span class="titre">Chorologie  : </span> <?=$description['description']['chorologie']; ?><br/>
-
 
42
								 	<? endif; ?>
119
								</td>
43
								</td>
120
							</tr>
44
							</tr>
121
						<? endif; ?>
-
 
122
						<?if ($description['description']['repartition'] != '') : ?>
-
 
123
							<tr>
45
							<tr>
-
 
46
								<td >
-
 
47
									<? if ($description['description']['inflorescence'] != '') : ?>
-
 
48
									 	<span class="titre">Inflorescence :</span>  <?=$description['description']['inflorescence']; ?><br/>
-
 
49
									<? endif; ?>
-
 
50
									<? if ($description['description']['fruit'] != '') : ?>
-
 
51
									 	<span class="titre">Fruit :</span>  <?=$description['description']['fruit']; ?><br/>
-
 
52
									<? endif; ?>
-
 
53
									<? if ($description['description']['couleur_fleur'] != '') : ?>
-
 
54
									 	<span class="titre">Couleur de la fleur  : </span> <?=$description['description']['couleur_fleur']; ?><br/>
-
 
55
									<? endif; ?>
-
 
56
									<? if ($description['description']['macule'] != '') : ?>
-
 
57
									 	<span class="titre">Macule  :</span>  <?=$description['description']['macule']; ?><br/>
-
 
58
									<? endif; ?>
-
 
59
									<? if ($description['description']['floraison'] != '') : ?>
-
 
60
									 	<span class="titre">Floraison  :</span>  <?=$description['description']['floraison']; ?><br/>
-
 
61
									<? endif; ?>
-
 
62
								</td>
124
						 		<td>
63
								<td>
125
									<span class="titre">Répartition </span>
64
									<? if ($description['description']['sexualite'] != '') : ?>
-
 
65
									 	<span class="titre">Sexualité : </span> <?=$description['description']['sexualite']; ?><br/>
-
 
66
									<? endif; ?>
126
									<?=$description['description']['repartition']; ?> 
67
									<?if ($description['description']['ordre_maturation'] != '') : ?>
-
 
68
									 	<span class="titre">Ordre de maturation : </span> <?=$description['description']['ordre_maturation']; ?><br/>
-
 
69
									<? endif; ?>
-
 
70
									<? if ($description['description']['pollinisation'] != '') : ?>
-
 
71
									 	<span class="titre">Pollinisation : </span> <?=$description['description']['pollinisation']; ?><br/>
-
 
72
									<? endif; ?>
-
 
73
									<? if ($description['description']['dissemination'] != '') : ?>
-
 
74
									 	<span class="titre">Dissémination : </span><?=$description['description']['dissemination']; ?><br/>
-
 
75
									<? endif; ?>
127
								</td>
76
								</td>
128
							</tr>
77
							</tr>
129
						<? endif; ?>
78
						</table>	
130
						<?if ($description['description']['floraison'] != '') : ?>
79
					<? elseif($description['titre'] == 'Description de Coste') : ?> 
-
 
80
						<table class="desc">
131
							 <tr>
81
							 <tr>
132
								 <td>
82
							 	<td>
-
 
83
									<?if ($description['description']['nom_scientifique'] != '') : ?>
133
									<span class="titre">Floraison </span>
84
										<span class="gras">
134
									<?=$description['description']['floraison']; ?>
85
										<?=$description['description']['nom_scientifique']; ?>
-
 
86
										</span> 
-
 
87
									<? endif; ?>
135
									<?if ($description['description']['fructification'] != '') : ?>
88
									<?if ($description['description']['nom_commun'] != '') : ?>
136
										<span class="titre">Fructification </span>
89
										<span class="italique">
137
										<?=$description['description']['fructification']; ?>
90
										<?=$description['description']['nom_commun']; ?> 
-
 
91
										</span>
138
									<? endif; ?>
92
									<? endif; ?>
139
								</td>
93
								</td>
140
							</tr>
94
							 </tr>
-
 
95
							 <?if ($description['description']['synonymes'] != '') : ?>
-
 
96
								<tr>
141
						<? endif; ?>
97
							 		<td>
-
 
98
										<span class="titre">Synonymes </span>
142
						<?if ($description['description']['usages'] != '') : ?>
99
										<?=$description['description']['synonymes']; ?> 
-
 
100
									</td>
-
 
101
								</tr>
-
 
102
							<? endif; ?>
143
							<tr>
103
							 <tr>
144
								<td>
104
							 	<td>
145
									<span class="titre">Usages</span>
105
									<?if ($description['description']['texte'] != '') : ?>
146
										<?=$description['description']['usages']; ?>
106
										<?=$description['description']['texte']; ?> 
-
 
107
										<br/>
-
 
108
									<? endif; ?>
147
								</td>
109
								</td>
148
							</tr>
110
							</tr>
-
 
111
							<?if ($description['description']['ecologie'] != '') : ?>
-
 
112
								 <tr>
-
 
113
							 		<td>
-
 
114
										<span class="titre">Écologie </span>
-
 
115
										<?=$description['description']['ecologie']; ?>
-
 
116
									</td>
-
 
117
								</tr>
149
						<? endif; ?>
118
							<? endif; ?>
-
 
119
							<?if ($description['description']['repartition'] != '') : ?>
-
 
120
								<tr>
-
 
121
							 		<td>
-
 
122
										<span class="titre">Répartition </span>
-
 
123
										<?=$description['description']['repartition']; ?> 
-
 
124
									</td>
-
 
125
								</tr>
-
 
126
							<? endif; ?>
-
 
127
							<?if ($description['description']['floraison'] != '') : ?>
-
 
128
								 <tr>
-
 
129
									 <td>
-
 
130
										<span class="titre">Floraison </span>
-
 
131
										<?=$description['description']['floraison']; ?>
-
 
132
										<?if ($description['description']['fructification'] != '') : ?>
-
 
133
											<span class="titre">Fructification </span>
-
 
134
											<?=$description['description']['fructification']; ?>
-
 
135
										<? endif; ?>
-
 
136
									</td>
-
 
137
								</tr>
-
 
138
							<? endif; ?>
-
 
139
							<?if ($description['description']['usages'] != '') : ?>
-
 
140
								<tr>
-
 
141
									<td>
-
 
142
										<span class="titre">Usages</span>
-
 
143
											<?=$description['description']['usages']; ?>
-
 
144
									</td>
-
 
145
								</tr>
-
 
146
							<? endif; ?>
150
					</table>
147
						</table>
151
				<? else : ?>
148
					<? else : ?>
152
					<?=$description['description']?>
149
						<?=$description['description']?>
-
 
150
						
-
 
151
					<? endif;?>
-
 
152
				
153
				<? endif;?>
153
				<? endif;?>
154
				<br /><br />
-
 
155
				<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" >
154
				<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" >
156
					Complétez cette description
155
					Complétez cette description
157
				</a>
156
				</a>
158
			</div>
157
			</div>
159
		</div>
158
		</div>
Line 215... Line 214...
215
		<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">
216
			<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">
217
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ecologie">Ecologie</a>
216
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ecologie">Ecologie</a>
218
			</h3>
217
			</h3>
219
			<div id="contenu-8" class="contenu">
218
			<div id="contenu-8" class="contenu">
220
				<h4><?=$ecologie['titre']?></h4>
219
				<h4><?= $ecologie['titre'] ?></h4>
221
					<? if ($ecologie['description'] == "") : ?>
220
					<? if (empty($ecologie['description'])) : ?>
222
						<? if ($ecologie['wikini']['ecologie'] == '') :?>
221
						<? if ($ecologie['wikini']['ecologie'] == '') :?>
223
							<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
222
							<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
224
								Participez à la rédaction collaborative de l'écologie
223
								Participez à la rédaction collaborative de l'écologie
225
							</a>
224
							</a>
226
						<? else : echo $ecologie['wikini']['ecologie'];?><br /><br />
225
						<? else : echo $ecologie['wikini']['ecologie'];?><br /><br />
Line 240... Line 239...
240
							<div class="graphique">
239
							<div class="graphique">
241
								<object  type="image/svg+xml" data="<?=$ecologie['description']['sol_url']?>" 
240
								<object  type="image/svg+xml" data="<?=$ecologie['description']['sol_url']?>" 
242
								class="svg" alt="<?=$ecologie['description']['sol_url_png']?>" >   
241
								class="svg" alt="<?=$ecologie['description']['sol_url_png']?>" >   
243
								</object>
242
								</object>
244
							</div>
243
							</div>
245
						<a href="<?=$url;?>ecologie">Voir les références</a>
244
							<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent">
-
 
245
								Voir les références
-
 
246
							</a>
-
 
247
							<br/>
-
 
248
							<br/>
-
 
249
							<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent">
-
 
250
								Ajouter des informations sur l'écologie
-
 
251
							</a>
246
						</div>
252
						</div>
247
					<? endif; ?>
253
					<? endif; ?>
248
				<a href="<?=$url;?>ecologie">Ajouter des informations sur l'écologie</a>
-
 
249
					
-
 
250
			</div>
254
			</div>
251
		</div>
255
		</div>
Line 252... Line 256...
252
		
256
		
253
		<!-- Statut de protection -->
257
		<!-- Statut de protection -->