Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 852 Rev 1022
1
<!-- NOMENCLATURE -->
1
<!-- NOMENCLATURE -->
2
<div class="bloc <?if ($premier == 'nomenclature') : echo 'allow-break'; else : echo 'no-break'; endif; ?>">
2
<div class="bloc <?if ($premier == 'nomenclature') : echo 'allow-break'; else : echo 'no-break'; endif; ?>">
3
	<div class="categorie"> Nomenclature </div>
3
	<div class="categorie"> Nomenclature </div>
4
	<!-- NOM RETENU -->
4
	<!-- NOM RETENU -->
5
	<?php if(!empty($nomenclature['basionyme_nom_retenu']) || !empty($nomenclature['nom_selectionne'])
5
	<?php if(!empty($nomenclature['basionyme_nom_retenu']) || !empty($nomenclature['nom_selectionne'])
6
	 || !empty($nomenclature['nom_retenu'])   || !empty($nomenclature['nom_retenu_formate'])) :?>
6
	 || !empty($nomenclature['nom_retenu'])   || !empty($nomenclature['nom_retenu_formate'])) :?>
7
	 	<div class="no-break">
7
	 	<div class="no-break">
8
			<h2>Nom retenu</h2>
8
			<h2>Nom retenu</h2>
9
			<span class="citation"><?= $nomenclature['synonymes']['meta']['titre']?></span>
9
			<span class="citation"><?= $nomenclature['synonymes']['meta']['titre']?></span>
10
			<div style="float:right">
10
			<div style="float:right">
11
				<div class="legende">
11
				<div class="legende">
12
					<b>Légende</b><br />
12
					<b>Légende</b><br />
13
					<span class="legende_nom_retenu couleur_legende" style="margin:8px 5px 0 0"></span><span>Nom sélectionné</span>
13
					<span class="legende_nom_retenu couleur_legende" style="margin:8px 5px 0 0"></span><span>Nom sélectionné</span>
14
				</div>
14
				</div>
15
			</div>
15
			</div>
16
			<div class="onglet_marge_gauche">
16
			<div class="onglet_marge_gauche">
17
				<span class="nom retenu <?= ($nomenclature['nom_selectionne'] == $nomenclature['nom_retenu']) ? 'surlignage' : '' ?>">
17
				<span class="nom retenu <?= ($nomenclature['nom_selectionne'] == $nomenclature['nom_retenu']) ? 'surlignage' : '' ?>">
18
					<?= $nomenclature['nom_retenu_formate'] ?>
18
					<?= $nomenclature['nom_retenu_formate'] ?>
19
				</span>
19
				</span>
20
			</div>
20
			</div>
21
			<div class="nom onglet_marge_gauche basionyme_complet">
21
			<div class="nom onglet_marge_gauche basionyme_complet">
22
				Basionyme :
22
				Basionyme :
23
					<?= $nomenclature['basionyme_nom_retenu'] ?>
23
					<?= $nomenclature['basionyme_nom_retenu'] ?>
24
			</div>
24
			</div>
25
		
25
 
-
 
26
		<?php if($nomenclature['referentiel'] != 'bdtxa'): // cf http://referentiels.tela-botanica.org/referentiel/index.php?ref=bdtxa&module=FicheTaxon&num_nom=14610  ?>
26
		<div class="onglet_marge_gauche"> Dernière date de modification du nom : <?= $nomenclature['date_maj'] ?> </div>
27
		<div class="onglet_marge_gauche"> Dernière date de modification du nom : <?= $nomenclature['date_maj'] ?> </div>
-
 
28
		<? endif; ?>
27
		</div>
29
		</div>
28
		<hr class="nettoyage" />
30
		<hr class="nettoyage" />
29
	<?php endif; ?>
31
	<?php endif; ?>
30
	
32
	
31
	<!-- WIKI -->
33
	<!-- WIKI -->
32
	<? if (!empty($nomenclature['wikini']['nomenclature'])) :?> 
34
	<? if (!empty($nomenclature['wikini']['nomenclature'])) :?> 
33
		<div class="no-break">
35
		<div class="no-break">
34
			<span> Données collaboratives sur ce nom. </span>
36
			<span> Données collaboratives sur ce nom. </span>
35
			<div  title="statuts de protection" class="wiki allow-break">
37
			<div  title="statuts de protection" class="wiki allow-break">
36
				<?=$nomenclature['wikini']['nomenclature']?>
38
				<?=$nomenclature['wikini']['nomenclature']?>
37
			</div>
39
			</div>
38
		</div>
40
		</div>
39
	<? endif; ?>
41
	<? endif; ?>
40
	
42
	
41
	<!-- SYNONYMES -->
43
	<!-- SYNONYMES -->
