View file forum/downforchet.php

File size: 472B
<?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/down.php")){$down_shet++;}
}}

if($down_shet==0){
echo'';
}else{
echo'/<font color="#FF0000">'.(int)$down_shet.'</font>';}
?>