$getnewposts = $DB_site->query_first(" SELECT COUNT(*) AS count FROM " . TABLE_PREFIX . "post AS post LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON (thread.threadid=post.threadid) WHERE post.dateline >= '$bbuserinfo[lastvisit]' AND thread.forumid NOT IN (1,2,3) ");