SELECT   atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_elementor_template_type' AND atpiun_postmeta.meta_value = 'landing-page' )
) AND atpiun_posts.post_type = 'e-landing-page' AND ((atpiun_posts.post_status <> 'trash' AND atpiun_posts.post_status <> 'auto-draft'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:41' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:41' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:41' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:41' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:41' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:41'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:41' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:41'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:41' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:41'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'post' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'post' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'post' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'post' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'post' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'tribe_events' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'tribe_events' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'tribe_events' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'tribe_events' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'tribe_events' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'tribe_events' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'professeur' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'professeur' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'professeur' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'professeur' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'professeur' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'professeur' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'professeur' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'cours' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'cours' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'cours' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'cours' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'cours' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'cours' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'cours' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'cours' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'stages' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'stages' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'stages' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'stages' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'stages' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'stages' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'stages' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'stages' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'stages' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'cpt_portfolio' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'cpt_portfolio' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'cpt_portfolio' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'cpt_portfolio' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'cpt_portfolio' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'cpt_portfolio' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'cpt_portfolio' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'cpt_portfolio' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'cpt_portfolio' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )  INNER JOIN atpiun_postmeta AS mt2 ON ( atpiun_posts.ID = mt2.post_id )
					 WHERE 1=1  AND ( 
  ( atpiun_postmeta.meta_key = '_wp_page_template' AND atpiun_postmeta.meta_value = 'blog.php' ) 
  AND 
  ( mt1.meta_key = 'ozeum_options_post_type' AND mt1.meta_value = 'cpt_portfolio' ) 
  AND 
  ( mt2.meta_key = 'ozeum_options_parent_cat' AND mt2.meta_value < '1' )
) AND atpiun_posts.post_type = 'page' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date ASC
					 LIMIT 0, 1
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND atpiun_posts.post_name = 'cadeaux-de-noel-arty' AND atpiun_posts.post_type = 'post'
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND atpiun_posts.post_name = 'cadeaux-de-noel-arty' AND atpiun_posts.post_type = 'post'
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND atpiun_posts.post_name = 'cadeaux-de-noel-arty' AND atpiun_posts.post_type = 'post'
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND atpiun_posts.post_name = 'cadeaux-de-noel-arty' AND atpiun_posts.post_type = 'post'
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND atpiun_posts.post_name = 'cadeaux-de-noel-arty' AND atpiun_posts.post_type = 'post'
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND atpiun_posts.post_name = 'cadeaux-de-noel-arty' AND atpiun_posts.post_type = 'post'
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND atpiun_posts.post_name = 'cadeaux-de-noel-arty' AND atpiun_posts.post_type = 'post'
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND atpiun_posts.post_name = 'cadeaux-de-noel-arty' AND atpiun_posts.post_type = 'post'
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND atpiun_posts.post_name = 'cadeaux-de-noel-arty' AND atpiun_posts.post_type = 'post'
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND atpiun_posts.post_name = 'cadeaux-de-noel-arty' AND atpiun_posts.post_type = 'post'
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND atpiun_posts.post_name = 'cadeaux-de-noel-arty' AND atpiun_posts.post_type = 'post'
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND ((atpiun_posts.post_type = 'elementor_font' AND (atpiun_posts.post_status = 'publish' OR atpiun_posts.post_status = 'acf-disabled' OR atpiun_posts.post_status = 'tribe-ea-success' OR atpiun_posts.post_status = 'tribe-ea-failed' OR atpiun_posts.post_status = 'tribe-ea-schedule' OR atpiun_posts.post_status = 'tribe-ea-pending' OR atpiun_posts.post_status = 'tribe-ea-draft')))
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND ((atpiun_posts.post_type = 'elementor_font' AND (atpiun_posts.post_status = 'publish' OR atpiun_posts.post_status = 'acf-disabled' OR atpiun_posts.post_status = 'tribe-ea-success' OR atpiun_posts.post_status = 'tribe-ea-failed' OR atpiun_posts.post_status = 'tribe-ea-schedule' OR atpiun_posts.post_status = 'tribe-ea-pending' OR atpiun_posts.post_status = 'tribe-ea-draft')))
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND ((atpiun_posts.post_type = 'elementor_font' AND (atpiun_posts.post_status = 'publish' OR atpiun_posts.post_status = 'acf-disabled' OR atpiun_posts.post_status = 'tribe-ea-success' OR atpiun_posts.post_status = 'tribe-ea-failed' OR atpiun_posts.post_status = 'tribe-ea-schedule' OR atpiun_posts.post_status = 'tribe-ea-pending' OR atpiun_posts.post_status = 'tribe-ea-draft')))
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND ((atpiun_posts.post_type = 'elementor_font' AND (atpiun_posts.post_status = 'publish' OR atpiun_posts.post_status = 'acf-disabled' OR atpiun_posts.post_status = 'tribe-ea-success' OR atpiun_posts.post_status = 'tribe-ea-failed' OR atpiun_posts.post_status = 'tribe-ea-schedule' OR atpiun_posts.post_status = 'tribe-ea-pending' OR atpiun_posts.post_status = 'tribe-ea-draft')))
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND ((atpiun_posts.post_type = 'elementor_font' AND (atpiun_posts.post_status = 'publish' OR atpiun_posts.post_status = 'acf-disabled' OR atpiun_posts.post_status = 'tribe-ea-success' OR atpiun_posts.post_status = 'tribe-ea-failed' OR atpiun_posts.post_status = 'tribe-ea-schedule' OR atpiun_posts.post_status = 'tribe-ea-pending' OR atpiun_posts.post_status = 'tribe-ea-draft')))
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND ((atpiun_posts.post_type = 'elementor_font' AND (atpiun_posts.post_status = 'publish' OR atpiun_posts.post_status = 'acf-disabled' OR atpiun_posts.post_status = 'tribe-ea-success' OR atpiun_posts.post_status = 'tribe-ea-failed' OR atpiun_posts.post_status = 'tribe-ea-schedule' OR atpiun_posts.post_status = 'tribe-ea-pending' OR atpiun_posts.post_status = 'tribe-ea-draft')))
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND ((atpiun_posts.post_type = 'elementor_font' AND (atpiun_posts.post_status = 'publish' OR atpiun_posts.post_status = 'acf-disabled' OR atpiun_posts.post_status = 'tribe-ea-success' OR atpiun_posts.post_status = 'tribe-ea-failed' OR atpiun_posts.post_status = 'tribe-ea-schedule' OR atpiun_posts.post_status = 'tribe-ea-pending' OR atpiun_posts.post_status = 'tribe-ea-draft')))
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND ((atpiun_posts.post_type = 'elementor_font' AND (atpiun_posts.post_status = 'publish' OR atpiun_posts.post_status = 'acf-disabled' OR atpiun_posts.post_status = 'tribe-ea-success' OR atpiun_posts.post_status = 'tribe-ea-failed' OR atpiun_posts.post_status = 'tribe-ea-schedule' OR atpiun_posts.post_status = 'tribe-ea-pending' OR atpiun_posts.post_status = 'tribe-ea-draft')))
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND ((atpiun_posts.post_type = 'elementor_font' AND (atpiun_posts.post_status = 'publish' OR atpiun_posts.post_status = 'acf-disabled' OR atpiun_posts.post_status = 'tribe-ea-success' OR atpiun_posts.post_status = 'tribe-ea-failed' OR atpiun_posts.post_status = 'tribe-ea-schedule' OR atpiun_posts.post_status = 'tribe-ea-pending' OR atpiun_posts.post_status = 'tribe-ea-draft')))
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND ((atpiun_posts.post_type = 'elementor_font' AND (atpiun_posts.post_status = 'publish' OR atpiun_posts.post_status = 'acf-disabled' OR atpiun_posts.post_status = 'tribe-ea-success' OR atpiun_posts.post_status = 'tribe-ea-failed' OR atpiun_posts.post_status = 'tribe-ea-schedule' OR atpiun_posts.post_status = 'tribe-ea-pending' OR atpiun_posts.post_status = 'tribe-ea-draft')))
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND ((atpiun_posts.post_type = 'elementor_font' AND (atpiun_posts.post_status = 'publish' OR atpiun_posts.post_status = 'acf-disabled' OR atpiun_posts.post_status = 'tribe-ea-success' OR atpiun_posts.post_status = 'tribe-ea-failed' OR atpiun_posts.post_status = 'tribe-ea-schedule' OR atpiun_posts.post_status = 'tribe-ea-pending' OR atpiun_posts.post_status = 'tribe-ea-draft')))
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
SELECT   atpiun_posts.*
					 FROM atpiun_posts 
					 WHERE 1=1  AND ((atpiun_posts.post_type = 'elementor_font' AND (atpiun_posts.post_status = 'publish' OR atpiun_posts.post_status = 'acf-disabled' OR atpiun_posts.post_status = 'tribe-ea-success' OR atpiun_posts.post_status = 'tribe-ea-failed' OR atpiun_posts.post_status = 'tribe-ea-schedule' OR atpiun_posts.post_status = 'tribe-ea-pending' OR atpiun_posts.post_status = 'tribe-ea-draft')))
					 
					 ORDER BY atpiun_posts.post_date DESC
					 
Noël 2021, les idées de cadeaux arty de l'Atelier Pièce Unique
Skip to content Skip to footer

Le Noël des collectionneurs 2021

Une idée de cadeau de Noël originale et arty ? Peintures et sculptures, coffrets arty et gourmands, vous trouverez à l’Atelier Pièce Unique votre bonheur !

Du 15 novembre au 24 décembre 2021

1 place du Lavoir

Fourqueux
78112 Saint-Germain-en-Laye

À ne pas manquer

 

Vendredi 3 décembre de 18 h 00 à 21 h 00

 

Soirée VIP spécial achat de Noël avec vin chaud offert pour nos clients

Il n’y a rien de mieux qu’un cadeau arty pour marquer votre affection aux êtres chers. Pour les fêtes, l’Atelier Pièce Unique vous propose une sélection colorée, gourmande et créative. Toutes les facettes de notre lieu y sont représentées. Vous trouverez une sélection de petits formats des artistes phares de la galerie : peintures de Mathilde de Bellecombe, Jérôme Bouscarat, Valérie Auriel, Josick, Alexandra Chauchereau, sculptures en bois flotté et argile de Françoise Delorenzi, céramiques dessinées de Mathilde Le Mancq, sculptures animalière de Claire Deschamps et bien d’autres. Votre acquisition sera accompagnée d’un certificat d’authenticité, emballée dans un joli coffret. Elle pourra aussi être encadrée si vous le souhaitez !Pour les esthètes et les gourmands, nous présentons une idée de cadeau de Noël sympathique : des coffrets gourmet et arty. Dans une boîte élégante, nous associons petit matériel beaux-arts, friandises et objets décoratifs. Vous ne saurez que choisir entre les délicieuses pâtes de fruits du confiseur Sébastien Cortial, les calendrier de l’avent de la marque de café bio Terramoka (dont nous sommes les ambassadeurs), les délicats thés bio Alveus… Pour profiter d’un tea time bien mérité et goûter à ces différentes douceurs, vous trouverez dans notre boutique des mugs artistiques Brito, William Kilburn, Van Gogh, des sucriers, des théières, des tasses à thé…Les artistes amateurs ne sont pas oubliés. Nous proposons de nombreux coffrets cadeaux qui permettent d’explorer différentes techniques… Vous pourrez aussi offrir (ou vous offrir) de jolis carnets de dessins et d’aquarelle, des coffrets de découverte de l’aquarelle et du pastel, des produits beaux-arts de chez Sennelier et Caran d’Ache.Et si vous souhaitez faire un cadeau parfait, pensez à nos chèques cadeaux. Ils sont valables sur tous les produits de notre boutique, sur les oeuvres d’art et aussi sur nos cours et stage. L’être aimé que vous gâtez pourra choisir ce qui lui plait vraiment. Il sera ravi de cette attention !

SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id)
					 WHERE 1=1  AND atpiun_posts.ID NOT IN (13329) AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (100)
) AND atpiun_posts.post_type = 'post' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY RAND()
					 LIMIT 0, 2
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id)
					 WHERE 1=1  AND atpiun_posts.ID NOT IN (13329) AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (100)
) AND atpiun_posts.post_type = 'post' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY RAND()
					 LIMIT 0, 2
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id)
					 WHERE 1=1  AND atpiun_posts.ID NOT IN (13329) AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (100)
) AND atpiun_posts.post_type = 'post' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY RAND()
					 LIMIT 0, 2
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id)
					 WHERE 1=1  AND atpiun_posts.ID NOT IN (13329) AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (100)
) AND atpiun_posts.post_type = 'post' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY RAND()
					 LIMIT 0, 2
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id)
					 WHERE 1=1  AND atpiun_posts.ID NOT IN (13329) AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (100)
) AND atpiun_posts.post_type = 'post' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY RAND()
					 LIMIT 0, 2
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id)
					 WHERE 1=1  AND atpiun_posts.ID NOT IN (13329) AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (100)
) AND atpiun_posts.post_type = 'post' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY RAND()
					 LIMIT 0, 2
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id)
					 WHERE 1=1  AND atpiun_posts.ID NOT IN (13329) AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (100)
) AND atpiun_posts.post_type = 'post' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY RAND()
					 LIMIT 0, 2
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id)
					 WHERE 1=1  AND atpiun_posts.ID NOT IN (13329) AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (100)
) AND atpiun_posts.post_type = 'post' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY RAND()
					 LIMIT 0, 2
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id)
					 WHERE 1=1  AND atpiun_posts.ID NOT IN (13329) AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (100)
) AND atpiun_posts.post_type = 'post' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY RAND()
					 LIMIT 0, 2
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id)
					 WHERE 1=1  AND atpiun_posts.ID NOT IN (13329) AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (100)
) AND atpiun_posts.post_type = 'post' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY RAND()
					 LIMIT 0, 2
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id)
					 WHERE 1=1  AND atpiun_posts.ID NOT IN (13329) AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (100)
) AND atpiun_posts.post_type = 'post' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY RAND()
					 LIMIT 0, 2
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id)
					 WHERE 1=1  AND atpiun_posts.ID NOT IN (13329) AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (100)
) AND atpiun_posts.post_type = 'post' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY RAND()
					 LIMIT 0, 2
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id)
					 WHERE 1=1  AND atpiun_posts.ID NOT IN (13329) AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (100)
) AND atpiun_posts.post_type = 'post' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY RAND()
					 LIMIT 0, 2
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id)
					 WHERE 1=1  AND atpiun_posts.ID NOT IN (13329) AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (100)
) AND atpiun_posts.post_type = 'post' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY RAND()
					 LIMIT 0, 2
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id)
					 WHERE 1=1  AND atpiun_posts.ID NOT IN (13329) AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (100)
) AND atpiun_posts.post_type = 'post' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY RAND()
					 LIMIT 0, 2
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id)
					 WHERE 1=1  AND atpiun_posts.ID NOT IN (13329) AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (100)
) AND atpiun_posts.post_type = 'post' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY RAND()
					 LIMIT 0, 2
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id)
					 WHERE 1=1  AND atpiun_posts.ID NOT IN (13329) AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (100)
) AND atpiun_posts.post_type = 'post' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY RAND()
					 LIMIT 0, 2
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id)
					 WHERE 1=1  AND atpiun_posts.ID NOT IN (13329) AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (100)
) AND atpiun_posts.post_type = 'post' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY RAND()
					 LIMIT 0, 2
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_postmeta.meta_key = '_elementor_template_type' 
  AND 
  ( 
    ( mt1.meta_key = '_elementor_template_type' AND mt1.meta_value = 'popup' )
  )
) AND atpiun_posts.post_type = 'elementor_library' AND ((atpiun_posts.post_status <> 'trash' AND atpiun_posts.post_status <> 'auto-draft'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_postmeta.meta_key = '_elementor_template_type' 
  AND 
  ( 
    ( mt1.meta_key = '_elementor_template_type' AND mt1.meta_value = 'popup' )
  )
) AND atpiun_posts.post_type = 'elementor_library' AND ((atpiun_posts.post_status <> 'trash' AND atpiun_posts.post_status <> 'auto-draft'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_postmeta.meta_key = '_elementor_template_type' 
  AND 
  ( 
    ( mt1.meta_key = '_elementor_template_type' AND mt1.meta_value = 'popup' )
  )
) AND atpiun_posts.post_type = 'elementor_library' AND ((atpiun_posts.post_status <> 'trash' AND atpiun_posts.post_status <> 'auto-draft'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_postmeta.meta_key = '_elementor_template_type' 
  AND 
  ( 
    ( mt1.meta_key = '_elementor_template_type' AND mt1.meta_value = 'popup' )
  )
) AND atpiun_posts.post_type = 'elementor_library' AND ((atpiun_posts.post_status <> 'trash' AND atpiun_posts.post_status <> 'auto-draft'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_postmeta.meta_key = '_elementor_template_type' 
  AND 
  ( 
    ( mt1.meta_key = '_elementor_template_type' AND mt1.meta_value = 'popup' )
  )
) AND atpiun_posts.post_type = 'elementor_library' AND ((atpiun_posts.post_status <> 'trash' AND atpiun_posts.post_status <> 'auto-draft'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_postmeta.meta_key = '_elementor_template_type' 
  AND 
  ( 
    ( mt1.meta_key = '_elementor_template_type' AND mt1.meta_value = 'popup' )
  )
) AND atpiun_posts.post_type = 'elementor_library' AND ((atpiun_posts.post_status <> 'trash' AND atpiun_posts.post_status <> 'auto-draft'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_postmeta.meta_key = '_elementor_template_type' 
  AND 
  ( 
    ( mt1.meta_key = '_elementor_template_type' AND mt1.meta_value = 'popup' )
  )
) AND atpiun_posts.post_type = 'elementor_library' AND ((atpiun_posts.post_status <> 'trash' AND atpiun_posts.post_status <> 'auto-draft'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_postmeta.meta_key = '_elementor_template_type' 
  AND 
  ( 
    ( mt1.meta_key = '_elementor_template_type' AND mt1.meta_value = 'popup' )
  )
) AND atpiun_posts.post_type = 'elementor_library' AND ((atpiun_posts.post_status <> 'trash' AND atpiun_posts.post_status <> 'auto-draft'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_postmeta.meta_key = '_elementor_template_type' 
  AND 
  ( 
    ( mt1.meta_key = '_elementor_template_type' AND mt1.meta_value = 'popup' )
  )
) AND atpiun_posts.post_type = 'elementor_library' AND ((atpiun_posts.post_status <> 'trash' AND atpiun_posts.post_status <> 'auto-draft'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_postmeta.meta_key = '_elementor_template_type' 
  AND 
  ( 
    ( mt1.meta_key = '_elementor_template_type' AND mt1.meta_value = 'popup' )
  )
) AND atpiun_posts.post_type = 'elementor_library' AND ((atpiun_posts.post_status <> 'trash' AND atpiun_posts.post_status <> 'auto-draft'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_postmeta.meta_key = '_elementor_template_type' 
  AND 
  ( 
    ( mt1.meta_key = '_elementor_template_type' AND mt1.meta_value = 'popup' )
  )
) AND atpiun_posts.post_type = 'elementor_library' AND ((atpiun_posts.post_status <> 'trash' AND atpiun_posts.post_status <> 'auto-draft'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_postmeta.meta_key = '_elementor_template_type' 
  AND 
  ( 
    ( mt1.meta_key = '_elementor_template_type' AND mt1.meta_value = 'popup' )
  )
) AND atpiun_posts.post_type = 'elementor_library' AND ((atpiun_posts.post_status <> 'trash' AND atpiun_posts.post_status <> 'auto-draft'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_postmeta.meta_key = '_elementor_template_type' 
  AND 
  ( 
    ( mt1.meta_key = '_elementor_template_type' AND mt1.meta_value = 'popup' )
  )
) AND atpiun_posts.post_type = 'elementor_library' AND ((atpiun_posts.post_status <> 'trash' AND atpiun_posts.post_status <> 'auto-draft'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_postmeta.meta_key = '_elementor_template_type' 
  AND 
  ( 
    ( mt1.meta_key = '_elementor_template_type' AND mt1.meta_value = 'popup' )
  )
) AND atpiun_posts.post_type = 'elementor_library' AND ((atpiun_posts.post_status <> 'trash' AND atpiun_posts.post_status <> 'auto-draft'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_postmeta.meta_key = '_elementor_template_type' 
  AND 
  ( 
    ( mt1.meta_key = '_elementor_template_type' AND mt1.meta_value = 'popup' )
  )
) AND atpiun_posts.post_type = 'elementor_library' AND ((atpiun_posts.post_status <> 'trash' AND atpiun_posts.post_status <> 'auto-draft'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_postmeta.meta_key = '_elementor_template_type' 
  AND 
  ( 
    ( mt1.meta_key = '_elementor_template_type' AND mt1.meta_value = 'popup' )
  )
) AND atpiun_posts.post_type = 'elementor_library' AND ((atpiun_posts.post_status <> 'trash' AND atpiun_posts.post_status <> 'auto-draft'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_postmeta.meta_key = '_elementor_template_type' 
  AND 
  ( 
    ( mt1.meta_key = '_elementor_template_type' AND mt1.meta_value = 'popup' )
  )
) AND atpiun_posts.post_type = 'elementor_library' AND ((atpiun_posts.post_status <> 'trash' AND atpiun_posts.post_status <> 'auto-draft'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_postmeta.meta_key = '_elementor_template_type' 
  AND 
  ( 
    ( mt1.meta_key = '_elementor_template_type' AND mt1.meta_value = 'popup' )
  )
) AND atpiun_posts.post_type = 'elementor_library' AND ((atpiun_posts.post_status <> 'trash' AND atpiun_posts.post_status <> 'auto-draft'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_postmeta.meta_key = '_elementor_template_type' 
  AND 
  ( 
    ( mt1.meta_key = '_elementor_template_type' AND mt1.meta_value = 'popup' )
  )
) AND atpiun_posts.post_type = 'elementor_library' AND ((atpiun_posts.post_status <> 'trash' AND atpiun_posts.post_status <> 'auto-draft'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:42' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:42' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:42' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:42' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:42' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:42' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:42' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:42' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:42' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:42' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:42' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:42' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:42' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:42' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:42' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:42' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:42' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:42' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:42' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:42' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:42' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:42' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:42' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:42' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:42' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:42' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:42' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:42' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:42' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:42' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:42' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:42' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:42' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:42' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:42' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:42' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:42' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:42' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:42' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:42' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_postmeta ON ( atpiun_posts.ID = atpiun_postmeta.post_id )  INNER JOIN atpiun_postmeta AS mt1 ON ( atpiun_posts.ID = mt1.post_id )
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  ( atpiun_postmeta.meta_key = '_EventStartDate' AND CAST(atpiun_postmeta.meta_value AS DATETIME) <= '2026-01-05 09:13:42' ) 
  AND 
  ( mt1.meta_key = '_EventEndDate' AND CAST(mt1.meta_value AS DATETIME) >= '2026-01-05 09:13:42' )
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_posts.ID
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1
SELECT SQL_CALC_FOUND_ROWS  atpiun_posts.*
					 FROM atpiun_posts  LEFT JOIN atpiun_term_relationships ON (atpiun_posts.ID = atpiun_term_relationships.object_id) INNER JOIN atpiun_tec_occurrences ON atpiun_posts.ID = atpiun_tec_occurrences.post_id
					 WHERE 1=1  AND ( 
  atpiun_term_relationships.term_taxonomy_id IN (20)
) AND ( 
  atpiun_tec_occurrences.start_date <= '2026-01-05 09:13:42' 
  AND 
  atpiun_tec_occurrences.end_date >= '2026-01-05 09:13:42'
) AND atpiun_posts.post_type = 'tribe_events' AND ((atpiun_posts.post_status = 'publish'))
					 GROUP BY atpiun_tec_occurrences.occurrence_id
					 ORDER BY atpiun_posts.post_date DESC
					 LIMIT 0, 1