You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and classid='210' and checked=1 order by newstime asc limit 1' at line 1
select titleurl,groupid,classid,newspath,filename,id from ***_ecms_news where newstime> and classid='210' and checked=1 order by newstime asc limit 1