. require_once('../inc/forum.inc'); require_once('../inc/util_ops.inc'); db_init(); admin_page_head('Manage user privileges'); 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 "
\n"; echo "userid\" $foo->name ($foo->id) "; 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(); $cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit ?>