-
Notifications
You must be signed in to change notification settings - Fork 18
/
Add User.php
44 lines (40 loc) · 1015 Bytes
/
Add User.php
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
<?php
session_start();
$_SESSION["tab"] = "Add User";
if($_SESSION["login"] != 1)
echo '<h2 txtcolor="red">Authentication Error!!!</h2>';
else{
include_once('header.php');
###########contents of div goes here###########
echo '
<form name="addUser" action = "addUser.php" method = "POST">
<h2>Add User</h2>
<br>
<p>
<label>Super Admin Password: </label>
<br>
<input type = "password" name = "super_pwd" class="input" required/>
</p>
<p>
<label>Username: </label>
<br>
<input type = "text" name = "usr_name" class="input" required/>
</p>
<p>
<label>Password: </label>
<br>
<input type = "password" name = "usr_pwd" class="input" required/>
</p>
<p>
<label>Confirm Password: </label>
<br>
<input type = "password" name = "usr_cnfrm_pwd" class="input" required/>
</p>
<p>
<button class="btn">Create User</button>
</p>
</form>';
##################################################
include_once('footer.php');
}
?>