SELECT evenements.*, evenements.id eID, evenements_dates.start_date, evenements_dates.end_date, evenements_dates.date_status, evenements_dates.comment, zones.code zCode, IF((date_hidden<>'YES' OR ISNULL(date_hidden)), '0', IF(start_date='2025-04-06','1','2') ) ordre_expo, IF( (SELECT COUNT(evenements_categories.id) FROM evenements_categories, evenements_to_evenements_categories WHERE evenements_categories_id = evenements_categories.id AND evenements_id = evenements.id AND est_periode='YES') > 0, 1, 0) ordre_tri FROM evenements_dates, evenements, zones WHERE zones.id = zones_id AND evenements.id = evenements_dates.evenements_id AND event_status='PUBLIC' AND (is_hidden<>'YES' OR ISNULL(is_hidden)) AND ( start_date BETWEEN '2025-05-01' AND DATE_ADD('2025-05-31', INTERVAL 1 DAY) OR end_date BETWEEN '2025-05-01' AND DATE_ADD('2025-05-31', INTERVAL 1 DAY) OR (end_date>='2025-05-31' AND start_date<='2025-05-31') ) AND (start_date>='2025-04-06' OR end_date>='2025-04-06 06:00:00')AND (SELECT COUNT(evenements_to_evenements_categories.id) FROM evenements_to_evenements_categories, evenements_categories WHERE evenements_categories_id=evenements_categories.id AND evenements_categories.slug='exposition' AND evenements_id=evenements.id) > 0 ORDER BY ordre_expo ASC, ordre_tri ASC, start_date, event_title ASC143 6 65 149 183 74 1035 440 1051 325 876 0 62 193 66 255 782 218 187 745 920 40 511 274 361 34 11 645 64 216 961 12 654 232 555 919 202 628 245 1 265 49 246 478 311 519 3 379 261 20 372 565 558 75
//
include: 0.00443
page: -0.779185
dist: 4.000000000004E-6
evt: -0.701806
reg: 0.035546
cat: 0.231486
lab: 0.041017
month: -0.287682