View file darkworld/files/fish.php

File size: 342B
<?php
$dirc = @opendir ("data/fish");
while ($filec2 = @readdir ($dirc)) 
{
$filtime=@filemtime("data/fish/$filec2"); 
$filtime=$filtime+(3600);
$ttime=time();
if($filtime>=$ttime){	
if (ereg(".dat$", "$filec2"))
{

$ccc[]=$filec2;	}}}
@closedir ($dirc);
$allfish = count($ccc);
echo'На рыбалке: '.$allfish.'<br/>';
?>