\n"; } } if ((session_is_registered("valid_user")) && ($_SESSION['vghts'] > 500)) { //connect to the database dbconnect(); print(""); print(""); print("

\n"); print("
\n"); print("\n"); print("\n"); $getlist = MYSQL_QUERY("SELECT * FROM $user_db_table"); WHILE ($list = mysql_fetch_array($getlist)) { // print out a list of current accounts/users in the table user_track print("\n"); } ?>
Current Users
[DEL]     ".$list[$user_username]."".$list[$user_vrights]."

Create New User Form
Name:   
Pwd:   
Rights



Could not log you in"; } else { // they have not tried to log in yet or have logged out echo "

You are not logged in.
"; } // provide form to log in echo "
"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
Userid:
Password:
"; echo "

"; } ?>