'' ORDER BY biotime DESC LIMIT 100"; $result = db_query($sql); page_header("User Bios"); $block = translate_inline("Block"); output("`b`&Player Bios:`0`b`n"); $number=db_num_rows($result); for ($i=0;$i<$number;$i++){ $row = db_fetch_assoc($result); if ($row['biotime']>$session['user']['recentcomments']) rawoutput("> "); output_notl("`![$block]",true); addnav("","bios.php?op=block&userid={$row['acctid']}"); output_notl("`&%s`0: `^%s`0`n", $row['name'], soap($row['bio'])); } db_free_result($result); require_once("lib/superusernav.php"); superusernav(); addnav("Moderation"); if ($session['user']['superuser'] & SU_EDIT_COMMENTS) addnav("Return to Comment Moderation","moderate.php"); addnav("Refresh","bios.php"); $sql = "SELECT name,acctid,bio,biotime FROM " . db_prefix("accounts") . " WHERE biotime>'9000-01-01' AND bio>'' ORDER BY biotime DESC LIMIT 100"; $result = db_query($sql); output("`n`n`b`&Blocked Bios:`0`b`n"); $unblock = translate_inline("Unblock"); $number=db_num_rows($result); for ($i=0;$i<$number;$i++){ $row = db_fetch_assoc($result); output_notl("`![$unblock]",true); addnav("","bios.php?op=unblock&userid={$row['acctid']}"); output_notl("`&%s`0: `^%s`0`n", $row['name'], soap($row['bio'])); } db_free_result($result); page_footer(); ?>