Subversion Repositories eFlore/Applications.coel-consultation

Rev

Rev 152 | Rev 213 | 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
		});
55 jpm 7
	});
8
</script>
9
<h1><?=$info['cp_fmt_nom_complet']?> <span class="discretion">(id:<?=$id?>)</span></h1>
10
<hr class="nettoyeur"/>
11
<div id="col-per" class="col-onglets">
12
	<ul class="col-sommaire">
13
		<li><a href="#col-per-general">Général</a></li>
14
		<li><a href="#col-per-adresse">Adresses</a></li>
15
		<li><a href="#col-per-info-nat">Informations naturalistes</a></li>
16
		<li><a href="#col-per-publication">Publications liées</a></li>
117 jpm 17
		<li><a href="#col-per-collection">Collections liées</a></li>
120 jpm 18
		<li><a href="#col-per-institution">Institutions liées</a></li>
55 jpm 19
		<li><a href="#col-per-image">Images</a></li>
20
		<li><a href="#col-per-meta">Méta-données</a></li>
21
	</ul>
22
 
23
	<div id="col-per-general">
24
		<h2>Général</h2>
25
		<h3>Identité</h3>
152 jpm 26
		<div style="width:100%;">
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
 
31
			<dl class="label-court" style="float:left;width:40%;">
55 jpm 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) : ?>
152 jpm 101
		<?=$publicationsFrag?>
55 jpm 102
		<table>
103
			<thead>
104
				<tr>
105
					<th>Relation</th>
106
					<th>Auteurs</th>
107
					<th>Titre</th>
108
					<th>Nom de la revue / collection</th>
109
					<th>Éditeur</th>
110
					<th>Année</th>
111
					<th>Série / Tome</th>
112
					<th>Fascicule</th>
113
					<th>Page(s)</th>
114
				</tr>
115
			</thead>
116
			<tbody>
117
			<?php foreach ($publications as $publication) : ?>
118
				<tr>
119
					<td><?=$publication['_role_']?></td>
120
					<td><?=$publication['cpu_fmt_auteur']?></td>
121
					<td><?=$publication['cpu_titre']?></td>
122
					<td><?=$publication['cpu_collection']?></td>
123
					<td><?=$publication['_editeur_']?></td>
124
					<td><?=$publication['_date_parution_']?></td>
125
					<td><?=$publication['cpu_indication_nvt']?></td>
126
					<td><?=$publication['cpu_fascicule']?></td>
127
					<td><?=$publication['cpu_truk_pages']?></td>
128
				</tr>
129
			<?php endforeach; ?>
130
			</tbody>
131
		</table>
132
		<?php else : ?>
133
		<p>Aucune</p>
134
		<?php endif; ?>
135
		<hr class="nettoyeur"/>
136
	</div>
117 jpm 137
 
55 jpm 138
	<div id="col-per-collection">
139
		<h2>Collections liées</h2>
117 jpm 140
		<?php if (count($collections) > 0) : ?>
154 jpm 141
		<?=$collectionsFrag?>
117 jpm 142
		<table>
143
			<thead>
144
				<tr>
145
					<th>Collection</th>
146
					<th>Relation</th>
147
				</tr>
148
			</thead>
149
			<tbody>
150
			<?php foreach ($collections as $collection) : ?>
151
				<tr>
119 jpm 152
					<td><a href="<?=$collection['_url_']?>" title="Accèder à la fiche de la collection"><?=$collection['cc_nom']?></a></td>
117 jpm 153
					<td><?=$collection['_role_']?></td>
154
				</tr>
155
			<?php endforeach; ?>
156
			</tbody>
157
		</table>
158
		<?php else : ?>
159
		<p>Aucune</p>
160
		<?php endif; ?>
55 jpm 161
		<hr class="nettoyeur"/>
162
	</div>
120 jpm 163
 
164
	<div id="col-per-institution">
165
		<h2>Institution liées</h2>
166
		<?php if (count($structures) > 0) : ?>
154 jpm 167
		<?=$structuresFrag?>
120 jpm 168
		<table>
169
			<thead>
170
				<tr>
171
					<th>Structure</th>
172
					<th>Fonction</th>
173
					<th>Statut</th>
174
				</tr>
175
			</thead>
176
			<tbody>
177
			<?php foreach ($structures as $structure) : ?>
178
				<tr>
179
					<td><a href="<?=$structure['_url_']?>" title="Accèder à la fiche de l'institution"><?=$structure['cs_nom']?></a></td>
180
					<td><?=$structure['_fonction_']?></td>
181
					<td><?=$structure['_statut_']?></td>
182
				</tr>
183
			<?php endforeach; ?>
184
			</tbody>
185
		</table>
186
		<?php else : ?>
187
		<p>Aucune</p>
188
		<?php endif; ?>
189
		<hr class="nettoyeur"/>
190
	</div>
117 jpm 191
 
55 jpm 192
	<div id="col-per-image">
193
		<h2>Images</h2>
194
		<?php if (count($info['_logos_']) > 0) : ?>
195
		<ul class="gallerie">
196
			<?php foreach ($info['_logos_'] as $url_logo) : ?>
197
			<li><img src="<?=$url_logo?>" alt="<?=$url_logo?>"/></li>
198
			<?php endforeach; ?>
199
		</ul>
200
		<hr class="nettoyeur"/>
201
		<?php else : ?>
202
		<p>Aucune</p>
203
		<?php endif; ?>
204
	</div>
205
 
206
	<div id="col-per-meta">
93 jpm 207
		<?=$metadonnees?>
55 jpm 208
	</div>
209
 
210
</div>
211
<!-- COL - FIN FICHE PERSONNE -->