dbh_do($query); logevent(-1, "IRM", 5, "setup", "$IRMName updated user $username"); header("Location:$USERPREFIX/setup/users/"); } else if($update == "edit") { commonHeader("IRM User Setup - User Update"); $user = new User($username); $password = $user->getPassword(); $fullname = $user->getFullname(); $email = $user->getEmail(); $location = $user->getLocation(); $phone = $user->getPhone(); $type = $user->getTypeU(); $ro = $user->getTypeRO(); PRINT "
"; PRINT ""; PRINT ""; PRINT "
$username
Full Name:
Password:
E-mail:
Phone:
Location:
"; PRINT "
"; PRINT " User Type:
"; PRINT "\n
 "; PRINT "R/O:
"; if ($ro == 1) { PRINT ""; } else { PRINT ""; } PRINT "
"; PRINT ""; PRINT "
"; PRINT "
"; PRINT "
"; PRINT "
"; } else if($update == "delete") { PRINT "
"; PRINT "The user $username is about to be deleted from the database, to cancel this action click here."; PRINT "
\n"; PRINT ""; PRINT "
"; } else { PRINT "Invalid action request for user update Go Back\n"; } commonFooter(); ?>