特别声明:文章多为网络转载,资源使用一般不提供任何帮助,特殊资源除外,如有侵权请联系!

下载榜

{block method=”rank.info” name=rankinfo key=down}

{block method=”novel.list” name=list order=$rankinfo.key num=15}
{section loop=$list item=$loop}
<li class=””>
<span class=”{=$i.index<3?’bg-red’:’bg-ccc’} pt-sexselect-square”>{=$i.index + 1}</span>
<a class=”color5 f_bold” href=”{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}” title=”{$loop.novel.name}”>{$loop.novel.name}</a>
<a title=”{$loop.author.name}” class=”color9 fr” href=”{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}”>{$loop.author.name}</a>
</li>
{/section}

新书榜

{block method=”rank.info” name=rankinfo key=postdate}

{block method=”novel.list” name=list order=$rankinfo.key num=15}
{section loop=$list item=$loop}
<li class=””>
<span class=”{=$i.index<3?’bg-red’:’bg-ccc’} pt-sexselect-square “>{=$i.index + 1}</span>
<a class=”color5 f_bold” href=”{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}” title=”{$loop.novel.name}”>{$loop.novel.name}</a>
<a title=”{$loop.author.name}” class=”color9 fr” href=”{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}”>{$loop.author.name}</a>
</li>
{/section}

最新更新

{block method=”novel.list” name=list order=lastupdate num=25 cachetime=180}
{loop}
<li class=”clear {if $key%2}bg-f9{/if}”>
<a title=”{$loop.category.name}” href=”{link=novel.category.list categoryid=$loop.category.id key=$loop.category.key}” class=”category”> [{$loop.category.name}] </a>
<a title=”{$loop.novel.name}” href=”{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}” class=”novelname size16 “>{$loop.novel.name}</a>
<a title=”{$loop.last.name}” href=”{link=novel.chapter.read novelid=$loop.novel.id pinyin=$loop.novel.pinyin chapterid=$loop.last.id}” class=”chaptername”>{$loop.last.name}</a>
<a title=”{$loop.author.name}” href=”{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}” class=”color7 author”>{$loop.author.name}</a>
<span class=”time”>{$loop.last.time|date=”m-d H:i”}</span>
</li>
{/loop}

收藏榜

{block method=”rank.info” name=rankinfo key=mark}

{block method=”novel.list” name=list order=$rankinfo.key num=10}
{section loop=$list item=$loop}
<li class=””>
<span class=”{=$i.index<3?’bg-red’:’bg-ccc’} pt-sexselect-square”>{=$i.index + 1}</span>
<a class=”color5 f_bold” href=”{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}” title=”{$loop.novel.name}”>{$loop.novel.name}</a>
<a title=”{$loop.author.name}” class=”color9 fr” href=”{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}”>{$loop.author.name}</a>
</li>
{/section}

推荐榜

{block method=”rank.info” name=rankinfo key=vote}

{block method=”novel.list” name=list order=$rankinfo.key num=15}
{section loop=$list item=$loop}
<li class=””>
<span class=”{=$i.index<3?’bg-red’:’bg-ccc’} pt-sexselect-square”>{=$i.index + 1}</span>
<a class=”color5 f_bold” href=”{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}” title=”{$loop.novel.name}”>{$loop.novel.name}</a>
<a title=”{$loop.author.name}” class=”color9 fr” href=”{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}”>{$loop.author.name}</a>
</li>
{/section}

点击榜

