Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 3838 Rev 3839
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
	<head>
3
	<head>
4
		<title>Photographies publiques du CEL - Tela Botanica</title>
4
		<title>Photographies publiques du CEL - Tela Botanica</title>
5
 
5
 
6
		<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
6
		<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
7
		<meta http-equiv="Content-style-type" content="text/css" />
7
		<meta http-equiv="Content-style-type" content="text/css" />
8
		<meta http-equiv="Content-script-type" content="text/javascript" />
8
		<meta http-equiv="Content-script-type" content="text/javascript" />
9
		<meta http-equiv="Content-language" content="fr" />
9
		<meta http-equiv="Content-language" content="fr" />
10
 
10
 
11
		<meta name="revisit-after" content="15 days" />
11
		<meta name="revisit-after" content="15 days" />
12
        <meta name="robots" content="index,follow" />
12
        <meta name="robots" content="index,follow" />
13
        <meta name="author" content="Tela Botanica" />
13
        <meta name="author" content="Tela Botanica" />
14
        <meta name="keywords" content="Tela Botanica, photographie, CEL" />
14
        <meta name="keywords" content="Tela Botanica, photographie, CEL" />
15
        <meta name="description" content="Widget de présentation des dernières photo publiées sur le Carnet en Ligne de Tela Botanica" />
15
        <meta name="description" content="Widget de présentation des dernières photo publiées sur le Carnet en Ligne de Tela Botanica" />
16
 
16
 
17
		<!-- OpenGraph pour Facebook, Pinterest, Google+ -->
17
		<!-- OpenGraph pour Facebook, Pinterest, Google+ -->
18
		<meta property="og:type" content="website" />
18
		<meta property="og:type" content="website" />
19
		<meta property="og:title" content="Widget photo du CeL" />
19
		<meta property="og:title" content="Widget photo du CeL" />
20
		<meta property="og:site_name" content="Tela Botanica" />
20
		<meta property="og:site_name" content="Tela Botanica" />
21
		<meta property="og:description" content="Mini-galerie photo des observations publiques du Carnet en Ligne" />
21
		<meta property="og:description" content="Mini-galerie photo des observations publiques du Carnet en Ligne" />
22
		<?php if (isset($items[0])) : ?>
22
		<?php if (isset($items[0])) : ?>
23
			<meta property="og:image" content="<?php echo sprintf($items[0]['url_tpl'], 'CRS'); ?>" />
23
			<meta property="og:image" content="<?php echo sprintf($items[0]['url_tpl'], 'CRS'); ?>" />
24
		<?php else : ?>
24
		<?php else : ?>
25
			<meta property="og:image" content="https://resources.tela-botanica.org/tb/img/256x256/carre_englobant.png" />
25
			<meta property="og:image" content="https://resources.tela-botanica.org/tb/img/256x256/carre_englobant.png" />
26
			<meta property="og:image:type" content="image/png" />
26
			<meta property="og:image:type" content="image/png" />
27
			<meta property="og:image:width" content="256" />
27
			<meta property="og:image:width" content="256" />
28
			<meta property="og:image:height" content="256" />
28
			<meta property="og:image:height" content="256" />
29
		<?php endif; ?>
29
		<?php endif; ?>
30
		<meta property="og:locale" content="fr_FR" />
30
		<meta property="og:locale" content="fr_FR" />
31
 
31
 
32
		<!-- Spécial mobile -->
32
		<!-- Spécial mobile -->
33
		<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
33
		<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
34
 
34
 
35
		<!-- Favicones -->
35
		<!-- Favicones -->
36
		<link rel="icon" type="image/png" href="https://resources.tela-botanica.org/tb/img/16x16/favicon.png" />
36
		<link rel="icon" type="image/png" href="https://resources.tela-botanica.org/tb/img/16x16/favicon.png" />
37
		<link rel="shortcut icon" type="image/x-icon" href="https://resources.tela-botanica.org/tb/img/16x16/favicon.ico" />
37
		<link rel="shortcut icon" type="image/x-icon" href="https://resources.tela-botanica.org/tb/img/16x16/favicon.ico" />
38
		<!-- Jquery-ui custom css-->
38
		<!-- Jquery-ui custom css-->
39
		<link href="https://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.18/css/smoothness/jquery-ui-1.8.18.custom.css" rel="stylesheet" type="text/css" media="screen" />
39
		<link href="https://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.18/css/smoothness/jquery-ui-1.8.18.custom.css" rel="stylesheet" type="text/css" media="screen" />
40
		<!-- Bootstrap CSS -->
40
		<!-- Bootstrap CSS -->
41
		<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous" />
41
		<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous" />
42
		<!-- Fontawesome -->
