Просмотр файла pages/forumchet.php
<?php $daytime=date("d",$sitetime); $montime=date("d.m",$sitetime); $yeartime=date("d.m.Y",$sitetime); $localfile = file(BASEDIR."local/who.dat"); foreach($localfile as $value){ $who_file=explode("|",$value); $controltime=$sitetime-trim($who_file[3]); if($controltime < 600){ $array_users[]=trim($who_file[0]); if (strstr($who_file[1],"/forum")){$forum_shet++;} }} echo'<font color="#FF0000">'.(int)$forum_shet.'</font>'; ?>