580 |
jpm |
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">
|
|
|
3 |
<head>
|
|
|
4 |
<title>Photographies publiques du CEL - Tela Botanica</title>
|
3630 |
idir |
5 |
|
580 |
jpm |
6 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
|
|
|
7 |
<meta http-equiv="Content-style-type" content="text/css" />
|
|
|
8 |
<meta http-equiv="Content-script-type" content="text/javascript" />
|
|
|
9 |
<meta http-equiv="Content-language" content="fr" />
|
3630 |
idir |
10 |
|
580 |
jpm |
11 |
<meta name="revisit-after" content="15 days" />
|
|
|
12 |
<meta name="robots" content="index,follow" />
|
2516 |
mathias |
13 |
<meta name="author" content="Tela Botanica" />
|
580 |
jpm |
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" />
|
|
|
16 |
|
2515 |
mathias |
17 |
<!-- OpenGraph pour Facebook, Pinterest, Google+ -->
|
|
|
18 |
<meta property="og:type" content="website" />
|
|
|
19 |
<meta property="og:title" content="Widget photo du CeL" />
|
|
|
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" />
|
3823 |
idir |
22 |
<?php if (isset($items[0])) : ?>
|
3825 |
idir |
23 |
<meta property="og:image" content="<?php echo sprintf($items[0]['url_tpl'], 'CRS'); ?>" />
|
3823 |
idir |
24 |
<?php else : ?>
|
|
|
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" />
|
|
|
27 |
<meta property="og:image:width" content="256" />
|
|
|
28 |
<meta property="og:image:height" content="256" />
|
|
|
29 |
<?php endif; ?>
|
2515 |
mathias |
30 |
<meta property="og:locale" content="fr_FR" />
|
|
|
31 |
|
580 |
jpm |
32 |
<!-- Spécial mobile -->
|
|
|
33 |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
|
3630 |
idir |
34 |
|
580 |
jpm |
35 |
<!-- Favicones -->
|
2993 |
mathias |
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" />
|
3630 |
idir |
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" />
|
|
|
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" />
|
|
|
42 |
<!-- Fontawesome -->
|
3823 |
idir |
43 |
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous" />
|
|
|
44 |
<!-- Leaflet -->
|
|
|
45 |
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A==" crossorigin=""/>
|
3630 |
idir |
46 |
|
580 |
jpm |
47 |
<!-- Feuilles de styles -->
|
3630 |
idir |
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" />
|
|
|
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" />
|
583 |
jpm |
52 |
<style type="text/css">
|
3630 |
idir |
53 |
<?php $dimention_basique = floor(93/$colonne);?>
|
|
|
54 |
#cel-photo-contenu<?php echo $id; ?> .grid-sizer,
|
|
|
55 |
#cel-photo-contenu<?php echo $id; ?> .grid-item {
|
|
|
56 |
width: <?php echo $dimention_basique; ?>vw;
|
583 |
jpm |
57 |
}
|
3630 |
idir |
58 |
|
|
|
59 |
#cel-photo-contenu<?php echo $id; ?> .grid-item {
|
|
|
60 |
height: <?php echo $dimention_basique; ?>vw;
|
583 |
jpm |
61 |
}
|
3630 |
idir |
62 |
|
|
|
63 |
#cel-photo-contenu<?php echo $id; ?> .grid-item--width2 {
|
|
|
64 |
width: <?php echo ($dimention_basique*2)+1; ?>vw;
|
587 |
jpm |
65 |
}
|
3630 |
idir |
66 |
|
|
|
67 |
#cel-photo-contenu<?php echo $id; ?> .grid-item--height2 {
|
|
|
68 |
height: <?php echo number_format((($dimention_basique*2)+0.99),2); ?>vw;
|
587 |
jpm |
69 |
}
|
583 |
jpm |
70 |
</style>
|
587 |
jpm |
71 |
<!-- Javascript : bibliothèques -->
|
3630 |
idir |
72 |
<!-- Jquery -->
|
|
|
73 |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/1.11.1/jquery-1.11.1.min.js"></script>
|
2848 |
mathias |
74 |
|
3630 |
idir |
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>
|
|
|
77 |
<!-- Jquery Plugins -->
|
|
|
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>
|
|
|
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>
|
|
|
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>
|
|
|
84 |
<!-- Bootstrap -->
|
|
|
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>
|
|
|
87 |
<!-- Masonry -->
|
|
|
88 |
<script src="<?php echo $url_js; ?>masonry.pkgd.js"></script>
|
3823 |
idir |
89 |
<!-- Leaflet -->
|
|
|
90 |
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js" integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA==" crossorigin=""></script>
|
|
|
91 |
|
3630 |
idir |
92 |
<!-- Script WidgetPhoto -->
|
|
|
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>
|
|
|
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>
|
|
|
97 |
|
2848 |
mathias |
98 |
<!-- Google Analytics -->
|
|
|
99 |
<?php if($prod): ?>
|
|
|
100 |
<?php include "analytics.html"; ?>
|
|
|
101 |
<?php endif; ?>
|
580 |
jpm |
102 |
</head>
|
3829 |
idir |
103 |
<body style="margin: 0">
|
580 |
jpm |
104 |
<!-- WIDGET:CEL:PHOTO - DEBUT -->
|
3630 |
idir |
105 |
<div id="cel-photo-contenu<?php echo $id; ?>" class="cel-photo-contenu">
|
580 |
jpm |
106 |
<?php if (isset($erreurs) || isset($informations)) : ?>
|
|
|
107 |
<h1>Erreur & informations</h1>
|
|
|
108 |
<p>Impossible d'afficher le flux.</p>
|
|
|
109 |
<!-- Affichage des erreurs et messages d'information : -->
|
|
|
110 |
<?php if ($erreurs) : ?>
|
|
|
111 |
<?php foreach ($erreurs as $erreur) : ?>
|
3630 |
idir |
112 |
<p class="erreur"><?php echo $erreur; ?></p>
|
580 |
jpm |
113 |
<?php endforeach; ?>
|
|
|
114 |
<?php endif; ?>
|
3630 |
idir |
115 |
|
580 |
jpm |
116 |
<?php if ($informations) : ?>
|
|
|
117 |
<?php foreach ($informations as $information) : ?>
|
3630 |
idir |
118 |
<p class="info"><?php echo $information; ?></p>
|
580 |
jpm |
119 |
<?php endforeach; ?>
|
|
|
120 |
<?php endif; ?>
|
|
|
121 |
<?php else : ?>
|
|
|
122 |
<h1>
|
3630 |
idir |
123 |
<?php if (!empty($titre)) : ?>
|
|
|
124 |
<?php echo $titre; ?>
|
|
|
125 |
<?php endif ; ?>
|
|
|
126 |
<?php if($icone_rss) : ?>
|
|
|
127 |
<a href="<?php echo $flux_rss_url; ?>"
|
|
|
128 |
class="cel-photo-flux"
|
|
|
129 |
title="Suivre les images"
|
580 |
jpm |
130 |
onclick="window.open(this.href);return false;">
|
2993 |
mathias |
131 |
<img src="https://www.tela-botanica.org/sites/commun/generique/images/rss.png" alt="Suivre les images" />
|
580 |
jpm |
132 |
</a>
|
3630 |
idir |
133 |
<?php endif; ?>
|
583 |
jpm |
134 |
</h1>
|
3829 |
idir |
135 |
<?php if (!empty($champ_recherche)) : ?>
|
|
|
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">
|
3960 |
julien |
138 |
<input type="text" id="champ-recherche<?php echo $id; ?>"
|
|
|
139 |
name="champ-recherche<?php echo $id; ?>" class="recherche form-control mr-1"
|
|
|
140 |
placeholder="Votre recherche" <?php echo('value="'.$filtres["recherche"].'"'); ?>>
|
3829 |
idir |
141 |
<input type="hidden" id="filtres<?php echo $id; ?>" name="filtres<?php echo $id; ?>">
|
|
|
142 |
<a id="bouton-rechercher<?php echo $id; ?>" class="btn btn-success bouton-rechercher mr-1"><i class="fas fa-search"></i> Rechercher</a>
|
|
|
143 |
<a id="bouton-plus-filtres<?php echo $id; ?>" class="btn btn-outline-secondary bouton-plus-filtres">
|
|
|
144 |
<span class="plus">
|
|
|
145 |
<i class="fas fa-chevron-down"></i> Plus de filtres
|
|
|
146 |
</span>
|
|
|
147 |
<span class="moins hidden">
|
|
|
148 |
<i class="fas fa-chevron-up"></i> Fermer les filtres
|
|
|
149 |
</span>
|
|
|
150 |
</a>
|
|
|
151 |
</div>
|
|
|
152 |
<div id="autres-filtres<?php echo $id; ?>" class="autres-filtres row hidden">
|
|
|
153 |
<a id="bouton-fermer-filtres<?php echo $id; ?>" class="btn bouton-fermer-filtres"><i class="fas fa-times"></i></a>
|
|
|
154 |
<div id="bloc-filtres-gauche" class="bloc-filtres bloc-filtres-gauche col-lg-6">
|
|
|
155 |
<div class="row bloc-taxon bloc-filtre">
|
|
|
156 |
<label for="taxon">Taxon</label>
|
3960 |
julien |
157 |
<input type="text" id="taxon" name="taxon" class="form-control"
|
|
|
158 |
<?php echo('value="'.$filtres["taxon"].'"'); ?>>
|
3829 |
idir |
159 |
</div>
|
|
|
160 |
<div class="row bloc-referentiel bloc-filtre">
|
|
|
161 |
<label for="referentiel">Référentiel</label>
|
|
|
162 |
<select name="referentiel" id="referentiel" class="custom-select form-control referentiel">
|
3960 |
julien |
163 |
<option value="bdtfxr"
|
|
|
164 |
<?php if($filtres["referentiel"] == "bdtfxr" || !$filtres["referentiel"]){
|
|
|
165 |
echo ('selected="selected"');}?> title="Trachéophytes de France métropolitaine">Métropole (index réduit)</option>
|
|
|
166 |
<option value="bdtfx" title="Trachéophytes de France métropolitaine"
|
|
|
167 |
<?php if($filtres["referentiel"] == "bdtfx"){
|
|
|
168 |
echo('selected="selected"');
|
|
|
169 |
}?>>Métropole (BDTFX)</option>
|
|
|
170 |
<option value="bdtxa" title="Trachéophytes des Antilles"
|
|
|
171 |
<?php if($filtres["referentiel"] == "bdtxa"){
|
|
|
172 |
echo('selected="selected"');
|
|
|
173 |
}?>>Antilles françaises
|
|
|
174 |
(BDTXA)</option>
|
|
|
175 |
<option value="bdtre" title="Trachéophytes de La Réunion"
|
|
|
176 |
<?php if($filtres["referentiel"] == "bdtxe"){
|
|
|
177 |
echo('selected="selected"');
|
|
|
178 |
}?>>Réunion (BDTRE)</option>
|
|
|
179 |
<option value="aublet" title="Guyane">Guyane (AUBLET2)
|
|
|
180 |
<?php if($filtres["referentiel"] == "aublet"){
|
|
|
181 |
echo('selected="selected"');
|
|
|
182 |
}?></option>
|
|
|
183 |
<option value="florical" title="Nouvelle-Calédonie">Nouvelle-Calédonie (FLORICAL)
|
|
|
184 |
<?php if($filtres["referentiel"] == "florical"){
|
|
|
185 |
echo('selected="selected"');
|
|
|
186 |
}?></option>
|
|
|
187 |
<option value="isfan" title="Afrique du Nord">Afrique du Nord (ISFAN)
|
|
|
188 |
<?php if($filtres["referentiel"] == "isfan"){
|
|
|
189 |
echo('selected="selected"');
|
|
|
190 |
}?></option>
|
|
|
191 |
<option value="apd" title="Afrique de l'Ouest et du Centre"
|
|
|
192 |
<?php if($filtres["referentiel"] == "apd"){
|
|
|
193 |
echo('selected="selected"');
|
|
|
194 |
}?>>Afrique de l'Ouest
|
|
|
195 |
et du Centre (APD)</option>
|
|
|
196 |
<option value="lbf" title="Liban" <?php if($filtres["referentiel"] == "lbf"){
|
|
|
197 |
echo('selected="selected"');
|
|
|
198 |
}?>>Liban (LBF)</option>
|
|
|
199 |
<option value="autre" title="Autre/Inconnu"
|
|
|
200 |
<?php if($filtres["referentiel"] == "autre"){
|
|
|
201 |
echo('selected="selected"');
|
|
|
202 |
}?>>Autre/Inconnu</option>
|
3829 |
idir |
203 |
</select>
|
|
|
204 |
</div>
|
|
|
205 |
<div class="bloc-periode bloc-filtre">
|
|
|
206 |
<label for="periode" class="d-block">Date (début-fin)</label>
|
|
|
207 |
<div class="form-row">
|
|
|
208 |
<div class="form-group mb-lg-0 mb-1 col">
|
3960 |
julien |
209 |
<input type="date" id="date_deb" name="date_deb" class="form-control"
|
|
|
210 |
<?php echo('value="'.$filtres["date_deb"].'"'); ?>>
|
3829 |
idir |
211 |
</div>
|
|
|
212 |
<div class="form-group mb-0 col">
|
3960 |
julien |
213 |
<input type="date" id="date_fin" name="date_fin" class="form-control"
|
|
|
214 |
<?php echo('value="'.$filtres["date_fin"].'"'); ?>>
|
3829 |
idir |
215 |
</div>
|
3630 |
idir |
216 |
</div>
|
3829 |
idir |
217 |
<input type="hidden" id="periode" name="periode">
|
3630 |
idir |
218 |
</div>
|
3829 |
idir |
219 |
<div class="row bloc-localite bloc-filtre">
|
3960 |
julien |
220 |
<label for="commune">Localité</label>
|
|
|
221 |
<input type="text" id="commune" name="commune" class="form-control"
|
|
|
222 |
<?php echo('value="'.$filtres["commune"].'"'); ?>>
|
3829 |
idir |
223 |
</div>
|
|
|
224 |
<div class="row bloc- bloc-filtre">
|
3960 |
julien |
225 |
<label for="dept">Département</label>
|
|
|
226 |
<input type="text" id="dept" name="dept" class="form-control"
|
|
|
227 |
placeholder="Numéros (séparés par des virgules)"
|
|
|
228 |
<?php echo('value="'.$filtres["dept"].'"'); ?>>
|
3829 |
idir |
229 |
</div>
|
|
|
230 |
<div class="row bloc- bloc-filtre">
|
|
|
231 |
<label for="pays">Pays</label>
|
3960 |
julien |
232 |
<input type="text" id="pays" name="pays" class="form-control"
|
|
|
233 |
<?php echo('value="'.$filtres["pays"].'"'); ?>>
|
3829 |
idir |
234 |
</div>
|
3630 |
idir |
235 |
</div>
|
3829 |
idir |
236 |
<div id="bloc-filtres-droite" class="bloc-filtres bloc-filtres-droite col-lg-6">
|
|
|
237 |
<div class="row bloc- bloc-filtre">
|
|
|
238 |
<label for="auteur">Auteur</label>
|
3960 |
julien |
239 |
<input type="text" id="auteur" name="auteur" class="form-control"
|
|
|
240 |
placeholder="Nom, email" <?php echo('value="'.$filtres["auteur"].'"'); ?>>
|
3630 |
idir |
241 |
</div>
|
3829 |
idir |
242 |
<div class="row bloc- bloc-filtre">
|
|
|
243 |
<label for="programme">Programme</label>
|
3960 |
julien |
244 |
<input type="text" id="programme" name="programme" class="form-control"
|
|
|
245 |
<?php echo('value="'.$filtres["programme"].'"'); ?>>
|
3630 |
idir |
246 |
</div>
|
3829 |
idir |
247 |
<div class="row bloc- bloc-filtre">
|
3960 |
julien |
248 |
<label for="tag">Tags (tous)</label>
|
|
|
249 |
<input type="text" id="tag" name="tag" class="form-control"
|
|
|
250 |
<?php echo('value="'.$filtres["tag"].'"'); ?>>
|
3630 |
idir |
251 |
</div>
|
3829 |
idir |
252 |
<div class="list bloc-photos-affichees bloc-filtre mt-3">
|
|
|
253 |
<div class="form-check mt-3">
|
3960 |
julien |
254 |
<input type="checkbox" id="non_standard" name="non_standard"
|
|
|
255 |
class="non-standards form-check-input" value="non-standard"
|
|
|
256 |
<?php if($filtres["non_standard"]){
|
|
|
257 |
echo('checked');
|
|
|
258 |
}?>>
|
|
|
259 |
<label for="non_standard" class="non-standards form-check-label">Afficher les
|
|
|
260 |
photos des observations non "standards"</label>
|
3829 |
idir |
261 |
</div>
|
|
|
262 |
<div class="form-check mt-3">
|
3960 |
julien |
263 |
<input type="checkbox" id="indesirable" name="indesirable"
|
|
|
264 |
class="indesirables form-check-input" value="indesirable"
|
|
|
265 |
<?php if($filtres["indesirable"]){
|
|
|
266 |
echo('checked');
|
|
|
267 |
}?>>
|
|
|
268 |
<label for="indesirable" class="indesirables form-check-label">Afficher les photos signalées comme indésirables</label>
|
3829 |
idir |
269 |
</div>
|
3960 |
julien |
270 |
<div class="form-check mt-3 hidden">
|
3829 |
idir |
271 |
<input type="checkbox" id="smartphone-anonyme" name="photos-affichees" class="smartphone-anonyme form-check-input" value="smartphone-anonyme">
|
|
|
272 |
<label for="smartphone-anonyme" class="smartphone-anonyme form-check-label">Afficher les photos des observations smartphone anonyme</label>
|
|
|
273 |
</div>
|
|
|
274 |
</div>
|
3630 |
idir |
275 |
</div>
|
3829 |
idir |
276 |
</div>
|
|
|
277 |
</form>
|
|
|
278 |
<?php endif ; ?>
|
3630 |
idir |
279 |
<div id="cel-galerie-photo<?php echo $id; ?>" class="cel-galerie-photo">
|
|
|
280 |
<div class="grid-sizer"></div>
|
|
|
281 |
<?php foreach ($items as $i => $item) : ?>
|
|
|
282 |
<?php
|
3958 |
julien |
283 |
$auteurTruncatedEmail = preg_replace('/[^@]+$/i', '...', $item['utilisateur']['mail_utilisateur']);
|
|
|
284 |
$auteur = trim($item['utilisateur']['nom_utilisateur']) ? $item['utilisateur']['nom_utilisateur'] : $auteurTruncatedEmail;
|
3630 |
idir |
285 |
$dimention_img = 'CRS';
|
|
|
286 |
$class_extra = '';
|
|
|
287 |
?>
|
|
|
288 |
<?php if ( $i === 0 && $extra_actif ) : ?>
|
|
|
289 |
<?php
|
|
|
290 |
$dimention_img = 'CRL';
|
|
|
291 |
$class_extra = ' grid-item--width2 grid-item--height2';
|
|
|
292 |
?>
|
|
|
293 |
<?php endif; ?>
|
|
|
294 |
<div class="cel-photo grid-item <?php echo $class_extra; ?>">
|
3823 |
idir |
295 |
<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; ?>">
|
3630 |
idir |
296 |
<img src="<?php echo sprintf($item['url_tpl'], $dimention_img); ?>" alt="<?php echo $item['titre']; ?>">
|
|
|
297 |
</a>
|
3823 |
idir |
298 |
<div id="cel-info-<?php echo $item['id_photo_formate']; ?>" class="cel-infos">
|
3630 |
idir |
299 |
<strong>
|
3825 |
idir |
300 |
<?php if (!empty($item['lien'])) : ?>
|
|
|
301 |
<a class="cel-img-titre" href="<?php echo $item['lien']; ?>"
|
3630 |
idir |
302 |
onclick="window.open(this.href);return false;"
|
|
|
303 |
title="Cliquez pour accéder à la fiche eFlore">
|
3823 |
idir |
304 |
<?php echo $item['obs']['nom_sel']; ?>
|
3630 |
idir |
305 |
</a><br />
|
|
|
306 |
par
|
|
|
307 |
<a class="cel-img-contact"
|
3823 |
idir |
308 |
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']; ?>"
|
3630 |
idir |
309 |
title="Cliquez pour contacter l'auteur de la photo">
|
3958 |
julien |
310 |
<?php echo $auteur; ?>
|
3630 |
idir |
311 |
</a>
|
|
|
312 |
<?php else : ?>
|
|
|
313 |
<?php echo $item['titre']; ?>
|
|
|
314 |
<?php endif; ?>
|
|
|
315 |
</strong>
|
|
|
316 |
</div>
|
|
|
317 |
</div>
|
|
|
318 |
<?php endforeach; ?>
|
3838 |
idir |
319 |
<div id="next-previous-buttons">
|
3839 |
idir |
320 |
<?php if (0 < $start): ?>
|
3838 |
idir |
321 |
<a id="bouton-photos-precedentes" href="<?php echo $url_widget_photos_precedente;?>" class="btn btn-success"><i class="fas fa-backward"></i> Photos precedentes</a>
|
|
|
322 |
<?php endif;?>
|
|
|
323 |
|
|
|
324 |
<?php if ($total > ($start + $limit)): ?>
|
|
|
325 |
<a id="bouton-photos-suivantes" href="<?php echo $url_widget_photos_suivantes;?>" class="btn btn-success"><i class="fas fa-forward"></i> Photos suivantes</a>
|
|
|
326 |
<?php else :?>
|
|
|
327 |
<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>
|
|
|
328 |
<?php endif;?>
|
|
|
329 |
</div>
|
580 |
jpm |
330 |
</div>
|
879 |
jpm |
331 |
<p class="cel-photo-pieds discretion nettoyage">
|
|
|
332 |
<span class="cel-photo-source">
|
3630 |
idir |
333 |
Source :
|
1480 |
aurelien |
334 |
<a href="http://www.tela-botanica.org/page:cel" title="Carnet en Ligne" onclick="window.open(this.href);return false;">
|
879 |
jpm |
335 |
CEL
|
|
|
336 |
</a>
|
|
|
337 |
</span>
|
3630 |
idir |
338 |
<span class="cel-photo-date-generation">Au <?php echo strftime('%A %d %B %Y à %H:%M:%S'); ?></span>
|
879 |
jpm |
339 |
</p>
|
3630 |
idir |
340 |
|
580 |
jpm |
341 |
<?php endif; ?>
|
|
|
342 |
</div>
|
3630 |
idir |
343 |
<!-- modale -->
|
|
|
344 |
<div id="fenetre-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="fenetre-modal-label" style="display: none;" aria-hidden="true">
|
|
|
345 |
<div class="modal-dialog modal-dialog-centered" role="document">
|
|
|
346 |
<div class="modal-content">
|
|
|
347 |
<div class="modal-header">
|
|
|
348 |
<h5 class="modal-title" id="fenetre-modal-label"></h5>
|
|
|
349 |
<button type="button" class="close btn btn-sm btn-secondary" data-dismiss="modal" aria-label="Close">
|
|
|
350 |
<span aria-hidden="true">×</span>
|
|
|
351 |
</button>
|
|
|
352 |
</div>
|
|
|
353 |
<div class="modal-body row" id="print_content"></div>
|
|
|
354 |
<div class="modal-footer hidden"></div>
|
|
|
355 |
</div>
|
|
|
356 |
</div>
|
|
|
357 |
</div>
|
580 |
jpm |
358 |
<!-- WIDGET:CEL:PHOTO - FIN -->
|
3630 |
idir |
359 |
<script type="text/Javascript">
|
|
|
360 |
//<![CDATA[
|
|
|
361 |
var widgetProp = {
|
|
|
362 |
'id' : "<?php echo $id; ?>",
|
3958 |
julien |
363 |
'galerieId' : "<?php echo $galerie_id; ?>",
|
3630 |
idir |
364 |
};
|
|
|
365 |
|
|
|
366 |
$( document ).ready( function() {
|
|
|
367 |
photo = new WidgetPhoto( widgetProp );
|
|
|
368 |
photo.init();
|
|
|
369 |
});
|
|
|
370 |
//]]>
|
|
|
371 |
</script>
|
580 |
jpm |
372 |
</body>
|
3630 |
idir |
373 |
</html>
|