"); rawoutput("$ops$acid$login$nm$lev$lon$hits$lip$lid$email"); addnav("","user.php?sort=acctid$q"); addnav("","user.php?sort=login$q"); addnav("","user.php?sort=name$q"); addnav("","user.php?sort=level$q"); addnav("","user.php?sort=laston$q"); addnav("","user.php?sort=gentimecount$q"); addnav("","user.php?sort=lastip$q"); addnav("","user.php?sort=uniqueid$q"); $rn=0; $oorder = ""; $number3=db_num_rows($searchresult); for ($i=0;$i<$number3;$i++){ $row=db_fetch_assoc($searchresult); $laston = relativedate($row['laston']); $loggedin = (date("U") - strtotime($row['laston']) < getsetting("LOGINTIMEOUT",900) && $row['loggedin']); if ($loggedin) $laston=translate_inline("`#Online`0"); $row['laston']=$laston; if ($row[$order]!=$oorder) $rn++; $oorder = $row[$order]; rawoutput(""); rawoutput(""); rawoutput("[ $ed | $del | $ban | $log ]"); addnav("","user.php?op=edit&userid={$row['acctid']}$m"); addnav("","user.php?op=del&userid={$row['acctid']}"); addnav("","user.php?op=setupban&userid={$row['acctid']}"); addnav("","user.php?op=debuglog&userid={$row['acctid']}"); rawoutput(""); output_notl("%s", $row['acctid']); rawoutput(""); output_notl("%s", $row['login']); rawoutput(""); output_notl("`&%s`0", $row['name']); rawoutput(""); output_notl("`^%s`0", $row['level']); rawoutput(""); output_notl("%s", $row['laston']); rawoutput(""); output_notl("%s", $row['gentimecount']); rawoutput(""); output_notl("%s", $row['lastip']); rawoutput(""); output_notl("%s", $row['uniqueid']); rawoutput(""); output_notl("%s", $row['emailaddress']); rawoutput(""); $gentimecount+=$row['gentimecount']; $gentime+=$row['gentime']; } rawoutput(""); output("Total hits: %s`n", $gentimecount); output("Total CPU time: %s seconds`n", round($gentime,3)); output("Average page gen time is %s seconds`n", round($gentime/max($gentimecount,1),4)); } ?>