42
		<!-- Fontawesome -->
43
		<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous" />
43
		<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous" />
44
		<!-- Leaflet -->
44
		<!-- Leaflet -->
45
		<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A==" crossorigin=""/>
45
		<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A==" crossorigin=""/>
46
 
46
 
47
		<!-- Feuilles de styles -->
47
		<!-- Feuilles de styles -->
48
		<link rel="stylesheet" type="text/css" href="<?php echo $url_css; ?>photo.css" media="screen" />
48
		<link rel="stylesheet" type="text/css" href="<?php echo $url_css; ?>photo.css" media="screen" />
49
		<link rel="stylesheet" type="text/css" href="<?php echo $url_css; ?>popup.css" media="screen" />
49
		<link rel="stylesheet" type="text/css" href="<?php echo $url_css; ?>popup.css" media="screen" />
50
		<link rel="stylesheet" type="text/css" href="<?php echo $url_css; ?>contact.css" media="screen" />
50
		<link rel="stylesheet" type="text/css" href="<?php echo $url_css; ?>contact.css" media="screen" />
51
		<link rel="stylesheet" type="text/css" href="<?php echo $url_css; ?>photoCommun.css" media="screen" />
51
		<link rel="stylesheet" type="text/css" href="<?php echo $url_css; ?>photoCommun.css" media="screen" />
52
		<style type="text/css">
52
		<style type="text/css">
53
			<?php $dimention_basique = floor(93/$colonne);?>
53
			<?php $dimention_basique = floor(93/$colonne);?>
54
			#cel-photo-contenu<?php echo $id; ?> .grid-sizer,
54
			#cel-photo-contenu<?php echo $id; ?> .grid-sizer,
55
			#cel-photo-contenu<?php echo $id; ?> .grid-item {
55
			#cel-photo-contenu<?php echo $id; ?> .grid-item {
56
				width: <?php echo $dimention_basique; ?>vw;
56
				width: <?php echo $dimention_basique; ?>vw;
57
			}
57
			}
58
 
58
 
59
			#cel-photo-contenu<?php echo $id; ?> .grid-item {
59
			#cel-photo-contenu<?php echo $id; ?> .grid-item {
60
				height: <?php echo $dimention_basique; ?>vw;
60
				height: <?php echo $dimention_basique; ?>vw;
61
			}
61
			}
62
 
62
 
63
			#cel-photo-contenu<?php echo $id; ?> .grid-item--width2 {
63
			#cel-photo-contenu<?php echo $id; ?> .grid-item--width2 {
64
				width: <?php echo ($dimention_basique*2)+1; ?>vw;
64
				width: <?php echo ($dimention_basique*2)+1; ?>vw;
65
			}
65
			}
66
 
66
 
67
			#cel-photo-contenu<?php echo $id; ?> .grid-item--height2 {
67
			#cel-photo-contenu<?php echo $id; ?> .grid-item--height2 {
68
				height: <?php echo number_format((($dimention_basique*2)+0.99),2); ?>vw;
68
				height: <?php echo number_format((($dimention_basique*2)+0.99),2); ?>vw;
69
			}
69
			}
70
		</style>
70
		</style>
71
		<!-- Javascript : bibliothèques -->
71
		<!-- Javascript : bibliothèques -->
72
		<!-- Jquery -->
72
		<!-- Jquery -->
73
		<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/1.11.1/jquery-1.11.1.min.js"></script>
73
		<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/1.11.1/jquery-1.11.1.min.js"></script>
74
 
74
 
75
		<!-- Jquery UI : nécessaire pour le minicalendrier et l'auto-complétion -->
75
		<!-- Jquery UI : nécessaire pour le minicalendrier et l'auto-complétion -->
76
		<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/jquery-ui/1.11.0/js/jquery-ui.min.js"></script>
76
		<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/jquery-ui/1.11.0/js/jquery-ui.min.js"></script>
77
		<!-- Jquery Plugins -->
77
		<!-- Jquery Plugins -->
78
		<!-- Jquery Validate : nécessaire pour la validation des formulaires -->
78
		<!-- Jquery Validate : nécessaire pour la validation des formulaires -->
79
		<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/jquery.validate.min.js"></script>
79
		<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/jquery.validate.min.js"></script>
80
		<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/additional-methods.min.js"></script>
80
		<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/additional-methods.min.js"></script>
81
		<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/messages_fr.js"></script>
81
		<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/messages_fr.js"></script>
82
		<!-- Jquery Form :nécessaire pour l'upload des images -->
82
		<!-- Jquery Form :nécessaire pour l'upload des images -->
83
		<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/form/3.51/jquery.form.min.js"></script>
