<?
include("identify.php");
load_all("resetuser",10);
//include("levelten.inc");
$table_name = "users";
$sql = "UPDATE $table_name
SET
password = password(\"stupidjackass\")
WHERE id = \"$user_id\"
";
$result = @mysql_query($sql, $main_settings->connection) or die("Couldn't execute query.");
?>
<!doctype html public "-//w3c//dtd html 3.2//en">
<html>
<head>
<title>Password Reset</title>
<meta name="GENERATOR" content="Arachnophilia 4.0">
<meta name="FORMATTER" content="Arachnophilia 4.0">
</head>
<body bgcolor="<? echo "$theme_bgcolor"; ?>" text="<? echo "$theme_text_color"; ?>">
<?
topheader();
echo "Password Reset";
botheader();
topcontent();
echo "Password has been reset to: \"stupidjackass\"<br><br>";
botcontent();
?>
<a href="viewuser.php">Return to Users database</a>
</body>
</html>