-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathabout.php
More file actions
193 lines (157 loc) · 7.5 KB
/
Copy pathabout.php
File metadata and controls
193 lines (157 loc) · 7.5 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
<?php
session_start();
include("footer/db.php");
require("functions/functions.php");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About Us</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="styles/style.css">
</head>
<body>
<div id="top">
<!-- Top bar start-->
<div class="container">
<!--container start-->
<div class="col-md-6 offer">
<a href="#" class="btn btn-success btn-sm"><?php
if(!isset($_SESSION['customer_email'])){
echo "Welcome Guest";
}
else{
echo "Welcome: " .$_SESSION['customer_email']."";
}
?></a>
<a href="#">Shopping Cart Total Price:<?php totalPrice(); ?>, Total Items <?php item(); ?></a>
</div>
<div class="col-md-6 offer">
<ul class="menu">
<li><a href="customer_registration.php">Register</a></li>
<li><a href="checkout.php">My Account</a></li>
<li><a href="cart.php">Go To Cart</a></li>
<li> <?php
if(!isset($_SESSION['customer_email'])){
echo "<a href = 'checkout.php'>Login</a>";
}
else{
echo "<a href='logout.php'>Logout</a>";
}
?></li>
</ul>
</div>
</div>
<!--container end-->
</div>
<!--top bar end-->
<div class="navbar navbar-default" id="navbar">
<!--navbar navbar-default start -->
<div class="container">
<div class="navbar-header">
<!-- navbar-header start-->
<a class="navbar-brand home" href="index.php">
<img src="images/logo.jpg" alt="logo" class="hidden-xs">
<img src="images/logo.jpg" alt="logo" class="visible-xs">
</a>
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navigation">
<span class="sr-only">Toggle</span>
<i class="fa fa-align-justify"></i>
</button>
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#search">
<span class="sr-only"></span>
<i class="fa-solid fa-magnifying-glass"></i>
</button>
</div><!-- navbar-header end-->
<div class="navbar-collapse collapse" id="navigation">
<!-- navbar-collapse collapse start-->
<div class="padding-nav">
<!-- padding-nav started-->
<ul class="nav navbar-nav navbar-left">
<li>
<a href="index.php">Home</a>
</li>
<li>
<a href="shop.php">Shop</a>
</li>
<li>
<a href="checkout.php">My Account</a>
</li>
<li>
<a href="cart.php">Shopping cart</a>
</li>
<li class="active">
<a href="about.php">About Us</a>
</li>
<li>
<a href="services.php">Services</a>
</li>
<li>
<a href="contactus.php">Contact Us</a>
</li>
</div><!-- padding-nav end-->
<a href="cart.php" class="btn btn-primary navbar-btn right">
<i class="fa-solid fa-cart-shopping"></i>
<span> <?php item(); ?> Items In cart</span>
</a>
<div class="navbar-collapse collapse right">
<!--navbar-collapse collapse-right start-->
<button class="btn navbar-btn btn-primary" type="button" data-toggle="collapse"
data-target="#search">
<i class="fa-solid fa-magnifying-glass"></i>
<span class="sr-only">Toggle Search</span>
</button>
</div>
<!--navbar-collapse collapse-right end-->
<div class="collapse clearfix" id="search">
<!--collapse clearfix start-->
<form class="navbar-form" method="get" action="result.php">
<div class="input-group">
<input type="text" name="user_query" placeholder="Search" class="form-control" required="">
<button type="success" value="Search" class="btn btn-primary">
<i class="fa-regular fa-magnifying-glass"></i>
<span class="input-group-btn"></span>
</button>
</div>
</form>
</div>
</div>
<!--collapse clearfix end-->
</div><!-- navbar-collapse collapse end-->
</div>
</div><!-- navbar navbar-default end-->
<!-- header end-->
<div class="container">
<div class="col-md-6 col-sm-12 col-lg-6" >
<img src="images/aboutimg.jpg" alt="delivery image " height="500px" width="550px">
</div>
<div class="col-md-6 col-sm-12 col-lg-6">
<h2>About Online Vegetable Supply System</h2>
<p> We deliver fresh vegetables, fruits, and groceries.
You can buy our products within a few minutes. Browse a product, add to cart, fill your address, and proceed with your order. We
will deliver it as soon as possible.<br><br>
We aim to change the way of the traditional way of shopping. You don't need to waste your time going to
a local market, bargain with shopkeepers, and bring your bag. With us, you can select your products and
buy online; we will deliver it to your doorstep within a few hours.<br><br>
We aim to shorten the time between the farm and your table. We deliver the local food, which is better,
fresher and tastier.<br><br>
Also, we aim to cut off the middleman cost, which makes the vegetable price higher. You are a direct
customer, and we are a producer means you will get mediators free pricing.</p>
</div>
</div>
<!--footer start-->
<?php
include("Footer/footer.php");
?>
<!--footer end-->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js"
integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous">
</script>
<script src="https://kit.fontawesome.com/828e3616f1.js" crossorigin="anonymous"></script>
</body>
</html>