1064 - 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 type_id='E' AND publish=1 AND (sort_number< OR (sort_number= AND created_d' at line 1
SELECT content_id, title, content,created_date FROM content WHERE content_id not in (0,) AND type_id='E' AND publish=1 AND (sort_number< OR (sort_number= AND created_date<='')) ORDER BY sort_number DESC, created_date DESC LIMIT 0,10
[SQL STOP]