-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadd_school.php
More file actions
81 lines (78 loc) · 3.18 KB
/
add_school.php
File metadata and controls
81 lines (78 loc) · 3.18 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
78
79
80
81
<?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 = 'Manage Schools'; 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> School Name:</label>
<input type="search" name="school" value="<?php echo $_POST['school']; ?>" placeholder="Ex. Dominion Group of Schools" list="hint_school" required />
<?php echo $hint_school; ?>
</td>
</tr>
<tr>
<td colspan="1">
<label><x>*</x> Title:</label>
<select name="title" required>
<option></option>
<?php echo $ddl_title; ?>
</select>
</td>
<td colspan="3">
<label><x>*</x> Principal Name:</label>
<input type="search" name="principal" value="<?php echo $_POST['principal']; ?>" placeholder="(surname first)" list="hint_principal" required />
<?php echo $hint_principal; ?>
</td>
</tr>
<tr>
<td colspan="1">
<label><x>*</x> Select Gender:</label>
<select name="gender" required>
<option></option>
<?php echo $ddl_gender; ?>
</select>
</td>
<td colspan="2">
<label>School Email Address:</label>
<input type="email" name="email" value="<?php echo $_POST['email']; ?>" placeholder="Ex. example@domain.com" />
</td>
<td colspan="2">
<label><x>*</x> School Phone Number:</label>
<input type="tel" name="phone" value="<?php echo $_POST['phone']; ?>" placeholder="Ex. +234(0)" maxlength="25" required />
</td>
</tr>
<tr>
<td colspan="2">
<label><x>*</x> School Address:</label>
<input type="search" name="address" value="<?php echo $_POST['address']; ?>" required />
</td>
<td colspan="1">
<label><x>*</x> School Location:</label>
<select name="state" required>
<option></option>
<?php echo $ddl_state; ?>
</select>
</td>
<td colspan="1">
<label><x>*</x> RETINKEN Zone:</label>
<select name="zone_id" required>
<option></option>
<?php echo $ddl_zone; ?>
</select>
</td>
</tr>
</table>
<div class="action">
<button type="reset" class="sec">Clear</button>
<button type="submit" class="pri">Save</button>
</div>
</fieldset>
</form>
</main>
</td></tr></table> <!-- end of frame -->
<?php include_once 'inc/footer.php'; ?>
<?php include_once 'inc/end.php'; ?>