User"; for($i=0;$i<=6;$i++) { echo "" . $special_user_bitfield[$i] . "\n"; } echo ""; $result = mysql_query("SELECT prefs.userid, prefs.special_user, user.name FROM forum_preferences as prefs, user WHERE special_user > '0' and prefs.userid=user.id"); for($i=1;$i<=mysql_num_rows($result);$i++){ $foo = mysql_fetch_object($result); echo "
\n"; echo "userid\" $foo->name"; for ($j=0;$j<=6;$j++) { $bit = substr($foo->special_user, $j, 1); echo "\n"; } echo "
"; echo "\n"; } echo "
\n"; echo "Add UserID:"; for ($j=0;$j<=6;$j++) { echo "\n"; } echo "
"; echo "\n"; end_table(); admin_page_tail(); ?>