-
Notifications
You must be signed in to change notification settings - Fork 1
/
aboutus.php
106 lines (96 loc) · 4.88 KB
/
aboutus.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
<?php
session_start();
$count=0;
if(isset($_SESSION['shopping_cart'])){
$count=count($_SESSION['shopping_cart']);
}
?>
<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">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
<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/js/bootstrap.bundle.min.js"
integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
crossorigin="anonymous"></script>
<link href="styles.css" rel="stylesheet" type="text/css">
<title>About us</title>
<link rel = "icon" href ="./images/logo.png" type = "image/x-icon">
<link rel="stylesheet" href="about.css">
</head>
<body>
<nav class="navbar navbar-dark bg-success">
<div class="nav">
<div class="sm-navbar">
<i class="fa fa-bars" onclick="opennav()" style="font-size:25px;"></i>
</div>
</div>
<a href="homepage.php"><img src="./images/E-MANDAI .png" class="logo"></a>
<ul class="lg-nav">
<li><a href="homepage.php">Home</a></li>
<li><a href="categories.php">Categories</a></li>
<li><a href="aboutus.php">About us</a></li>
</ul>
<!-- Navbar content -->
<form class="form-inline">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
<i class="fa fa-search" aria-hidden="true"></i>
</form>
<div id="cart_icon" >
<a href="cart.php"><i class="fa fa-shopping-cart" style="font-size:40px;color:black"></i></a>
<span class="badge bg-primary"><?php echo $count?></span>
</div>
<a data-container="body" data-toggle="popover" data-placement="bottom" data-content="<a href='logout.php'>Logout</a>" data-html="true"
id="user-icon-pop">
<i class="fa fa-user-circle" aria-hidden="true" style="color:white;font-size:50px;"></i>
</a>
</nav>
<div class="about-section">
<div class="inner-container">
<h1>About Us</h1>
<p class="text">
The government of india recently announced the new farm bills of which one of the acts includes The
Farmers' Produce Trade and Commerce (Promotion and Facilitation) Act, 2020. This act enables the farmers
to sell their produce directly to any traders outside the state government-controlled markets. This is a
platform for farmers to reach and sell their agricultural products directly to end consumers that
directly is from farm to customer place.
</p>
</div>
</div>
<div id="mynav" class="sidebar">
<div class="nav_user">
<i class="fa fa-times" onclick=closenav() id="nav_icon"></i>
<div class="user_id">
<i class="fa fa-user-circle" aria-hidden="true" style="color:white;font-size:50px;"></i>
<!-- <a href="#"><i class="fa fa-user-circle" aria-hidden="true" style="color:white;font-size:50px;"></i></a>
<h2>USER</h2> -->
</div>
</div>
<ul>
<li><a href="#"><i class="fa fa-user" aria-hidden="true"></i>My Profile</a></li>
<li><a href="homepage.php"><i class="fa fa-home" aria-hidden="true"></i>Home</a></li>
<li><a href="categories.php"><i class="fa fa-th-list" aria-hidden="true"></i>Categories</a></li>
<li><a href="cart.php"><i class="fa fa-shopping-cart" aria-hidden="true"></i>My Cart</a></li>
<li><a href="aboutus.php"><i class="fa fa-info-circle" aria-hidden="true"></i>About us</a></li>
<li><a href="logout.php"><button type="button" class="btn btn-success" name="logout" id="log_button">Log Out</button></a></li>
</ul>
</div>
</body>
<script>
function opennav() {
document.getElementById("mynav").style.width = "150px";
document.getElementById("content").style.marginLeft = "150px";
document.getElementsByClassName("sidebar").style.boxShadow = "0px 2px 10px 2px black;"
}
function closenav() {
document.getElementById("mynav").style.width = "0";
document.getElementById("content").style.marginLeft = "0";
}
</script>
</html>