-
Notifications
You must be signed in to change notification settings - Fork 0
/
seeAllClothes.php
99 lines (76 loc) · 2.69 KB
/
seeAllClothes.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
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink to fit= no">
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" href="bootstrap/css/main.css" />
</head>
<body>
<!--navigation bar-->
<?php include 'header.php'; ?>
<!--left filters-->
<div class="container-fluid">
<div class="row">
<div class="col-md-3">
<div class="list-group mt-5">
<ul class="list-group-item list-group-item-info">
<li class="list-unstyled">Price range</li>
</ul>
<a href="seeAllClothes.php?filter=1&category=cloth" class="list-group-item list-group-item-success">less than 10000</a>
<a href="seeAllClothes.php?filter=2&category=cloth" class="list-group-item list-group-item-success">10000-15000</a>
<a href="seeAllClothes.php?filter=3&category=cloth" class="list-group-item list-group-item-success">15000-20000</a>
<a href="seeAllClothes.php?filter=4&category=cloth" class="list-group-item list-group-item-success">20000-30000</a>
<a href="seeAllClothes.php?filter=5&category=cloth" class="list-group-item list-group-item-success">30000-40000</a>
<a href="seeAllClothes.php?filter=6&category=cloth" class="list-group-item list-group-item-success">40000-50000</a>
<a href="seeAllClothes.php?filter=7&category=cloth" class="list-group-item list-group-item-success">more than 50000</a>
</div>
</div>
<!-- content -->
<?php include 'functions/functions.php' ; ?>
<!-- 1st column -->
<div class="col-md-3 content-bg-see-all">
<?php
if (isset($_GET['filter'])) {
$_SESSION['filter'] = $_GET['filter'] ;
$_SESSION['category'] = $_GET['category'] ;
getFilteredPro1stCol() ;
}else{
getPro1stColCloth() ;
}
?>
</div>
<!-- <2nd column -->
<div class="col-md-3 content-bg-see-all">
<?php
if (isset($_GET['filter'])) {
$_SESSION['filter'] = $_GET['filter'] ;
$_SESSION['category'] = $_GET['category'] ;
getFilteredPro2ndCol() ;
}else{
getPro2ndColCloth() ;
}
?>
</div>
<!-- 3rd column -->
<div class="col-md-3 content-bg-see-all">
<?php
if (isset($_GET['filter'])) {
$_SESSION['filter'] = $_GET['filter'] ;
$_SESSION['category'] = $_GET['category'] ;
getFilteredPro3rdCol() ;
}else{
getPro3rdColCloth() ;
}
?>
</div>
</div>
</div>
<?php include 'footer.php' ; ?>
<!--scripts-->
<script src="bootstrap/js/jquery.min.js"></script>
<script src="bootstrap/js/popper.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
</body>
</html>