Still wont work

[sql]
Database error in vBulletin 3.5.3:
Invalid SQL:
SELECT thread.postusername,
thread.postuserid,
thread.title AS fth,
thread.lastposter,
thread.replycount,
thread.views,
thread.threadid,
thread.forumid tid,
forum.forumid AS fid,
forum.title AS ft
FROM BlizzedOut_thread AS thread, BlizzedOut_forum AS forum
WHERE forum.forumid = thread.forumid
AND dateline BETWEEN 1137213119 AND 1142397119
AND thread.forumid NOT IN ()
AND thread.threadid NOT IN ()
ORDER BY thread.replycount AND thread.views ASC LIMIT 1;
MySQL Error : 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 thread.threadid NOT IN ()
ORD
Error Number : 1064
Date : Sunday, February 12th 2006 @ 11:32:01 PM
Script :
http://www.BeastToast.com/forums/index.php?
Referrer :
http://www.BeastToast.com/forums/showthread.php?t=2115
IP Address : 1.2.3.4
Username : Chad
Classname : vb_database[/sql]