SELECT thread.title, post.pagetext, from_unixtime(thread.dateline) AS date FROM thread INNER JOIN post ON thread.firstpostid = post.postid WHERE thread.forumid NOT IN(10,11,12,13)