.
require_once('../inc/forum.inc');
require_once('../inc/util_ops.inc');
db_init();
admin_page_head('Manage special users');
start_table("align=\"center\"");
row1("Current special users", '9');
echo "
User | ";
for ($i=0;$i<=6;$i++) {
echo "" . $special_user_bitfield[$i] . " | \n";
}
echo "
";
$result = mysql_query(
"SELECT prefs.userid, prefs.special_user, user.id, user.name
FROM forum_preferences as prefs, user
WHERE CONVERT(special_user, DECIMAL) > 0 and prefs.userid=user.id"
);
for ($i=1; $i<=mysql_num_rows($result); $i++){
$foo = mysql_fetch_object($result);
echo "