$query = mysql_query("SELECT * FROM `[vb_prefix]_thread` WHERE `open`='1' ORDER BY `dateline` DESC LIMIT 0,8");