-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedit_admin.php
More file actions
50 lines (47 loc) · 1.95 KB
/
edit_admin.php
File metadata and controls
50 lines (47 loc) · 1.95 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
<?php include_once 'inc/top.php'; ?>
<table border="0"><tr valign="top"><td width="310"> <!-- start of frame -->
<?php include_once 'inc/aside.php'; ?>
</td><td>
<main class="tmp-base">
<?php $list_nav_key = 'Admin Account'; include_once 'inc/nav.php'; ?>
<form class="tmp-form" <?php echo FORM_ATTRIB; ?>>
<fieldset>
<table class="tmp-grid" border="0">
<tr>
<td colspan="4">
<label><x>*</x> Username:</label>
<input type="text" name="username" value="<?php echo $_POST['username']; ?>" required />
<span class="info"><i class="fa fa-info-circle"></i> Password is auto-generated</span>
</td>
</tr>
<tr>
<td colspan="2">
<label>Email Address:</label>
<input type="email" name="email" value="<?php echo $_POST['email']; ?>" placeholder="Ex. example@domain.com" />
</td>
<td colspan="2">
<label>Phone Number:</label>
<input type="tel" name="phone" value="<?php echo $_POST['phone']; ?>" placeholder="Ex. +234(0)" maxlength="25" />
</td>
</tr>
<tr>
<td colspan="4">
<label><x>*</x> Access Rights:</label>
<select name="status" required>
<option></option>
<?php echo $ddl_status; ?>
</select>
</td>
</tr>
</table>
<div class="action">
<input type="hidden" name="ID" value="<?php echo $_POST['ID']; ?>" readonly />
<button type="reset" class="sec">Clear</button>
<button type="submit" class="pri">Update</button>
</div>
</fieldset>
</form>
</main>
</td></tr></table> <!-- end of frame -->
<?php include_once 'inc/footer.php'; ?>
<?php include_once 'inc/end.php'; ?>