| Line 136... |
Line 136... |
| 136 |
<?php if (!empty($champ_recherche)) : ?>
|
136 |
<?php if (!empty($champ_recherche)) : ?>
|
| 137 |
<form id="form-recherche<?php echo $id; ?>" class="form-recherche container" action="">
|
137 |
<form id="form-recherche<?php echo $id; ?>" class="form-recherche container" action="">
|
| 138 |
<div id="bloc-recherche<?php echo $id; ?>" class="bloc-recherche form-inline d-flex justify-content-center w-100">
|
138 |
<div id="bloc-recherche<?php echo $id; ?>" class="bloc-recherche form-inline d-flex justify-content-center w-100">
|
| 139 |
<input type="text" id="champ-recherche<?php echo $id; ?>"
|
139 |
<input type="text" id="champ-recherche<?php echo $id; ?>"
|
| 140 |
name="champ-recherche<?php echo $id; ?>" class="recherche form-control mr-1"
|
140 |
name="champ-recherche<?php echo $id; ?>" class="recherche form-control mr-1"
|
| 141 |
placeholder="Votre recherche" <?php echo('value="'.$filtres["recherche"].'"'); ?>>
|
141 |
placeholder="Votre recherche" <?php if(isset($filtres["recherche"])){ echo('value="'.$filtres["recherche"].'"');} ?>>
|
| 142 |
<input type="hidden" id="filtres<?php echo $id; ?>" name="filtres<?php echo $id; ?>">
|
142 |
<input type="hidden" id="filtres<?php echo $id; ?>" name="filtres<?php echo $id; ?>">
|
| 143 |
<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-rechercher<?php echo $id; ?>" class="btn btn-success bouton-rechercher mr-1"><i class="fas fa-search"></i> Rechercher</a>
|
| 144 |
<a id="bouton-plus-filtres<?php echo $id; ?>" class="btn btn-outline-secondary bouton-plus-filtres">
|
144 |
<a id="bouton-plus-filtres<?php echo $id; ?>" class="btn btn-outline-secondary bouton-plus-filtres">
|
| 145 |
<span class="plus">
|
145 |
<span class="plus">
|
| 146 |
<i class="fas fa-chevron-down"></i> Plus de filtres
|
146 |
<i class="fas fa-chevron-down"></i> Plus de filtres
|
| Line 154... |
Line 154... |
| 154 |
<a id="bouton-fermer-filtres<?php echo $id; ?>" class="btn bouton-fermer-filtres"><i class="fas fa-times"></i></a>
|
154 |
<a id="bouton-fermer-filtres<?php echo $id; ?>" class="btn bouton-fermer-filtres"><i class="fas fa-times"></i></a>
|
| 155 |
<div id="bloc-filtres-gauche" class="bloc-filtres bloc-filtres-gauche col-lg-6">
|
155 |
<div id="bloc-filtres-gauche" class="bloc-filtres bloc-filtres-gauche col-lg-6">
|
| 156 |
<div class="row bloc-taxon bloc-filtre">
|
156 |
<div class="row bloc-taxon bloc-filtre">
|
| 157 |
<label for="taxon">Taxon</label>
|
157 |
<label for="taxon">Taxon</label>
|
| 158 |
<input type="text" id="taxon" name="taxon" class="form-control"
|
158 |
<input type="text" id="taxon" name="taxon" class="form-control"
|
| 159 |
<?php echo('value="'.$filtres["taxon"].'"'); ?>>
|
159 |
<?php if(isset($filtres["taxon"])){ echo('value="'.$filtres["taxon"].'"');} ?>>
|
| 160 |
</div>
|
160 |
</div>
|
| 161 |
<div class="row bloc-referentiel bloc-filtre">
|
161 |
<div class="row bloc-referentiel bloc-filtre">
|
| 162 |
<label for="referentiel">Référentiel</label>
|
162 |
<label for="referentiel">Référentiel</label>
|
| 163 |
<select name="referentiel" id="referentiel" class="custom-select form-control referentiel">
|
163 |
<select name="referentiel" id="referentiel" class="custom-select form-control referentiel">
|
| 164 |
<option value="bdtfxr"
|
164 |
<option value="bdtfxr"
|
| 165 |
<?php if($filtres["referentiel"] == "bdtfxr" || !$filtres["referentiel"]){
|
165 |
<?php if(isset($filtres["referentiel"]) && ($filtres["referentiel"] == "bdtfxr" || !$filtres["referentiel"])){
|
| 166 |
echo ('selected="selected"');}?> title="Trachéophytes de France métropolitaine">Métropole (index réduit)</option>
|
166 |
echo ('selected="selected"');}?> title="Trachéophytes de France métropolitaine">Métropole (index réduit)</option>
|
| 167 |
<option value="bdtfx" title="Trachéophytes de France métropolitaine"
|
167 |
<option value="bdtfx" title="Trachéophytes de France métropolitaine"
|
| 168 |
<?php if($filtres["referentiel"] == "bdtfx"){
|
168 |
<?php if(isset($filtres["referentiel"]) && $filtres["referentiel"] == "bdtfx"){
|
| 169 |
echo('selected="selected"');
|
169 |
echo('selected="selected"');
|
| 170 |
}?>>Métropole (BDTFX)</option>
|
170 |
}?>>Métropole (BDTFX)</option>
|
| 171 |
<option value="bdtxa" title="Trachéophytes des Antilles"
|
171 |
<option value="bdtxa" title="Trachéophytes des Antilles"
|
| 172 |
<?php if($filtres["referentiel"] == "bdtxa"){
|
172 |
<?php if(isset($filtres["referentiel"]) && $filtres["referentiel"] == "bdtxa"){
|
| 173 |
echo('selected="selected"');
|
173 |
echo('selected="selected"');
|
| 174 |
}?>>Antilles françaises
|
174 |
}?>>Antilles françaises
|
| 175 |
(BDTXA)</option>
|
175 |
(BDTXA)</option>
|
| 176 |
<option value="bdtre" title="Trachéophytes de La Réunion"
|
176 |
<option value="bdtre" title="Trachéophytes de La Réunion"
|
| 177 |
<?php if($filtres["referentiel"] == "bdtxe"){
|
177 |
<?php if(isset($filtres["referentiel"]) && $filtres["referentiel"] == "bdtxe"){
|
| 178 |
echo('selected="selected"');
|
178 |
echo('selected="selected"');
|
| 179 |
}?>>Réunion (BDTRE)</option>
|
179 |
}?>>Réunion (BDTRE)</option>
|
| 180 |
<option value="aublet" title="Guyane">Guyane (AUBLET2)
|
180 |
<option value="aublet" title="Guyane">Guyane (AUBLET2)
|
| 181 |
<?php if($filtres["referentiel"] == "aublet"){
|
181 |
<?php if(isset($filtres["referentiel"]) && $filtres["referentiel"] == "aublet"){
|
| 182 |
echo('selected="selected"');
|
182 |
echo('selected="selected"');
|
| 183 |
}?></option>
|
183 |
}?></option>
|
| 184 |
<option value="florical" title="Nouvelle-Calédonie">Nouvelle-Calédonie (FLORICAL)
|
184 |
<option value="florical" title="Nouvelle-Calédonie">Nouvelle-Calédonie (FLORICAL)
|
| 185 |
<?php if($filtres["referentiel"] == "florical"){
|
185 |
<?php if(isset($filtres["referentiel"]) && $filtres["referentiel"] == "florical"){
|
| 186 |
echo('selected="selected"');
|
186 |
echo('selected="selected"');
|
| 187 |
}?></option>
|
187 |
}?></option>
|
| 188 |
<option value="isfan" title="Afrique du Nord">Afrique du Nord (ISFAN)
|
188 |
<option value="isfan" title="Afrique du Nord">Afrique du Nord (ISFAN)
|
| 189 |
<?php if($filtres["referentiel"] == "isfan"){
|
189 |
<?php if(isset($filtres["referentiel"]) && $filtres["referentiel"] == "isfan"){
|
| 190 |
echo('selected="selected"');
|
190 |
echo('selected="selected"');
|
| 191 |
}?></option>
|
191 |
}?></option>
|
| 192 |
<option value="apd" title="Afrique de l'Ouest et du Centre"
|
192 |
<option value="apd" title="Afrique de l'Ouest et du Centre"
|
| 193 |
<?php if($filtres["referentiel"] == "apd"){
|
193 |
<?php if(isset($filtres["referentiel"]) && $filtres["referentiel"] == "apd"){
|
| 194 |
echo('selected="selected"');
|
194 |
echo('selected="selected"');
|
| 195 |
}?>>Afrique de l'Ouest
|
195 |
}?>>Afrique de l'Ouest
|
| 196 |
et du Centre (APD)</option>
|
196 |
et du Centre (APD)</option>
|
| 197 |
<option value="lbf" title="Liban" <?php if($filtres["referentiel"] == "lbf"){
|
197 |
<option value="lbf" title="Liban" <?php if(isset($filtres["referentiel"]) && $filtres["referentiel"] == "lbf"){
|
| 198 |
echo('selected="selected"');
|
198 |
echo('selected="selected"');
|
| 199 |
}?>>Liban (LBF)</option>
|
199 |
}?>>Liban (LBF)</option>
|
| 200 |
<option value="autre" title="Autre/Inconnu"
|
200 |
<option value="autre" title="Autre/Inconnu"
|
| 201 |
<?php if($filtres["referentiel"] == "autre"){
|
201 |
<?php if(isset($filtres["referentiel"]) && $filtres["referentiel"] == "autre"){
|
| 202 |
echo('selected="selected"');
|
202 |
echo('selected="selected"');
|
| 203 |
}?>>Autre/Inconnu</option>
|
203 |
}?>>Autre/Inconnu</option>
|
| 204 |
</select>
|
204 |
</select>
|
| 205 |
</div>
|
205 |
</div>
|
| 206 |
<div class="bloc-periode bloc-filtre">
|
206 |
<div class="bloc-periode bloc-filtre">
|
| 207 |
<label for="periode" class="d-block">Date (début-fin)</label>
|
207 |
<label for="periode" class="d-block">Date (début-fin)</label>
|
| 208 |
<div class="form-row">
|
208 |
<div class="form-row">
|
| 209 |
<div class="form-group mb-lg-0 mb-1 col">
|
209 |
<div class="form-group mb-lg-0 mb-1 col">
|
| 210 |
<input type="date" id="date_deb" name="date_deb" class="form-control"
|
210 |
<input type="date" id="date_deb" name="date_deb" class="form-control"
|
| 211 |
<?php echo('value="'.$filtres["date_deb"].'"'); ?>>
|
211 |
<?php if(isset($filtres["date_deb"])){ echo('value="'.$filtres["date_deb"].'"');} ?>>
|
| 212 |
</div>
|
212 |
</div>
|
| 213 |
<div class="form-group mb-0 col">
|
213 |
<div class="form-group mb-0 col">
|
| 214 |
<input type="date" id="date_fin" name="date_fin" class="form-control"
|
214 |
<input type="date" id="date_fin" name="date_fin" class="form-control"
|
| 215 |
<?php echo('value="'.$filtres["date_fin"].'"'); ?>>
|
215 |
<?php if(isset($filtres["date_fin"])){ echo('value="'.$filtres["date_fin"].'"');} ?>>
|
| 216 |
</div>
|
216 |
</div>
|
| 217 |
</div>
|
217 |
</div>
|
| 218 |
<input type="hidden" id="periode" name="periode">
|
218 |
<input type="hidden" id="periode" name="periode">
|
| 219 |
</div>
|
219 |
</div>
|
| 220 |
<div class="row bloc-localite bloc-filtre">
|
220 |
<div class="row bloc-localite bloc-filtre">
|
| 221 |
<label for="commune">Localité</label>
|
221 |
<label for="commune">Localité</label>
|
| 222 |
<input type="text" id="commune" name="commune" class="form-control"
|
222 |
<input type="text" id="commune" name="commune" class="form-control"
|
| 223 |
<?php echo('value="'.$filtres["commune"].'"'); ?>>
|
223 |
<?php if(isset($filtres["commune"])){ echo('value="'.$filtres["commune"].'"');} ?>>
|
| 224 |
</div>
|
224 |
</div>
|
| 225 |
<div class="row bloc- bloc-filtre">
|
225 |
<div class="row bloc- bloc-filtre">
|
| 226 |
<label for="dept">Département</label>
|
226 |
<label for="dept">Département</label>
|
| 227 |
<input type="text" id="dept" name="dept" class="form-control"
|
227 |
<input type="text" id="dept" name="dept" class="form-control"
|
| 228 |
placeholder="Numéros (séparés par des virgules)"
|
228 |
placeholder="Numéros (séparés par des virgules)"
|
| 229 |
<?php echo('value="'.$filtres["dept"].'"'); ?>>
|
229 |
<?php if(isset($filtres["dept"])){ echo('value="'.$filtres["dept"].'"');} ?>>
|
| 230 |
</div>
|
230 |
</div>
|
| 231 |
<div class="row bloc- bloc-filtre">
|
231 |
<div class="row bloc- bloc-filtre">
|
| 232 |
<label for="pays">Pays</label>
|
232 |
<label for="pays">Pays</label>
|
| 233 |
<input type="text" id="pays" name="pays" class="form-control"
|
233 |
<input type="text" id="pays" name="pays" class="form-control"
|
| 234 |
<?php echo('value="'.$filtres["pays"].'"'); ?>>
|
234 |
<?php if(isset($filtres["pays"])){ echo('value="'.$filtres["pays"].'"');} ?>>
|
| 235 |
</div>
|
235 |
</div>
|
| 236 |
</div>
|
236 |
</div>
|
| 237 |
<div id="bloc-filtres-droite" class="bloc-filtres bloc-filtres-droite col-lg-6">
|
237 |
<div id="bloc-filtres-droite" class="bloc-filtres bloc-filtres-droite col-lg-6">
|
| 238 |
<div class="row bloc- bloc-filtre">
|
238 |
<div class="row bloc- bloc-filtre">
|
| 239 |
<label for="auteur">Auteur</label>
|
239 |
<label for="auteur">Auteur</label>
|
| 240 |
<input type="text" id="auteur" name="auteur" class="form-control"
|
240 |
<input type="text" id="auteur" name="auteur" class="form-control"
|
| 241 |
placeholder="Nom, email" <?php echo('value="'.$filtres["auteur"].'"'); ?>>
|
241 |
placeholder="Nom, email" <?php if(isset($filtres["auteur"])){ echo('value="'.$filtres["auteur"].'"');} ?>>
|
| 242 |
</div>
|
242 |
</div>
|
| 243 |
<div class="row bloc- bloc-filtre">
|
243 |
<div class="row bloc- bloc-filtre">
|
| 244 |
<label for="programme">Programme</label>
|
244 |
<label for="programme">Programme</label>
|
| 245 |
<input type="text" id="programme" name="programme" class="form-control"
|
245 |
<input type="text" id="programme" name="programme" class="form-control"
|
| 246 |
<?php echo('value="'.$filtres["programme"].'"'); ?>>
|
246 |
<?php if(isset($filtres["programme"])){ echo('value="'.$filtres["programme"].'"');} ?>>
|
| 247 |
</div>
|
247 |
</div>
|
| 248 |
<div class="row bloc- bloc-filtre">
|
248 |
<div class="row bloc- bloc-filtre">
|
| 249 |
<label for="tag">Tags (tous)</label>
|
249 |
<label for="tag">Tags (tous)</label>
|
| 250 |
<input type="text" id="tag" name="tag" class="form-control"
|
250 |
<input type="text" id="tag" name="tag" class="form-control"
|
| 251 |
<?php echo('value="'.$filtres["tag"].'"'); ?>>
|
251 |
<?php if(isset($filtres["tag"])){ echo('value="'.$filtres["tag"].'"');} ?>>
|
| 252 |
</div>
|
252 |
</div>
|
| 253 |
<div class="list bloc-photos-affichees bloc-filtre mt-3">
|
253 |
<div class="list bloc-photos-affichees bloc-filtre mt-3">
|
| 254 |
<div class="form-check mt-3">
|
254 |
<div class="form-check mt-3">
|
| 255 |
<input type="checkbox" id="standard" name="standard"
|
255 |
<input type="checkbox" id="standard" name="standard"
|
| 256 |
class="non-standards form-check-input" value="non-standard"
|
256 |
class="non-standards form-check-input" value="non-standard"
|
| 257 |
<?php if($filtres["non_standard"]){
|
257 |
<?php if(isset($filtres["non_standard"]) && $filtres["non_standard"]){
|
| 258 |
echo('checked');
|
258 |
echo('checked');
|
| 259 |
}?>>
|
259 |
}?>>
|
| 260 |
<label for="standard" class="non-standards form-check-label">Afficher les
|
260 |
<label for="standard" class="non-standards form-check-label">Afficher les
|
| 261 |
photos des observations "standards"</label>
|
261 |
photos des observations "standards"</label>
|
| 262 |
</div>
|
262 |
</div>
|