Subversion Repositories eFlore/Applications.coel-consultation

Rev

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

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