42
	<?php if(is_array($nomenclature['synonymes']['noms']) && count($nomenclature['synonymes']['noms']) > 0) { ?>
44
	<?php if(is_array($nomenclature['synonymes']['noms']) && count($nomenclature['synonymes']['noms']) > 0) { ?>
43
		<div class="no-break">
45
		<div class="no-break">
44
			<h2>Synonymes</h2>
46
			<h2>Synonymes</h2>
45
			<span class="citation"><?= $nomenclature['synonymes']['meta']['titre']?></span>
47
			<span class="citation"><?= $nomenclature['synonymes']['meta']['titre']?></span>
46
			<?php foreach ($nomenclature['synonymes']['noms'] as $id => $synonyme) : ?>
48
			<?php foreach ($nomenclature['synonymes']['noms'] as $id => $synonyme) : ?>
47
				<ul class="allow-break">
49
				<ul class="allow-break">
48
					<li class="item_nomenclature">
50
					<li class="item_nomenclature">
49
						<span class="nom <?= ($nomenclature['nom_selectionne'] == $synonyme['nom_sci']) ? 'surlignage' : '' ?>">
51
						<span class="nom <?= ($nomenclature['nom_selectionne'] == $synonyme['nom_sci']) ? 'surlignage' : '' ?>">
50
							<?= $synonyme['nom_sci_complet']  ?>
52
							<?= $synonyme['nom_sci_complet']  ?>
51
						</span>
53
						</span>
52
						<span class="nom basionyme_complet">
54
						<span class="nom basionyme_complet">
53
							<?= ($synonyme['basionyme_html_complet']) ? "Basionyme : ".$synonyme['basionyme_html_complet'] : ''; ?>
55
							<?= ($synonyme['basionyme_html_complet']) ? "Basionyme : ".$synonyme['basionyme_html_complet'] : ''; ?>
54
						</span>
56
						</span>
55
					</li>
57
					</li>
56
				</ul>
58
				</ul>
57
			<?php endforeach; ?>
59
			<?php endforeach; ?>
58
		<hr class="nettoyage" />
60
		<hr class="nettoyage" />
59
		</div>
61
		</div>
60
	<?php } ?>
62
	<?php } ?>
61
	
63
	
62
	<div class="no-break">
64
	<div class="no-break">
63
		<?php if ($nomenclature['taxons_sup'] != array()) : ?>
65
		<?php if (!empty($nomenclature['taxons_sup'])) : ?>
64
		<h2> Place du taxon dans la classification </h2>
66
		<h2> Place du taxon dans la classification </h2>
65
		<span class="citation"><?= $nomenclature['meta']['titre']?></span>
67
		<span class="citation"><?= $nomenclature['meta']['titre']?></span>
66
		<table class="allow-break">
68
		<table class="allow-break">
67
			<tr>
69
			<tr>
68
				<th>Rang</th><th>Nom Scientifique</th><th>Num Nom</th>
70
				<th>Rang</th><th>Nom Scientifique</th><th>Num Nom</th>
69
			</tr>
71
			</tr>
70
			
72
			
71
				<?php foreach ($nomenclature['taxons_sup']  as $taxon) : ?>
73
				<?php foreach ($nomenclature['taxons_sup']  as $taxon) : ?>
72
					<tr>
74
					<tr>
73
						<td><?= $taxon['rang.libelle'] ?></td>
75
						<td><?= $taxon['rang.libelle'] ?></td>
74
						<td><?= $taxon['nom_sci'] ?></td>
76
						<td><?= $taxon['nom_sci'] ?></td>
75
						<td><?= $taxon['num_nom'] ?></td>
77
						<td><?= $taxon['num_nom'] ?></td>
76
					</tr>
78
					</tr>
77
				<?php endforeach; ?>
79
				<?php endforeach; ?>
78
			
80
			
79
			<tr class="surlignage">
81
			<tr class="surlignage">
80
				<td><?= $nomenclature['taxon_courant']['rang.libelle'] ?></td>
82
				<td><?= $nomenclature['taxon_courant']['rang.libelle'] ?></td>
81
				<td><?= $nomenclature['taxon_courant']['nom_sci'] ?></td>
83
				<td><?= $nomenclature['taxon_courant']['nom_sci'] ?></td>
82
				<td><?= $nomenclature['taxon_courant']['num_nom'] ?></td>
84
				<td><?= $nomenclature['taxon_courant']['num_nom'] ?></td>
83
			</tr>
85
			</tr>
84
			
86
			
85
			<?php if ($nomenclature['taxons_inf'] != array()) : ?>	
87
			<?php if (!empty($nomenclature['taxons_inf'])) : ?>	
86
				<?php foreach($nomenclature['taxons_inf'] as $taxon) : ?>
88
				<?php foreach($nomenclature['taxons_inf'] as $taxon) : ?>
87
					<tr>
89
					<tr>
88
						<td><?= $taxon['rang.libelle'] ?></td>
90
						<td><?= $taxon['rang.libelle'] ?></td>
89
						<td><?= $taxon['nom_sci'] ?></td>
91
						<td><?= $taxon['nom_sci'] ?></td>
90
						<td><?= $taxon['num_nom'] ?></td>
92
						<td><?= $taxon['num_nom'] ?></td>
91
					</tr>
93
					</tr>
