Subversion Repositories eFlore/Applications.coel-consultation

Rev

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

Rev 119 Rev 120
1
<!-- COL - DEBUT FICHE PERSONNE -->
1
<!-- COL - DEBUT FICHE PERSONNE -->
2
<script type="text/javascript">
2
<script type="text/javascript">
3
	$(function() {
3
	$(function() {
4
		$("#col-per").tabs();
4
		$("#col-per").tabs();
5
		$('span.courriel').courriel();
5
		$('span.courriel').courriel();
6
	});
6
	});
7
</script>
7
</script>
8
<h1><?=$info['cp_fmt_nom_complet']?> <span class="discretion">(id:<?=$id?>)</span></h1>
8
<h1><?=$info['cp_fmt_nom_complet']?> <span class="discretion">(id:<?=$id?>)</span></h1>
9
<hr class="nettoyeur"/>
9
<hr class="nettoyeur"/>
10
<div id="col-per" class="col-onglets">
10
<div id="col-per" class="col-onglets">
11
	<ul class="col-sommaire">
11
	<ul class="col-sommaire">
12
		<li><a href="#col-per-general">Général</a></li>
12
		<li><a href="#col-per-general">Général</a></li>
13
		<li><a href="#col-per-adresse">Adresses</a></li>
13
		<li><a href="#col-per-adresse">Adresses</a></li>
14
		<li><a href="#col-per-info-nat">Informations naturalistes</a></li>
14
		<li><a href="#col-per-info-nat">Informations naturalistes</a></li>
15
		<li><a href="#col-per-publication">Publications liées</a></li>
15
		<li><a href="#col-per-publication">Publications liées</a></li>
16
		<li><a href="#col-per-collection">Collections liées</a></li>
16
		<li><a href="#col-per-collection">Collections liées</a></li>
-
 
17
		<li><a href="#col-per-institution">Institutions liées</a></li>
17
		<li><a href="#col-per-image">Images</a></li>
18
		<li><a href="#col-per-image">Images</a></li>
18
		<li><a href="#col-per-meta">Méta-données</a></li>
19
		<li><a href="#col-per-meta">Méta-données</a></li>
19
	</ul>
20
	</ul>
20
	
21
	
21
	<div id="col-per-general">
22
	<div id="col-per-general">
22
		<h2>Général</h2>
23
		<h2>Général</h2>
23
		<h3>Identité</h3>
24
		<h3>Identité</h3>
24
		<?php if ($info['_image_principale_url_'] != '&nbsp;') : ?>
25
		<?php if ($info['_image_principale_url_'] != '&nbsp;') : ?>
25
		<img style="background-color:#FFF;float:left;margin-right:.3em;padding:0.3em;" src="<?=$info['_image_principale_url_']?>" alt="Illustration de l'auteur"/>
26
		<img style="background-color:#FFF;float:left;margin-right:.3em;padding:0.3em;" src="<?=$info['_image_principale_url_']?>" alt="Illustration de l'auteur"/>
26
		<?php endif; ?>
27
		<?php endif; ?>
27
		<div style="float:left;">
28
		<div style="float:left;">
28
			<dl class="label-court">
29
			<dl class="label-court">
29
				<dt>Préfixe</dt> <dd><?=$info['_prefixe_']?></dd>
30
				<dt>Préfixe</dt> <dd><?=$info['_prefixe_']?></dd>
30
				<dt>Prénom</dt> <dd><?=$info['cp_prenom']?></dd>
31
				<dt>Prénom</dt> <dd><?=$info['cp_prenom']?></dd>
31
				<dt>Nom</dt> <dd><?=$info['cp_nom']?></dd>
32
				<dt>Nom</dt> <dd><?=$info['cp_nom']?></dd>
32
				<dt>Suffixe</dt> <dd><?=$info['_suffixe_']?></dd>
33
				<dt>Suffixe</dt> <dd><?=$info['_suffixe_']?></dd>
33
				<dt>Autres noms</dt> <dd><?=$info['_autre_noms_']?></dd>
34
				<dt>Autres noms</dt> <dd><?=$info['_autre_noms_']?></dd>
34
				<dt>Abréviation</dt> <dd><?=$info['cp_abreviation']?></dd>
35
				<dt>Abréviation</dt> <dd><?=$info['cp_abreviation']?></dd>
35
				<dt>Autres abréviations</dt> <dd><?=$info['_autre_abreviations_']?></dd>
36
				<dt>Autres abréviations</dt> <dd><?=$info['_autre_abreviations_']?></dd>
36
				<dt>Sexe</dt> <dd><?=$info['_sexe_']?></dd>
