} else { $resulte = dbquery(" SELECT tf.forum_id, tt.thread_id, tt.thread_subject, COUNT(tp.post_id) as count_posts FROM ".$db_prefix."forums tf INNER JOIN ".$db_prefix."threads tt USING(forum_id) INNER JOIN ".$db_prefix."posts tp USING(thread_id) WHERE forum_access<='".iUSER."' GROUP BY thread_id ORDER BY count_posts DESC, thread_lastpost DESC [color=red]LIMIT 10[/color] "); if (dbrows($resulte) != 0) { echo "\n"; while($datae = dbarray($resulte)) { $itemsubjectt = trimlink($datae['thread_subject'], 17); echo "\n\n\n";ect
\n";ct
\n"; align='right' class='side-small'>[".($data['count_posts']-1)."]\n\n"; } } echo "
- $itemsubjectt [".($datae['count_posts']-1)."]
\n"; echo "