-
Notifications
You must be signed in to change notification settings - Fork 2
/
menu.php
124 lines (117 loc) · 3.77 KB
/
menu.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<html>
<head>
<title>Foodiliver - Menu</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/mainCSS.css">
</head>
<body>
<?php include("navTop/navMember.php") ?>
<div style="margin-top:50px;">
<h2>Menu - Restaurant A</h2>
<table>
<tr>
<th colspan = 2>Food</th>
<th>Price</th>
<th>Quantity</th>
<th></th>
</tr>
<tr>
<td><img src="https://storybookstorage.s3.amazonaws.com/items/images/000/134/326/original/english.jpg?1442235955" width="180px" height="120px"></td>
<td>Nasi Lemak</td>
<td>RM6</td>
<td>Qty:
<select name="qty">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select>
</td>
<td><button type="submit" value="add" onclick="myFunction()">Add to cart</button></td>
</tr>
</form>
<tr>
<td><img src="https://sumptuousblog.files.wordpress.com/2011/03/img_4333.jpg" width="180px" height="120px"></td>
<td>Hokkien Mee</td>
<td>RM7</td>
<td>Qty:
<select name="qty">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select>
</td>
<td><button type="submit" value="add" onclick="myFunction()">Add to cart</button></td>
</tr>
<tr>
<td><img src="http://steamykitchen.com/wp-content/uploads/2009/08/hainanese-chicken-86.jpg" width="180px" height="120px"></td>
<td>Chicken Rice</td>
<td>RM5</td>
<td>Qty:
<select name="qty">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select>
</td>
<td><button type="submit" value="add" onclick="myFunction()">Add to cart</button></td>
</tr>
<tr>
<td><img src="http://www.friedchillies.com/images/gallery/KT-b.jpg" width="180px" height="120px"></td>
<td>Char Kway Teow</td>
<td>RM5</td>
<td>Qty:
<select name="qty">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select>
</td>
<td><button type="submit" value="add" onclick="myFunction()">Add to cart</button></td>
</tr>
</table>
<div style="text-align: center;">
<form action="cart.php">
<button style="height:35px;width:150px;position:right">Go to your cart</button>
</form>
</div>
</div>
<script>
function myFunction() {
alert("Added Successfully!");
}
</script>
</body>
</html>