This repository has been archived by the owner on Nov 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
newUser.php
74 lines (73 loc) · 2.7 KB
/
newUser.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
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
<?php
include('session.php');
$title = "SVBX - Add New User";
include('filestart.php');
if($role <= 20) {
header('location: unauthorised.php');
}
?>
<header class="container page-header">
<h1 class="page-title">Add New User</h1>
</header>
<div class="container main-content">
<form action="addUserSubmit.php" method="post">
<table class='table svbx-table'>
<tr class='usertr'>
<th class='userth'>
<label>First name</label>
</th>
<td class='usertd'>
<input type="text" name="firstname" value="" maxlength="25" id='defdd' required/>
<i>(4-25 characters)</i>
</td>
</tr>
<tr class='usertr'>
<th class='userth'>
<label>Last name</label>
</td>
<td class='usertd'>
<input type="text" name="lastname" value="" maxlength="25" id='defdd' required/>
<i>(4-25 characters)</i>
</td>
</tr>
<tr class='usertr'>
<th class='userth'>
<label>Company name</label>
</td>
<td class='usertd'>
<input type="text" name="Company" value="" maxlength="255" id='defdd' required/>
</td>
</tr>
<tr class='usertr'>
<th class='userth'>
<label>Email</label>
</td>
<td class='usertd'>
<input type="text" name="Email" value="" maxlength="55" id='defdd' required/>
<i>(4-55 characters)</i>
</td>
</tr>
<tr class='usertr'>
<th class='userth'>
<label>Username</label>
</td>
<td class='usertd'>
<input type="text" name="username" value="" maxlength="20" id='defdd' required/>
<i>(4-20 characters)</i>
</td>
</tr>
<tr class='usertr'>
<th class='userth'>
<label>Password</label>
</td>
<td class='usertd'>
<input type="password" name="pwd" value="" maxlength="20" id='defdd' required/>
<i>(4-20 characters)</i>
</td>
</tr>
</table>
<input type='submit' value='submit' class='btn btn-primary btn-lg'/>
<input type='reset' value='reset' class='btn btn-primary btn-lg' />
</form>
</div>
<?php include('fileend.php') ?>