- options->JIndex_Carousel;
- if ($carousel_text) {
- $carousel_arr = explode("\r\n", $carousel_text);
- if (count($carousel_arr) > 0) {
- for ($i = 0; $i < count($carousel_arr); $i++) {
- $img = explode("||", $carousel_arr[$i])[0];
- $url = explode("||", $carousel_arr[$i])[1];
- $title = explode("||", $carousel_arr[$i])[2];
- $carousel[] = array("img" => trim($img), "url" => trim($url), "title" => trim($title));
- };
- }
- }
- $recommend = [];
- $recommend_text = $this->options->JIndex_Recommend;
- if ($recommend_text) {
- $recommend_arr = explode("||", $recommend_text);
- if (count($recommend_arr) === 2) $recommend = $recommend_arr;
- }
- ?>
- 0 || sizeof($recommend) === 2) : ?>
-
- 0) : ?>
-
-
-
-
-
- widget('Widget_Archive@' . $cid, 'pageSize=1&type=post', 'cid=' . $cid)->to($item); ?>
-
-
-
-
-
-
- options->JIndex_Hot === "on") : ?>
- widget('Widget_Contents_Hot@Index', 'pageSize=4')->to($item); ?>
-
-
- options->JIndex_Ad;
- $index_ad = null;
- if ($index_ad_text) {
- $index_ad_arr = explode("||", $index_ad_text);
- if (count($index_ad_arr) === 2) $index_ad = array("image" => trim($index_ad_arr[0]), "url" => trim($index_ad_arr[1]));
- }
- ?>
-
-
-
-
-
-
- - 最新文章
- - 热门文章
- - 评论最多
- - 点赞最多
-
-
- options->JIndex_Notice;
- $index_notice = null;
- if ($index_notice_text) {
- $index_notice_arr = explode("||", $index_notice_text);
- if (count($index_notice_arr) === 2) $index_notice = array("text" => trim($index_notice_arr[0]), "url" => trim($index_notice_arr[1]));
- }
- ?>
-
-
-
-
-
+
+ need('public/header.php'); ?>
+
+
+
+ options->JIndex_Carousel;
+ if ($carousel_text) {
+ $carousel_arr = explode("\r\n", $carousel_text);
+ if (count($carousel_arr) > 0) {
+ for ($i = 0; $i < count($carousel_arr); $i++) {
+ $img = explode("||", $carousel_arr[$i])[0];
+ $url = explode("||", $carousel_arr[$i])[1];
+ $title = explode("||", $carousel_arr[$i])[2];
+ $carousel[] = array("img" => trim($img), "url" => trim($url), "title" => trim($title));
+ };
+ }
+ }
+ $recommend = [];
+ $recommend_text = $this->options->JIndex_Recommend;
+ if ($recommend_text) {
+ $recommend_arr = explode("||", $recommend_text);
+ if (count($recommend_arr) === 2) $recommend = $recommend_arr;
+ }
+ ?>
+ 0 || sizeof($recommend) === 2) : ?>
+
+ 0) : ?>
+
-
查看更多
+
+
+
+
+ widget('Widget_Archive@' . $cid, 'pageSize=1&type=post', 'cid=' . $cid)->to($item); ?>
+
+
+
+
- need('public/aside.php'); ?>
+
+ options->JIndex_Hot === "on") : ?>
+ widget('Widget_Contents_Hot@Index', 'pageSize=4')->to($item); ?>
+
+
+ options->JIndex_Ad;
+ $index_ad = null;
+ if ($index_ad_text) {
+ $index_ad_arr = explode("||", $index_ad_text);
+ if (count($index_ad_arr) === 2) $index_ad = array("image" => trim($index_ad_arr[0]), "url" => trim($index_ad_arr[1]));
+ }
+ ?>
+
+
+
+
+
+
+ - 最新文章
+ - 热门文章
+ - 评论最多
+ - 点赞最多
+
+
+ options->JIndex_Notice;
+ $index_notice = null;
+ if ($index_notice_text) {
+ $index_notice_arr = explode("||", $index_notice_text);
+ if (count($index_notice_arr) === 2) $index_notice = array("text" => trim($index_notice_arr[0]), "url" => trim($index_notice_arr[1]));
+ }
+ ?>
+
+
+
+
+
- need('public/footer.php'); ?>
+
查看更多
+
+ need('public/aside.php'); ?>
+ need('public/footer.php'); ?>
+
\ No newline at end of file
diff --git a/public/include.php b/public/include.php
index ad86d73..4ddbb3f 100644
--- a/public/include.php
+++ b/public/include.php
@@ -1,37 +1,32 @@
-
@@ -43,25 +38,23 @@
archiveTitle(array('category' => '分类 %s 下的文章', 'search' => '包含关键字 %s 的文章', 'tag' => '标签 %s 下的文章', 'author' => '%s 发布的文章'), '', ' - '); ?>options->title(); ?>
is('single')) : ?>
-
-
- header('keywords=&description='); ?>
+
+
+ header('keywords=&description='); ?>
- header(); ?>
+ header(); ?>
-
options->JAside) && $this->options->JAside_Weather_Key) : ?>
-
+
-
@@ -70,8 +63,7 @@
-
options->JCursorEffects && $this->options->JCursorEffects !== 'off') : ?>
-
+
\ No newline at end of file