debug-log-grm
This commit is contained in:
@@ -68,14 +68,16 @@ namespace {
|
||||
|
||||
function replaceLastPageNumber($url, $number)
|
||||
{
|
||||
$url = (string)($url ?? '');
|
||||
// 使用正则表达式替换最后一个 "1" 为 "number"
|
||||
return preg_replace('/1(?=[^1]*$)/', $number, (string)$url);
|
||||
return preg_replace('/1(?=[^1]*$)/', $number, $url);
|
||||
}
|
||||
|
||||
function removeScriptTags($rpText, $newText)
|
||||
{
|
||||
$newText = (string)($newText ?? '');
|
||||
// 使用正则表达式替换所有 <script> 标签
|
||||
return preg_replace($rpText, '', (string)$newText);
|
||||
return preg_replace($rpText, '', $newText);
|
||||
}
|
||||
|
||||
function extractFilename($url)
|
||||
|
||||
@@ -50,7 +50,10 @@
|
||||
{novel:list count="8" sort_type="tuijian" d_key="d_key" d_val="Novel" p_val="page_data" cache_life="3600"}
|
||||
<dl class="rec-focus-book">
|
||||
<dt class="book-img">
|
||||
{if !empty($arrGrm[$d_key])}
|
||||
{$arrGrm[$d_key]|raw}
|
||||
{/if}
|
||||
|
||||
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
||||
<img height="100" width="80" alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读"
|
||||
src="{$Novel.n_cover_path ?? ''}">
|
||||
@@ -82,8 +85,9 @@
|
||||
{novel:list count="1" n_category="$strCategoryPinyin" sort_type="news" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="3600"}
|
||||
<dt class="book-img">
|
||||
|
||||
{if !empty($arrGrm[$d_key+8+10*$start])}
|
||||
{$arrGrm[$d_key+8+10*$start]|raw}
|
||||
{/if}
|
||||
|
||||
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'><img
|
||||
height="100" width="80" class="lazyload-img" data-encrypted="false"
|
||||
@@ -100,7 +104,10 @@
|
||||
{novel:list count="9" n_category="$strCategoryPinyin" sort_type="news" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="3600"}
|
||||
<li>
|
||||
{if !empty($arrGrm[$d_key+8+10*$start])}
|
||||
{$arrGrm[$d_key+8+10*$start]|raw}
|
||||
{/if}
|
||||
|
||||
<a
|
||||
href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel.n_name}</a><span>{$Novel.n_author}</span>
|
||||
</li>
|
||||
|
||||
@@ -164,7 +164,10 @@ button_num="5" cache_life="3600" func="generateCategoryPager" export_name="resDa
|
||||
{novel:list count="8" sort_type="tuijian" d_key="d_key" d_val="Novel" p_val="page_data" cache_life="3600"}
|
||||
<dl class="rec-focus-book">
|
||||
<dt class="book-img">
|
||||
{if !empty($arrGrm[$d_key+30])}
|
||||
{$arrGrm[$d_key+30]|raw}
|
||||
{/if}
|
||||
|
||||
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
||||
<img height="100" width="80" class="lazyload-img" src="/static/img/default.jpg"
|
||||
data-src="{$Novel.n_cover_path ?? ''}"
|
||||
|
||||
@@ -212,7 +212,10 @@ cache_life="3600" button_num="3" sort_type="$Request.route.strOrder" func="gener
|
||||
{novel:list count="6" n_category="$arrNovel.n_category_pinyin" n_status="wanjie" d_key="d_key" d_val="Novel" p_val="page_data" cache_life="3600"}
|
||||
<dl class="rec-focus-book">
|
||||
<dt class="book-img">
|
||||
{if !empty($arrGrm[$d_key+110])}
|
||||
{$arrGrm[$d_key+110]|raw}
|
||||
{/if}
|
||||
|
||||
<a href='{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'><img
|
||||
height="100" width="80" class="lazyload-img" src="/static/img/default.jpg"
|
||||
data-src="{$Novel.n_cover_path ?? ''}"
|
||||
|
||||
@@ -191,7 +191,10 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
|
||||
p_val="page_data" cache_life="3600"}
|
||||
<dl class="rec-focus-book">
|
||||
<dt class="book-img">
|
||||
{if !empty($arrGrm[$d_key+6])}
|
||||
{$arrGrm[$d_key+6]|raw}
|
||||
{/if}
|
||||
|
||||
<a
|
||||
href='{site:nurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" /}'><img
|
||||
height="100" width="80" class="lazyload-img" src="/static/img/default.jpg"
|
||||
|
||||
@@ -200,7 +200,9 @@ $Novel.n_id{extend name="baseH5" /}
|
||||
<ul class="chapter-list">
|
||||
{chapter:list count="10" sort_type="dao" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter" cache_life="3600"}
|
||||
<li>
|
||||
{if !empty($arrGrm[$d_key])}
|
||||
{$arrGrm[$d_key]|raw}
|
||||
{/if}
|
||||
<a
|
||||
href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$Chapter.c_sort_num" c_page="0"/}'>{$Chapter.c_name}<span></span></a>
|
||||
</li>
|
||||
@@ -216,7 +218,10 @@ $Novel.n_id{extend name="baseH5" /}
|
||||
{chapter:list count="100" sort_type="zheng" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter"
|
||||
cache_life="3600"}
|
||||
<li>
|
||||
{if !empty($arrGrm[$d_key+10])}
|
||||
{$arrGrm[$d_key+10]|raw}
|
||||
{/if}
|
||||
|
||||
<a
|
||||
href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$Chapter.c_sort_num" c_page="0"/}'>{$Chapter.c_name}<span></span></a>
|
||||
</li>
|
||||
@@ -233,7 +238,9 @@ $Novel.n_id{extend name="baseH5" /}
|
||||
p_val="page_data" cache_life="3600"}
|
||||
<dl class="rec-focus-book">
|
||||
<dt class="book-img">
|
||||
{if !empty($arrGrm[$d_key+110])}
|
||||
{$arrGrm[$d_key+110]|raw}
|
||||
{/if}
|
||||
<a href='{site:nurl n_id="$Novel.n_id" n_py="$Novel.n_name_pinyin" /}'><img height="100"
|
||||
width="80" class="lazyload-img" src="/static/img/default.jpg"
|
||||
data-src="{$Novel.n_cover_path ?? ''}"
|
||||
|
||||
@@ -91,7 +91,9 @@ button_num="10" cache_life="3600" func="generateCategoryPager" export_name="resD
|
||||
{novel:list count="6" sort_type="tuijian" d_key="key" d_val="Novel" p_val="page_data" cache_life="3600"}
|
||||
<div class="item">
|
||||
<div class="image">
|
||||
{if !empty($arrGrm[$key])}
|
||||
{$arrGrm[$key]|raw}
|
||||
{/if}
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
||||
<img style="min-height:120px;" class="lazyload-img" src="/static/img/default.jpg"
|
||||
data-src="{$Novel.n_cover_path ?? ''}"
|
||||
|
||||
@@ -43,7 +43,10 @@
|
||||
cache_life="3600"}
|
||||
<div class="item">
|
||||
<div class="image">
|
||||
{if !empty($arrGrm[$d_key])}
|
||||
{$arrGrm[$d_key]|raw}
|
||||
{/if}
|
||||
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
||||
<img style="min-height:120px;" class="lazyload-img" src="/static/img/default.jpg"
|
||||
data-src="{$Novel.n_cover_path ?? ''}"
|
||||
@@ -75,7 +78,9 @@
|
||||
<li>
|
||||
<span class="s1">[{$Novel->n_category ?? ''}</span>
|
||||
<span class="s2">
|
||||
{if !empty($arrGrm[$d_key+4])}
|
||||
{$arrGrm[$d_key+4]|raw}
|
||||
{/if}
|
||||
<a
|
||||
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></span>
|
||||
<span class="s5">
|
||||
@@ -99,7 +104,9 @@
|
||||
{novel:list count="1" n_category="$strCategoryPinyin" sort_type="news" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="3600"}
|
||||
<div class="image">
|
||||
{if !empty($arrGrm[$d_key+9+10*$start])}
|
||||
{$arrGrm[$d_key+9+10*$start]|raw}
|
||||
{/if}
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
||||
<img class="lazyload-img" src="/static/img/default.jpg"
|
||||
data-src="{$Novel.n_cover_path ?? ''}"
|
||||
@@ -119,7 +126,9 @@
|
||||
{novel:list count="12" n_category="$strCategoryPinyin" sort_type="news" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="3600"}
|
||||
<li>
|
||||
{if !empty($arrGrm[$d_key+9+10*$start])}
|
||||
{$arrGrm[$d_key+9+10*$start]|raw}
|
||||
{/if}
|
||||
<a
|
||||
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a>/<a
|
||||
href='{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a></li>
|
||||
@@ -139,7 +148,9 @@
|
||||
<li>
|
||||
<span class="s1">[{$Novel->n_category ?? ''}]</span>
|
||||
<span class="s2">
|
||||
{if !empty($arrGrm[$d_key+100])}
|
||||
{$arrGrm[$d_key+100]|raw}
|
||||
{/if}
|
||||
<a
|
||||
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></span>
|
||||
<span class="s5"><a href='{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a></span>
|
||||
@@ -155,7 +166,9 @@
|
||||
<li>
|
||||
<span class="s1">[{$Novel->n_category ?? ''}]</span>
|
||||
<span class="s2">
|
||||
{if !empty($arrGrm[$d_key+100])}
|
||||
{$arrGrm[$d_key+100]|raw}
|
||||
{/if}
|
||||
<a
|
||||
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></span>
|
||||
<span class="s3"><a
|
||||
|
||||
@@ -203,7 +203,9 @@
|
||||
<ul class="vlist">
|
||||
{chapter:list count="10" sort_type="dao" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter" cache_life="3600"}
|
||||
<li>
|
||||
{if !empty($arrGrm[$d_key])}
|
||||
{$arrGrm[$d_key]|raw}
|
||||
{/if}
|
||||
<a
|
||||
href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$Chapter.c_sort_num" c_page="0"/}'>{$Chapter.c_name}<span></span></a>
|
||||
</li>
|
||||
@@ -215,7 +217,10 @@
|
||||
{chapter:list count="100" sort_type="zheng" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter"
|
||||
cache_life="3600"}
|
||||
<li>
|
||||
{if !empty($arrGrm[$d_key+10])}
|
||||
{$arrGrm[$d_key+10]|raw}
|
||||
{/if}
|
||||
|
||||
<a
|
||||
href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$Chapter.c_sort_num" c_page="0"/}'>{$Chapter.c_name}<span></span></a>
|
||||
</li>
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<li>
|
||||
{if !empty($arrGrm[$key+[start]])}
|
||||
{$arrGrm[$key+[start]]|raw}
|
||||
{/if}
|
||||
|
||||
<h3>
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel->n_name ?? ''}" class="book_cov">
|
||||
<img class="lazyload_book_cover lazyload-img"
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<div class="bookLink">
|
||||
{if !empty($arrGrm[$key+[start]])}
|
||||
{$arrGrm[$key+[start]]|raw}
|
||||
{/if}
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' >
|
||||
<div class="bookImg">
|
||||
<img class="lazyload-img"
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<div class="bookLink oneLine">
|
||||
{if !empty($arrGrm[$key+[start]])}
|
||||
{$arrGrm[$key+[start]]|raw}
|
||||
{/if}
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' >
|
||||
<em>「{$Novel->n_category ?? ''}」</em>
|
||||
{$Novel.n_name ?? ''}
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<li>
|
||||
<?php $Novel['n_category_pinyin'] ?? $Novel['n_category_pinyin'] = 'all'?>
|
||||
<h3>
|
||||
{if !empty($arrGrm[$key+[start]])}
|
||||
{$arrGrm[$key+[start]]|raw}
|
||||
{/if}
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel->n_name ?? ''}" >
|
||||
{$Novel->n_name ?? ''}
|
||||
</a>
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<div class="f3_L">
|
||||
<?php $Novel['n_category_pinyin'] ?? $Novel['n_category_pinyin'] = 'all'?>
|
||||
<h3>
|
||||
{if !empty($arrGrm[$key+[start]])}
|
||||
{$arrGrm[$key+[start]]|raw}
|
||||
{/if}
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel.n_name ?? ''}" >
|
||||
{$Novel.n_name ?? ''}</a></h3>
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel.n_name ?? ''}" class="book_cov">
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
<?php $Novel['n_category_pinyin'] ?? $Novel['n_category_pinyin'] = 'all'?>
|
||||
<em class="red_bg">{$key+=1}</em>
|
||||
<h3 class="name">
|
||||
{if !empty($arrGrm[$key+[start]])}
|
||||
{$arrGrm[$key+[start]]|raw}
|
||||
{/if}
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel.n_name ?? ''}" >
|
||||
{$Novel.n_name ?? ''}
|
||||
</a>
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
<?php $Novel['n_category_pinyin'] ?? $Novel['n_category_pinyin'] = 'all'?>
|
||||
<em class="red_bg">1</em>
|
||||
<h3 class="name">
|
||||
{if !empty($arrGrm[$key+[start]])}
|
||||
{$arrGrm[$key+[start]]|raw}
|
||||
{/if}
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel.n_name ?? ''}" >{$Novel.n_name ?? ''}</a>
|
||||
</h3>
|
||||
<div class="open">
|
||||
|
||||
@@ -5,7 +5,9 @@
|
||||
<a href='{$strPcPath}{site:nflurl gender="all" category="$Novel.n_category_pinyin" status="all" page="1"/}' >{$Novel->n_category ?? ''}</a></li>
|
||||
<li class="sm">
|
||||
<h3>
|
||||
{if !empty($arrGrm[$key+[start]])}
|
||||
{$arrGrm[$key+[start]]|raw}
|
||||
{/if}
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel.n_name ?? ''}" >
|
||||
{$Novel.n_name ?? ''}</a>
|
||||
</h3>
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<li>
|
||||
{if !empty($arrGrm[$key+[start]])}
|
||||
{$arrGrm[$key+[start]]|raw}
|
||||
{/if}
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id ?? 1" n_py="$Novel->n_name_pinyin"/}' class="book_cov" title="{$Novel->n_name ?? ''}">
|
||||
<img class="lazyload_book_cover lazyload-img"
|
||||
src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}" alt="{$Novel->n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读">
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<li>
|
||||
{if !empty($arrGrm[$key+[start]])}
|
||||
{$arrGrm[$key+[start]]|raw}
|
||||
{/if}
|
||||
<h3>
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel.n_name}" class="book_cov">
|
||||
<img class="lazyload_lb_nv lazyload-img"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
{site:grm page_code="novel_chapter" diff="0" num="20" g_key="arrGrm" /}
|
||||
{site:grm page_code="novel_chapter" diff="0" num="100" g_key="arrGrm" /}
|
||||
{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="0" /}
|
||||
{chapter:info n_id="$Request.route.intNovelId" c_sort_num="$Request.route.intChapterSort"
|
||||
c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
|
||||
|
||||
@@ -268,7 +268,9 @@
|
||||
{novel:list count="6" n_category="$arrNovel.n_category_pinyin" n_status="wanjie" d_key="key" d_val="Novel" p_val="page_data" cache_life="3600"}
|
||||
<li>
|
||||
<h3>
|
||||
{if !empty($arrGrm[$key+10])}
|
||||
{$arrGrm[$key+10]|raw}
|
||||
{/if}
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel.n_id" n_py="$Novel.n_name_pinyin" /}'
|
||||
title="{$Novel['n_name'] ?? ''}">
|
||||
{$Novel['n_name'] ?? ''}
|
||||
|
||||
@@ -43,7 +43,9 @@
|
||||
cache_life="3600"}
|
||||
<div class="item">
|
||||
<div class="image">
|
||||
{if !empty($arrGrm[$d_key])}
|
||||
{$arrGrm[$d_key]|raw}
|
||||
{/if}
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
||||
<img style="min-height:120px;" class="lazyload-img" src="/static/img/default.jpg"
|
||||
data-src="{$Novel.n_cover_path ?? ''}"
|
||||
@@ -74,7 +76,9 @@
|
||||
<li>
|
||||
<span class="s1">[{$Novel->n_category ?? ''}</span>
|
||||
<span class="s2">
|
||||
{if !empty($arrGrm[$d_key+4])}
|
||||
{$arrGrm[$d_key+4]|raw}
|
||||
{/if}
|
||||
<a
|
||||
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></span>
|
||||
<span class="s5">
|
||||
@@ -98,7 +102,9 @@
|
||||
{novel:list count="1" n_category="$strCategoryPinyin" sort_type="news" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="3600"}
|
||||
<div class="image">
|
||||
{if !empty($arrGrm[$d_key+9+10*$start])}
|
||||
{$arrGrm[$d_key+9+10*$start]|raw}
|
||||
{/if}
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
||||
<img class="lazyload-img" src="/static/img/default.jpg"
|
||||
data-src="{$Novel.n_cover_path ?? ''}"
|
||||
@@ -118,7 +124,9 @@
|
||||
{novel:list count="12" n_category="$strCategoryPinyin" sort_type="news" d_key="d_key" d_val="Novel"
|
||||
p_val="page_data" cache_life="3600"}
|
||||
<li>
|
||||
{if !empty($arrGrm[$d_key+9+10*$start])}
|
||||
{$arrGrm[$d_key+9+10*$start]|raw}
|
||||
{/if}
|
||||
<a
|
||||
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a>/<a
|
||||
href='{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a></li>
|
||||
@@ -138,7 +146,9 @@
|
||||
<li>
|
||||
<span class="s1">[{$Novel->n_category ?? ''}]</span>
|
||||
<span class="s2">
|
||||
{if !empty($arrGrm[$d_key+100])}
|
||||
{$arrGrm[$d_key+100]|raw}
|
||||
{/if}
|
||||
<a
|
||||
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></span>
|
||||
<span class="s5"><a href='{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a></span>
|
||||
@@ -154,7 +164,9 @@
|
||||
<li>
|
||||
<span class="s1">[{$Novel->n_category ?? ''}]</span>
|
||||
<span class="s2">
|
||||
{if !empty($arrGrm[$d_key+100])}
|
||||
{$arrGrm[$d_key+100]|raw}
|
||||
{/if}
|
||||
<a
|
||||
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></span>
|
||||
<span class="s3"><a
|
||||
|
||||
@@ -4,7 +4,9 @@
|
||||
<div class="page_num">
|
||||
{volist name="$resData.p_data.pager" id="item"}
|
||||
{eq name="item.type" value="prev"}
|
||||
{if !empty($arrGrm[$key])}
|
||||
{$arrGrm[$key]|raw}
|
||||
{/if}
|
||||
<a href="{$item.url ?: '#'}"
|
||||
class="z {$item.disabled ? 'disabled' : ''}">
|
||||
{$item.label}
|
||||
@@ -27,7 +29,9 @@
|
||||
|
||||
{volist name="$resData.p_data.pager" id="item"}
|
||||
{eq name="item.type" value="next"}
|
||||
{if !empty($arrGrm[$key])}
|
||||
{$arrGrm[$key]|raw}
|
||||
{/if}
|
||||
<a href="{$item.url ?: '#'}"
|
||||
class="y {$item.disabled ? 'disabled' : ''}">
|
||||
{$item.label}
|
||||
|
||||
@@ -112,7 +112,9 @@ button_num="5" cache_life="3600" func="generateCategoryPager" export_name="resDa
|
||||
<div class="index_qb dv1" style="margin-top:10px;">
|
||||
{volist name="$resData.data" id="Novel" key="key"}
|
||||
<a class="list br-b-1" href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel.n_name}最新章节 {$Novel.n_category ?? ''}在线阅读">
|
||||
{if !empty($arrGrm[$key])}
|
||||
{$arrGrm[$key]|raw}
|
||||
{/if}
|
||||
<div class="fmy">
|
||||
<h2>{$Novel.n_name}</h2>
|
||||
<div class="info">
|
||||
|
||||
@@ -184,7 +184,9 @@ cache_life="3600" button_num="3" sort_type="$Request.route.strOrder" func="gener
|
||||
<ul class="ph_list duaejh">
|
||||
{volist name="resData.data" id="Chapter" key="key"}
|
||||
<li>
|
||||
{if !empty($arrGrm[$key])}
|
||||
{$arrGrm[$key]|raw}
|
||||
{/if}
|
||||
<a href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$Chapter.c_sort_num" c_page="0"/}'
|
||||
title="{$arrNovel['n_name']} {$Chapter.c_name}" class="s">
|
||||
{$Chapter.c_name}
|
||||
|
||||
@@ -183,7 +183,9 @@
|
||||
<ul class="ph_list">
|
||||
{chapter:list count="10" sort_type="dao" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter" cache_life="3600"}
|
||||
<li class="br-b-1">
|
||||
{if !empty($arrGrm[$d_key])}
|
||||
{$arrGrm[$d_key]|raw}
|
||||
{/if}
|
||||
<a href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$Chapter.c_sort_num" c_page="0"/}'
|
||||
class="s">
|
||||
{$Chapter.c_name}
|
||||
@@ -204,7 +206,9 @@
|
||||
{chapter:list count="100" sort_type="zheng" n_id="$arrNovel.n_id" d_key="d_key" d_val="Chapter"
|
||||
cache_life="3600"}
|
||||
<li class="br-b-1">
|
||||
{if !empty($arrGrm[$d_key])}
|
||||
{$arrGrm[$d_key]|raw}
|
||||
{/if}
|
||||
<a href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$Chapter.c_sort_num" c_page="0"/}'
|
||||
class="s">
|
||||
{$Chapter.c_name}
|
||||
|
||||
@@ -79,8 +79,10 @@
|
||||
<div class="i-title">推荐作品</div>
|
||||
<ul>
|
||||
{novel:list count="10" sort_type="tuijian" d_key="key" d_val="Novel" cache_life="3600"}
|
||||
{$arrGrm[$key]|raw}
|
||||
<li>
|
||||
{if !empty($arrGrm[$key])}
|
||||
{$arrGrm[$key]|raw}
|
||||
{/if}
|
||||
<a href='{$strPcPath}{site:nurl n_id="$Novel.n_id" n_py="$Novel.n_name_pinyin"/}'
|
||||
title="{$Novel.n_name ?? ''}">
|
||||
<img src="{$Novel.n_cover_path ?? ''}" alt="{$Novel.n_name ?? ''}">
|
||||
|
||||
@@ -4,8 +4,10 @@
|
||||
<div class="fenye">
|
||||
{volist name="$resData.p_data.pager" id="item"}
|
||||
{eq name="item.type" value="prev"}
|
||||
{$arrGrm[$key]|raw}
|
||||
<div class="desc">
|
||||
{if !empty($arrGrm[$key])}
|
||||
{$arrGrm[$key]|raw}
|
||||
{/if}
|
||||
<a href="{$item.url ?: '#'}" class="dise r2 iconfont icon-syy {$item.disabled ? 'disabled' : ''}"></a>
|
||||
</div>
|
||||
|
||||
@@ -27,8 +29,10 @@
|
||||
|
||||
{volist name="$resData.p_data.pager" id="item"}
|
||||
{eq name="item.type" value="next"}
|
||||
{$arrGrm[$key]|raw}
|
||||
<div class="desc">
|
||||
{if !empty($arrGrm[$key])}
|
||||
{$arrGrm[$key]|raw}
|
||||
{/if}
|
||||
<a href="{$item.url ?: '#'}" class="dise r2 iconfont icon-xyy {$item.disabled ? 'disabled' : ''}" id="xfanyebtn"></a>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel.n_name}最新章节 {$Novel.n_category ?? ''}在线阅读" class="list">
|
||||
{if !empty($arrGrm[$key])}
|
||||
{$arrGrm[$key]|raw}
|
||||
{/if}
|
||||
<div class="img">
|
||||
<img class="lazyload-img" data-encrypted="false" src="/static/img/default.jpg"
|
||||
data-src="{$Novel.n_cover_path ?? ''}" alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读">
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
<li class="s2">
|
||||
<h5 class="tit">
|
||||
{if !empty($arrGrm[$key+[start]])}
|
||||
{$arrGrm[$key+[start]]|raw}
|
||||
{/if}
|
||||
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' title="{$Novel.n_name}最新章节 {$Novel.n_category ?? ''}在线阅读">{$Novel.n_name ?? ''}</a>
|
||||
</h5> <i class="num"><em>{$key}</em></i>
|
||||
</li>
|
||||
@@ -1,6 +1,8 @@
|
||||
|
||||
<li>
|
||||
{if !empty($arrGrm[$key+[start]])}
|
||||
{$arrGrm[$key+[start]]|raw}
|
||||
{/if}
|
||||
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' class="s" title="{$Novel.n_name}最新章节 {$Novel.n_category ?? ''}在线阅读">
|
||||
{$Novel.n_name ?? ''}
|
||||
</a>
|
||||
|
||||
@@ -147,8 +147,8 @@ class NovelService
|
||||
'strOrder' => !empty($strOrder) ? $strOrder : 'all',
|
||||
'intPage' => $intPage ?? 1,
|
||||
]);
|
||||
|
||||
$strUrl = preg_replace('#/{2,}#', '/', (string)$strUrl);
|
||||
$strUrl = (string)($strUrl ?? '');
|
||||
$strUrl = preg_replace('#/{2,}#', '/', $strUrl);
|
||||
return (string)$strUrl;
|
||||
}
|
||||
|
||||
@@ -174,8 +174,8 @@ class NovelService
|
||||
'strOrder' => !empty($strOrder) ? $strOrder : 'all',
|
||||
'intPage' => $intPage ?? 1,
|
||||
]);
|
||||
|
||||
$strUrl = preg_replace('#/{2,}#', '/', (string)$strUrl);
|
||||
$strUrl = (string)($strUrl ?? '');
|
||||
$strUrl = preg_replace('#/{2,}#', '/', $strUrl);
|
||||
return (string)$strUrl;
|
||||
}
|
||||
|
||||
|
||||
@@ -54,8 +54,8 @@ class VideoService
|
||||
$strUrl = $this->SiteContext->DomainModel->getFomartUrl($strKey, [
|
||||
'strParentCategory' => !empty($strParentCategory) ? $strParentCategory : '',
|
||||
]);
|
||||
|
||||
$strUrl = preg_replace('#/{2,}#', '/', (string)$strUrl);
|
||||
$strUrl = (string)($strUrl ?? '');
|
||||
$strUrl = preg_replace('#/{2,}#', '/', $strUrl);
|
||||
return (string)$strUrl;
|
||||
}
|
||||
|
||||
@@ -124,8 +124,8 @@ class VideoService
|
||||
'strOrder' => !empty($strOrder) ? $strOrder : 'all',
|
||||
'intPage' => $intPage ?? 1,
|
||||
]);
|
||||
|
||||
$strUrl = preg_replace('#/{2,}#', '/', (string)$strUrl);
|
||||
$strUrl = (string)($strUrl ?? '');
|
||||
$strUrl = preg_replace('#/{2,}#', '/', $strUrl);
|
||||
return (string)$strUrl;
|
||||
}
|
||||
|
||||
@@ -148,8 +148,8 @@ class VideoService
|
||||
'strSortType' => !empty($strSortType) ? $strSortType : 'all',
|
||||
'intPage' => $intPage ?? 1,
|
||||
]);
|
||||
|
||||
$strUrl = preg_replace('#/{2,}#', '/', (string)$strUrl);
|
||||
$strUrl = (string)($strUrl ?? '');
|
||||
$strUrl = preg_replace('#/{2,}#', '/', $strUrl);
|
||||
return (string)$strUrl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user