83
		<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/form/3.51/jquery.form.min.js"></script>
84
		<!-- Bootstrap -->
84
		<!-- Bootstrap -->
85
		<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
85
		<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
86
		<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
86
		<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
87
		<!-- Masonry -->
87
		<!-- Masonry -->
88
		<script src="<?php echo $url_js; ?>masonry.pkgd.js"></script>
88
		<script src="<?php echo $url_js; ?>masonry.pkgd.js"></script>
89
		<!-- Leaflet -->
89
		<!-- Leaflet -->
90
		<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js" integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA==" crossorigin=""></script>
90
		<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js" integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA==" crossorigin=""></script>
91
 
91
 
92
		<!-- Script WidgetPhoto -->
92
		<!-- Script WidgetPhoto -->
93
		<script type="text/Javascript" src="<?php echo $url_js; ?>WidgetPhotoCommun.js"></script>
93
		<script type="text/Javascript" src="<?php echo $url_js; ?>WidgetPhotoCommun.js"></script>
94
		<script type="text/Javascript" src="<?php echo $url_js; ?>WidgetPhoto.js"></script>
94
		<script type="text/Javascript" src="<?php echo $url_js; ?>WidgetPhoto.js"></script>
95
		<script type="text/javascript" src="<?php echo $url_js; ?>WidgetPhotoPopup.js"></script>
95
		<script type="text/javascript" src="<?php echo $url_js; ?>WidgetPhotoPopup.js"></script>
96
		<script type="text/javascript" src="<?php echo $url_js; ?>WidgetPhotoContact.js"></script>
96
		<script type="text/javascript" src="<?php echo $url_js; ?>WidgetPhotoContact.js"></script>
97
 
97
 
98
		<!--  Google Analytics -->
98
		<!--  Google Analytics -->
99
		<?php if($prod): ?>
99
		<?php if($prod): ?>
100
			<?php include "analytics.html"; ?>
100
			<?php include "analytics.html"; ?>
101
		<?php endif; ?>
101
		<?php endif; ?>
102
	</head>
102
	</head>
103
	<body style="margin: 0">
103
	<body style="margin: 0">
104
		<!-- WIDGET:CEL:PHOTO - DEBUT -->
104
		<!-- WIDGET:CEL:PHOTO - DEBUT -->
105
		<div id="cel-photo-contenu<?php echo $id; ?>" class="cel-photo-contenu">
105
		<div id="cel-photo-contenu<?php echo $id; ?>" class="cel-photo-contenu">
106
		<?php if (isset($erreurs) || isset($informations)) : ?>
106
		<?php if (isset($erreurs) || isset($informations)) : ?>
107
			<h1>Erreur &amp; informations</h1>
107
			<h1>Erreur &amp; informations</h1>
108
			<p>Impossible d'afficher le flux.</p>
108
			<p>Impossible d'afficher le flux.</p>
109
			<!-- Affichage des erreurs et messages d'information : -->
109
			<!-- Affichage des erreurs et messages d'information : -->
110
			<?php if ($erreurs) : ?>
110
			<?php if ($erreurs) : ?>
111
				<?php foreach ($erreurs as $erreur) : ?>
111
				<?php foreach ($erreurs as $erreur) : ?>
112
					<p class="erreur"><?php echo $erreur; ?></p>
112
					<p class="erreur"><?php echo $erreur; ?></p>
113
				<?php endforeach; ?>
113
				<?php endforeach; ?>
114
			<?php endif; ?>
114
			<?php endif; ?>
115
 
115
 
116
			<?php if ($informations) : ?>
116
			<?php if ($informations) : ?>
117
				<?php foreach ($informations as $information) : ?>
117
				<?php foreach ($informations as $information) : ?>
118
					<p class="info"><?php echo $information; ?></p>
118
					<p class="info"><?php echo $information; ?></p>
119
				<?php endforeach; ?>
119
				<?php endforeach; ?>
120
			<?php endif; ?>
120
			<?php endif; ?>
121
		<?php else : ?>
121
		<?php else : ?>
122
		 	<h1>
122
		 	<h1>
123
		 		<?php if (!empty($titre)) : ?>
123
		 		<?php if (!empty($titre)) : ?>
124
		 			<?php echo $titre; ?>
124
		 			<?php echo $titre; ?>
125
		 		<?php endif ; ?>
125
		 		<?php endif ; ?>
126
		 		<?php if($icone_rss) : ?>
126
		 		<?php if($icone_rss) : ?>
127
		 		<a href="<?php echo $flux_rss_url; ?>"
127
		 		<a href="<?php echo $flux_rss_url; ?>"
128
					class="cel-photo-flux"
128
					class="cel-photo-flux"
