View file forum/count.php
<?php //выводит кол-во тем и сообщений $ft=@mysql_result(mysql_query("SELECT COUNT(id) FROM `forum_t` WHERE 1;"),0); $fm=@mysql_result(mysql_query("SELECT COUNT(id) FROM `forum_m` WHERE 1;"),0); $count='['.$ft.'/'.$fm.']'; ?>