-
Notifications
You must be signed in to change notification settings - Fork 0
/
who.php
executable file
·205 lines (172 loc) · 5.86 KB
/
who.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
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
194
195
196
197
198
199
200
201
202
203
204
205
<?php $xmlDoc=new DOMDocument(); ?>
<?php include 'template/core/header.php'; ?>
<title>Who's that?</title>
<script>
window.onload = function() {
wholoadcommitteelists();
wholoaddepartmentlists();
whotopics();
};
</script>
</head>
<body>
<div class="container-fluid bootcards-container push-right">
<div class="row">
<!-- Search panel -->
<!--options column-->
<div class="col-sm-3 bootcards-list dontPrint" data-title="Contacts" id="list">
<div class="panel panel-default">
<div class="panel-heading clearfix">
<h3 class="panel-title">
<span onclick="whohidemenu();return false;" style="float:right;">
<i aria-hidden="true" class="fa fa-bars"></i>
</span>
Use the search tools below
<span id="loader" style="display:none;">
<i class="pull-right" style="font-size:20px"></i>
</span>
</h3>
</div>
<div class="list-group">
<!-- start search form -->
<!-- house -->
<div class="list-group-item">
<select class="form-control custom-select mb-2 mr-sm-2 mb-sm-0" form="mpsearch" id="house-input" name="house"
onchange="wholoadsex(); wholoadpartiesjusthouse(); updatelists();">
<option value="Commons">
Commons
</option>
<option value="Lords">
Lords
</option>
<option value="both">
Both
</option>
</select>
</div>
<!-- sex -->
<div class="list-group-item">
<select class="form-control custom-select mb-2 mr-sm-2 mb-sm-0" form="mpsearch" id="sex-input" name="sex">
<option value="">
Choose Gender
</option><?php $house = "Commons" ?><?php include("template/who-listsex.php"); ?>
</select>
</div>
<!-- party -->
<div class="list-group-item">
<select class="form-control custom-select mb-2 mr-sm-2 mb-sm-0" id="party-input">
<?php include("template/who-listparty.php"); ?>
</select>
</div>
<!-- positions -->
<div class="list-group-item">
<select class="form-control custom-select mb-2 mr-sm-2 mb-sm-0" form="mpsearch" id="position-input" name="positions">
<option value="">
Select Position Type
</option><?php include("template/who-listpositions.php"); ?>
</select>
</div>
<!-- committees -->
<div class="list-group-item">
<div id="whocommittee">
<select class="form-control custom-select mb-2 mr-sm-2 mb-sm-0">
<option value="">Loading Committees...</option>
</select>
</div>
</div>
<!-- departments -->
<div class="list-group-item">
<div id="whodepartment">
<select class="form-control custom-select mb-2 mr-sm-2 mb-sm-0">
<option value="">Loading Departments...</option>
</select>
</div>
</div>
<!-- interests -->
<div class="list-group-item">
<div id="whotopics">
<select class="form-control custom-select mb-2 mr-sm-2 mb-sm-0">
<option value="">Loading Interest Topics...</option>
</select>
</div>
</div>
<!-- Joined after -->
<div class="list-group-item">
<label for="joined-input">Joined After:</label> <input class="input-sm form-control" id="joined-input" name="joined-after" onchange="" type="date">
</div>
<!-- sortby -->
<div class="list-group-item">
<select class="form-control custom-select mb-2 mr-sm-2 mb-sm-0" form="mpsearch" id="sortby-input" name="sortby">
<option value="">
Sort by
</option>
<option value="first">
Name First
</option>
<option value="last">
Name Last
</option>
<option value="consta">
Constituency A-Z
</option>
<option value="constz">
Constituency Z-A
</option>
<option value="joinedlast">
Date Joined (Most Recent)
</option>
<option value="joinedfirst">
Date Joined (Least Recent)
</option>
<option value="oldest">
Age (Oldest)
</option>
<option value="youngest">
Age (Youngest)
</option>
</select>
</div>
<!-- sortby -->
<div class="list-group-item">
<select class="form-control custom-select mb-2 mr-sm-2 mb-sm-0" form="mpsearch" id="photos-input" name="photos">
<option value="stock">
Picture Type
</option>
<option value="">
Old Stock
</option>
<option value="screenshot">
Screenshot
</option>
</select>
</div>
<!-- submit -->
<div class="list-group-item">
<a class="btn btn-success" href="#" onclick="wholoadresults();return false;" role="button">Hit me up</a> <a class="btn btn-danger" href="#" onclick="window.location.reload()" role="button">Reset</a>
</div>
<div class="list-group-item">
Toggle:<br>
<a class="btn btn-warning" href="#" onclick="whohideparty();return false;" role="button">Party</a> <a class="btn btn-warning" href="#" onclick="whohideconst();return false;" role="button">Const</a> <a class="btn btn-warning" href="#" onclick="whohidejobs();return false;" role="button">Jobs</a>
</div>
</div>
<!--list group-->
</div>
<!--panel-->
</div>
<!--options column-->
<!--list details column-->
<div class="col-sm-9 bootcards-cards bootcards-who" id="whoresults">
</div>
</div>
<!--list-details-->
</div>
<!--row-->
<!--container-->
<script src="template/chosen/chosen.jquery.js" type="text/javascript">
</script>
<script charset="utf-8" src="template/chosen/docsupport/init.js" type="text/javascript">
</script>
<?php include 'template/core/footer.php'; ?>
<?php include 'template/core/includejs.php'; ?>
</body>
</html>