129
					title="Suivre les images"
129
					title="Suivre les images"
130
					onclick="window.open(this.href);return false;">
130
					onclick="window.open(this.href);return false;">
131
					<img src="https://www.tela-botanica.org/sites/commun/generique/images/rss.png" alt="Suivre les images" />
131
					<img src="https://www.tela-botanica.org/sites/commun/generique/images/rss.png" alt="Suivre les images" />
132
				</a>
132
				</a>
133
				<?php endif; ?>
133
				<?php endif; ?>
134
		 	</h1>
134
		 	</h1>
135
		 	<?php if (!empty($champ_recherche)) : ?>
135
		 	<?php if (!empty($champ_recherche)) : ?>
136
		 		<form id="form-recherche<?php echo $id; ?>" class="form-recherche container" action="">
136
		 		<form id="form-recherche<?php echo $id; ?>" class="form-recherche container" action="">
137
			 		<div id="bloc-recherche<?php echo $id; ?>" class="bloc-recherche form-inline d-flex justify-content-center w-100">
137
			 		<div id="bloc-recherche<?php echo $id; ?>" class="bloc-recherche form-inline d-flex justify-content-center w-100">
138
			 			<input type="text" id="champ-recherche<?php echo $id; ?>" name="champ-recherche<?php echo $id; ?>" class="recherche form-control mr-1" placeholder="Votre recherche">
138
			 			<input type="text" id="champ-recherche<?php echo $id; ?>" name="champ-recherche<?php echo $id; ?>" class="recherche form-control mr-1" placeholder="Votre recherche">
139
			 			<input type="hidden" id="filtres<?php echo $id; ?>" name="filtres<?php echo $id; ?>">
139
			 			<input type="hidden" id="filtres<?php echo $id; ?>" name="filtres<?php echo $id; ?>">
140
			 			<a id="bouton-rechercher<?php echo $id; ?>" class="btn btn-success bouton-rechercher mr-1"><i class="fas fa-search"></i>&nbsp;Rechercher</a>
140
			 			<a id="bouton-rechercher<?php echo $id; ?>" class="btn btn-success bouton-rechercher mr-1"><i class="fas fa-search"></i>&nbsp;Rechercher</a>
141
			 			<a id="bouton-plus-filtres<?php echo $id; ?>" class="btn btn-outline-secondary bouton-plus-filtres">
141
			 			<a id="bouton-plus-filtres<?php echo $id; ?>" class="btn btn-outline-secondary bouton-plus-filtres">
142
			 				<span class="plus">
142
			 				<span class="plus">
143
			 					<i class="fas fa-chevron-down"></i>&nbsp;Plus&nbsp;de&nbsp;filtres
143
			 					<i class="fas fa-chevron-down"></i>&nbsp;Plus&nbsp;de&nbsp;filtres
144
			 				</span>
144
			 				</span>
145
			 				<span class="moins hidden">
145
			 				<span class="moins hidden">
146
			 					<i class="fas fa-chevron-up"></i>&nbsp;Fermer&nbsp;les&nbsp;filtres
146
			 					<i class="fas fa-chevron-up"></i>&nbsp;Fermer&nbsp;les&nbsp;filtres
147
			 				</span>
147
			 				</span>
148
		 				</a>
148
		 				</a>
149
			 		</div>
149
			 		</div>
150
		 			<div id="autres-filtres<?php echo $id; ?>" class="autres-filtres row hidden">
150
		 			<div id="autres-filtres<?php echo $id; ?>" class="autres-filtres row hidden">
151
		 				<a id="bouton-fermer-filtres<?php echo $id; ?>" class="btn bouton-fermer-filtres"><i class="fas fa-times"></i></a>
151
		 				<a id="bouton-fermer-filtres<?php echo $id; ?>" class="btn bouton-fermer-filtres"><i class="fas fa-times"></i></a>
152
						<div id="bloc-filtres-gauche" class="bloc-filtres bloc-filtres-gauche col-lg-6">
152
						<div id="bloc-filtres-gauche" class="bloc-filtres bloc-filtres-gauche col-lg-6">
153
							<div class="row bloc-taxon bloc-filtre">
153
							<div class="row bloc-taxon bloc-filtre">
154
								<label for="taxon">Taxon</label>
154
								<label for="taxon">Taxon</label>
155
								<input type="text" id="taxon" name="taxon" class="form-control">
155
								<input type="text" id="taxon" name="taxon" class="form-control">
156
							</div>
156
							</div>
157
							<div class="row bloc-referentiel bloc-filtre">
157
							<div class="row bloc-referentiel bloc-filtre">
158
								<label for="referentiel">Référentiel</label>
