select * from manage_banners where (valid_from <= "2024-04-26" or valid_from="0000-00-00") and (valid_until >= "2024-04-26" or valid_until="0000-00-00") and banner_image <> "" and (banner_position2 like "%category_1217|%" or banner_position2 like "%|category_1217" or banner_position2="category_1217") and approved="1" limit 1
[TEP STOP]
2006 - MySQL server has gone away
select 1 from sessions where sesskey = 'ucjqcsvaq3ofa6mu9md5bi3d65'