From 9ae13dfa011baab12843b6855c2e9a4d6ca92075 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=94=E8=90=BD?= <45323514+BigCoke233@users.noreply.github.com> Date: Sat, 30 Mar 2019 15:30:52 +0800 Subject: Add files via upload --- cross.php | 146 ++++++++++++++++++++++++++++++++++++++++++++++ file.php | 12 ++-- functions.php | 10 ++-- includes/comments.php | 63 ++++++++++++++++++++ includes/head.php | 5 +- includes/header.php | 11 ++++ includes/post-content.php | 47 +++++++++++++++ includes/post-item.php | 56 +++++++++++------- includes/toolbar.php | 5 +- links.php | 17 +++--- page.php | 17 +++--- post.php | 16 +++-- 12 files changed, 344 insertions(+), 61 deletions(-) create mode 100644 cross.php create mode 100644 includes/post-content.php diff --git a/cross.php b/cross.php new file mode 100644 index 0000000..8c33406 --- /dev/null +++ b/cross.php @@ -0,0 +1,146 @@ + +need('includes/head.php'); ?> +need('includes/header.php'); ?> + +
+ + +
+ +
+ options->title(); ?> / title() ?> +
+
+ + +
+ fields->banner && $this->fields->banner!='') :?> +
+
+
+ + +
+

title() ?>

+ + date('Y-m-d'); ?>  /   + category(',', true, '木有分类'); ?>  /   + commentsNum('%d'); ?> + +
+ +
+
+ + + + + + +user->hasLogin()): ?> +
+ allow('comment')): ?> +
+
+
+

+ +

+ + need('includes/owo.php'); ?> +

+ +

+
+
+ +

+ + + + comments()->to($comments); ?> + have()): ?> +
+ listComments(); ?> +
+ pageNav('« 前一页', '后一页 »'); ?> + +

这孩子连一篇动态都没有写哦~

+ +
+ +
+ + +
+ need('includes/sidebar.php'); ?> +
+ need('includes/toolbar.php'); ?> +
+ + +need('includes/footer.php'); ?> \ No newline at end of file diff --git a/file.php b/file.php index 0bf18ee..5315316 100644 --- a/file.php +++ b/file.php @@ -20,20 +20,22 @@
+ fields->banner && $this->fields->banner!='') :?>
- fields->banner && $this->fields->banner!='') :?>
- -
- +
+ +

title() ?>

date('Y-m-d'); ?>  /   + category(',', true, '木有分类'); ?>  /   commentsNum('%d'); ?>
- + +
diff --git a/page.php b/page.php index 3dcd3a9..eb776c7 100644 --- a/page.php +++ b/page.php @@ -13,26 +13,25 @@
+ fields->banner && $this->fields->banner!='') :?>
- fields->banner && $this->fields->banner!='') :?>
- -
- +
+ +

title() ?>

date('Y-m-d'); ?>  /   + category(',', true, '木有分类'); ?>  /   commentsNum('%d'); ?>
- + +
- /s','',$this->content); - echo $content - ?> + need('includes/post-content.php'); ?>
diff --git a/post.php b/post.php index af88a3d..239ff9e 100644 --- a/post.php +++ b/post.php @@ -13,12 +13,12 @@
+ fields->banner && $this->fields->banner!='') :?>
- fields->banner && $this->fields->banner!='') :?>
- -
- +
+ +

title() ?>

@@ -27,13 +27,11 @@ commentsNum('%d'); ?>
- + +
- /s','',$this->content); - echo $content - ?> + need('includes/post-content.php'); ?>
-- cgit v1.2.3