-
Notifications
You must be signed in to change notification settings - Fork 33
/
post.php
executable file
·55 lines (45 loc) · 1.6 KB
/
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
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php
$this->need('header.php');
?>
<div class="mdui-container" >
<div class="mdui-container" >
<h1 class="title dreamcat-title" ><?php $this->title() ?></h1 >
<h4 class="subtitle dreamcat-subtitle" >作者: <?php $this->author(); ?></h4 >
<h4 class="subtitle dreamcat-subtitle" >时间:
<time datetime="<?php $this->date('c'); ?>"
itemprop="datePublished" ><?php $this->date(); ?></time >
</h4 >
</div >
</div >
<div class="dreamcat-img-header-wrapper" >
<div class='dreamcat-img-header dreamcat-img-header-post' ></div >
</div >
<div class="mdui-container dreamcat-content-wrapper" >
<div class="mdui-card dreamcat-card" >
<div class="mdui-card-content" >
<div class="mdui-typo dreamcat-content page-content" >
<?php $this->content(); ?>
</div >
<div class="mdui-row-xs-<?php echo empty($this->options->DC_AdmireQCode) ? 1 : 2; ?> " >
<?php $this->need("component/donate.php"); ?>
<?php $this->need("component/share.php") ?>
</div >
</div >
<?php $this->need("component/copyright.php") ?>
<?php $this->need("component/category-bar.php") ?>
</div >
</div >
<?php $this->need('component/comments.php'); ?>
<?php if (Typecho_Widget::widget('Widget_Stat')->publishedPostsNum > 1): ?>
<div class="doc-footer-nav mdui-color-grey-50" >
<div class="mdui-container" >
<div class="mdui-row" >
<?php thePrev($this); ?>
<?php theNext($this); ?>
</div >
</div >
</div >
<?php else: ?>
<?php endif; ?>
<?php $this->need('footer.php'); ?>