-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.php
259 lines (222 loc) · 10 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
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
<?php
session_start();
?>
<html>
<head>
<title> Home | Food Exploria </title>
</head>
<link rel="stylesheet" type = "text/css" href ="css/bootstrap.min.css">
<link rel="stylesheet" type = "text/css" href ="css/index.css">
<body>
<!--Back to top button..................................................................................-->
<button onclick="topFunction()" id="myBtn" title="Go to top">
<span class="glyphicon glyphicon-chevron-up"></span>
</button>
<!--Javacript for back to top button....................................................................-->
<script type="text/javascript">
window.onscroll = function()
{
scrollFunction()
};
function scrollFunction(){
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
document.getElementById("myBtn").style.display = "block";
} else {
document.getElementById("myBtn").style.display = "none";
}
}
function topFunction() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
</script>
<nav class="navbar navbar-inverse navbar-fixed-top navigation-clean-search" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#myNavbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.php">Food Exploria</a>
</div>
<div class="collapse navbar-collapse " id="myNavbar">
<ul class="nav navbar-nav">
<li class="active" ><a href="index.php">Home</a></li>
<li><a href="aboutus.php">About</a></li>
<li><a href="contactus.php">Contact Us</a></li>
</ul>
<?php
if(isset($_SESSION['login_user1'])){
?>
<ul class="nav navbar-nav navbar-right">
<li><a href="#"><span class="glyphicon glyphicon-user"></span> Welcome <?php echo $_SESSION['login_user1']; ?> </a></li>
<li><a href="myrestaurant.php">MANAGER CONTROL PANEL</a></li>
<li><a href="logout_m.php"><span class="glyphicon glyphicon-log-out"></span> Log Out </a></li>
</ul>
<?php
}
else if (isset($_SESSION['login_user2'])) {
?>
<ul class="nav navbar-nav navbar-right">
<li><a href="#"><span class="glyphicon glyphicon-user"></span> Welcome <?php echo $_SESSION['login_user2']; ?> </a></li>
<li><a href="foodlist.php"><span class="glyphicon glyphicon-cutlery"></span> Food Zone </a></li>
<li><a href="cart.php"><span class="glyphicon glyphicon-shopping-cart"></span> Cart
(<?php
if(isset($_SESSION["cart"])){
$count = count($_SESSION["cart"]);
echo "$count";
}
else
echo "0";
?>)
</a></li>
<li><a href="logout_u.php"><span class="glyphicon glyphicon-log-out"></span> Log Out </a></li>
</ul>
<?php
}
else {
?>
<ul class="nav navbar-nav navbar-right">
<li><a href="#" class="dropdown-toggle active" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-user"></span> Sign Up <span class="caret"></span> </a>
<ul class="dropdown-menu">
<li> <a href="customersignup.php"> User Sign-up</a></li>
<li> <a href="managersignup.php"> Manager Sign-up</a></li>
</ul>
</li>
<li><a href="#" class="dropdown-toggle active" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-log-in"></span> Login <span class="caret"></span></a>
<ul class="dropdown-menu">
<li> <a href="customerlogin.php"> User Login</a></li>
<li> <a href="managerlogin.php"> Manager Login</a></li>
</ul>
</li>
</ul>
<?php
}
?>
</div>
</div>
</nav>
<div class="wide">
<div class="col-xs-5 line"><hr></div>
<div class="col-xs-2 logo"><img src="images/logo.jpg"></div>
<div class="col-xs-5 line"><hr></div>
<div class="tagline">Good Food is Good Mood</div>
</div>
<br>
<!--<center><img src="images/orderimg.png" alt="image" height="50%"></center>-->
<div class="orderblock">
<h2>Feeling Hungry?</h2>
<center><a class="btn btn-success btn-lg" href="customerlogin.php" role="button" > Order Now </a></center>
</div>
<div class="col-xs-12 line"><hr></div>
<div class="wide2">
<div class="col-xs-4 box">
<img src="images/minimumx.png" height="200px">
</div>
<div class="col-xs-4 box">
<img src="images/locationx.png">
</div>
<div class="col-xs-4 box">
<img src="images/deliveryx.png">
</div>
<div class="col-xs-4 box">
<h2><strong>NO MINIMUM<br> ORDER <br> </strong><hr> </h2>
<h4>Order any amount<br> you want - no<br> restrictions</h4>
</div>
<div class="col-xs-4 box">
<h2><strong>LIVE ORDER<br> TRACKING <br> </strong><hr> </h2>
<h4>Know where your<br> order is at any time</h4>
</div>
<div class="col-xs-4 box">
<h2><strong>SUPERFAST<br> DELIVERY <br> </strong><hr> </h2>
<h4>Hot food delivered to<br> your doorstep</h4>
</div>
</div>
<div class="col-xs-12 line"><hr></div>
<div class="paragraph1">
<h1>Welcome to FOOD EXPLORIA</h1>
<p><br>
<h4>Remember last time when you had close guest from <font color="green"><strong>Mangalore</strong>, <strong>Kerala</strong>, <strong>Chennai</strong></font> announcing their surprise visit to your sweet home. Which is the follwed by sincere requests like let's have the <font color="green"><strong>famous biriyani of Chennai</strong>.</font> While someone is asking to eat Kallumakkaya Fry from <font color="green"><strong>Calicut in Kerala</strong>.</font> God they blurted as if the prime purpose was to taste the food than to see the well being of you. Well we know its not like they love to get pampered by you.
</p>
<p>
Well whatever the shower love on us, we believe Athiti devo bhave... Right as always</h4>
</p>
</div>
<div class="col-xs-12 line"><hr></div>
<div class="paragraph1">
<h1>FOOD EXPLORIA - Good Food is Good Mood</h1>
<p><br>
<h4>
Food Exploria will help in making your quest for enjoying good lunch, dinner which is are home delivered all the more interesting and excited when you are scartching your head to entertain your guest with their demands met.
</h4>
</p>
<p>
<h4>
There are two ways you can <font color="green"><strong>order food online</strong></font> with us. <font color="green"><strong>Download Food Exploria app on your smartphone</strong></font> or open our user friendly website and get it home delivered. Or if you are busy in your schedule and just want to eat at leisure at home you can order takeaway from host of restaurants and pickup the food parcel kept ready for you while you are on the way to home.
</h4>
</p>
</div>
<div class="col-xs-12 line"><hr></div>
<div class="paragraph1">
<h1>HOW TO ORDER?</h1>
<p>
<h4>
All it takes is 3 easy steps:
</h4>
</p>
<br>
<p>
<h3>
<span class="glyphicon glyphicon-ok tickicon"></span> <u>SELECT YOUR CITY AND AREA OF DELIVERY</u>
</h3>
</p>
<p>
<h4>
A list of restaurants is displayed that can deliver your food order to your home.
</h4>
</p>
<br>
<p>
<h3>
<span class="glyphicon glyphicon-ok tickicon"></span> <u>SELECT YOUR RESTAURANT</u>
</h3>
</p>
<p>
<h4>
You select as per your choice of restaurant from the list serving <font color="green"><strong>cuisines like Italian, Chinese dishes, Hyderabadi, North Indian,</strong></font> Burgers or Desserts like Ice-cream or Cakes.
</h4>
</p>
<br>
<p>
<h3>
<span class="glyphicon glyphicon-ok tickicon"></span> <u>CHOOSE YOUR DISHES AND PAY ONLINE/OFFLINE</u>
</h3>
</p>
<p>
<h4>
Once Restaurant is finalised then you browse the restaurants see its reviews, and then Menu. Click on the dishes you have been waiting to enjoy and they get added to the cart automatically.
</h4>
</p>
<p>
<h4>
That’s all once everything is in order hit on the checkout and pays online or cash on delivery, choose the way you want we accept all major credit cards or pay cash on delivery. <font color="green"><strong>You can order food online in cities and areas like Mangalore, Chennai, Kerala and very soon in Mumbai, Bangalore and Pune.</strong></font>
</h4>
</p>
<br>
<p>
<h4>
Yes, Food Exploria is another way to live life with our loved ones...
</h4>
</p>
</div>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
</body>
<footer class="container-fluid bg-4 text-center">
<br>
<p> Food Exploria 2017 | © All Rights Reserved </p>
<br>
</footer>
</html>