File size: 609B
<?php
//-------------------------------------//
//------Mod by Energetik------//
//--http://energetik.h2m.ru--//
//-------------------------------------//
$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],"book/index.php")){$book_shet++;}
}}
echo'<font color="#FF0000">'.(int)$book_shet.'</font>';
?>