View file template/localforum.php
<?php // mod by Golem http://veplog.ru $localfile = file(BASEDIR."local/who.dat"); $forum_shet = 0; foreach($localfile as $value){ if (strstr($value,"/forum/index.php")){$forum_shet++;} } echo ' ('.$forum_shet.')<br>'; ?>