-
Notifications
You must be signed in to change notification settings - Fork 1
/
403.php
128 lines (127 loc) · 5.52 KB
/
403.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
<?php session_start(); ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Shopper's Spot</title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<div class="header">
<div class="container">
<div class="navbar">
<div class="logo">
<a href="index.html"><img src="images/logo.png" width="150px" alt="logo"></a>
</div>
<nav>
<ul id="MenuItems">
<li><a href="https://localhost/vfl/index.php">Home</a></li>
<li><a href="https://localhost/vfl/products/index.php">Products</a></li>
<li><a href="https://localhost/vfl/about.php">About</a></li>
<li><a href="#">Contact</a></li>
<?php
if(isset($_SESSION['user_id'])){//for shops
?>
<li><a href="https://localhost/vfl/profile/?id=<?php echo $_SESSION['user_id'] ?>&user=<?php echo $_SESSION['user_type']?>">Account</a></li>
<?php
}
else{
?>
<li><a href="https://localhost/vfl/login/">login</a></li>
<li><a href="https://localhost/vfl/signup/">signup</a></li>
<?php
}
?>
</ul>
</nav>
<a href="https://localhost/vfl/"><img src="images/shopping-cart.png" width="30px" height="30px"></a>
<img src="images/menu_icon.png" class="menu-icon" onclick="menutoggle()">
</div>
</div>
</div>
<!---------featured categories----------->
<div style="padding-left: 20px;">
<h1><b>403 error.
<br>
You do not have access to this page!</b></h1>
</div>
<!-----offers----->
<div class="offer">
<div class="small-container">
<div class="row">
<div class="col-2">
<img src="images/hoodie.png" class="offer-img">
</div>
<div class="col-2">
<p>Exclusively Available on Shopper's Spot.</p>
<h1>Red Hoodie for Women</h1>
<small>Comfortable Hoodies. Available in all sizes.</small>
<a href="#" class="btn">Buy Now ➔</a>
</div>
</div>
</div>
</div>
<!-----testimonial------>
<div class="testimonial">
<div class="small-container">
<div class="row">
<div class="col-3">
<i class="fa fa-quote-left"></i>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Cum, error voluptates? Voluptatum eius atque nobis modi accusamus minima amet nisi neque?</p>
<div class="rating">
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star-half-o"></i>
</div>
<h3>~Yohan Gupta</h3>
</div>
<div class="col-3">
<i class="fa fa-quote-left"></i>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Cum, error voluptates? Voluptatum eius atque nobis modi accusamus minima amet nisi neque?</p>
<div class="rating">
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star-o"></i>
<i class="fa fa-star-o"></i>
</div>
<h3>~Jaden Furtado</h3>
</div>
<div class="col-3">
<i class="fa fa-quote-left"></i>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Cum, error voluptates? Voluptatum eius atque nobis modi accusamus minima amet nisi neque?</p>
<div class="rating">
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star-o"></i>
</div>
<h3>~Jash Dharia</h3>
</div>
</div>
</div>
</div>
<!-------js for toggle menu------>
<script>
var MenuItems = document.getElementById("MenuItems");
MenuItems.style.maxHeight = "0px";
function menutoggle(){
if(MenuItems.style.maxHeight == "0px")
{
MenuItems.style.maxHeight = "200px";
}
else
{
MenuItems.style.maxHeight = "0px";
}
}
</script>
</body>
</html>