-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
304 lines (288 loc) · 10.4 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
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
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
<?php
session_start();
error_reporting(0);
include("connection.php");
?>
<html>
<head>
<title>index
</title>
<link rel="stylesheet"
type="text/css"
href="bootstrap.css"
/>
<link rel="stylesheet"
type="text/css"
href="style.css"
/>
<style>
html{
scroll-behavior: smooth;
}
</style>
<script src="java1.js" type="text/javascript">
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
</head>
<body>
<nav class="navbar navbar-dark navbar-expand-sm fixed-top">
<div class="container">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#Navbar">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand" href="index.php"><img src="logo.png" height="30" width="41"></a>
<div class="collapse navbar-collapse" id="Navbar">
<ul class="navbar-nav mr-auto">
<li class="nav-item active"><a class="nav-link" href="./index.php"> Home</a></li>
<li class="nav-item"><a class="nav-link" href="menu.php"> Menu</a></li>
<li class="nav-item"><a class="nav-link" href="aboutus.php"> About-Us</a></li>
<li class="nav-item"><a class="nav-link" href="contact.php"> Contact</a></li>
</ul>
<span class="navbar-text">
<a data-toggle="modal" data-target="#loginModal">
<span class="fa fa-sign-in"></span>Login
</a>
</span>
</div>
</div>
</nav>
<div id="loginModal" class="modal fade" role="dialog">
<div class="modal-dialog modal-lg" role="content">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Login</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<div class="modal-body">
<form action="index.php" method="post">
<div class="form-row">
<div class="form-group col-sm-4">
<label class="sr-only" for="exampleInputEmail3">name</label>
<input class="form-control form-control-sm mr-1" name="user" id="exampleInputEmail3" placeholder="name">
</div>
<div class="form-group col-sm-4">
<label class="sr-only" for="exampleInputPassword3">Password</label>
<input class="form-control form-control-sm mr-1" name="password" id="exampleInputPassword3" placeholder="password">
</div>
</div>
<div class="form-row">
<button type="button" class="btn btn-secondary btn-sm ml-auto" data-dismiss="modal">Cancel</button>
<button type="submit" class="btn btn-primary btn-sm ml-1">Login-In</button>
</div>
</form>
</div>
</div>
</div>
</div>
<header class="hstyle jumbotron">
<div class="container scrollme">
<div class="row row-header">
<div class="col-12 col-sm-6">
<h1>FreshMart Grocery</h1>
<p>Having the best quality products A place where everything special. Your neighborhood grocers,For the food lovers!</p>
</div>
<div class="col-12 col-sm align-self-center">
<img src="logo.png" class="img-fluid" height="150" width="150">
</div>
<div class="col-12 col-sm align-self-center">
<button class="btn1">Home delivery</button>
</div>
<div class="col-1">
<a href="#section2">bottom</a>
</div>
</div>
</div>
</header>
<br>
<div class="container">
<div class="row row-content">
<div class="col">
<div id="mycarousel" class="carousel slide" data-ride="carousel">
<div class="carousel-inner" role="listbox">
<div class="carousel-item active">
<img class="d-block img-fluid" src="photo1.jpg">
</div>
<div class="carousel-item">
<img class="d-block img-fluid" src="photo2.jpg">
</div>
<div class="carousel-item">
<img class="d-block img-fluid" src="photo3.jpg">
</div>
</div>
<ol class="carousel-indicators">
<li data-target="#mycarousel" data-slide-to="0" class="active"></li>
<li data-target="#mycarousel" data-slide-to="1"></li>
<li data-target="#mycarousel" data-slide-to="2"></li>
</ol>
<a class="carousel-control-prev" href="#mycarousel" role="button" data-slide="prev">
<span class="carousel-control-prev-icon"></span>
</a>
<a class="carousel-control-next" href="#mycarousel" role="button" data-slide="next">
<span class="carousel-control-next-icon"></span>
</a>
</div>
</div>
</div>
</div>
<br>
<marquee class="mr1">Dear Costumer, there is limited period offers on all food products and dairy products and extra sale on beauty porducts.....! </marquee>
<br>
<br>
<br>
<br>
<div class="container">
<div class="row row-content align-items-center">
<div class="col-12 col-sm-4 order-sm-last col-md-3">
<h3>Min 50% Discount on each Product</h3>
</div>
<div class="col col-sm order-sm-first col-md">
<div class="media">
<img class="d-flex mr-3 img-thumbnail align-self-center"
src="images1.jpg">
<div class="media-body">
<h2 class="mt-0">Fruits and Vegetable</h2>
<p class="d-none d-sm-block">Handpicked Sorted Cleaned Chemicalless Fruits and Vegetable at reasonable price</p>
</div>
</div>
</div>
</div>
</div>
<br>
<br>
<br>
<br>
<hr></hr>
<br>
<br>
<br>
<br>
<div class="container">
<div class="row row-content align-items-center">
<div class="col-12 col-sm-4 order-sm-first col-md-3">
<h3>Buy 1 get 1 free on most Product</h3>
</div>
<div class="col col-sm order-sm-last col-md">
<div class="media" >
<img class="d-flex mr-3 img-thumbnail align-self-center order-sm-last"
src="images3.jpg">
<div class="media-body order-sm-first">
<h2 class="mt-0">Sweet,Snacks and Spicy</h2>
<p class="d-none d-sm-block">Craving for food snacks, our wide range of snacks can just fulfill your wish</p>
</div>
</div>
</div>
</div>
</div>
<br>
<br>
<br>
<br>
<hr></hr>
<br>
<br>
<br>
<br>
<div class="container">
<div class="row row-content align-items-center">
<div class="col-12 col-sm-4 order-sm-last col-md-3">
<h3>30% Extra on Cheese Products</h3>
</div>
<div class="col col-sm order-sm-first col-md">
<div class="media">
<img class="d-flex mr-3 img-thumbnail align-self-center"
src="images2.jpg">
<div class="media-body">
<h2 class="mt-0">Dairy and Milk Products</h2>
<p class="d-none d-sm-block">Fresh milk and dairy products from farm at low cost and everyday delivery also possible and no added presevative</p>
</div>
</div>
</div>
</div>
</div>
<br>
<br>
<br>
<br>
<hr></hr>
<div class="container">
<div class="row row-content align-items-center col-12">
<div>
</div>
<div>
<table class="tb1" border=0.5>
<tr>
<td class="tb2 col-8"><h4> Home Delivery</h4></td>
</tr>
<tr>
<td> Number of products <input id="r1" type="radio"> 1</input> <input id="r1" type="radio"> 2</input> <input id="r1" type="radio"> 3</input> <input id="r1" type="radio"> 4</input> <input id="r1" type="radio"> 5</input> <input id="r1" type="radio"> 6</input> </td>
</tr>
<tr>
<td> Date and time <input type="text" placeholder="Date"></input> <input type="text" placeholder="Time"></input></td>
</tr>
<tr>
<td> Area Pincode <input type="text" placeholder="eg 400092"></input></td>
</tr>
<tr>
<td><button class="btn2">Reserve</button></td>
</tr>
</table>
</div>
<div>
</div>
</div>
</div>
<footer class="footer">
<div class="container scrollme">
<div class="row">
<div class="col-4 offset-1 col-sm-2">
<h5>Links</h5>
<ul class="list-unstyled">
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Menu</a></li>
<li><a href="#">Contact</a></li>
</ul>
</div>
<div class="col-7 col-sm-5">
<h5>Our Address</h5>
<address>
231,M.G. Road,<br>
Chikuwadi,<br>
Borivali West,<br>
Mumbai-92<br>
Tel.: +852 1234 5678<br>
Fax: +852 8765 4321<br>
Email: <a href="tsec.com">frshmart.co.net</a>
</address>
</div>
<div class="col-12 col-sm-4 align-self-center">
<div class="text-center">
<a href="http://google.com/+">Google+</a>
<a href="http://www.facebook.com/profile.php?id=">Facebook</a>
<a href="http://www.linkedin.com/in/">LinkedIn</a>
<a href="http://twitter.com/">Twitter</a>
<a href="http://youtube.com/">YouTube</a>
<a href="mailto:">Mail</a>
</div>
</div>
<div class="col-1">
<a href="#section1">up</a>
</div>
</div>
<div class="row justify-content-center">
<div class="col-auto">
<p>© Copyright 2020 FreshMart Grocery Shop</p>
</div>
</div>
</div>
</footer>
</body>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
<script>
$(document).ready(function(){
$('[data-toggle="tooltip"]').tooltip();
);
</script>
</html>