37
				<dt>Sexe</dt> <dd><?=$info['_sexe_']?></dd>
37
			</dl>
38
			</dl>
38
		</div>
39
		</div>
39
		<h3>Description</h3>
40
		<h3>Description</h3>
40
		<p class="txt-long"><?=$info['cp_description']?></p>
41
		<p class="txt-long"><?=$info['cp_description']?></p>
41
		
42
		
42
		<h3>Naissance &amp; décès</h3>
43
		<h3>Naissance &amp; décès</h3>
43
		<dl class="label-court">
44
		<dl class="label-court">
44
			<dt>Date de naissance</dt> <dd><?=$info['_naissance_date_']?></dd>
45
			<dt>Date de naissance</dt> <dd><?=$info['_naissance_date_']?></dd>
45
			<dt>Lieu de naissance</dt> <dd><?=$info['cp_naissance_lieu']?></dd>
46
			<dt>Lieu de naissance</dt> <dd><?=$info['cp_naissance_lieu']?></dd>
46
			<dt>Est décédée?</dt> <dd><?=$info['_deces_']?></dd>
47
			<dt>Est décédée?</dt> <dd><?=$info['_deces_']?></dd>
47
			<dt>Date de décès</dt> <dd><?=$info['_deces_date_']?></dd>
48
			<dt>Date de décès</dt> <dd><?=$info['_deces_date_']?></dd>
48
			<dt>Lieu de décès</dt> <dd><?=$info['cp_deces_lieu']?></dd>
49
			<dt>Lieu de décès</dt> <dd><?=$info['cp_deces_lieu']?></dd>
49
		</dl>
50
		</dl>
50
		
51
		
51
		<h3>Contact</h3>
52
		<h3>Contact</h3>
52
		<dl class="label-court">
53
		<dl class="label-court">
53
			<dt>Téléphones</dt> <dd><?=$info['_telephones_']?></dd>
54
			<dt>Téléphones</dt> <dd><?=$info['_telephones_']?></dd>
54
			<dt>Courriels</dt> <dd><?=$info['_courriels_']?></dd>
55
			<dt>Courriels</dt> <dd><?=$info['_courriels_']?></dd>
55
			<dt>Sites web</dt>
56
			<dt>Sites web</dt>
56
			<dd>
57
			<dd>
57
			<?php if (($nbre_url = count($info['_sites_web_'])) > 0) : ?>
58
			<?php if (($nbre_url = count($info['_sites_web_'])) > 0) : ?>
58
				<?php while (list($i, $url) = each($info['_sites_web_'])) : ?>
59
				<?php while (list($i, $url) = each($info['_sites_web_'])) : ?>
59
					<a class="lien_ext" href="<?=$url?>"><?=$url?></a><?=(($nbre_url - 1) == $i) ? '.' : ', ';?>
60
					<a class="lien_ext" href="<?=$url?>"><?=$url?></a><?=(($nbre_url - 1) == $i) ? '.' : ', ';?>
60
				<?php endwhile; ?>
61
				<?php endwhile; ?>
61
			<?php else : ?>
62
			<?php else : ?>
62
			&nbsp;
63
			&nbsp;
63
			<?php endif; ?>
64
			<?php endif; ?>
64
			</dd>
65
			</dd>
65
		</dl>
66
		</dl>
66
		
67
		
67
		<hr class="nettoyeur"/>
68
		<hr class="nettoyeur"/>
68
	</div>
69
	</div>
69
 
70
 
70
	<div id="col-per-adresse">
71
	<div id="col-per-adresse">
71
		<h2>Adresses</h2>
72
		<h2>Adresses</h2>
72
		<dl class="label-court">
73
		<dl class="label-court">
73
			<dt>Adresse</dt> <dd><?=$info['cp_adresse_01']?></dd>
74
			<dt>Adresse</dt> <dd><?=$info['cp_adresse_01']?></dd>
74
			<dt>Complément</dt> <dd><?=$info['cp_adresse_02']?></dd>
75
			<dt>Complément</dt> <dd><?=$info['cp_adresse_02']?></dd>
75
			<dt>Boite postale</dt> <dd><?=$info['cp_bp']?></dd>
76
			<dt>Boite postale</dt> <dd><?=$info['cp_bp']?></dd>
76
			<dt>Code postal</dt> <dd><?=$info['cp_code_postal']?></dd>
77
			<dt>Code postal</dt> <dd><?=$info['cp_code_postal']?></dd>
77
			<dt>Ville</dt> <dd><?=$info['cp_ville']?></dd>
