-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
109 lines (93 loc) · 4.34 KB
/
index.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
<!-- index.php -->
<?php include 'template/header.php'; ?>
<body>
<?php include 'template/nav-bar.php'; ?>
<!-- END nav -->
<section class="home-slider owl-carousel">
<div class="slider-item" style="background-image: url('images/bg-1.jpg');">
<div class="overlay"></div>
<div class="container">
<div class="row slider-text align-items-center justify-content-center text-center">
<div class="col-md-10 col-sm-12 ftco-animate">
<h1 class="mb-3">Welcome to BE OUR GUEST!</h1>
</div>
</div>
</div>
</div>
<div class="slider-item" style="background-image: url('images/bg-2.jpg');">
<div class="overlay"></div>
<div class="container">
<div class="row slider-text align-items-center justify-content-center text-center">
<div class="col-md-10 col-sm-12 ftco-animate">
<h1 class="mb-3">Book a table for yourself at a time convenient for you</h1>
</div>
</div>
</div>
</div>
<div class="slider-item" style="background-image: url('images/bg-3.jpg');">
<div class="overlay"></div>
<div class="container">
<div class="row slider-text align-items-center justify-content-center text-center">
<div class="col-md-10 col-sm-12 ftco-animate">
<h1 class="mb-3">Tasty & Delicious Food</h1>
</div>
</div>
</div>
</div>
</section>
<!-- END slider -->
<div class="ftco-section-reservation">
<div class="container">
<div class="row">
<div class="col-md-12 reservation pt-5 px-5">
<p style="font-size: 20px; color: #000;font-weight: bold;margin-top: -30px">Make a Reservation</p>
<div class="block-17" style="min-height: 100px;">
<form action="restaurant-list.php" method="POST" class="d-block d-lg-flex">
<div class="fields d-block d-lg-flex">
<p style="font-size: 20px;color: #000">City</p>
<div class="select-wrap one-half">
<div class="icon"><span class="ion-ios-arrow-down"></span></div>
<select name="location" id="" class="form-control" disabled="">
<option value="Kolkata">Kolkata</option>
</select>
</div>
<p style="font-size: 20px;color: #000">Location</p>
<div class="select-wrap one-half">
<div class="icon"><span class="ion-ios-arrow-down"></span></div>
<select data-plugin-selectTwo class="form-control populate" name="area" required="" style="cursor: pointer;">
<option value=""> -Select- </option>
<?php
include 'dbCon.php';
$con = connect();
$sql = "SELECT * FROM `locations`;";
$result = $con->query($sql);
foreach ($result as $r) {
?>
<option value="<?php echo $r['id']; ?>"><?php echo $r['location_name']; ?></option>
<?php } ?>
</select>
</div>
</div>
<input type="submit" class="search-submit btn btn-primary" name="find" value="Find">
</form>
</div>
</div>
</div>
</div>
</div>
<?php include 'template/font-menu.php'; ?>
<section class="ftco-section bg-light">
<div class="container special-dish">
<h3 style="text-align: center;">Our Specialties</h3>
Presenting Be Our Guest- Your favourite restaurant booking assistant at home! Now choose your suitable restaurants or foods easily from any location to your nearest with dearest people!
Happy Food! Happy Tummy! Happy Day!
</div>
</section>
<?php include 'template/instagram.php'; ?>
<?php include 'template/footer.php'; ?>
<?php include 'template/script.php'; ?>
<script src="dashboard/assets/vendor/jquery/jquery.js"></script>
<script src="dashboard/assets/vendor/select2/select2.js"></script>
<script src="dashboard/assets/vendor/bootstrap-multiselect/bootstrap-multiselect.js"></script>
</body>
</html>