Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

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