-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadd_book.php
More file actions
59 lines (56 loc) · 2.25 KB
/
add_book.php
File metadata and controls
59 lines (56 loc) · 2.25 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
<?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 Books'; include_once 'inc/nav.php'; ?>
<form class="tmp-form" <?php echo FORM_ATTRIB; ?>>
<fieldset>
<table class="tmp-grid" border="0">
<tr>
<td colspan="2">
<label>Book Title:</label>
<input type="search" name="book" value="<?php echo $_POST['book']; ?>" placeholder="Ex. RETINKEN BASIC MATHEMATICS" maxlength="50" list="hint_book" required />
<?php echo $hint_book; ?>
</td>
<td colspan="1">
<label>Class:</label>
<select name="class" required>
<option></option>
<?php echo $ddl_class; ?>
</select>
</td>
<td colspan="1">
<label>Grade:</label>
<select name="grade" required>
<option></option>
<?php echo $ddl_grade; ?>
</select>
</td>
</tr>
<tr>
<td colspan="1">
<label>Stock Price:</label>
<input type="number" name="stock" value="<?php echo $_POST['stock']; ?>" placeholder="Ex. 1,100" required />
</td>
<td colspan="1">
<label>Discount:</label>
<input type="number" name="disc" value="<?php echo $_POST['disc']; ?>" placeholder="Ex. 140" required />
</td>
<td colspan="1">
<label>Supply Price:</label>
<input type="number" name="supply" value="<?php echo $_POST['supply']; ?>" placeholder="Ex. 960" required />
</td>
<td> </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'; ?>