158
								<label for="referentiel">Référentiel</label>
159
								<select name="referentiel" id="referentiel" class="custom-select form-control referentiel">
159
								<select name="referentiel" id="referentiel" class="custom-select form-control referentiel">
160
									<option value="bdtfxr" selected="selected" title="Trachéophytes de France métropolitaine">Métropole (index réduit)</option>
160
									<option value="bdtfxr" selected="selected" title="Trachéophytes de France métropolitaine">Métropole (index réduit)</option>
161
									<option value="bdtfx" title="Trachéophytes de France métropolitaine">Métropole (BDTFX)</option>
161
									<option value="bdtfx" title="Trachéophytes de France métropolitaine">Métropole (BDTFX)</option>
162
									<option value="bdtxa" title="Trachéophytes des Antilles">Antilles françaises (BDTXA)</option>
162
									<option value="bdtxa" title="Trachéophytes des Antilles">Antilles françaises (BDTXA)</option>
163
									<option value="bdtre" title="Trachéophytes de La Réunion">Réunion (BDTRE)</option>
163
									<option value="bdtre" title="Trachéophytes de La Réunion">Réunion (BDTRE)</option>
164
									<option value="aublet" title="Guyane">Guyane (AUBLET2)</option>
164
									<option value="aublet" title="Guyane">Guyane (AUBLET2)</option>
165
									<option value="florical" title="Nouvelle-Calédonie">Nouvelle-Calédonie (FLORICAL)</option>
165
									<option value="florical" title="Nouvelle-Calédonie">Nouvelle-Calédonie (FLORICAL)</option>
166
									<option value="isfan" title="Afrique du Nord">Afrique du Nord (ISFAN)</option>
166
									<option value="isfan" title="Afrique du Nord">Afrique du Nord (ISFAN)</option>
167
									<option value="apd" title="Afrique de l'Ouest et du Centre">Afrique de l'Ouest et du Centre (APD)</option>
167
									<option value="apd" title="Afrique de l'Ouest et du Centre">Afrique de l'Ouest et du Centre (APD)</option>
168
									<option value="lbf" title="Liban">Liban (LBF)</option>
168
									<option value="lbf" title="Liban">Liban (LBF)</option>
169
									<option value="autre" title="Autre/Inconnu">Autre/Inconnu</option>
169
									<option value="autre" title="Autre/Inconnu">Autre/Inconnu</option>
170
								</select>
170
								</select>
171
							</div>
171
							</div>
172
							<div class="bloc-periode bloc-filtre">
172
							<div class="bloc-periode bloc-filtre">
173
								<label for="periode" class="d-block">Date (début-fin)</label>
173
								<label for="periode" class="d-block">Date (début-fin)</label>
174
								<div class="form-row">
174
								<div class="form-row">
175
									<div class="form-group mb-lg-0 mb-1 col">
175
									<div class="form-group mb-lg-0 mb-1 col">
176
										<input type="date" id="periode-debut" name="periode-debut" class="form-control">
176
										<input type="date" id="periode-debut" name="periode-debut" class="form-control">
177
									</div>
177
									</div>
178
									<div class="form-group mb-0 col">
178
									<div class="form-group mb-0 col">
179
										<input type="date" id="periode-fin" name="periode-fin" class="form-control">
179
										<input type="date" id="periode-fin" name="periode-fin" class="form-control">
180
									</div>
180
									</div>
181
								</div>
181
								</div>
182
								<input type="hidden" id="periode" name="periode">
182
								<input type="hidden" id="periode" name="periode">
183
							</div>
183
							</div>
184
							<div class="row  bloc-localite bloc-filtre">
184
							<div class="row  bloc-localite bloc-filtre">
185
								<label for="localite">Localité</label>
185
								<label for="localite">Localité</label>
186
								<input type="text" id="localite" name="localite" class="form-control">
186
								<input type="text" id="localite" name="localite" class="form-control">
187
							</div>
187
							</div>
188
							<div class="row  bloc- bloc-filtre">
188
							<div class="row  bloc- bloc-filtre">
189
								<label for="departement">Département</label>
189
								<label for="departement">Département</label>
190
								<input type="text" id="departement" name="departement" class="form-control" placeholder="Numéros (séparés par des virgules)">
190
								<input type="text" id="departement" name="departement" class="form-control" placeholder="Numéros (séparés par des virgules)">
191
							</div>
191
							</div>
192
							<div class="row  bloc- bloc-filtre">
192
							<div class="row  bloc- bloc-filtre">
193
								<label for="pays">Pays</label>
193
								<label for="pays">Pays</label>
194
								<input type="text" id="pays" name="pays" class="form-control">
