forked from vincent3569/zpBootstrap
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpages.php
50 lines (43 loc) · 1.23 KB
/
pages.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
<?php include('inc_header.php'); ?>
<!-- .container main -->
<!-- .page-header -->
<!-- .header -->
<h3><?php printPageTitle(); ?></h3>
</div><!-- .header -->
</div><!-- /.page-header -->
<?php if (getNumPages()) { ?>
<div class="row margin-bottom ">
<div class="col-sm-offset-1 col-sm-10">
<?php printPageMenu('list-sub', '', '', 'pages-list nav nav-pills', 'active'); ?>
</div>
</div>
<?php } ?>
<?php if (getPageExtraContent()) { ?>
<div class="row">
<div class="col-sm-9">
<div class="post margin-bottom-double clearfix">
<?php printPageContent(); ?>
<?php printCodeblock(1); ?>
</div><!--/.post -->
</div>
<div class="col-sm-3">
<div class="extra-content margin-bottom-double clearfix">
<?php printPageExtraContent(); ?>
</div>
</div>
</div>
<?php } else { ?>
<div class="row">
<div class="col-sm-12">
<div class="post margin-bottom-double clearfix">
<?php printPageContent(); ?>
<?php printCodeblock(1); ?>
</div><!--/.post -->
</div>
</div>
<?php } ?>
<?php if (extensionEnabled('comment_form')) { ?>
<?php include('inc_print_comment.php'); ?>
<?php } ?>
</div><!-- /.container main -->
<?php include('inc_footer.php'); ?>