openside("Atsitiktinis narys");
$result = dbquery("SELECT * FROM ".DB_PREFIX."users ORDER BY RAND() LIMIT 1");
if(dbrows($result)){
while($data=dbarray($result)){
echo "<a href='".BASEDIR."profile.php?lookup=$data[user_id]'
class='slink' title='".$data['user_name']."'>".trimlink($data[user_name], 23)."</a>";
}
}
closeside();