Subversion Repositories eFlore/Applications.coel-consultation

Rev

Rev 120 | Rev 136 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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