-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaddAdminNewUser.php
More file actions
39 lines (36 loc) · 1.08 KB
/
addAdminNewUser.php
File metadata and controls
39 lines (36 loc) · 1.08 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
<?php
error_reporting(0);
include('session.php');
include('registerAdmin.php');
if(!isset($_SESSION['login_user']))
{
header("location: index.php"); // Redirecting To Home Page
}
?>
<html>
<head>
<title>Register A New Admin</title>
</head>
<body>
<p>Please enter information to register a new admin: </p>
<h4>(Keep in mind that the password you set will be temporary and can be changed later)</h4>
<form action="" method="post">
First Name: <input type="text" name="firstname" required>
<p>
Last Name: <input type="text" name="lastname" required>
<p>
Banner ID: <input type="text" name="studentid" required>
<p>
Library ID: <input type="text" name="libraryid" required>
<p>
Email: <input type="text" name="email" required>
<p>
Password: <input type="text" name="password" required>
<p>
<input type="submit" name="submit" value="Submit">
</form>
<div style = "font-size:11px; color:#cc0000; margin-top:10px">
<?php echo $error; ?>
</div>
</body>
</html>