-
Notifications
You must be signed in to change notification settings - Fork 12
/
page.php
53 lines (46 loc) · 1.36 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
45
46
47
48
49
50
51
52
53
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php
$this->need('header.php');
?>
<style>
#header:after {
content: '';
position: absolute;
left: 49px;
top: auto;
bottom: 0;
right: 49px;
height: 1px;
background-color: #eeeeee;
}
</style>
<div id="post">
<div id="post-header">
<div id="post-header-mask">
<div id="post-header-content">
<h2 id="post-content-title"><?php $this->title();?></h2>
<span id="post-content-meta"><?php $this->date('F j, Y'); ?> · <?php $this->category(' · '); ?> · <?php get_post_view($this); ?>次阅读</span>
</div>
</div>
</div>
<div id="post-content">
<div id="post-content-article">
<?php
$content = $this->content;
emotionContent($content,$this->options->themeUrl);
?>
</div>
</div>
<?php if ($this->options->feedIMG): ?>
<p align='center'><a id="feedme" onclick="feedme_show()">喝杯水</a></p>
<div id="feedme-content">
<img src="<?php $this->options->feedIMG(); ?>"></img>
</div>
<?php endif; ?>
<div id="post-footer" class="clear">
<div id="post-tags"><p>标签:<?php $this->tags(',', true, 'none'); ?></p></div>
<div id="post-lastEdit"><p>最后编辑于:<?php echo date('Y/m/d H:i' , $this->modified); ?></p></div>
</div>
</div>
<?php $this->need('comments.php'); ?>
<?php $this->need('footer.php'); ?>