-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforum-post.php
255 lines (216 loc) · 8.76 KB
/
forum-post.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
<?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 Post";
/* ---------------- 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";
$breadcrumbs["Forum Topic"] = APP_URL."/forum-topic.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="<?php echo APP_URL; ?>/forum.php"> Projects </a> > <a href="<?php echo APP_URL; ?>/forum-topic.php">Business Requirement Docs </a> > Nam quam nunc blandit vel </th>
</tr>
</thead>
<tbody>
<!-- Post -->
<tr>
<td class="text-center"><a href="<?php echo APP_URL; ?>/profile.php"><img alt="" src="<?php echo ASSETS_URL; ?>/img/flags/us.png"> <strong>John Doe</strong></a></td>
<td>on <em>Jan 1, 2014 - 12:00am</em></td>
</tr>
<tr>
<td class="text-center" style="width: 12%;">
<div class="push-bit">
<a href="<?php echo APP_URL; ?>/profile.php"> <img src="<?php echo ASSETS_URL; ?>/img/avatars/sunny.png" width="50" alt="avatar" class="online"> </a>
</div><small>473 Posts</small></td>
<td>
<p>
Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet.
</p><h5>Forecast Pie</h5><span class="sparkline display-inline margin-bottom-10" data-sparkline-type="pie" data-sparkline-offset="90" data-sparkline-piesize="150px"> 33,20,10 </span>
<p>
Fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viv.
</p><em>- John Doe
<br>
CEO, SmartAdmin</em></td>
</tr>
<!-- end Post -->
<!-- Post -->
<tr>
<td class="text-center"><a href="<?php echo APP_URL; ?>/profile.php"><img alt="" src="<?php echo ASSETS_URL; ?>/img/flags/es.png"> <strong>Sadi Orlaf</strong></a></td>
<td>on <em>Jan 1, 2014 - 12:00am</em></td>
</tr>
<tr>
<td class="text-center" style="width: 12%;">
<div class="push-bit">
<a href="<?php echo APP_URL; ?>/profile.php"> <img src="<?php echo ASSETS_URL; ?>/img/avatars/5.png" width="50" alt="avatar" class="offline"> </a>
</div><small>473 Posts</small></td>
<td>
<p>
Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet.
</p><em>- Sadi Orlaf
<br>
Executive, SmartAdmin</em>
<div class="forum-attachment">
2 attachment(s) — <a href="javascript:void(0);"> Download all attachments</a>
<ul class="list-inline margin-top-10">
<li class="well well-sm padding-5">
<strong>rocketlaunch.jpg</strong>
<br>
400 kb
<br>
<a href="javascript:void(0);"> Download</a> | <a href="javascript:void(0);"> View</a>
</li>
<li class="well well-sm padding-5">
<strong>budget.xsl</strong>
<br>
400 kb
<br>
<a href="javascript:void(0);"> Download</a> | <a href="javascript:void(0);"> Share</a>
</li>
</ul>
</div></td>
</tr>
<!-- end Post -->
<!-- Post -->
<tr>
<td class="text-center"><a href="<?php echo APP_URL; ?>/profile.php"><img alt="" src="<?php echo ASSETS_URL; ?>/img/flags/us.png"> <strong>Me</strong></a></td>
<td><em>Today</em></td>
</tr>
<tr>
<td class="text-center" style="width: 12%;">
<div class="push-bit">
<a href="<?php echo APP_URL; ?>/profile.php"> <img src="<?php echo ASSETS_URL; ?>/img/avatars/sunny.png" width="50" alt="avatar" class="online"> </a>
</div><small>473 Posts</small></td>
<td><div id="forumPost"></div>
<button class="btn btn-primary margin-top-10">
Post
</button>
<button class="btn btn-success margin-top-10">
Save for later
</button></td>
</tr>
<!-- end Post -->
</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="<?php echo ASSETS_URL; ?>/js/plugin/summernote/summernote.js"></script>
<script type="text/javascript">
// DO NOT REMOVE : GLOBAL FUNCTIONS!
$(document).ready(function() {
// PAGE RELATED SCRIPTS
$('#forumPost').summernote({
height : 180,
focus : false,
tabsize : 2
});
})
</script>
<?php
//include footer
include("inc/footer.php");
?>