<?php include_once "inc/connect.php"; include_once "inc/h.php"; include_once "inc/user.php"; $online=mysql_query("SELECT * FROM `user` WHERE `hash' > '".(time()-1800)."' "); While($user=mysql_fetch_array($online)) { Echo'<a href=/user='.$user[id].'> '.$user[nick].' </a>'; } include_once "inc/f.php"; ?>