194
								<input type="text" id="pays" name="pays" class="form-control">
195
							</div>
195
							</div>
196
						</div>
196
						</div>
197
						<div id="bloc-filtres-droite" class="bloc-filtres bloc-filtres-droite col-lg-6">
197
						<div id="bloc-filtres-droite" class="bloc-filtres bloc-filtres-droite col-lg-6">
198
							<div class="row  bloc- bloc-filtre">
198
							<div class="row  bloc- bloc-filtre">
199
								<label for="auteur">Auteur</label>
199
								<label for="auteur">Auteur</label>
200
								<input type="text" id="auteur" name="auteur" class="form-control" placeholder="Nom, email">
200
								<input type="text" id="auteur" name="auteur" class="form-control" placeholder="Nom, email">
201
							</div>
201
							</div>
202
							<div class="row  bloc- bloc-filtre">
202
							<div class="row  bloc- bloc-filtre">
203
								<label for="programme">Programme</label>
203
								<label for="programme">Programme</label>
204
								<input type="text" id="programme" name="programme" class="form-control">
204
								<input type="text" id="programme" name="programme" class="form-control">
205
							</div>
205
							</div>
206
							<div class="row  bloc- bloc-filtre">
206
							<div class="row  bloc- bloc-filtre">
207
								<label for="tags">Tags (tous)</label>
207
								<label for="tags">Tags (tous)</label>
208
								<input type="text" id="tags" name="tags" class="form-control">
208
								<input type="text" id="tags" name="tags" class="form-control">
209
							</div>
209
							</div>
210
							<div class="list bloc-photos-affichees bloc-filtre mt-3">
210
							<div class="list bloc-photos-affichees bloc-filtre mt-3">
211
								<div class="form-check mt-3">
211
								<div class="form-check mt-3">
212
									<input type="checkbox" id="non-standards" name="photos-affichees" class="non-standards form-check-input" value="non-standards">
212
									<input type="checkbox" id="non-standards" name="photos-affichees" class="non-standards form-check-input" value="non-standards">
213
									<label for="non-standards" class="non-standards form-check-label">Afficher les photos des observations non "standards"</label>
213
									<label for="non-standards" class="non-standards form-check-label">Afficher les photos des observations non "standards"</label>
214
								</div>
214
								</div>
215
								<div class="form-check mt-3">
215
								<div class="form-check mt-3">
216
									<input type="checkbox" id="indesirables" name="photos-affichees" class="indesirables form-check-input" value="indesirables">
216
									<input type="checkbox" id="indesirables" name="photos-affichees" class="indesirables form-check-input" value="indesirables">
217
									<label for="indesirables" class="indesirables form-check-label">Afficher les photos signalées comme indésirables</label>
217
									<label for="indesirables" class="indesirables form-check-label">Afficher les photos signalées comme indésirables</label>
218
								</div>
218
								</div>
219
								<div class="form-check mt-3">
219
								<div class="form-check mt-3">
220
									<input type="checkbox" id="smartphone-anonyme" name="photos-affichees" class="smartphone-anonyme form-check-input" value="smartphone-anonyme">
220
									<input type="checkbox" id="smartphone-anonyme" name="photos-affichees" class="smartphone-anonyme form-check-input" value="smartphone-anonyme">
221
									<label for="smartphone-anonyme" class="smartphone-anonyme form-check-label">Afficher les photos des observations smartphone anonyme</label>
221
									<label for="smartphone-anonyme" class="smartphone-anonyme form-check-label">Afficher les photos des observations smartphone anonyme</label>
222
								</div>
222
								</div>
223
							</div>
223
							</div>
224
						</div>
224
						</div>
225
		 			</div>
225
		 			</div>
226
			 	</form>
226
			 	</form>
227
		 	<?php endif ; ?>
227
		 	<?php endif ; ?>
228
			<div id="cel-galerie-photo<?php echo $id; ?>" class="cel-galerie-photo">
228
			<div id="cel-galerie-photo<?php echo $id; ?>" class="cel-galerie-photo">
229
				<div class="grid-sizer"></div>
229
				<div class="grid-sizer"></div>
230
				<?php foreach ($items as $i => $item) : ?>
230
				<?php foreach ($items as $i => $item) : ?>
231
					<?php
231
					<?php
232
						$dimention_img = 'CRS';
232
						$dimention_img = 'CRS';
233
						$class_extra = '';
233
						$class_extra = '';
234
					?>
234
					?>
235
					<?php if ( $i === 0 && $extra_actif ) : ?>
235
					<?php if ( $i === 0 && $extra_actif ) : ?>
236
						<?php
236
						<?php
237
							$dimention_img = 'CRL';
237
							$dimention_img = 'CRL';