92
				<?php endforeach; ?>
94
				<?php endforeach; ?>
93
			<?php endif; ?>
95
			<?php endif; ?>
94
		</table>
96
		</table>
95
		<?php endif; ?>
97
		<?php endif; ?>
96
		</div>
98
		</div>
97
		
99
		
98
		<!-- VIDE DE DONNEES -->
100
		<!-- VIDE DE DONNEES -->
99
	<?php if ( empty($nomenclature['taxons_sup']) && empty($nomenclature['taxon_inf'] ) ) : ?>
101
	<?php if ( empty($nomenclature['taxons_sup']) && empty($nomenclature['taxon_inf'] ) ) : ?>
100
	Aucune donnée.
102
	Aucune donnée.
101
	<?php endif; ?>
103
	<?php endif; ?>
102
	<br/>
104
	<br/>
103
	
105
	
104
	<!-- FLORES -->
106
	<!-- FLORES -->
105
	<?php if(is_array($nomenclature['flores_synonymes']) && count($nomenclature['flores_synonymes']) > 0) { ?>
107
	<?php if(is_array($nomenclature['flores_synonymes']) && count($nomenclature['flores_synonymes']) > 0) { ?>
106
	<div class="no-break">
108
	<div class="no-break">
107
		<h2>Flores</h2>
109
		<h2>Flores</h2>
108
		<span class="citation"><?= $nomenclature['synonymes']['meta']['titre']?></span>
110
		<span class="citation"><?= $nomenclature['synonymes']['meta']['titre']?></span>
109
		
111
		
110
		<?php foreach ($nomenclature['flores_synonymes'] as $num_nom_syn => $infos_flore) : ?>
112
		<?php foreach ($nomenclature['flores_synonymes'] as $num_nom_syn => $infos_flore) : ?>
111
			<?php foreach ($infos_flore as $code => $flore) : ?>
113
			<?php foreach ($infos_flore as $code => $flore) : ?>
112
				<ul class="allow-break">
114
				<ul class="allow-break">
113
					<li class="item_nomenclature">
115
					<li class="item_nomenclature">
114
						<div class="nom">
116
						<div class="nom">
115
							Dans la flore <em><?= $flore['nom_flore'] ?></em>,
117
							Dans la flore <em><?= $flore['nom_flore'] ?></em>,
116
							ce taxon porte le nom de <em><?= $flore['nom_sci']  ?></em>
118
							ce taxon porte le nom de <em><?= $flore['nom_sci']  ?></em>
117
							et le code <b><?= $flore['id'] ?></b><br />
119
							et le code <b><?= $flore['id'] ?></b><br />
118
						</div>
120
						</div>
119
					</li>
121
					</li>
120
				</ul>
122
				</ul>
121
			<?php endforeach; ?>
123
			<?php endforeach; ?>
122
		<?php endforeach; ?>
124
		<?php endforeach; ?>
123
	</div>
125
	</div>
124
	<hr class="nettoyage" />
126
	<hr class="nettoyage" />
125
	<?php } ?>
127
	<?php } ?>
126
	
128
	
127
	<!-- num type -->
129
	<!-- num type -->
128
	<?php if($nomenclature['num_type'] != null) { ?>
130
	<?php if($nomenclature['num_type'] != null) { ?>
129
		<h3> Autres </h3>
131
		<h3> Autres </h3>
130
		<ul>
132
		<ul>
131
			<li class="item_nomenclature">
133
			<li class="item_nomenclature">
132
				<span class="nom">Numéro du type : <?= $nomenclature['num_type'] ?></span> 
134
				<span class="nom">Numéro du type : <?= $nomenclature['num_type'] ?></span> 
133
			</li>
135
			</li>
134
		</ul>
136
		</ul>
135
	<?php } ?>
137
	<?php } ?>
136
		
138
		
137
	<!-- VIDE DE DONNEES -->
139
	<!-- VIDE DE DONNEES -->
138
	<?php if ( empty($nomenclature['basionyme_nom_retenu']) && empty($nomenclature['nom_retenu_formate'] ) 
140
	<?php if ( empty($nomenclature['basionyme_nom_retenu']) && empty($nomenclature['nom_retenu_formate'] ) 
139
	&& empty($nomenclature['nom_selectionne'] ) && empty($nomenclature['synonymes']['noms'] )
141
	&& empty($nomenclature['nom_selectionne'] ) && empty($nomenclature['synonymes']['noms'] )
140
	&& empty($nomenclature['nom_retenu']) && empty($nomenclature['flores_synonymes'])
142
	&& empty($nomenclature['nom_retenu']) && empty($nomenclature['flores_synonymes'])
141
	&& empty($nomenclature['num_type'])) : ?>
143
	&& empty($nomenclature['num_type'])) : ?>
142
	Aucune donnée.
144
	Aucune donnée.
143
	<?php endif; ?>
145
	<?php endif; ?>
144
</div>
146
</div>
145
<br/>
147
<br/>
146
<br/>
-
 
147
148
<br/>
-
 
149