-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbooking.php
More file actions
248 lines (181 loc) · 8.01 KB
/
booking.php
File metadata and controls
248 lines (181 loc) · 8.01 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
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
<?php
ini_set('error_reporting',E_ALL & ~E_DEPRECATED & ~E_NOTICE);
session_start();
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="keywords" content="footer, address, phone, icons" />
<link rel="stylesheet" href="demo.css">
<link rel="stylesheet" href="footer-distributed-with-address-and-phones.css">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">
<link href="http://fonts.googleapis.com/css?family=Cookie" rel="stylesheet" type="text/css">
<title>Inaayat-Booking</title>
<style type="text/css">
body{
background-color: #eab7ac;
}
.head{
font-weight: bold;
background-image: url("furniture.jpg");
height : 400px;
color: white;
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
text-align: center;
box-sizing: border-box;
font-family: Courier New, serif ;
padding-top: 100px;
border-style: inset;
}
.innerHead{
width: 400px;
height: 150px;
border-radius: 10px;
background-color:#343A40;
display: inline-block;
padding-top: 50px;
}
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo03" aria-controls="navbarTogglerDemo03" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand" href="http://localhost/inaayat/changedfront.php">
<img src="inaayat.jpg" width="30" height="30" alt="">
</a>
<a class="navbar-brand" href="changedfront.php">INAAYAT</a>
<div class="collapse navbar-collapse" id="navbarTogglerDemo03">
<ul class="navbar-nav mr-auto mt-2 mt-lg-0">
<li class="nav-item ">
<a class="nav-link" href="http://localhost/inaayat/changedfront.php">Home </a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost/inaayat/Menu.php">Menu</a>
</li><!--
<li class="nav-item">
<a class="nav-link" href="http://localhost/inaayat/order.html">Order</a>
</li> -->
<li class="nav-item">
<a class="nav-link active" href="http://localhost/inaayat/booking.php">Booking <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost/inaayat/Reviews.php">Reviews</a>
</li>
<li class="nav-item">
<a class="nav-link " href="http://localhost/inaayat/map.php">Map</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost/inaayat/about.php">About Us</a>
</li>
<?php
if (isset($_SESSION['username'])) {
echo "<p> ";
echo "<li>Hello--</li>".$_SESSION['username'];
echo('<form action="logout.php" method="get">');
echo "<p> ";
echo('<input type="submit" value="LOGOUT">');
echo('</form>');
}
else{
?>
<li class="nav-item">
<a class="nav-link " href="http://localhost/inaayat/contact.php">Sign Up</a>
</li>
<li class="nav-item">
<a class="nav-link " href="http://localhost/inaayat/sign.php">Log In</a>
</li>
<?php
}
?>
</ul>
</div>
</nav>
<div class="head">
<div class="innerHead">
<h1 style="font-size: 50px;">BOOK A TABLE</h1>
</div>
</div>
<div class="card" style="width: 800px; margin-left: 21%; margin-top: 50px;">
<img class="card-img-top" src="book.jpg">
<div class="card-body">
<center>
<h3 class="card-title" style="font-family: courier"><span class="badge badge-danger" style="padding-top: 10px; padding-bottom: 10px; padding-left: 30px; padding-right: 30px"><strong>BOOK YOUR TABLE</strong></h3>
</center>
<form action="bookingg.php" method="post" style="font-family: courier; font-weight: bold; font-size: 20px">
NAME:<br>
<input type="text" name="Name" size="45" ><br>
EMAIL:<br>
<input type="text" name="email" size="45"><br>
MOBILE:<br>
<input type="text" name="mobile" size="45"><br>
CITY:<br>
<input type="text" name="city" size="45"><br>
TABLE FOR:<br>
<input type="text" name="table" size="45"><br>
<br>
<center> <button type="submit" class="btn btn-danger" style="font-family: courier; font-weight:bold;font-size: 21px ; padding-top: 7px; padding-bottom: 7px; padding-left: 50px; padding-right: 50px"><strong>BOOK</strong></button>
</center>
</form>
</div>
</div>
<footer class="footer-distributed" >
<div class="footer-left">
<a class="navbar-brand" href="http://localhost/inaayat/changedfront.html" style="display: inline-block;">
<img src="inaayat.jpg" width="50" height="50" alt="">
</a>
<h3 style="display: inline-block;">Inaayat<span>Restaurant</span></h3>
<p class="footer-links" >
<a href="http://localhost/inaayat/changedfront.php" >Home</a>
·
<a href="http://localhost/inaayat/Menu.php">Menu</a>
·
<a href="http://localhost/inaayat/order.php">Order</a>
·
<a href="http://localhost/inaayat/about.php">About</a>
·
<a href="http://localhost/inaayat/sign.php">LogIn</a>
·
<a href="http://localhost/inaayat/contact.php">Contact</a>
</p>
<p class="footer-company-name">Company Name © 2015</p>
</div>
<div class="footer-center">
<div>
<i class="fa fa-map-marker"></i>
<p><span>21 New Colony Street</span> Delhi, India</p>
</div>
<div>
<i class="fa fa-phone"></i>
<p>+1 555 123456</p>
</div>
<div>
<i class="fa fa-envelope"></i>
<p><a href="mailto:support@company.com">support@inaayat.com</a></p>
</div>
</div>
<div class="footer-right">
<p class="footer-company-about">
<span>Thank You for Visiting</span>
We, at Inaayat thank you from the bottom of our hearts for visiting our page and showing interest in our restaurant. We hope to hear from you again, soon.
</p>
<div class="footer-icons">
<a href="https://www.facebook.com"><i class="fa fa-facebook"></i></a>
<a href="https://www.twitter.com"><i class="fa fa-twitter"></i></a>
<a href="https://www.linkedin.com"><i class="fa fa-linkedin"></i></a>
<a href="https://www.github.com"><i class="fa fa-github"></i></a>
</div>
</div>
</footer>
</body>
</html>