238
							$class_extra = ' grid-item--width2 grid-item--height2';
238
							$class_extra = ' grid-item--width2 grid-item--height2';
239
						?>
239
						?>
240
					<?php endif; ?>
240
					<?php endif; ?>
241
					<div class="cel-photo grid-item <?php echo $class_extra; ?>">
241
					<div class="cel-photo grid-item <?php echo $class_extra; ?>">
242
						<a href="<?php echo sprintf($item['url_tpl'], 'O'); ?>" class="cel-img" title="<?php echo $item['titre']; ?> - Publiée le <?php echo $item['date_redige']; ?> - GUID : <?php echo $item['id_photo_formate']; ?>" rel="galerie-princ<?php echo $id; ?>">
242
						<a href="<?php echo sprintf($item['url_tpl'], 'O'); ?>" class="cel-img" title="<?php echo $item['titre']; ?> - Publiée le <?php echo $item['date_redige']; ?> - GUID : <?php echo $item['id_photo_formate']; ?>" rel="galerie-princ<?php echo $id; ?>">
243
							<img src="<?php echo sprintf($item['url_tpl'], $dimention_img); ?>" alt="<?php echo $item['titre']; ?>">
243
							<img src="<?php echo sprintf($item['url_tpl'], $dimention_img); ?>" alt="<?php echo $item['titre']; ?>">
244
						</a>
244
						</a>
245
						<div id="cel-info-<?php echo $item['id_photo_formate']; ?>" class="cel-infos">
245
						<div id="cel-info-<?php echo $item['id_photo_formate']; ?>" class="cel-infos">
246
							<strong>
246
							<strong>
247
								<?php if (!empty($item['lien'])) : ?>
247
								<?php if (!empty($item['lien'])) : ?>
248
									<a class="cel-img-titre" href="<?php echo $item['lien']; ?>"
248
									<a class="cel-img-titre" href="<?php echo $item['lien']; ?>"
249
										onclick="window.open(this.href);return false;"
249
										onclick="window.open(this.href);return false;"
250
										title="Cliquez pour accéder à la fiche eFlore">
250
										title="Cliquez pour accéder à la fiche eFlore">
251
										<?php echo $item['obs']['nom_sel']; ?>
251
										<?php echo $item['obs']['nom_sel']; ?>
252
									</a><br />
252
									</a><br />
253
									par
253
									par
254
									<a class="cel-img-contact"
254
									<a class="cel-img-contact"
255
										href="?mode=contact&nn=<?php echo urlencode($item['obs']['nom_sel_nn']); ?>&nom_sci=<?php echo urlencode($item['obs']['nom_sel']); ?>&date=<?php echo urlencode($item['date']); ?>&id_image=<?php echo $item['id_photo_formate']; ?>&auteur=<?php echo $item['utilisateur']['nom_utilisateur']; ?>"
255
										href="?mode=contact&nn=<?php echo urlencode($item['obs']['nom_sel_nn']); ?>&nom_sci=<?php echo urlencode($item['obs']['nom_sel']); ?>&date=<?php echo urlencode($item['date']); ?>&id_image=<?php echo $item['id_photo_formate']; ?>&auteur=<?php echo $item['utilisateur']['nom_utilisateur']; ?>"
256
										title="Cliquez pour contacter l'auteur de la photo">
256
										title="Cliquez pour contacter l'auteur de la photo">
257
										<?php echo $item['utilisateur']['nom_utilisateur']; ?>
257
										<?php echo $item['utilisateur']['nom_utilisateur']; ?>
258
									</a>
258
									</a>
259
								<?php else : ?>
259
								<?php else : ?>
260
									<?php echo $item['titre']; ?>
260
									<?php echo $item['titre']; ?>
261
								<?php endif; ?>
261
								<?php endif; ?>
262
							</strong>
262
							</strong>
263
						</div>
263
						</div>
264
					</div>
264
					</div>
265
				<?php endforeach; ?>
265
				<?php endforeach; ?>
266
				<div id="next-previous-buttons">
266
				<div id="next-previous-buttons">
267
					<?php if (0 <= ($start - $limit)): ?>
267
					<?php if (0 < $start): ?>
268
						<a id="bouton-photos-precedentes" href="<?php echo $url_widget_photos_precedente;?>" class="btn btn-success"><i class="fas fa-backward"></i>&nbsp;Photos precedentes</a>
268
						<a id="bouton-photos-precedentes" href="<?php echo $url_widget_photos_precedente;?>" class="btn btn-success"><i class="fas fa-backward"></i>&nbsp;Photos precedentes</a>
269
					<?php endif;?>
269
					<?php endif;?>
270
 
270
 
