-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.php
More file actions
63 lines (58 loc) · 2.17 KB
/
search.php
File metadata and controls
63 lines (58 loc) · 2.17 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
<?php
require("php/common.php");
require("php/checkLogin.php");
?>
<!DOCTYPE html>
<html>
<head>
<title>Search | Breadbin</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="css/common.css" rel="stylesheet" type="text/css">
<link href="css/navbar.css" rel="stylesheet" type="text/css">
<link href="css/main.css" rel="stylesheet" type="text/css">
<link href="css/search.css" rel="stylesheet" type="text/css">
<link href="css/vendor/normalize.css" rel="stylesheet" type="text/css">
<link href='http://fonts.googleapis.com/css?family=Roboto:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="icon" type="image/png" href="img/favicon.png" />
<script src="js/vendor/jquery-1.11.2.min.js"></script>
<script src="js/vendor/jquery.cookie.js"></script>
<script src="js/pages/main.js"></script>
<script src="js/postFunctions.js"></script>
<script src="js/errorHandler.js"></script>
<script src="js/vendor/progressbar.min.js"></script>
<script>
$(document).ready(function(){
$('.fa-angle-double-down').click(function(){
$(this).toggleClass('fa-rotate-negative-90');
if ($(this).parents("#usersBox").length == 1) {
$("#usersRows").toggle();
} else {
$("#postsRows").toggle();
}
});
})
</script>
</head>
<body>
<noscript>
<META HTTP-EQUIV="Refresh" CONTENT="0;URL=error.php">
</noscript>
<?php require('php/template/navbar.php');?>
<?php require('php/template/popup.php');?>
<div id="center">
<div id="content">
<?php require('php/fetchSearch.php');?>
<div id="postsBox" class="box">
<?php echo isset($colour) ? '<div class="boxTitle" style="background-color: '. $colour . '"><b>0</b> Posts Found' : '<div class="boxTitle"><b>0</b> Posts Found'; ?>
<div class="expand"><i class="fa fa-angle-double-down"></i></div></div>
</div>
</div>
<div id="sidebar">
<div id="support" class="sideBox">
About Support etc etc
</div>
</div>
</div>
</body>
</html>