-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathecho_log.php
48 lines (47 loc) · 1.83 KB
/
echo_log.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
<?php if (!defined('EMLOG_ROOT')) {
exit('error!');
}?>
<div id="page-content">
<div class="container">
<div class="row">
<div class="article col-xs-12 col-sm-8 col-md-8">
<div class="post-timthumb" style="background-image: url(<?php echo img_random() ?>);">
<h1><?php echo $log_title; ?></h1></div>
<div class="post">
<div class="post-title">
<div class="post-entry-categories"><?php blog_tag($logid); ?></div>
<div class="post_icon">
<span class="postauthor"><?php blog_author($author); ?>
</span>
<span class="postcat"><i class="fa fa-list"></i><?php blog_sort($logid); ?>
</span>
<span class="postclock"><i class="fa fa-clock-o"></i><?php echo gmdate('Y-n-j', $date); ?>
</span>
<span class="posteye"><i class="fa fa-eye"></i><?php echo $views; ?>
</span>
<span class="postcomment"><i class="fa fa-comment"></i><?php echo $comnum; ?>
</span>
</div>
</div>
<div class="post-content">
<?php echo $log_content; ?>
<?php doAction('log_related', $logData); ?>
<br>
<div class="post-declare">
<p>作者:<?php blog_author1($author); ?>,如若转载,请注明出处:<a href="<?php echo $value['log_url']; ?>">《<?php echo $log_title; ?>》</a></p>
</div>
<div class="next-prev-posts clearfix"><?php neighbor_log($neighborLog); ?></div>
</div>
</div>
<section class="single-post-comment">
<?php blog_comments_post($logid,$ckname,$ckmail,$ckurl,$verifyCode,$allow_remark); ?>
<ul>
<?php blog_comments($comments); ?>
</ul>
</section>
</div>
<div class="sidebar col-xs-12 col-sm-4 col-md-4"><?php include View::getView('side'); ?></div>
</div>
</div>
</div>
<?php include View::getView('footer'); ?>