View file book/who.php

File size: 573B
<?php
//-------------------------------------//
//------Mod by Energetik------//
//-------------------------------------//
echo "<br>";
$file = @file("../local/who.dat");
$file = array_reverse($file);
$total = count($file);
for ($i = 0; $i < $config_lastusers; $i++){
$data = explode("|",$file[$i]);
$cur=time();
$cu=$cur-$data[3];
$cu=round($cu/60);
if($cu<10){
if(!eregi("[^a-z0-9-]",$data[0])){
if($data[1] == "/book/index.php") { 
echo'<a href="../pages/anketa.php?uz='.$data[0].'&amp;'.SID.'">';
echo''.nickname($data[0]).''; 
echo'</a> | '; }}}}
?>