-
Notifications
You must be signed in to change notification settings - Fork 0
/
forum-topic.php
361 lines (321 loc) · 10.8 KB
/
forum-topic.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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
<?php
//initilize the page
require_once("inc/init.php");
//require UI configuration (nav, ribbon, etc.)
require_once("inc/config.ui.php");
/*---------------- PHP Custom Scripts ---------
YOU CAN SET CONFIGURATION VARIABLES HERE BEFORE IT GOES TO NAV, RIBBON, ETC.
E.G. $page_title = "Custom Title" */
$page_title = "Forum Topic";
/* ---------------- END PHP Custom Scripts ------------- */
//include header
//you can add your custom css in $page_css array.
//Note: all css files are inside css/ folder
$page_css[] = "your_style.css";
include("inc/header.php");
//include left panel (navigation)
//follow the tree in inc/config.ui.php
$page_nav["others"]["sub"]["forum"]["active"] = true;
include("inc/nav.php");
?>
<!-- ==========================CONTENT STARTS HERE ========================== -->
<!-- MAIN PANEL -->
<div id="main" role="main">
<?php
//configure ribbon (breadcrumbs) array("name"=>"url"), leave url empty if no url
//$breadcrumbs["New Crumb"] => "http://url.com"
$breadcrumbs["Other Pages"] = "";
$breadcrumbs["Forum Layout"] = APP_URL."/forum.php";
include("inc/ribbon.php");
?>
<!-- MAIN CONTENT -->
<div id="content">
<!-- Bread crumb is created dynamically -->
<!-- row -->
<div class="row">
<!-- col -->
<div class="col-xs-12 col-sm-3 col-md-4 col-lg-4">
<h1 class="page-title txt-color-blueDark"><!-- PAGE HEADER --><i class="fa-fw fa fa-file-o"></i> Other Pages <span>>
Forum Layout </span></h1>
</div>
<!-- end col -->
<!-- right side of the page with the sparkline graphs -->
<!-- col -->
<div class="col-xs-12 col-sm-9 col-md-8 col-lg-8">
<!-- sparks -->
<ul id="sparks">
<li class="sparks-info">
<h5> My Income <span class="txt-color-blue">$47,171</span></h5>
<div class="sparkline txt-color-blue hidden-mobile">
1300, 1877, 2500, 2577, 2000, 2100, 3000, 2700, 3631, 2471, 2700, 3631, 2471
</div>
</li>
<li class="sparks-info">
<h5> Site Traffic <span class="txt-color-purple"><i class="fa fa-arrow-circle-up" title="Increased"></i> 45%</span></h5>
<div class="sparkline txt-color-purple hidden-mobile">
110,150,300,130,400,240,220,310,220,300, 270, 210
</div>
</li>
<li class="sparks-info">
<h5> Site Orders <span class="txt-color-greenDark"><i class="fa fa-shopping-cart"></i> 2447</span></h5>
<div class="sparkline txt-color-greenDark hidden-mobile">
110,150,300,130,400,240,220,310,220,300, 270, 210
</div>
</li>
</ul>
<!-- end sparks -->
</div>
<!-- end col -->
</div>
<!-- end row -->
<!-- row -->
<div class="row">
<div class="col-sm-12">
<div class="well">
<table class="table table-striped table-forum">
<thead>
<tr>
<th colspan="2"><a href="forum.php"> Projects </a> > Business Requirement Docs</th>
<th class="text-center hidden-xs hidden-sm" style="width: 100px;">Topics</th>
<th class="text-center hidden-xs hidden-sm" style="width: 100px;">Posts</th>
<th class="hidden-xs hidden-sm" style="width: 200px;">Last Post</th>
</tr>
</thead>
<tbody>
<!-- TR -->
<tr class="warning">
<td class="text-center" style="width: 40px;"><i class="glyphicon glyphicon-pushpin fa-2x text-danger"></i></td>
<td>
<h4><a href="forum-post.php">
Welcome message
</a>
<small><a href="#ajax/profile.php">John Doe</a> on <em>January 1, 2014</em></small>
</h4>
</td>
<td class="text-center hidden-xs hidden-sm">
<a href="javascript:void(0);">431</a>
</td>
<td class="text-center hidden-xs hidden-sm">
<a href="javascript:void(0);">1342</a>
</td>
<td class="hidden-xs hidden-sm">by
<a href="javascript:void(0);">John Doe</a>
<br>
<small><i>January 1, 2014</i></small>
</td>
</tr>
<!-- end TR -->
<!-- TR -->
<tr class="warning">
<td class="text-center" style="width: 40px;"><i class="glyphicon glyphicon-pushpin fa-2x text-danger"></i></td>
<td>
<h4><a href="forum-post.php">
Latest Updates
</a>
<small><a href="#ajax/profile.php">John Doe</a> on <em>January 1, 2014</em></small>
</h4>
</td>
<td class="text-center hidden-xs hidden-sm">
<a href="javascript:void(0);">431</a>
</td>
<td class="text-center hidden-xs hidden-sm">
<a href="javascript:void(0);">1342</a>
</td>
<td class="hidden-xs hidden-sm">by
<a href="javascript:void(0);">John Doe</a>
<br>
<small><i>January 1, 2014</i></small>
</td>
</tr>
<!-- end TR -->
<!-- TR -->
<tr>
<td colspan="2">
<h4><a href="forum-post.php">
Nam quam nunc blandit vel
</a>
<small><a href="#ajax/profile.php">John Doe</a> on <em>January 1, 2014</em></small>
</h4>
</td>
<td class="text-center hidden-xs hidden-sm">
<a href="javascript:void(0);">431</a>
</td>
<td class="text-center hidden-xs hidden-sm">
<a href="javascript:void(0);">1342</a>
</td>
<td class="hidden-xs hidden-sm">by
<a href="javascript:void(0);">John Doe</a>
<br>
<small><i>January 1, 2014</i></small>
</td>
</tr>
<!-- end TR -->
<!-- TR -->
<tr>
<td colspan="2">
<h4><a href="forum-post.php">
Maecenas nec odio et ante tincidun
</a>
<small><a href="#ajax/profile.php">John Doe</a> on <em>January 1, 2014</em></small>
</h4>
</td>
<td class="text-center hidden-xs hidden-sm">
<a href="javascript:void(0);">431</a>
</td>
<td class="text-center hidden-xs hidden-sm">
<a href="javascript:void(0);">1342</a>
</td>
<td class="hidden-xs hidden-sm">by
<a href="javascript:void(0);">John Doe</a>
<br>
<small><i>January 1, 2014</i></small>
</td>
</tr>
<!-- end TR -->
<!-- TR -->
<tr>
<td colspan="2">
<h4><a href="forum-post.php">
Donec sodales sagittis magna
</a>
<small><a href="#ajax/profile.php">John Doe</a> on <em>January 1, 2014</em></small>
</h4>
</td>
<td class="text-center hidden-xs hidden-sm">
<a href="javascript:void(0);">431</a>
</td>
<td class="text-center hidden-xs hidden-sm">
<a href="javascript:void(0);">1342</a>
</td>
<td class="hidden-xs hidden-sm">by
<a href="javascript:void(0);">John Doe</a>
<br>
<small><i>January 1, 2014</i></small>
</td>
</tr>
<!-- end TR -->
<!-- TR -->
<tr>
<td colspan="2">
<h4><a href="forum-post.php">
Sed consequat, leo eget bibendum sodales
</a>
<small><a href="#ajax/profile.php">John Doe</a> on <em>January 1, 2014</em></small>
</h4>
</td>
<td class="text-center hidden-xs hidden-sm">
<a href="javascript:void(0);">431</a>
</td>
<td class="text-center hidden-xs hidden-sm">
<a href="javascript:void(0);">1342</a>
</td>
<td class="hidden-xs hidden-sm">by
<a href="javascript:void(0);">John Doe</a>
<br>
<small><i>January 1, 2014</i></small>
</td>
</tr>
<!-- end TR -->
<!-- TR -->
<tr>
<td colspan="2">
<h4><a href="forum-post.php">
Consectetuer adipiscing elit
</a>
<small><a href="#ajax/profile.php">John Doe</a> on <em>January 1, 2014</em></small>
</h4>
</td>
<td class="text-center hidden-xs hidden-sm">
<a href="javascript:void(0);">431</a>
</td>
<td class="text-center hidden-xs hidden-sm">
<a href="javascript:void(0);">1342</a>
</td>
<td class="hidden-xs hidden-sm">by
<a href="javascript:void(0);">John Doe</a>
<br>
<small><i>January 1, 2014</i></small>
</td>
</tr>
<!-- end TR -->
<!-- TR -->
<tr class="locked">
<td colspan="2">
<h4><a href="forum-post.php">
This is a locked topic!
</a>
<small><a href="#ajax/profile.php">John Doe</a> on <em>January 1, 2014</em></small>
</h4>
</td>
<td class="text-center hidden-xs hidden-sm">
<a href="javascript:void(0);">431</a>
</td>
<td class="text-center hidden-xs hidden-sm">
<a href="javascript:void(0);">1342</a>
</td>
<td class="hidden-xs hidden-sm">by
<a href="javascript:void(0);">John Doe</a>
<br>
<small><i>January 1, 2014</i></small>
</td>
</tr>
<!-- end TR -->
<!-- TR -->
<tr class="closed">
<td colspan="2">
<h4><a href="forum-post.php">
This is a closed topic!
</a>
<small><a href="javascript:void(0);">John Doe</a> on <em>January 1, 2014</em></small>
</h4>
</td>
<td class="text-center hidden-xs hidden-sm">
<a href="javascript:void(0);">431</a>
</td>
<td class="text-center hidden-xs hidden-sm">
<a href="javascript:void(0);">1342</a>
</td>
<td class="hidden-xs hidden-sm">by
<a href="javascript:void(0);">John Doe</a>
<br>
<small><i>January 1, 2014</i></small>
</td>
</tr>
<!-- end TR -->
</tbody>
</table>
<div class="text-center">
<ul class="pagination pagination-sm">
<li class="disabled"><a href="javascript:void(0);">Prev</a></li>
<li class="active"><a href="javascript:void(0);">1</a></li>
<li><a href="javascript:void(0);">2</a></li>
<li><a href="javascript:void(0);">3</a></li>
<li><a href="javascript:void(0);">...</a></li>
<li><a href="javascript:void(0);">99</a></li>
<li><a href="javascript:void(0);">Next</a></li>
</ul>
</div>
</div>
</div>
</div>
<!-- end row -->
</div>
<!-- END MAIN CONTENT -->
</div>
<!-- END MAIN PANEL -->
<!-- ==========================CONTENT ENDS HERE ========================== -->
<?php
//include required scripts
include("inc/scripts.php");
?>
<!-- PAGE RELATED PLUGIN(S)
<script src="..."></script>-->
<script>
$(document).ready(function() {
// PAGE RELATED SCRIPTS
})
</script>
<?php
//include footer
include("inc/footer.php");
?>