Change this line:
Code:
$query = "SELECT * FROM thread ORDER BY lastpost DESC LIMIT $maxthreads";
To something like this:
Code:
$query = "SELECT * FROM thread where forumid='1' or forumid='2' or forumid='3' ORDER BY lastpost DESC LIMIT $maxthreads";
Add all the forumid's of those forums that you would like to be INcluded in the query. Don't add id's of private forums and such. With nearly 70 forums myself that line can become quite long