Line 1... |
Line 1... |
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" />
|
Line 24... |
Line 24... |
24 |
$iz = $items[0];
|
24 |
$iz = $items[0];
|
25 |
$izUrl = sprintf($iz['url_tpl'], 'CRS');
|
25 |
$izUrl = sprintf($iz['url_tpl'], 'CRS');
|
26 |
echo '<meta property="og:image" content="' . $izUrl . '" />';
|
26 |
echo '<meta property="og:image" content="' . $izUrl . '" />';
|
27 |
} else {
|
27 |
} else {
|
28 |
echo '<meta property="og:image" content="https://resources.tela-botanica.org/tb/img/256x256/carre_englobant.png" />'
|
28 |
echo '<meta property="og:image" content="https://resources.tela-botanica.org/tb/img/256x256/carre_englobant.png" />'
|
29 |
.'<meta property="og:image:type" content="image/png" />'
|
29 |
.'<meta property="og:image:type" content="image/png" />'
|
30 |
.'<meta property="og:image:width" content="256" />'
|
30 |
.'<meta property="og:image:width" content="256" />'
|
31 |
.'<meta property="og:image:height" content="256" />';
|
31 |
.'<meta property="og:image:height" content="256" />';
|
32 |
}
|
32 |
}
|
33 |
?>
|
33 |
?>
|
34 |
<meta property="og:locale" content="fr_FR" />
|
34 |
<meta property="og:locale" content="fr_FR" />
|
Line 35... |
Line 35... |
35 |
|
35 |
|
36 |
<!-- Spécial mobile -->
|
36 |
<!-- Spécial mobile -->
|
37 |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
|
37 |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
|
38 |
|
38 |
|
39 |
<!-- Favicones -->
|
39 |
<!-- Favicones -->
|
40 |
<link rel="icon" type="image/png" href="https://resources.tela-botanica.org/tb/img/16x16/favicon.png" />
|
40 |
<link rel="icon" type="image/png" href="https://resources.tela-botanica.org/tb/img/16x16/favicon.png" />
|
- |
|
41 |
<link rel="shortcut icon" type="image/x-icon" href="https://resources.tela-botanica.org/tb/img/16x16/favicon.ico" />
|
- |
|
42 |
<!-- Jquery-ui custom css-->
|
- |
|
43 |
<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" />
|
- |
|
44 |
<!-- Bootstrap CSS -->
|
- |
|
45 |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous" />
|
- |
|
46 |
<!-- Fontawesome -->
|
41 |
<link rel="shortcut icon" type="image/x-icon" href="https://resources.tela-botanica.org/tb/img/16x16/favicon.ico" />
|
47 |
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
|
42 |
|
48 |
|
43 |
<!-- Feuilles de styles -->
|
49 |
<!-- Feuilles de styles -->
|
44 |
<link rel="stylesheet" type="text/css" href="https://www.tela-botanica.org/commun/jquery/fancybox/1.3.4/jquery.fancybox-1.3.4.css" media="screen" />
|
50 |
<link rel="stylesheet" type="text/css" href="<?php echo $url_css; ?>photo.css" media="screen" />
|
- |
|
51 |
<link rel="stylesheet" type="text/css" href="<?php echo $url_css; ?>popup.css" media="screen" />
|
- |
|
52 |
<link rel="stylesheet" type="text/css" href="<?php echo $url_css; ?>contact.css" media="screen" />
|
45 |
<link rel="stylesheet" type="text/css" href="<?=$url_css?>photo.css" media="screen" />
|
53 |
<link rel="stylesheet" type="text/css" href="<?php echo $url_css; ?>photoCommun.css" media="screen" />
|
- |
|
54 |
<style type="text/css">
|
- |
|
55 |
<?php $dimention_basique = floor(93/$colonne);?>
|
46 |
<style type="text/css">
|
56 |
#cel-photo-contenu<?php echo $id; ?> .grid-sizer,
|
47 |
html {
|
57 |
#cel-photo-contenu<?php echo $id; ?> .grid-item {
|
48 |
overflow:hidden;
|
58 |
width: <?php echo $dimention_basique; ?>vw;
|
49 |
}
|
59 |
}
|
50 |
body{
|
60 |
|
51 |
overflow:hidden;
|
- |
|
52 |
padding:0;
|
- |
|
53 |
margin:0;
|
- |
|
54 |
width:100%;
|
- |
|
55 |
height:100%;
|
61 |
#cel-photo-contenu<?php echo $id; ?> .grid-item {
|
56 |
background-color:#DDDDDD;
|
- |
|
57 |
color:black;
|
62 |
height: <?php echo $dimention_basique; ?>vw;
|
- |
|
63 |
}
|
58 |
}
|
64 |
|
59 |
#cel-photo-contenu<?=$id?>, #cel-galerie-photo<?=$id?>{
|
65 |
#cel-photo-contenu<?php echo $id; ?> .grid-item--width2 {
|
60 |
width:<?=(($colonne * 69))?>px;
|
66 |
width: <?php echo ($dimention_basique*2)+1; ?>vw;
|
- |
|
67 |
}
|
61 |
}
|
68 |
|
62 |
#cel-galerie-photo<?=$id?> #cel-photo-extra<?=$id?> img{
|
69 |
#cel-photo-contenu<?php echo $id; ?> .grid-item--height2 {
|
63 |
width:<?=(($colonne * 69)-6)?>px;
|
70 |
height: <?php echo number_format((($dimention_basique*2)+0.99),2); ?>vw;
|
64 |
}
|
71 |
}
|
65 |
</style>
|
- |
|
66 |
|
72 |
</style>
|
- |
|
73 |
<!-- Javascript : bibliothèques -->
|
67 |
<!-- Javascript : bibliothèques -->
|
74 |
<!-- Jquery -->
|
- |
|
75 |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/1.11.1/jquery-1.11.1.min.js"></script>
|
- |
|
76 |
|
- |
|
77 |
<!-- Jquery UI : nécessaire pour le minicalendrier et l'auto-complétion -->
|
- |
|
78 |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/jquery-ui/1.11.0/js/jquery-ui.min.js"></script>
|
- |
|
79 |
<!-- Jquery Plugins -->
|
68 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/1.6/jquery-1.6.min.js"></script>
|
80 |
<!-- Jquery Validate : nécessaire pour la validation des formulaires -->
|
- |
|
81 |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/jquery.validate.min.js"></script>
|
- |
|
82 |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/additional-methods.min.js"></script>
|
- |
|
83 |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/messages_fr.js"></script>
|
- |
|
84 |
<!-- Jquery Form :nécessaire pour l'upload des images -->
|
- |
|
85 |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/form/3.51/jquery.form.min.js"></script>
|
- |
|
86 |
<!-- Bootstrap -->
|
- |
|
87 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
|
- |
|
88 |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
|
- |
|
89 |
<!-- Masonry -->
|
- |
|
90 |
<script src="<?php echo $url_js; ?>masonry.pkgd.js"></script>
|
- |
|
91 |
<!-- Script WidgetPhoto -->
|
- |
|
92 |
<script type="text/Javascript" src="<?php echo $url_js; ?>WidgetPhotoCommun.js"></script>
|
- |
|
93 |
<script type="text/Javascript" src="<?php echo $url_js; ?>WidgetPhoto.js"></script>
|
- |
|
94 |
<script type="text/javascript" src="<?php echo $url_js; ?>WidgetPhotoPopup.js"></script>
|
Line 69... |
Line 95... |
69 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/fancybox/1.3.4/jquery.fancybox-1.3.4.js"></script>
|
95 |
<script type="text/javascript" src="<?php echo $url_js; ?>WidgetPhotoContact.js"></script>
|
70 |
|
96 |
|
71 |
<!-- Google Analytics -->
|
97 |
<!-- Google Analytics -->
|
72 |
<?php if($prod): ?>
|
98 |
<?php if($prod): ?>
|
73 |
<?php include "analytics.html"; ?>
|
99 |
<?php include "analytics.html"; ?>
|
74 |
<?php endif; ?>
|
100 |
<?php endif; ?>
|
75 |
</head>
|
101 |
</head>
|
76 |
<body>
|
102 |
<body>
|
77 |
<!-- WIDGET:CEL:PHOTO - DEBUT -->
|
103 |
<!-- WIDGET:CEL:PHOTO - DEBUT -->
|
78 |
<div id="cel-photo-contenu<?=$id?>" class="cel-photo-contenu">
|
104 |
<div id="cel-photo-contenu<?php echo $id; ?>" class="cel-photo-contenu">
|
79 |
<?php if (isset($erreurs) || isset($informations)) : ?>
|
105 |
<?php if (isset($erreurs) || isset($informations)) : ?>
|
80 |
<h1>Erreur & informations</h1>
|
106 |
<h1>Erreur & informations</h1>
|
81 |
<p>Impossible d'afficher le flux.</p>
|
107 |
<p>Impossible d'afficher le flux.</p>
|
82 |
<!-- Affichage des erreurs et messages d'information : -->
|
108 |
<!-- Affichage des erreurs et messages d'information : -->
|
83 |
<?php if ($erreurs) : ?>
|
109 |
<?php if ($erreurs) : ?>
|
84 |
<?php foreach ($erreurs as $erreur) : ?>
|
110 |
<?php foreach ($erreurs as $erreur) : ?>
|
85 |
<p class="erreur"><?=$erreur;?></p>
|
111 |
<p class="erreur"><?php echo $erreur; ?></p>
|
86 |
<?php endforeach; ?>
|
112 |
<?php endforeach; ?>
|
87 |
<?php endif; ?>
|
113 |
<?php endif; ?>
|
88 |
|
114 |
|
89 |
<?php if ($informations) : ?>
|
115 |
<?php if ($informations) : ?>
|
90 |
<?php foreach ($informations as $information) : ?>
|
116 |
<?php foreach ($informations as $information) : ?>
|
91 |
<p class="info"><?=$information;?></p>
|
117 |
<p class="info"><?php echo $information; ?></p>
|
92 |
<?php endforeach; ?>
|
118 |
<?php endforeach; ?>
|
93 |
<?php endif; ?>
|
119 |
<?php endif; ?>
|
94 |
<?php else : ?>
|
120 |
<?php else : ?>
|
95 |
<h1>
|
121 |
<h1>
|
96 |
<? if (!empty($titre)) : ?>
|
122 |
<?php if (!empty($titre)) : ?>
|
97 |
<?=$titre?>
|
123 |
<?php echo $titre; ?>
|
98 |
<? endif ; ?>
|
124 |
<?php endif ; ?>
|
99 |
<? if($icone_rss) : ?>
|
125 |
<?php if($icone_rss) : ?>
|
100 |
<a href="<?=$flux_rss_url?>"
|
126 |
<a href="<?php echo $flux_rss_url; ?>"
|
101 |
class="cel-photo-flux"
|
127 |
class="cel-photo-flux"
|
102 |
title="Suivre les images"
|
128 |
title="Suivre les images"
|
103 |
onclick="window.open(this.href);return false;">
|
129 |
onclick="window.open(this.href);return false;">
|
104 |
<img src="https://www.tela-botanica.org/sites/commun/generique/images/rss.png" alt="Suivre les images" />
|
130 |
<img src="https://www.tela-botanica.org/sites/commun/generique/images/rss.png" alt="Suivre les images" />
|
105 |
</a>
|
131 |
</a>
|
- |
|
132 |
<?php endif; ?>
|
- |
|
133 |
</h1>
|
- |
|
134 |
<form id="form-recherche<?php echo $id; ?>" class="form-recherche container" action="">
|
- |
|
135 |
<div id="bloc-recherche<?php echo $id; ?>" class="bloc-recherche form-inline d-flex justify-content-center w-100">
|
- |
|
136 |
<input type="text" id="champ-recherche<?php echo $id; ?>" name="champ-recherche<?php echo $id; ?>" class="recherche form-control mr-1" placeholder="Votre recherche">
|
- |
|
137 |
<input type="hidden" id="filtres<?php echo $id; ?>" name="filtres<?php echo $id; ?>">
|
- |
|
138 |
<a id="bouton-rechercher<?php echo $id; ?>" class="btn btn-success bouton-rechercher mr-1"><i class="fas fa-search"></i> Rechercher</a>
|
- |
|
139 |
<a id="bouton-plus-filtres<?php echo $id; ?>" class="btn btn-outline-secondary bouton-plus-filtres">
|
- |
|
140 |
<span class="plus">
|
- |
|
141 |
<i class="fas fa-chevron-down"></i> Plus de filtres
|
- |
|
142 |
</span>
|
- |
|
143 |
<span class="moins hidden">
|
- |
|
144 |
<i class="fas fa-chevron-up"></i> Fermer les filtres
|
- |
|
145 |
</span>
|
- |
|
146 |
</a>
|
- |
|
147 |
</div>
|
- |
|
148 |
<div id="autres-filtres<?php echo $id; ?>" class="autres-filtres row hidden">
|
- |
|
149 |
<a id="bouton-fermer-filtres<?php echo $id; ?>" class="btn bouton-fermer-filtres"><i class="fas fa-times"></i></a>
|
- |
|
150 |
<div id="bloc-filtres-gauche" class="bloc-filtres bloc-filtres-gauche col-lg-6">
|
- |
|
151 |
<div class="row bloc-taxon bloc-filtre">
|
- |
|
152 |
<label for="taxon">Taxon</label>
|
- |
|
153 |
<input type="text" id="taxon" name="taxon" class="form-control">
|
- |
|
154 |
</div>
|
- |
|
155 |
<div class="row bloc-referentiel bloc-filtre">
|
- |
|
156 |
<label for="referentiel">Référentiel</label>
|
- |
|
157 |
<select name="referentiel" id="referentiel" class="custom-select form-control referentiel">
|
- |
|
158 |
<option value="bdtfxr" selected="selected" title="Trachéophytes de France métropolitaine">Métropole (index réduit)</option>
|
- |
|
159 |
<option value="bdtfx" title="Trachéophytes de France métropolitaine">Métropole (BDTFX)</option>
|
- |
|
160 |
<option value="bdtxa" title="Trachéophytes des Antilles">Antilles françaises (BDTXA)</option>
|
- |
|
161 |
<option value="bdtre" title="Trachéophytes de La Réunion">Réunion (BDTRE)</option>
|
- |
|
162 |
<option value="aublet" title="Guyane">Guyane (AUBLET2)</option>
|
- |
|
163 |
<option value="florical" title="Nouvelle-Calédonie">Nouvelle-Calédonie (FLORICAL)</option>
|
- |
|
164 |
<option value="isfan" title="Afrique du Nord">Afrique du Nord (ISFAN)</option>
|
- |
|
165 |
<option value="apd" title="Afrique de l'Ouest et du Centre">Afrique de l'Ouest et du Centre (APD)</option>
|
- |
|
166 |
<option value="lbf" title="Liban">Liban (LBF)</option>
|
- |
|
167 |
<option value="autre" title="Autre/Inconnu">Autre/Inconnu</option>
|
- |
|
168 |
</select>
|
- |
|
169 |
</div>
|
- |
|
170 |
<div class="bloc-periode bloc-filtre">
|
- |
|
171 |
<label for="periode" class="d-block">Date (début-fin)</label>
|
- |
|
172 |
<div class="form-row">
|
- |
|
173 |
<div class="form-group mb-lg-0 mb-1 col">
|
- |
|
174 |
<input type="date" id="periode-debut" name="periode-debut" class="form-control">
|
- |
|
175 |
</div>
|
- |
|
176 |
<div class="form-group mb-0 col">
|
- |
|
177 |
<input type="date" id="periode-fin" name="periode-fin" class="form-control">
|
- |
|
178 |
</div>
|
- |
|
179 |
</div>
|
- |
|
180 |
<input type="hidden" id="periode" name="periode">
|
- |
|
181 |
</div>
|
- |
|
182 |
<div class="row bloc-localite bloc-filtre">
|
- |
|
183 |
<label for="localite">Localité</label>
|
- |
|
184 |
<input type="text" id="localite" name="localite" class="form-control">
|
- |
|
185 |
</div>
|
- |
|
186 |
<div class="row bloc- bloc-filtre">
|
- |
|
187 |
<label for="departement">Département</label>
|
- |
|
188 |
<input type="text" id="departement" name="departement" class="form-control" placeholder="Numéros (séparés par des virgules)">
|
- |
|
189 |
</div>
|
- |
|
190 |
<div class="row bloc- bloc-filtre">
|
- |
|
191 |
<label for="pays">Pays</label>
|
- |
|
192 |
<input type="text" id="pays" name="pays" class="form-control">
|
- |
|
193 |
</div>
|
- |
|
194 |
</div>
|
- |
|
195 |
<div id="bloc-filtres-droite" class="bloc-filtres bloc-filtres-droite col-lg-6">
|
- |
|
196 |
<div class="row bloc- bloc-filtre">
|
- |
|
197 |
<label for="auteur">Auteur</label>
|
- |
|
198 |
<input type="text" id="auteur" name="auteur" class="form-control" placeholder="Nom, email">
|
- |
|
199 |
</div>
|
- |
|
200 |
<div class="row bloc- bloc-filtre">
|
- |
|
201 |
<label for="programme">Programme</label>
|
- |
|
202 |
<input type="text" id="programme" name="programme" class="form-control">
|
- |
|
203 |
</div>
|
- |
|
204 |
<div class="row bloc- bloc-filtre">
|
- |
|
205 |
<label for="tags">Tags (tous)</label>
|
- |
|
206 |
<input type="text" id="tags" name="tags" class="form-control">
|
- |
|
207 |
</div>
|
- |
|
208 |
<div class="list bloc-photos-affichees bloc-filtre mt-3">
|
- |
|
209 |
<div class="form-check mt-3">
|
- |
|
210 |
<input type="checkbox" id="non-standards" name="photos-affichees" class="non-standards form-check-input" value="non-standards">
|
- |
|
211 |
<label for="non-standards" class="non-standards form-check-label">Afficher les photos des observations non "standards"</label>
|
- |
|
212 |
</div>
|
- |
|
213 |
<div class="form-check mt-3">
|
- |
|
214 |
<input type="checkbox" id="indesirables" name="photos-affichees" class="indesirables form-check-input" value="indesirables">
|
- |
|
215 |
<label for="indesirables" class="indesirables form-check-label">Afficher les photos signalées comme indésirables</label>
|
- |
|
216 |
</div>
|
- |
|
217 |
<div class="form-check mt-3">
|
- |
|
218 |
<input type="checkbox" id="smartphone-anonyme" name="photos-affichees" class="smartphone-anonyme form-check-input" value="smartphone-anonyme">
|
- |
|
219 |
<label for="smartphone-anonyme" class="smartphone-anonyme form-check-label">Afficher les photos des observations smartphone anonyme</label>
|
- |
|
220 |
</div>
|
- |
|
221 |
</div>
|
- |
|
222 |
</div>
|
106 |
<? endif; ?>
|
223 |
</div>
|
- |
|
224 |
</form>
|
107 |
</h1>
|
225 |
<div id="cel-galerie-photo<?php echo $id; ?>" class="cel-galerie-photo">
|
- |
|
226 |
<div class="grid-sizer"></div>
|
- |
|
227 |
<?php foreach ($items as $i => $item) : ?>
|
108 |
<div id="cel-galerie-photo<?=$id?>">
|
228 |
<?php
|
- |
|
229 |
$dimention_img = 'CRS';
|
- |
|
230 |
$class_extra = '';
|
- |
|
231 |
?>
|
- |
|
232 |
<?php if ( $i === 0 && $extra_actif ) : ?>
|
- |
|
233 |
<?php
|
- |
|
234 |
$dimention_img = 'CRL';
|
- |
|
235 |
$class_extra = ' grid-item--width2 grid-item--height2';
|
- |
|
236 |
?>
|
109 |
<?php foreach ($items as $item) : ?>
|
237 |
<?php endif; ?>
|
110 |
<div class="cel-photo">
|
238 |
<div class="cel-photo grid-item <?php echo $class_extra; ?>">
|
111 |
<a href="<?=sprintf($item['url_tpl'], 'XL')?>" class="cel-img" title="<?=$item['titre']?> - Publiée le <?=$item['date']?> - GUID : <?=$item['guid']?>" rel="galerie-princ<?=$id?>">
|
239 |
<a href="<?php echo sprintf($item['url_tpl'], 'O'); ?>" class="cel-img" title="<?php echo $item['titre']; ?> - Publiée le <?php echo $item['date']; ?> - GUID : <?php echo $item['guid']; ?>" rel="galerie-princ<?php echo $id; ?>">
|
112 |
<img src="<?=sprintf($item['url_tpl'], 'CRX2S')?>" alt="<?=$item['titre']?>"/>
|
240 |
<img src="<?php echo sprintf($item['url_tpl'], $dimention_img); ?>" alt="<?php echo $item['titre']; ?>">
|
113 |
</a>
|
241 |
</a>
|
114 |
<div id="cel-info-<?=$item['guid']?>" class="cel-infos">
|
242 |
<div id="cel-info-<?php echo $item['guid']; ?>" class="cel-infos">
|
115 |
<strong>
|
243 |
<strong>
|
116 |
<?php if ($item['eflore_url'] != '#' && $item['eflore_url'] != '') { ?>
|
244 |
<?php if ($item['eflore_url'] != '#' && $item['eflore_url'] != '') : ?>
|
117 |
<a class="cel-img-titre" href="<?=$item['eflore_url']?>"
|
245 |
<a class="cel-img-titre" href="<?php echo $item['eflore_url']; ?>"
|
118 |
onclick="window.open(this.href);return false;"
|
246 |
onclick="window.open(this.href);return false;"
|
- |
|
247 |
title="Cliquez pour accéder à la fiche eFlore">
|
119 |
title="Cliquez pour accéder à la fiche eFlore">
|
248 |
<?php echo $item['infos']['nom_sci']; ?>
|
120 |
<?=$item['infos']['nom_sci']?>
|
249 |
</a><br />
|
121 |
</a> par
|
250 |
par
|
122 |
<a class="cel-img-contact"
|
251 |
<a class="cel-img-contact"
|
123 |
href="?mode=contact&nn=<?= urlencode($item['infos']['nn']) ;?>&nom_sci=<?= urlencode($item['infos']['nom_sci']) ;?>&date=<?= urlencode($item['infos']['date']) ;?>&id_image=<?= $item['guid']; ?>"
|
252 |
href="?mode=contact&nn=<?php echo urlencode($item['infos']['nn']); ?>&nom_sci=<?php echo urlencode($item['infos']['nom_sci']); ?>&date=<?php echo urlencode($item['infos']['date']); ?>&id_image=<?php echo $item['guid']; ?>&auteur=<?php echo $item['infos']['auteur']; ?>"
|
124 |
title="Cliquez pour contacter l'auteur de la photo">
|
253 |
title="Cliquez pour contacter l'auteur de la photo">
|
125 |
<?=$item['infos']['auteur']?>
|
- |
|
126 |
</a>
|
- |
|
127 |
à <?= $item['infos']['localite'] ?>
|
254 |
<?php echo $item['infos']['auteur']; ?>
|
128 |
le <?=$item['infos']['date']?>
|
255 |
</a>
|
129 |
<?php } else { ?>
|
256 |
<?php else : ?>
|
130 |
<?=$item['titre']?>
|
257 |
<?php echo $item['titre']; ?>
|
131 |
<?php } ?>
|
- |
|
132 |
</strong><br />
|
258 |
<?php endif; ?>
|
133 |
<span class="cel-img-date">Publiée le <?=$item['date']?></span>
|
259 |
</strong>
|
134 |
</div>
|
260 |
</div>
|
135 |
</div>
|
- |
|
136 |
<?php endforeach; ?>
|
- |
|
137 |
<?php if ($extra_actif) : ?>
|
- |
|
138 |
<div id="cel-photo-extra<?=$id?>" class="cel-photo-extra cel-photo">
|
- |
|
139 |
<a href="<?=sprintf($extra['url_tpl'], 'XL')?>" class="cel-img" title="<?=$extra['titre']?> - Publiée le <?=$extra['date']?> - GUID : <?=$extra['guid']?>" rel="galerie-princ<?=$id?>">
|
261 |
</div>
|
140 |
<img src="<?=sprintf($extra['url_tpl'], 'CRS')?>" alt="<?=$extra['titre']?>"/>
|
- |
|
141 |
</a>
|
262 |
<?php endforeach; ?>
|
142 |
</div>
|
- |
|
143 |
</div>
|
263 |
|
144 |
<?php endif ?>
|
264 |
</div>
|
145 |
<p class="cel-photo-pieds discretion nettoyage">
|
265 |
<p class="cel-photo-pieds discretion nettoyage">
|
146 |
<span class="cel-photo-source">
|
266 |
<span class="cel-photo-source">
|
147 |
Source :
|
267 |
Source :
|
148 |
<a href="http://www.tela-botanica.org/page:cel" title="Carnet en Ligne" onclick="window.open(this.href);return false;">
|
268 |
<a href="http://www.tela-botanica.org/page:cel" title="Carnet en Ligne" onclick="window.open(this.href);return false;">
|
149 |
CEL
|
269 |
CEL
|
150 |
</a>
|
270 |
</a>
|
151 |
</span>
|
271 |
</span>
|
152 |
<span class="cel-photo-date-generation">Au <?=strftime('%A %d %B %Y à %H:%M:%S')?></span>
|
- |
|
153 |
</p>
|
- |
|
154 |
<script type="text/Javascript">
|
- |
|
155 |
//<![CDATA[
|
- |
|
156 |
var utiliseFancybox = "<?= $utilise_fancybox; ?>";
|
- |
|
157 |
if(utiliseFancybox) {
|
- |
|
158 |
$('a.cel-img').attr('rel', 'galerie-princ<?=$id?>').fancybox({
|
- |
|
159 |
transitionIn:'elastic',
|
- |
|
160 |
transitionOut:'elastic',
|
- |
|
161 |
speedIn :600,
|
- |
|
162 |
speedOut:200,
|
- |
|
163 |
overlayShow:true,
|
- |
|
164 |
titleShow:true,
|
- |
|
165 |
titlePosition:'inside',
|
- |
|
166 |
titleFormat:function (titre, currentArray, currentIndex, currentOpts) {
|
- |
|
167 |
var motif = /GUID : ([0-9]+)$/;
|
- |
|
168 |
motif.exec(titre);
|
- |
|
169 |
var guid = RegExp.$1;
|
- |
|
170 |
var info = $('#cel-info-'+guid).clone().html();
|
- |
|
171 |
var tpl =
|
- |
|
172 |
'<div class="cel-legende">'+
|
- |
|
173 |
'<p class="cel-legende-vei">'+'Image n°' + (currentIndex + 1) + ' sur ' + currentArray.length +'<\/p>'+
|
- |
|
174 |
(titre && titre.length ? '<p>'+info+'<\/p>' : '' )+
|
- |
|
175 |
'<\/div>';
|
- |
|
176 |
return tpl;
|
- |
|
177 |
}
|
- |
|
178 |
});
|
- |
|
179 |
} else {
|
- |
|
180 |
$('a.cel-img').click(function(event) {
|
- |
|
181 |
ouvrirFenetrePopup($(this));
|
- |
|
182 |
event.preventDefault();
|
- |
|
183 |
});
|
- |
|
184 |
}
|
- |
|
185 |
|
- |
|
186 |
$(document).ready(function() {
|
- |
|
187 |
$('a.cel-img-contact').live('click', function(event) {
|
- |
|
188 |
event.preventDefault();
|
- |
|
189 |
ouvrirFenetreContact($(this));
|
- |
|
190 |
});
|
- |
|
191 |
});
|
- |
|
192 |
|
- |
|
193 |
function ouvrirFenetrePopup(lienImage) {
|
- |
|
194 |
var url = "?mode=popup&url_image="+lienImage.attr('href')+'&galerie_id=<?= $galerie_id ?>';
|
- |
|
195 |
window.open(url, '', 'directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no, width='+(700)+', height='+(650));
|
272 |
<span class="cel-photo-date-generation">Au <?php echo strftime('%A %d %B %Y à %H:%M:%S'); ?></span>
|
196 |
}
|
- |
|
197 |
|
- |
|
198 |
function ouvrirFenetreContact(lienImage) {
|
- |
|
199 |
var url = lienImage.attr("href");
|
- |
|
200 |
window.open(url, '_blank', 'directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no, width='+(400)+', height='+(550));
|
- |
|
201 |
}
|
- |
|
202 |
//]]>
|
273 |
</p>
|
203 |
</script>
|
274 |
|
- |
|
275 |
<?php endif; ?>
|
- |
|
276 |
</div>
|
- |
|
277 |
<!-- modale -->
|
- |
|
278 |
<div id="fenetre-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="fenetre-modal-label" style="display: none;" aria-hidden="true">
|
- |
|
279 |
<div class="modal-dialog modal-dialog-centered" role="document">
|
- |
|
280 |
<div class="modal-content">
|
- |
|
281 |
<div class="modal-header">
|
- |
|
282 |
<h5 class="modal-title" id="fenetre-modal-label"></h5>
|
- |
|
283 |
<button type="button" class="close btn btn-sm btn-secondary" data-dismiss="modal" aria-label="Close">
|
- |
|
284 |
<span aria-hidden="true">×</span>
|
- |
|
285 |
</button>
|
- |
|
286 |
</div>
|
- |
|
287 |
<div class="modal-body row" id="print_content"></div>
|
- |
|
288 |
<div class="modal-footer hidden"></div>
|
- |
|
289 |
</div>
|
204 |
<?php endif; ?>
|
290 |
</div>
|
- |
|
291 |
</div>
|
- |
|
292 |
<!-- WIDGET:CEL:PHOTO - FIN -->
|
- |
|
293 |
<script type="text/Javascript">
|
- |
|
294 |
//<![CDATA[
|
- |
|
295 |
var widgetProp = {
|
- |
|
296 |
'id' : "<?php echo $id; ?>",
|
- |
|
297 |
'galerieId' : "<?php echo $galerie_id; ?>"
|
- |
|
298 |
};
|
- |
|
299 |
|
- |
|
300 |
$( document ).ready( function() {
|
- |
|
301 |
photo = new WidgetPhoto( widgetProp );
|
- |
|
302 |
photo.init();
|
- |
|
303 |
});
|
205 |
</div>
|
304 |
//]]>
|
206 |
<!-- WIDGET:CEL:PHOTO - FIN -->
|
- |
|
207 |
</body>
|
305 |
</script>
|
- |
|
306 |
</body>
|