-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsearch.php
More file actions
92 lines (92 loc) · 3.67 KB
/
Copy pathsearch.php
File metadata and controls
92 lines (92 loc) · 3.67 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
<?php
include_once './libs/const.php';
include_once './libs/search.php';
$_pageid = 5;
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php
$_TITLE = "Blinx Home page";
include_once './tags/common/head.php';
?>
<?php include './tags/search/search-scripts.php'; ?>
</head>
<body>
<?php include_once './tags/global_header/header.php'; ?>
<!-- begin:slider -->
<div class="sr-topbar"></div>
<!-- begin:tagline -->
<div class="container">
<?php include './tags/search/search-header.php'; ?>
<?php if (is_array($value)) { ?>
<div class="sr-topbar2"></div>
<?php if (count($value['requests']) > 0) { ?>
<?php include './tags/search/search-tool.php'; ?>
<div class="row">
<div class="col-sm-4 hidden-xs">
<div class="sr-refine">
<?php
$x = 1;
$_key = "service_type";
$_filters = $value[$_key];
$_fiter_title = "Service Type";
include './tags/search/search-refine.php';
//
$x = 2;
$_key = "date_range";
$_filters = $value[$_key];
$_fiter_title = "Date range";
include './tags/search/search-refine.php';
//
$x = 3;
$_key = "distance_range";
$_filters = $value[$_key];
$_fiter_title = "Distance range";
include './tags/search/search-refine.php';
//
$x = 4;
$_key = "duration_range";
$_filters = $value[$_key];
$_fiter_title = "duration range";
include './tags/search/search-refine.php';
?>
</div>
</div>
<div class="col-xs-12 col-sm-8">
<div>
<?php
foreach ($value['requests'] as &$request) {
include './tags/search/search-listing.php';
}
?>
</div>
</div>
</div>
<?php
} else {
include './tags/search/search-start.php';
}
} else {
if ($_empty_call) {
include './tags/search/search-start.php';
} else {
include './tags/search/search-messages.php';
}
}
?>
</div>
<div class="sr-topbar2"></div>
<!-- end:tagline -->
<?php include_once './tags/global_header/footer.php'; ?>
<!-- end:copyright -->
<?php include_once './tags/common/scripts.php'; ?>
<script type="text/javascript">
$(document).ready(function () {
$("[toggle-btn]").click(function () {
$('[pannel=' + $(this).attr('toggle-btn') + ']').collapse('toggle');
});
});
</script>
</body>
</html>