-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforum.php
287 lines (243 loc) · 10.5 KB
/
forum.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
<?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";
/* ---------------- 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"] = "";
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">Introduction</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>
<td class="text-center" style="width: 40px;"><i class="fa fa-globe fa-2x text-muted"></i></td>
<td><h4><a href="forum-topic.php"> Hello, welcome to SmartAdmin Forum! </a><small>You can introduce yourself here</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 class="text-center" style="width: 40px;"><i class="fa fa-microphone fa-2x text-muted"></i></td>
<td><h4><a href="forum-topic.php"> News & Announcements </a><small>Latest news and reports</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 class="text-center" style="width: 40px;"><i class="fa fa-pencil fa-2x text-muted"></i></td>
<td><h4><a href="forum-topic.php"> Forum Rules </a><small>Please read carefully our forum rules before you post</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>
<table class="table table-striped table-forum">
<thead>
<tr>
<th colspan="2">Projects</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>
<td class="text-center" style="width: 40px;"><i class="fa fa-table fa-2x text-muted"></i></td>
<td><h4><a href="forum-topic.php"> Business Requirement Docs </a><small>Latest BRD docs</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 class="text-center" style="width: 40px;"><i class="fa fa-bar-chart-o fa-2x text-muted"></i></td>
<td><h4><a href="forum-topic.php"> Project Discussions </a><small>Post all project related topics here</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 class="text-center" style="width: 40px;"><i class="fa fa-user fa-2x text-muted"></i></td>
<td><h4><a href="forum-topic.php"> Clients </a><small>Client forum posts</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 class="text-center" style="width: 40px;"><i class="fa fa-dollar fa-2x text-muted"></i></td>
<td><h4><a href="forum-topic.php"> Budget Meetings </a><small>Project budget discussions</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>
<table class="table table-striped table-forum">
<thead>
<tr>
<th colspan="2">Support</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>
<td class="text-center" style="width: 40px;"><i class="fa fa-book fa-2x text-muted"></i></td>
<td><h4><a href="forum-topic.php"> How to... </a><small>Maecenas nec odio et</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 class="text-center" style="width: 40px;"><i class="fa fa-question-circle fa-2x text-muted"></i></td>
<td><h4><a href="forum-topic.php"> Questions and FAQs </a><small>Luctus pulvinar hendrerit id lorem</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 class="text-center" style="width: 40px;"><i class="fa fa-user-md fa-2x text-muted"></i></td>
<td><h4><a href="forum-topic.php"> User Guideline </a><small>Cras dapibus vivamus elementum semper nisi</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>
</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");
?>