-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRestaurants.php
273 lines (268 loc) · 7.92 KB
/
Restaurants.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
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
<!DOCTYPE html>
<html>
<head>
<title>Restauants</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<style>
#background
{
height: 1200px;
width: 100%;
background-color: #DCDCDC;
}
#menu
{
z-index: 5;
top: 0px;
position: fixed;
background-attachment: fixed;
margin-bottom: 80px;
box-shadow: 10 4px 8px 10 rgba(0,0,0,0.2);
}
.sidenav
{
height: 100%;
width: 0;
position: fixed;
z-index: 1;
top:0;
left: 0;
background-color:#111;
overflow-x:hidden;
transition: 0.5s;
padding-top: 60px;
}
.sidenav a
{
padding: 8px 8px 8px 32px;
text-decoration: none;
font-size: 25px;
color: #818181;
display: block;
transition: 0.3s;
}
.sidenav a:hover
{
position: relative;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}
@media screen and (max-height: 450px)
{
.sidenav{padding-top: 15px;}
.sidenav a{font-size: 18px;}
}
ul
{
list-style-type:none;
margin:0;
padding:0;
overflow:hidden;
background-color:white;
top: -60px;
margin-right: 1px;
}
li{
float:right;
border:1px solid #8B0000;
}
li a{
display:block;
color:black;
text-align:center;
padding:14px 16px;
text-decoration:none;
}
li a:hover
{
background-color:#FFE4C4;
}
#image
{
width:80%;
height: 200px;
position: relative;
margin-left: 130px;
top: -79px;
}
#content
{
width:80%;
height: 60px;
position: relative;
top:-350px;
margin-left: 120px;
}
#table
{
height: 200px;
width: 350px;
z-index: 5;
position: relative;
background-color: #FF7F50;
margin-left: 230px;
bottom: 30px;
}
#trend
{
height: 200px;
width: 350px;
z-index: 5;
position: relative;
background-color: #696969;
margin-left: 580px;
bottom: 230px;
}
#order
{
height: 200px;
width: 350px;
z-index: 5;
position: relative;
background-color: #FF7F50;
margin-left: 930px;
bottom: 430px;
}
#background2
{
height: 700px;
width: 80%;
background-color: #E6E6FA;
position: relative;
bottom: 486px;
margin-left: 130px;
}
#Indian
{
width: 260px;
height: 300px;
background-color: white;
position: relative;
margin-left: 20px;
top: 75px;
}
#global
{
width: 260px;
height: 300px;
background-color: white;
position: relative;
margin-left: 320px;
top: -225px;
}
#nightlife
{
width: 260px;
height: 300px;
background-color: white;
position: relative;
margin-left: 620px;
top: -524px;
}
#sweet
{
width: 260px;
height: 300px;
background-color: white;
position: relative;
margin-left: 925px;
top: -825px;
}
#view
{
width: 350px;
height: 75px;
background-color: #2F4F4F;
position: relative;
bottom: 750px;
margin-left: 400px;
border-radius: 5px;
}
</style>
</head>
<body>
<div id="background">
<div id="menu" style="width:1200px;height:80px;background-color: white;position: relative;margin-left: 130px;">
<div id="mySlidenav" class="sidenav" style="background-attachment: fixed;">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<a href="#"><i class="material-icons">local_airport</i>Air Tickets</a>
<a href="#"><i class="material-icons"></i>Apply for Loans</a>
<a href="#"><i class="material-icons">directions_car</i>Auto care</a>
<a href="#"><i class="material-icons"></i>Book Hotel</a>
<a href="#"><i class="material-icons"></i>Books</a>
</div>
<span style="font-size: 30px;cursor: pointer; background-attachment: fixed;position: relative;top:15px;
" onclick="openNav()">☰Home</span>
<form action="">
<input type="text" placeholder="Restaurants.." name="search" style="position: relative;margin-left: 120px;
top: -20px;width:250px;height: 20px;">
<button type="submit" style="position: relative;margin-left: -5px;top: -15px;height: 25px;width: 15px;"><i class="fa fa-search"></i></button>
</form>
<ul style=" position: relative; width: 26%; float: right;">
<li><a href="login.php">Login</a></li>
<li><a href="Register.php">Register</a></li>
<li><a href="index.php">Home</a></li>
</ul>
</div>
<a href="Restaurants_blog.php" style="text-decoration: none;">
<div id="image"><img src="images/[email protected]" width="100%">
<div id="content"><h1 style="position: relative;color: white;margin-left: 50px;font-size: 60px;">IT'S ALL ABOUT GOOD FOOD</h1></div>
</div>
</a>
<a href="Restaurants_blog.php" style="text-decoration: none;">
<div id="table"><img src="images/bar-icon.png" style="height: 100px;width: 100px;position: relative;margin-left: 120px;top: 15px;">
<h1 style="color: white;font-size: 25px;font-family: sans-serif;position: relative;margin-left: 90px;">BOOK TABLE</h1>
<h5 style="position: relative;color: white;margin-left: 95px;font-size: 15px;top:-19px;">MAKE RESERVATION</h5>
</div></a>
<a href="Restaurants_blog.php" style="text-decoration: none;">
<div id="trend"><img src="images/icon3.png" style="height: 100px;width: 100px;position: relative;margin-left: 120px;top: 15px;">
<h1 style="color: white;font-size: 25px;font-family: sans-serif;position: relative;margin-left: 50px;">WHAT'S TRENDING?</h1>
<h5 style="position: relative;color: white;margin-left: 95px;font-size: 15px;top:-19px;">TRY IT YOURSELF</h5></div></a>
<a href="Restaurants_blog.php" style="text-decoration: none;">
<div id="order">
<img src="images/abc.png" style="height: 100px;width: 100px;position: relative;margin-left: 120px;top: 15px;">
<h1 style="color: white;font-size: 25px;font-family: sans-serif;position: relative;margin-left: 90px;">ORDER FOOD</h1>
</div>
</a>
<div id="background2">
<a href="Restaurants_blog.php" style="text-decoration: none;">
<div id="Indian"><img src="images/i_indianflavours.jpg" style="height: 130px;width: 260px;position: relative;">
<h1 style="font-size: 20px;position: relative;margin-left: 10px;">Indian Food</h1>
<h5 style="position: relative;font-size: 15px;position: relative;margin-left: 10px;">Pure Veg</h5><h5 style="position: relative;font-size: 15px;position: relative;margin-left: 10px;">Veg</h5><h5 style="position: relative;font-size: 15px;position: relative;margin-left: 10px;">more..</h5>
</div>
</a>
<a href="Restaurants_blog.php" style="text-decoration: none;">
<div id="global"><img src="images/i_globalcuisines.jpg" style="height: 130px;width: 260px;position: relative;">
<h1 style="font-size: 20px;position: relative;margin-left: 10px;">Global Cuisines</h1>
<h5 style="position: relative;font-size: 15px;position: relative;margin-left: 10px;">Chinese</h5><h5 style="position: relative;font-size: 15px;position: relative;margin-left: 10px;">Italian</h5><h5 style="position: relative;font-size: 15px;position: relative;margin-left: 10px;">more..</h5>
</div></a>
<a href="Restaurants_blog.php" style="text-decoration: none;">
<div id="nightlife"><img src="images/i_nightlife.jpg" style="height: 130px;width: 260px;position: relative;">
<h1 style="font-size: 20px;position: relative;margin-left: 10px;">NightLife</h1>
<h5 style="position: relative;font-size: 15px;position: relative;margin-left: 10px;">Restaurants and bars</h5><h5 style="position: relative;font-size: 15px;position: relative;margin-left: 10px;">Night Clubs</h5><h5 style="position: relative;font-size: 15px;position: relative;margin-left: 10px;">more..</h5>
</div></a>
<a href="Restaurants_blog.php" style="text-decoration: none;">
<div id="sweet"><img src="images/i_sweettooth.jpg" style="height: 130px;width: 260px;position: relative;">
<h1 style="font-size: 20px;position: relative;margin-left: 10px;">Sweet Tooth</h1>
<h5 style="position: relative;font-size: 15px;position: relative;margin-left: 10px;">Cake Shop</h5><h5 style="position: relative;font-size: 15px;position: relative;margin-left: 10px;">Pastry Shop</h5>
</div>
</a>
<a href="Restaurants_blog.php" style="text-decoration: none;">
<div id="view"><h1 align="center" style="position: relative;top: 15px;color: white;">View All Categories</h1></div>
</div>
</a>
</div>
<script type="text/javascript">
function openNav()
{
document.getElementById("mySlidenav").style.width="250px";
}
function closeNav()
{
document.getElementById("mySlidenav").style.width="0";
}
</script>
</body>
</html>