271
					<?php if ($total > ($start + $limit)): ?>
271
					<?php if ($total > ($start + $limit)): ?>
272
						<a id="bouton-photos-suivantes" href="<?php echo $url_widget_photos_suivantes;?>" class="btn btn-success"><i class="fas fa-forward"></i>&nbsp;Photos suivantes</a>
272
						<a id="bouton-photos-suivantes" href="<?php echo $url_widget_photos_suivantes;?>" class="btn btn-success"><i class="fas fa-forward"></i>&nbsp;Photos suivantes</a>
273
					<?php else :?>
273
					<?php else :?>
274
						<div class="alert alert-secondary mt-0 ml-1" role="alert" style="display: inline-block;">Toutes les photos disponibles, correspondant à vos critères, ont été affichées</div>
274
						<div class="alert alert-secondary mt-0 ml-1" role="alert" style="display: inline-block;">Toutes les photos disponibles, correspondant à vos critères, ont été affichées</div>
275
					<?php endif;?>
275
					<?php endif;?>
276
				</div>
276
				</div>
277
			</div>
277
			</div>
278
			<p class="cel-photo-pieds discretion nettoyage">
278
			<p class="cel-photo-pieds discretion nettoyage">
279
				<span class="cel-photo-source">
279
				<span class="cel-photo-source">
280
					Source :
280
					Source :
281
					<a href="http://www.tela-botanica.org/page:cel" title="Carnet en Ligne" onclick="window.open(this.href);return false;">
281
					<a href="http://www.tela-botanica.org/page:cel" title="Carnet en Ligne" onclick="window.open(this.href);return false;">
282
				 		CEL
282
				 		CEL
283
				 	</a>
283
				 	</a>
284
			 	</span>
284
			 	</span>
285
			 	<span class="cel-photo-date-generation">Au <?php echo strftime('%A %d %B %Y à %H:%M:%S'); ?></span>
285
			 	<span class="cel-photo-date-generation">Au <?php echo strftime('%A %d %B %Y à %H:%M:%S'); ?></span>
286
			 </p>
286
			 </p>
287
 
287
 
288
	   	<?php endif; ?>
288
	   	<?php endif; ?>
289
		</div>
289
		</div>
290
		<!-- modale -->
290
		<!-- modale -->
291
		<div id="fenetre-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="fenetre-modal-label" style="display: none;" aria-hidden="true">
291
		<div id="fenetre-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="fenetre-modal-label" style="display: none;" aria-hidden="true">
292
			<div class="modal-dialog modal-dialog-centered" role="document">
292
			<div class="modal-dialog modal-dialog-centered" role="document">
293
				<div class="modal-content">
293
				<div class="modal-content">
294
					<div class="modal-header">
294
					<div class="modal-header">
295
						<h5 class="modal-title" id="fenetre-modal-label"></h5>
295
						<h5 class="modal-title" id="fenetre-modal-label"></h5>
296
						<button type="button" class="close btn btn-sm btn-secondary" data-dismiss="modal" aria-label="Close">
296
						<button type="button" class="close btn btn-sm btn-secondary" data-dismiss="modal" aria-label="Close">
297
							<span aria-hidden="true">&times;</span>
297
							<span aria-hidden="true">&times;</span>
298
						</button>
298
						</button>
299
					</div>
299
					</div>
300
					<div class="modal-body row" id="print_content"></div>
300
					<div class="modal-body row" id="print_content"></div>
301
					<div class="modal-footer hidden"></div>
301
					<div class="modal-footer hidden"></div>
302
				</div>
302
				</div>
303
			</div>
303
			</div>
304
		</div>
304
		</div>
305
		<!-- WIDGET:CEL:PHOTO - FIN -->
305
		<!-- WIDGET:CEL:PHOTO - FIN -->
306
		<script type="text/Javascript">
306
		<script type="text/Javascript">
307
			//<![CDATA[
307
			//<![CDATA[
308
				var widgetProp = {
308
				var widgetProp = {
309
					'id'              : "<?php echo $id; ?>",
309
					'id'              : "<?php echo $id; ?>",
310
					'galerieId'       : "<?php echo $galerie_id; ?>"
310
					'galerieId'       : "<?php echo $galerie_id; ?>"
311
				};
311
				};
312
 
312
 
313
				$( document ).ready( function() {
313
				$( document ).ready( function() {
314
					photo = new WidgetPhoto( widgetProp );
314
					photo = new WidgetPhoto( widgetProp );
315
					photo.init();
315
					photo.init();
316
				});
316
				});
317
			//]]>
317
			//]]>
318
		</script>
318
		</script>
319
	</body>
319
	</body>
320
</html>
320
</html>