-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsuperuser.php
More file actions
77 lines (62 loc) · 1.91 KB
/
superuser.php
File metadata and controls
77 lines (62 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?php
/*
Team: FIN
Author: Dustin Abramson
Main Super User creation page.
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Super User Sign Up</title>
<link href="FINsert/FIN.css" type="text/css" rel="stylesheet" />
<script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.1.0/prototype.js" type="text/javascript"></script>
</head>
<body>
<div id = "header">
</div>
<div class = "content">
<h1>Super User Sign Up</h1>
<p id = "results"> <?= "".$error ?> </p>
<form id = "submit" action="newUser.php" method = "POST">
<div>
<strong>User Name:</strong>
<input type="text" name = "username" value="" maxlength = "20" size = "20" />
</div>
<div>
<strong>Password:</strong>
<input type="password" name="userpass" maxlength="20" size="20" />
</div>
<div>
<strong>Confirm Password:</strong>
<input type="password" name="confirmpass" maxlength="20" size="20" />
</div>
<div>
<strong>Email Address:</strong>
<input type="text" name="email" maxlength="45" size="20" />
</div>
<div>
<strong>Confirm Email Address:</strong>
<input type="text" name="confirmemail" maxlength="45" size="20" />
</div>
<div>
<strong>Location of Super User:</strong>
<select name = "location">Location
<option value = "University of Washington">University of Washington</option>
</select>
</div>
<div id = "captcha">
<?php
require_once('recaptchalib.php');
$publickey = "6Lew3cISAAAAAIOw1gZx4FQass1psLSboLuqscgA"; // you got this from the signup page
echo recaptcha_get_html($publickey);
?>
</div>
<div>
<input type="submit" />
</div>
</form>
</div>
</body>
</html>