You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') order by newstime desc limit 0, 10' at line 1
select id,title ,other_title, titlepic, titleurl from ***_ecms_down where isgood = 9 and classid in ( ) order by newstime desc limit 0, 10