- - title() ?> - - - - + + title() ?> + + fields->summary){echo $this->fields->summary;} else {$this->excerpt(180); } + ?> + date('Y-m-d'); ?> - - + @@ -45,26 +41,40 @@ d="M1.751 10c0-4.42 3.584-8 8.005-8h4.366c4.49 0 8.129 3.64 8.129 8.13 0 2.96-1.607 5.68-4.196 7.11l-8.054 4.46v-3.69h-.067c-4.49.1-8.183-3.51-8.183-8.01zm8.005-6c-3.317 0-6.005 2.69-6.005 6 0 3.37 2.77 6.08 6.138 6.01l.351-.01h1.761v2.3l5.087-2.81c1.951-1.08 3.163-3.13 3.163-5.36 0-3.39-2.744-6.13-6.129-6.13H9.756z"> - - commentsNum('评论', '1 评论', '%d 评论'); ?> - - - excerpt(180); ?> - - - + commentsNum('评论', '1 评论', '%d 评论'); ?> + +
- - - + + + - - date('Y-m-d'); ?> + date('Y-m-d'); ?> @@ -20,42 +19,38 @@ d="M12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9ZM11 12C11 11.4477 11.4477 11 12 11C12.5523 11 13 11.4477 13 12C13 12.5523 12.5523 13 12 13C11.4477 13 11 12.5523 11 12Z" /> - - 阅读 + 阅读 - - commentsNum('评论', '1 评论', '%d 评论'); ?> - + commentsNum('评论', '1 评论', '%d 评论'); ?> - title() ?> - - content(); ?> - + title() ?> + content(); ?> - - - - - - 赏 - - - - 关闭 - - - - - - - - - + + + + + + 赏 + + + + 关闭 + + + + + + + + + + tags(' ', true, ' '); ?> @@ -63,6 +58,12 @@ options->showProfile): ?> need('profile.php'); ?> + + allow('comment')): ?> + need('comments.php'); ?> + + +options->twikoo(); ?> @@ -78,11 +79,6 @@ - - allow('comment')): ?> - need('comments.php'); ?> - - -options->twikoo(); ?> + need('footer.php'); ?> diff --git a/postlist.php b/postlist.php index 749c586..b8567ff 100644 --- a/postlist.php +++ b/postlist.php @@ -1,9 +1,12 @@ next()): ?> - + - - title() ?>created) < 60*60*24*3): ?> + + + + title() ?> + created) < 60*60*24*3): ?> @@ -14,17 +17,17 @@ - - - fields->summary){ + + + fields->summary){ echo $this->fields->summary; - } else { + } else { $this->excerpt(180); - }?> - - + }?> + + @@ -51,10 +54,8 @@ commentsNum('评论', '1 评论', '%d 评论'); ?> - - - - + +
+ - - title() ?>created) < 60*60*24*3): ?> + + + + title() ?> + created) < 60*60*24*3): ?> @@ -14,17 +17,17 @@ - - - fields->summary){ + + + fields->summary){ echo $this->fields->summary; - } else { + } else { $this->excerpt(180); - }?> - - + }?> + + @@ -51,10 +54,8 @@ commentsNum('评论', '1 评论', '%d 评论'); ?> - - - - + +
- - title() ?>created) < 60*60*24*3): ?> + + + + title() ?> + created) < 60*60*24*3): ?> @@ -14,17 +17,17 @@ - - - fields->summary){ + + + fields->summary){ echo $this->fields->summary; - } else { + } else { $this->excerpt(180); - }?> - - + }?> + + @@ -51,10 +54,8 @@ commentsNum('评论', '1 评论', '%d 评论'); ?> - - - - + +
listComments(); ?> - + authorId) { + if ($comments->authorId == $comments->ownerId) { + $commentClass .= ' comment-by-author'; + } else { + $commentClass .= ' comment-by-user'; + } + } + + $commentLevelClass = $comments->levels > 0 ? ' comment-child' : ' comment-parent'; +?> +