-
Notifications
You must be signed in to change notification settings - Fork 2
/
page.php
44 lines (43 loc) · 1.71 KB
/
page.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
<?php
/**
* 自建页面模板
*/
if (!defined('EMLOG_ROOT')) {
exit('error!');
}
?>
<!--面包屑导航-->
<div class="breadthumb">
<div class="container">
<a href="<?php echo BLOG_URL;?>" class="bread-item">首页</a>
<a href="" class="bread-item"><?php echo $log_title; ?></a>
</div>
</div>
<!--面包屑导航-->
<div class="main container">
<div class="content-wrap">
<div class="content" id="content">
<div class="panel echo-log">
<div class="panel-body">
<h2 class="log-title"><?php echo $log_title; ?><?php editable($logid, $author); ?></h2>
<div class="log-info">
<span><?php blog_author($author); ?></span>
<span><i class="iconfont icon-time"></i><?php echo gmdate('Y-m-d h:i:s', $date); ?></span>
<span><i class="iconfont icon-comment"></i><a href="#comments" class="comments"><?php echo $comnum; ?></a></span>
<span><i class="iconfont icon-view"></i><i class="view"><?php echo $views; ?></i></span>
</div>
<div class="log-body" id="log-body">
<?php echo $log_content; ?>
</div>
</div>
</div>
<?php blog_comments_post($logid,$ckname,$ckmail,$ckurl,$verifyCode,$allow_remark); ?>
<?php blog_comments($comments); ?>
</div>
</div>
<?php include View::getView('side');?>
<div class="clearfix"></div>
</div>
<?php
include View::getView('footer');
?>