diff -r 2cd8c1649ba9 -r 58094faf794d edit_user.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/edit_user.php Tue Apr 10 22:40:43 2007 +0000 @@ -0,0 +1,84 @@ + trancer nl> | +// | Sjeemz sjeemz nl> | +// +--------------------------------------------------------------------+ + +// +// $Id: edit_user.php,v 1.6 2002/12/10 01:29:47 azurazu Exp $ +// + +require_once("inc/toolkit.inc.php"); + +if($_POST["commit"]) +{ + if($_POST["username"] && $_POST["level"] && $_POST["fullname"]) + { + if(!isset($_POST["active"])) + { + $active = 0; + } + else + { + $active = 1; + } + if(edit_user($_POST["number"], $_POST["username"], $_POST["fullname"], $_POST["email"], $_POST["level"], $_POST["description"], $active, $_POST["password"])) + { + clean_page($BASE_URL . $BASE_PATH . "users.php"); + } + else + { + error("Error editting user!"); + } + } +} + +include_once("inc/header.inc.php"); + +if (!level(10)) +{ + error("You need user level 10 to view this page... How did you get here, anyway?"); +} + +?> +

Edit user ""

+ +
User Admin >> Edit User


+ +
+ + + + + + + + + +"> +
User name:">
Full name:">
Password:
E-mail:">
User level:
Description:
Active:CHECKED>
 
+
+