-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
288 lines (227 loc) · 8.72 KB
/
index.html
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>3D Menu</title>
<meta name="description" content="A responsive folded flyer-like restaurant menu with some 3D" />
<meta name="keywords"
content="css3, perspective, 3d, jquery, transform3d, responsive, template, restaurant, menu, leaflet, folded, flyer, concept" />
<meta name="author" content="Codrops" />
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link href='http://fonts.googleapis.com/css?family=Raleway:300,500|Arvo:700' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="js/modernizr.custom.79639.js"></script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css"
integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
</head>
<body>
<br>
<header>
<h1>
<font color="#FDFDFD "><center>Way to your stomach...</center></font>
</h1>
<div class="support-note">
<span class="no-cssanimations">CSS animations are not supported in your browser</span>
<span class="no-csstransforms">CSS transforms are not supported in your browser</span>
<span class="no-csstransforms3d">CSS 3D transforms are not supported in your browser</span>
<span class="no-csstransitions">CSS transitions are not supported in your browser</span>
<span class="note-ie">Sorry, only modern browsers.</span>
</div>
</header>
<form name="cart" action="ordertodb.php" method="POST">
<section class="main">
<div id="rm-container" class="rm-container">
<div class="rm-wrapper">
<div class="rm-cover">
<div class="rm-front">
<div class="rm-content">
<div class="rm-logo"></div>
<h2>Just E@t it!</h2>
<h3><i class="fas fa-glass-cheers"> We Create a way to suffice your hunger </i></h3>
<a href="#" class="rm-button-open">View the Menu</a>
<div class="rm-info">
<p>
<strong>Just Eat it!</strong><br>
11/36, Windsor Street<br>
Ghaziabad, UP- 201309<br>
<strong>Phone</strong> 999999999<br>
<strong>Fax</strong> 9435123407</p>
</div>
</div>
</div>
<div class="rm-back">
<div class="rm-content">
<h4>Appetizers</h4>
<dl>
<dt><input type="checkbox" name="added[]" onclick='totalval(this.value)'
onclick='totalval(this.value)' value="1"> Vegetable Samosa
<label> 300/-</label></dt>
<dd>Roasted artichokes with chipotle aioli and tomato sauce</dd>
<dt><input type="checkbox" name="added[]" onclick='totalval(this.value)' value="2">
Chilli Paneer Dry
<label> 250/-</label></dt>
<dd>Blue cheese and citrus bruschetta</dd>
<dt><input type="checkbox" name="added[]" onclick='totalval(this.value)' value="3">
Baby corn cheese roll
<label> 250/-</label></dt>
<dd>Baked cheese roll with crisped baby corns</dd>
<dt><input type="checkbox" name="added[]" onclick='totalval(this.value)' value="4">
Podi Idli
<label> 500/-</label></dt>
<dd>Shallow fried with creative flavor</dd>
<dt><input type="checkbox" name="added[]" onclick='totalval(this.value)' value="5">
Papad Rolls
<label> 420/-</label></dt>
<dd>Instant spring rolls</dd>
</dl>
<h4>Salads & More</h4>
<dl>
<dt><input type="checkbox" name="added[]" onclick='totalval(this.value)' value="6">
Green Delight
<label> 120/-</label></dt>
<dd>Watercress, frisee and avocado salad</dd>
<dt><input type="checkbox" name="added[]" onclick='totalval(this.value)' value="7">
Gourmet Yam Taohu
<label> 180/-</label></dt>
<dd>Thai tofu salad yam taohu</dd>
<dt><input type="checkbox" name="added[]" onclick='totalval(this.value)' value="8">
Panini Deluxe
<label> 240/-</label></dt>
<dd>Buffalo mozzarella basil panini</dd>
</dl>
</div>
<div class="rm-overlay"></div>
</div>
</div>
<div class="rm-middle">
<div class="rm-inner">
<div class="rm-content">
<h4>Main Courses</h4>
<dl>
<dt><input type="checkbox" name="added[]" onclick='totalval(this.value)' value="9">
Paneer Butter Masala
<label> 310/-</label></dt>
<dd>Fried cheese pieces within a delicious gravy</dd>
<dt><input type="checkbox" name="added[]" onclick='totalval(this.value)' value="10">
Dal Makhani
<label> 250/-</label></dt>
<dd>Punjabi tadka filled daal</dd>
<dt><input type="checkbox" name="added[]" onclick='totalval(this.value)' value="11">
Chana Masala
<label> 300/-</label></dt>
<dd>specially for Core-Indian customers</dd>
<dt><input type="checkbox" name="added[]" onclick='totalval(this.value)' value="12">
Navaratan Korma
<label> 350/-</label></dt>
<dd>Nine types of vegetables stuffed together</dd>
<dt><input type="checkbox" name="added[]" onclick='totalval(this.value)' value="13">
Butter Lamb Curry
<label> 400/-</label></dt>
<dd>Lamb simmerred in spicy tomato curry glimmered with white sauce</dd>
<dt><input type="checkbox" name="added[]" onclick='totalval(this.value)' value="14">
Luxur Oyster
<label> 300/-</label></dt>
<dd>King oyster mushroom with roasted cherries and sage</dd>
<dt><input type="checkbox" name="added[]" onclick='totalval(this.value)' value="15">
Tandoori Chicken
<label> 280/-</label></dt>
<dd>Leg Pieces and spicy tomato sauce</dd>
<dt><input type="checkbox" name="added[]" onclick='totalval(this.value)' value="16">
Saag Paneer
<label> 400/-</label></dt>
<dd>Paneer pieces mixed beautifully with saag</dd>
</dl>
</div>
<div class="rm-overlay"></div>
</div>
</div>
<div class="rm-right">
<div class="rm-front">
</div>
<div class="rm-back">
<span class="rm-close">Close</span>
<div class="rm-content">
<h4>About You</h4>
<dl>
<dt>Contact Number : <input type="text" name="mobileNumber"></dt><br>
<dt>Order should be delivered at : <input type="text" name="orderAddress"></dt>
<br>
<div style="background-color: rgb(35, 177, 130); padding: 1rem; color:azure; font-size: medium;" >
<dt>Total till now : <br>
<p id="tot"></p>
<dd> ( Inclusive of all taxes )</dd><br>
</dt>
</div>
</dl>
<div class="rm-order">
<p><strong>Would you like to know more about your chosen dish?</strong> <br>Call us
& we'll help you...</p>
<div class="finish"><input type="submit" name="submit" value="FINISH"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<script>
function totalval(colors) {
var total = 0;
var x = document.getElementsByName('added[]');
for (i = 0; i < x.length; i++) {
// console.log(x[i].value);
if(x[i].checked)
var color=x[i].value;
else
{
continue;
}
if (color == 1)
total += 300;
if (color == 2)
total += 250;
if (color == 3)
total += 250;
if (color == 4)
total += 500;
if (color == 5)
total += 420;
if (color == 6)
total += 120;
if (color == 7)
total += 180;
if (color == 8)
total += 240;
if (color == 9)
total += 310;
if (color == 10)
total += 250;
if (color == 11)
total += 300;
if (color == 12)
total += 350;
if (color == 13)
total += 400;
if (color == 14)
total += 300;
if (color == 15)
total += 280;
if (color == 16)
total += 400;
}
document.getElementById('tot').innerHTML = total;
}
</script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
<script type="text/javascript">
$(function () {
Menu.init();
});
</script>
</form>
</body>
</html>