Initial 2005 state
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
include("config.php");
|
||||
|
||||
|
||||
$result = mysql_query("SELECT name,lastact FROM mrpg_users WHERE (" . date("U") . "-lastact)<=60");
|
||||
while($row = mysql_fetch_array($result))
|
||||
{
|
||||
$online.=ucfirst($row['name']) . ", ";
|
||||
}
|
||||
|
||||
if($online=="") {
|
||||
echo "None!";
|
||||
} else {
|
||||
echo $online;
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user