Line 320... |
Line 320... |
320 |
}
|
320 |
}
|
321 |
$html_filtre .= '<option id="filtre_tous" value="*" ';
|
321 |
$html_filtre .= '<option id="filtre_tous" value="*" ';
|
322 |
if (isset($_POST['bazar_filtre_'.$numero_liste]) && '*' == $_POST['bazar_filtre_'.$numero_liste]) {
|
322 |
if (isset($_POST['bazar_filtre_'.$numero_liste]) && '*' == $_POST['bazar_filtre_'.$numero_liste]) {
|
323 |
$html_filtre .= 'selected="selected" ';
|
323 |
$html_filtre .= 'selected="selected" ';
|
324 |
}
|
324 |
}
|
325 |
$html_filtre .= '>'.'Tous les événements'.'</option>';
|
325 |
$html_filtre .= '>'.'Tous les �v�nements'.'</option>';
|
Line 326... |
Line 326... |
326 |
|
326 |
|
327 |
while ($ligne = $resultat->fetchRow(DB_FETCHMODE_OBJECT)) {
|
327 |
while ($ligne = $resultat->fetchRow(DB_FETCHMODE_OBJECT)) {
|
328 |
$html_filtre .= '<option class="filtre_'.$ligne->blv_valeur.'" value="'.$ligne->blv_valeur.'"';
|
328 |
$html_filtre .= '<option class="filtre_'.$ligne->blv_valeur.'" value="'.$ligne->blv_valeur.'"';
|
329 |
if (isset($_POST['bazar_filtre_'.$numero_liste]) && $ligne->blv_valeur == $_POST['bazar_filtre_'.$numero_liste]) {
|
329 |
if (isset($_POST['bazar_filtre_'.$numero_liste]) && $ligne->blv_valeur == $_POST['bazar_filtre_'.$numero_liste]) {
|
Line 373... |
Line 373... |
373 |
addListener(calDateFin,\'change\',verifDate) ;
|
373 |
addListener(calDateFin,\'change\',verifDate) ;
|
374 |
var calDateDeb = document.getElementById("date_debut") ;
|
374 |
var calDateDeb = document.getElementById("date_debut") ;
|
375 |
addListener(calDateDeb,\'change\',verifDate) ;
|
375 |
addListener(calDateDeb,\'change\',verifDate) ;
|
376 |
$(document).ready(function() { $(\'#date_debut, #date_fin\').datepicker($.extend({}, $.datepicker.regional["fr-FR"],{
|
376 |
$(document).ready(function() { $(\'#date_debut, #date_fin\').datepicker($.extend({}, $.datepicker.regional["fr-FR"],{
|
377 |
dateFormat:\'dd-mm-yy\',
|
377 |
dateFormat:\'dd-mm-yy\',
|
378 |
buttonImage: "client/bazar/images/cal.png",
|
378 |
buttonImage: "reseau/bazar/images/cal.png",
|
379 |
showOn: "both",
|
379 |
showOn: "both",
|
380 |
beforeShow: customRange,
|
380 |
beforeShow: customRange,
|
381 |
buttonImageOnly: true'."\n".
|
381 |
buttonImageOnly: true'."\n".
|
382 |
'}));})' ."\n".
|
382 |
'}));})' ."\n".
|
383 |
'function customRange(input) { return {minDate: (input.id == "date_fin" ? $("#date_debut").datepicker("getDate") : null),
|
383 |
'function customRange(input) { return {minDate: (input.id == "date_fin" ? $("#date_debut").datepicker("getDate") : null),
|