select * from yk_popup where DATE_FORMAT(now(),'%Y-%m-%d') >= reg_date and check_use='Y' and (level=0 or level=1)
2013 : Lost connection to MySQL server during query
error file : /index.php