78
			<dt>Ville</dt> <dd><?=$info['cp_ville']?></dd>
78
			<dt>Région</dt> <dd><?=$info['_region_']?></dd>
79
			<dt>Région</dt> <dd><?=$info['_region_']?></dd>
79
			<dt>Pays</dt> <dd><?=$info['_pays_']?></dd>
80
			<dt>Pays</dt> <dd><?=$info['_pays_']?></dd>
80
		</dl>
81
		</dl>
81
		<hr class="nettoyeur"/>
82
		<hr class="nettoyeur"/>
82
	</div>
83
	</div>
83
	
84
	
84
	<div id="col-per-info-nat">
85
	<div id="col-per-info-nat">
85
		<h2>Informations naturalistes</h2>
86
		<h2>Informations naturalistes</h2>
86
		<h3>Vie et renommée de l'auteur</h3>
87
		<h3>Vie et renommée de l'auteur</h3>
87
		<p class="txt-long"><?=$info['cp_biographie']?></p>
88
		<p class="txt-long"><?=$info['cp_biographie']?></p>
88
		<h3>Spécialité(s)</h3>
89
		<h3>Spécialité(s)</h3>
89
		<p class="txt-long"><?=$info['_specialites_']?></p>
90
		<p class="txt-long"><?=$info['_specialites_']?></p>
90
		<h3>Récolte(s)</h3>
91
		<h3>Récolte(s)</h3>
91
		<p class="txt-long"><?=$info['_recoltes_']?></p>
92
		<p class="txt-long"><?=$info['_recoltes_']?></p>
92
		<hr class="nettoyeur"/>
93
		<hr class="nettoyeur"/>
93
	</div>
94
	</div>
94
 
95
 
95
	<div id="col-per-publication">
96
	<div id="col-per-publication">
96
		<h2>Publications liées</h2>
97
		<h2>Publications liées</h2>
97
		<?php if (count($publications) > 0) : ?>
98
		<?php if (count($publications) > 0) : ?>
98
		<table>
99
		<table>
99
			<thead>
100
			<thead>
100
				<tr>
101
				<tr>
101
					<th>Relation</th>
102
					<th>Relation</th>
102
					<th>Auteurs</th>
103
					<th>Auteurs</th>
103
					<th>Titre</th>
104
					<th>Titre</th>
104
					<th>Nom de la revue / collection</th>
105
					<th>Nom de la revue / collection</th>
105
					<th>Éditeur</th>
106
					<th>Éditeur</th>
106
					<th>Année</th>
107
					<th>Année</th>
107
					<th>Série / Tome</th>
108
					<th>Série / Tome</th>
108
					<th>Fascicule</th>
109
					<th>Fascicule</th>
109
					<th>Page(s)</th>
110
					<th>Page(s)</th>
110
				</tr>
111
				</tr>
111
			</thead>
112
			</thead>
112
			<tbody>
113
			<tbody>
113
			<?php foreach ($publications as $publication) : ?>
114
			<?php foreach ($publications as $publication) : ?>
114
				<tr>
115
				<tr>
115
					<td><?=$publication['_role_']?></td>
116
					<td><?=$publication['_role_']?></td>
116
					<td><?=$publication['cpu_fmt_auteur']?></td>
117
					<td><?=$publication['cpu_fmt_auteur']?></td>
117
					<td><?=$publication['cpu_titre']?></td>
118
					<td><?=$publication['cpu_titre']?></td>
118
					<td><?=$publication['cpu_collection']?></td>
119
					<td><?=$publication['cpu_collection']?></td>
119
					<td><?=$publication['_editeur_']?></td>
120
					<td><?=$publication['_editeur_']?></td>
120
					<td><?=$publication['_date_parution_']?></td>
121
					<td><?=$publication['_date_parution_']?></td>
121
					<td><?=$publication['cpu_indication_nvt']?></td>
122
					<td><?=$publication['cpu_indication_nvt']?></td>
122
					<td><?=$publication['cpu_fascicule']?></td>
123
					<td><?=$publication['cpu_fascicule']?></td>
123
					<td><?=$publication['cpu_truk_pages']?></td>
124
					<td><?=$publication['cpu_truk_pages']?></td>
124
				</tr>
125
				</tr>
125
			<?php endforeach; ?>
126
			<?php endforeach; ?>
126
			</tbody>
127
			</tbody>
127
		</table>
128
		</table>
128
		<?php else : ?>
129
		<?php else : ?>
129
		<p>Aucune</p>
130
		<p>Aucune</p>
130
		<?php endif; ?>
131
		<?php endif; ?>
131
		<hr class="nettoyeur"/>
