Subversion Repositories eFlore/Applications.coel-consultation

Rev

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

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