diff --git a/archive.php b/archive.php index 49cb172..7bb2dd0 100644 --- a/archive.php +++ b/archive.php @@ -37,7 +37,7 @@
  • - <?php $this->title() ?> + <?php $this->title() ?> @@ -76,7 +76,7 @@ - <?php $this->title() ?> + <?php $this->title() ?> @@ -99,7 +99,7 @@ - <?php $this->title() ?> + <?php $this->title() ?>
    diff --git a/assets/js/joe.index.js b/assets/js/joe.index.js index 5c2724d..d98ce9f 100644 --- a/assets/js/joe.index.js +++ b/assets/js/joe.index.js @@ -27,7 +27,7 @@ document.addEventListener('DOMContentLoaded', () => {
  • - ${_.title} + ${_.title} @@ -80,7 +80,7 @@ document.addEventListener('DOMContentLoaded', () => { - ${_.title} + ${_.title} @@ -106,7 +106,7 @@ document.addEventListener('DOMContentLoaded', () => { ${_.image .map((item, index) => { if (index < 3) { - return `${_.title}`; + return `${_.title}`; } }) .join('')} diff --git a/assets/js/joe.live.js b/assets/js/joe.live.js index 8c17322..0b9050f 100644 --- a/assets/js/joe.live.js +++ b/assets/js/joe.live.js @@ -55,14 +55,14 @@ document.addEventListener('DOMContentLoaded', () => {
    ${_.recommendTagName} - ${_.introduction} + ${_.introduction}
    - ${_.nick} + ${_.nick}
    ${_.nick}

    ${_.introduction}

    diff --git a/assets/js/joe.video.js b/assets/js/joe.video.js index 205c3f6..a22e2a9 100644 --- a/assets/js/joe.video.js +++ b/assets/js/joe.video.js @@ -52,7 +52,7 @@ document.addEventListener('DOMContentLoaded', () => {
    ${_.vod_year}
    - ${_.vod_name} + ${_.vod_name}

    ${_.vod_name}

    `; @@ -130,7 +130,7 @@ document.addEventListener('DOMContentLoaded', () => { /* 设置视频详情 */ $('.joe_video__detail-info').html(`
    - ${item.vod_name} + ${item.vod_name} ${item.vod_year}
    diff --git a/assets/js/joe.wallpaper.js b/assets/js/joe.wallpaper.js index 0dd84bd..4cd9d36 100644 --- a/assets/js/joe.wallpaper.js +++ b/assets/js/joe.wallpaper.js @@ -42,7 +42,7 @@ document.addEventListener('DOMContentLoaded', () => { res.data.forEach(_ => { htmlStr += ` - 壁纸 + 壁纸 `; }); $('.joe_wallpaper__list').html(htmlStr); diff --git a/core/function.php b/core/function.php index 050e3a5..d723336 100644 --- a/core/function.php +++ b/core/function.php @@ -3,7 +3,7 @@ /* 获取主题当前版本号 */ function _getVersion() { - return "5.4.0"; + return "5.4.1"; }; /* 判断是否是手机 */ diff --git a/friends.php b/friends.php index ab7c93a..a793c75 100644 --- a/friends.php +++ b/friends.php @@ -93,7 +93,7 @@
    - <?php echo $item['name']; ?> + <?php echo $item['name']; ?>
  • diff --git a/index.php b/index.php index 200144b..ad924fa 100644 --- a/index.php +++ b/index.php @@ -12,174 +12,174 @@ - need('public/include.php'); ?> - - - - - + need('public/include.php'); ?> + + + + + -
    - 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); ?> -
    - - <?php $item->title() ?> - -
    - 推荐 -
    title() ?>
    -
    -
    - -
    - -
    - - 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])); - } - ?> - - - +
    + 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); ?> +
    + + <?php $item->title() ?> + +
    + 推荐 +
    title() ?>
    +
    +
    + +
    + +
    + + 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/aside.php'); ?> -
      - need('public/footer.php'); ?> -
      +
      +
        +
      • 最新文章
      • +
      • 热门文章
      • +
      • 评论最多
      • +
      • 点赞最多
      • +
      • +
      + 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/aside.php'); ?> +
        + need('public/footer.php'); ?> +
        \ No newline at end of file diff --git a/public/article.php b/public/article.php index beef2a2..09e8377 100644 --- a/public/article.php +++ b/public/article.php @@ -18,7 +18,7 @@

        title() ?>

        - <?php $this->author(); ?> + <?php $this->author(); ?>