{block method=”rank.info” name=rankinfo key=weekvisit}
<span class=”pt-sexselect-man pt-sexselect-active cursor”>{$rankinfo.name}</span>
{block method=”rank.info” name=rankinfo key=monthvisit}
<span class=”pt-sexselect-woman cursor”>{$rankinfo.name}</span>
</div>
<ul class=”pt-sexselect-list”>
{block method=”novel.list” name=list order=weekvisit num=12}
{section loop=$list item=$loop}
<li class=””>
<span class=”{=$i.index<3?’bg-red’:’bg-ccc’} pt-sexselect-square”>{=$i.index + 1}</span>
<a class=”color5 f_bold” href=”{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}” title=”{$loop.novel.name}”>{$loop.novel.name}</a>
<a title=”{$loop.author.name}” class=”color9 fr ” href=”{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}”>{$loop.author.name}</a>
</li>
{/section}
</ul>
<ul class=”pt-sexselect-list none”>
{block method=”novel.list” name=list order=monthvisit num=12}
{section loop=$list item=$loop}
<li>
<span class=”{=$i.index<3?’bg-red’:’bg-ccc’} pt-sexselect-square”>{=$i.index + 1}</span>
<a class=”color5 f_bold” href=”{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}” title=”{$loop.novel.name}”>{$loop.novel.name}</a>
<a title=”{$loop.author.name}” class=”color9 fr ” href=”{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}”>{$loop.author.name}</a>
</li>
{/section}
</ul>

分类

<div class=”pt-sort mt10″>
{block method=”category.list” name=list withall=0 pid=1 num=9}
{loop}
<div class=”pt-sort-cont clearfix” style=”width: 290px;min-height: 281px;”>
<div class=”pt-sort-cont-title”>
<span class=”fl pt-sort-cont-title-icon”></span>
<a title=”{$loop.name}” href=”{link=novel.category.list categoryid=$loop.id key=$loop.key}” class=”size18 color3 f_bold”>{$loop.name}</a>
</div>
{block method=”novel.list” name=novellist num=5 category=$loop.id}
{section loop=$novellist item=$nlist}
{if $i.first}
<div class=”pt-sort-top”>
<a href=”{link=novel.novel.index novelid=$nlist.novel.id pinyin=$nlist.novel.pinyin}” title=”{$nlist.novel.name}”><img src=”{$nlist.novel.cover}” alt=”{$loop.data.novel.name}”></a>
<div class=”pt-sort-top-r”>
<div class=”size16 color7″>
<a href=”{link=novel.novel.index novelid=$nlist.novel.id pinyin=$nlist.novel.pinyin}” title=”{$nlist.novel.name}” class=”size16 color7 fl compulsory-row-one”>{$nlist.novel.name}</a>
</div>
<div class=”compulsory-row-three size12 color4 pt-sort-r-intro”>{$nlist.novel.intro|showIntroLine|truncate=”50″}</div>

<div class=”size14 color4″>
<a title=”{$nlist.author.name}” href=”{link=author.space.index authorid=$nlist.author.id pinyin=$nlist.author.pinyin name=$nlist.author.name}” class=”size14 color4 “>{$nlist.author.name}</a>著
</div>
</div>
</div>
{else}
<!– 分类列表 –>

<div class=”pt-sort-list clearfix”>
<a style=”width:200px;” href=”{link=novel.novel.index novelid=$nlist.novel.id pinyin=$nlist.novel.pinyin}” title=”{$nlist.novel.name}” class=”inline-block fl compulsory-row-one color5″>{$nlist.novel.name}</a>
<a style=”width:80px;” title=”{$nlist.author.name}” href=”{link=author.space.index authorid=$nlist.author.id pinyin=$nlist.author.pinyin name=$nlist.author.name}” class=”inline-block compulsory-row-one fr color4″>{$nlist.author.name}</a>
</div>
{/if}
{/section}
</div>
{/loop}

标签:

未经允许不得转载:作者:小刀资源网, 转载或复制请以 超链接形式 并注明出处 小刀资源网
原文地址:《【ptcms4.2.8】模板修改笔记-标签》 发布于2019-10-04

分享到:
赞(0) 打赏

评论 抢沙发

评论前必须登录!

  注册



【ptcms4.2.8】模板修改笔记-标签

长按图片转发给朋友

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏

Vieu4.0主题
专业打造轻量级个人企业风格博客主题!专注于前端开发,全站响应式布局自适应模板。
切换注册

登录

忘记密码 ?

切换登录

注册