712,6 → 712,11 |
$requete .= 'bn_ce_id_menu IN ('.$categorie_nature.') and bf_ce_nature=bn_id_nature '; |
$req_where=1; |
} |
|
if (isset($_REQUEST['departement'])) { |
if ($req_where==1) {$requete .= ' AND ';} |
$requete .= ' bf_cp_lieu_evenement LIKE "'.$_REQUEST['departement'].'%" '; |
} |
|
$requete .= ' ORDER BY bf_date_creation_fiche DESC, bf_date_fin_validite_fiche DESC, bf_date_maj_fiche DESC'; |
if ($nbitem!='') {$requete .= ' LIMIT 0,'.$nbitem;} |
1202,7 → 1207,7 |
if (!isset($_REQUEST['personnes'])) { |
$_REQUEST['personnes']='tous'; |
} |
|
|
if ((isset($_REQUEST['date_debut']) && $_REQUEST['date_debut'] != '') || (isset($_REQUEST['date_fin']) && $_REQUEST['date_fin'] != '')) { |
|
if (isset($_REQUEST['date_debut']) && $_REQUEST['date_debut'] != '' && isset($_REQUEST['date_fin']) && $_REQUEST['date_fin'] != '') { |