-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfilter.php
More file actions
130 lines (118 loc) · 3.5 KB
/
Copy pathfilter.php
File metadata and controls
130 lines (118 loc) · 3.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
<?php
$cat = '';
$regio = '';
//FILTER PARAMATERS CHECKEN
if(isset($_POST['btnF']))
{
if(isset($_POST['Antwerpen']))
{
$regio = '®io=Antwerpen';
}
if(isset($_POST['Lier']))
{
$regio = '®io=Lier';
}
if(isset($_POST['Brussel']))
{
$regio = '®io=Brussel';
}
if(isset($_POST['Mechelen']))
{
$regio = '®io=Mechelen';
}
if(isset($_POST['Gent']))
{
$regio = '®io=Gent';
}
if(isset($_POST['Sint-Niklaas']))
{
$regio = '®io=Sint-Niklaas';
}
if(isset($_POST['Film']))
{
$cat = '&heading=5';
}
if(isset($_POST['Foto']))
{
$cat = '&heading=9';
}
if(isset($_POST['Kunst']))
{
$cat = '&heading=8';
}
if(isset($_POST['Literatuur']))
{
$cat = '&heading=22';
}
if(isset($_POST['Muziek']))
{
$cat = '&heading=14';
}
if(isset($_POST['Sport']))
{
$cat = '&heading=31';
}
$filter = $regio . $cat;
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Filter</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="jquery.mobile.structure-1.0.1.css" />
<link rel="apple-touch-icon" href="images/launch_icon_57.png" />
<link rel="apple-touch-icon" sizes="72x72" href="images/launch_icon_72.png" />
<link rel="apple-touch-icon" sizes="114x114" href="images/launch_icon_114.png" />
<link rel="stylesheet" href="jquery.mobile-1.0.1.css" />
<link rel="stylesheet" href="custom.css" />
<script src="js/jquery-1.7.1.min.js"></script>
<script src="js/jquery.mobile-1.0.1.min.js"></script>
</head>
<body>
<div id="choisir_ville" data-role="page" data-add-back-btn="true">
<div data-role="header">
<h1>Filter zoekresultaten</h1>
<a data-add-back-btn="true" href="overzichtMETlogin.php?stat=true">Back</a>
<a data-add-back-btn="true" name="btnFilter" href= <?php if(isset($filter)){echo "overzichtMETlogin.php?" . $filter;} else{echo "#";} ?>>Filter!</a>
</div>
<div data-role="content">
<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<fieldset data-role="controlgroup">
<legend><h1>Waar wil je uitgaan?</h1></legend>
<input type="checkbox" name="Antwerpen" id="Antwerpen">
<label for="Antwerpen">Antwerpen</label>
<input type="checkbox" name="Lier" id="Lier">
<label for="Lier">Lier</label>
<input type="checkbox" name="Brussel" id="Brussel">
<label for="Brussel">Brussel</label>
<input type="checkbox" name="Mechelen" id="Mechelen">
<label for="Mechelen">Mechelen</label>
<input type="checkbox" name="Gent" id="Gent">
<label for="Gent">Gent</label>
<input type="checkbox" name="Sint-Niklaas" id="Sint-Niklaas">
<label for="Sint-Niklaas">Sint-Niklaas</label>
</fieldset>
<fieldset data-role="controlgroup">
<legend><h1>Wat wil je doen?</h1></legend>
<input type="checkbox" name="Film" id="Film">
<label for="Film">Film</label>
<input type="checkbox" name="Foto" id="Foto">
<label for="Foto">Foto</label>
<input type="checkbox" name="Kunst" id="Kunst">
<label for="Kunst">Kunst</label>
<input type="checkbox" name="Literatuur" id="Literatuur">
<label for="Literatuur">Literatuur</label>
<input type="checkbox" name="Muziek" id="Muziek">
<label for="Muziek">Muziek</label>
<input type="checkbox" name="Sport" id="Sport">
<label for="Sport">Sport</label>
</fieldset>
<input type="submit" name="btnF" value="Bewaar filter"/>
</form>
</div>
</div>
</div><!-- /page -->
</body>
</html>