132
		<hr class="nettoyeur"/>
132
	</div>
133
	</div>
133
	
134
	
134
	<div id="col-per-collection">
135
	<div id="col-per-collection">
135
		<h2>Collections liées</h2>
136
		<h2>Collections liées</h2>
136
		<?php if (count($collections) > 0) : ?>
137
		<?php if (count($collections) > 0) : ?>
137
		<table>
138
		<table>
138
			<thead>
139
			<thead>
139
				<tr>
140
				<tr>
140
					<th>Collection</th>
141
					<th>Collection</th>
141
					<th>Relation</th>
142
					<th>Relation</th>
142
				</tr>
143
				</tr>
143
			</thead>
144
			</thead>
144
			<tbody>
145
			<tbody>
145
			<?php foreach ($collections as $collection) : ?>
146
			<?php foreach ($collections as $collection) : ?>
146
				<tr>
147
				<tr>
147
					<td><a href="<?=$collection['_url_']?>" title="Accèder à la fiche de la collection"><?=$collection['cc_nom']?></a></td>
148
					<td><a href="<?=$collection['_url_']?>" title="Accèder à la fiche de la collection"><?=$collection['cc_nom']?></a></td>
148
					<td><?=$collection['_role_']?></td>
149
					<td><?=$collection['_role_']?></td>
149
				</tr>
150
				</tr>
-
 
151
			<?php endforeach; ?>
-
 
152
			</tbody>
-
 
153
		</table>
-
 
154
		<?php else : ?>
-
 
155
		<p>Aucune</p>
-
 
156
		<?php endif; ?>
-
 
157
		<hr class="nettoyeur"/>
-
 
158
	</div>
-
 
159
	
-
 
160
	<div id="col-per-institution">
-
 
161
		<h2>Institution liées</h2>
-
 
162
		<?php if (count($structures) > 0) : ?>
-
 
163
		<table>
-
 
164
			<thead>
-
 
165
				<tr>
-
 
166
					<th>Structure</th>
-
 
167
					<th>Fonction</th>
-
 
168
					<th>Statut</th>
-
 
169
				</tr>
-
 
170
			</thead>
-
 
171
			<tbody>
-
 
172
			<?php foreach ($structures as $structure) : ?>
-
 
173
				<tr>
-
 
174
					<td><a href="<?=$structure['_url_']?>" title="Accèder à la fiche de l'institution"><?=$structure['cs_nom']?></a></td>
-
 
175
					<td><?=$structure['_fonction_']?></td>
-
 
176
					<td><?=$structure['_statut_']?></td>
-
 
177
				</tr>
150
			<?php endforeach; ?>
178
			<?php endforeach; ?>
151
			</tbody>
179
			</tbody>
152
		</table>
180
		</table>
153
		<?php else : ?>
181
		<?php else : ?>
154
		<p>Aucune</p>
182
		<p>Aucune</p>
155
		<?php endif; ?>
183
		<?php endif; ?>
156
		<hr class="nettoyeur"/>
184
		<hr class="nettoyeur"/>
157
	</div>
185
	</div>
158
 
186
 
159
	<div id="col-per-image">
187
	<div id="col-per-image">
160
		<h2>Images</h2>
188
		<h2>Images</h2>
161
		<?php if (count($info['_logos_']) > 0) : ?>
189
		<?php if (count($info['_logos_']) > 0) : ?>
162
		<ul class="gallerie">
190
		<ul class="gallerie">
163
			<?php foreach ($info['_logos_'] as $url_logo) : ?>
191
			<?php foreach ($info['_logos_'] as $url_logo) : ?>
164
			<li><img src="<?=$url_logo?>" alt="<?=$url_logo?>"/></li>
192
			<li><img src="<?=$url_logo?>" alt="<?=$url_logo?>"/></li>
165
			<?php endforeach; ?>
193
			<?php endforeach; ?>
166
		</ul>
194
		</ul>
167
		<hr class="nettoyeur"/>
195
		<hr class="nettoyeur"/>
168
		<?php else : ?>
196
		<?php else : ?>
169
		<p>Aucune</p>
197
		<p>Aucune</p>
170
		<?php endif; ?>
198
		<?php endif; ?>
171
	</div>
199
	</div>
172
	
200
	
173
	<div id="col-per-meta">
201
	<div id="col-per-meta">
174
		<?=$metadonnees?>
202
		<?=$metadonnees?>
175
	</div>
203
	</div>
176
	
204
	
177
</div>
205
</div>
178
<!-- COL - FIN FICHE PERSONNE -->
206
<!-- COL - FIN FICHE PERSONNE -->