-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
171 lines (163 loc) · 3.87 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>DaemonStash</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link href="assets/css/bootstrap.css" rel="stylesheet">
<style>
body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}
.musicFiles {
color: red;
font-weight: bold;
}
.documentFiles {
color: magenta;
font-weight: bold;
}
.otherFiles {
color: #006400;
}
.allFiles {
color: blue;
}
</style>
<link href="assets/css/bootstrap-responsive.css" rel="stylesheet">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js">
</script>
<![endif]-->
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="assets/ico/favicon.ico">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="assets/ico/apple-touch-icon-57-precomposed.png">
</head>
<body>
<div class="navbar navbar-fixed-top navbar-inverse">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar">
</span>
<span class="icon-bar">
</span>
<span class="icon-bar">
</span>
</a>
<a class="brand" href="?type=all">
DaemonStash
</a>
<div class="nav-collapse">
<ul class="nav">
<li>
<a href="?type=all">
All
</a>
</li>
<li>
<a href="?type=music">
Music
</a>
</li>
<li>
<a href="?type=document">
Books & Documents
</a>
</li>
<li>
<a href="?type=other">
Other
</a>
</li>
</ul>
</div>
<form class="navbar-form pull-right">
</form>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row-fluid">
<div class="span3">
<div class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">
Search? ... NOT!
</li>
<li>
</li>
<li class="">
<a href="?type=all">
All
</a>
</li>
<li class="">
<a href="?type=music">
Music
</a>
</li>
<li class="">
<a href="?type=document">
Books & Documents
</a>
</li>
<li class="">
<a href="?type=other">
Other
</a>
</li>
</ul>
</div>
</div>
<div class="span9">
<div class="hero-unit">
<div>
<h1>
Willkommen
</h1>
<p>
If you've never been to the DS, don't ever come to the DS, cause you wouldn't understand the DS! -- Oldboy
</p>
</div>
<a class="btn btn-primary" href="http://bit.ly/UtgAE8">
Who put the goat in there?
</a>
</div>
<div class="row-fluid">
<div class="span12">
<?php
require_once 'PrinterSetup.php';
require_once 'RouterDispatcher.php';
// get our printer service
$printer = PrinterSetup::getPrinter();
// check input, find router and dispatch to appropriate method block using the printer "service"
RouterDispatcher::go($printer);
?>
</div>
</div>
<div class="row-fluid">
</div>
<div class="span12">
<br />
</div>
<div class="row-fluid">
</div>
<div class="span4">
</div>
<div>
@BennyLava();
</div>
</div>
</div>
</div>
<script src="/assets/js/jquery-1.8.3.min.js"></script>
<script src="assets/js/bootstrap.js"></script>
</body>
</html>