Server shutdown in progressselect bn, board_id, thumb1, title, province, tumbon, amphur, ptype, psize, price, youtube, lat, lon, reg_id, qty_read, ontop, facebook_url, post_date, confirm, duedate from tb_oho_webboard where (confirm=1 and main_id=0 and ( (title like '%detail%' or detail like '%detail%') ) and duedate>='2024-04-27' ) or ( confirm=1 and duedate>='2024-04-27' and ontop>0) order by post_date desc, board_id desc limit 0,20