fastadmincms标签举例
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
fastadmincms标签举例
fastadmin cms 标签举例
{cms:arclist id="new" channel="589" type="sons" limit='9,4' flag='p' orderby="flag" orderway="desc"}
{cms:arclist id="new" channel="612" type="sons" row="1" flag="h" orderby="flag" orderway="desc"}
{cms:arclist id="new" channel="612" type="sons" row="4" orderby="rand" orderway="desc"}
热门{cms:arclist id="new" channel="589" type="sons" limit='5,5' orderby="views" orderway="desc"}
评论{cms:arclist id="new" channel="589" type="sons" limit='5,5' orderby="comments" orderway="desc"}
降序{cms:channellist id="nav" typeid='726' type="sons" row="20" orderby="weigh" orderway="asc"}
a标签链接:<a href="{$new.url}" rel="bookmark" title="{$new.title}" target="_blank">{$new.title}</a> 地址:<img src="{$new.image|no_img}" width="350" height="260" alt="{$new.keywords}" title="{$new.title}" target="_blank" />
单独调用:{$__ARCHIVES__.image|no_img}
width="350" height="260"
截取描述:{$new.description|mb_substr=0,90,'utf-8'}...
调取描述:{$new.description}...
时间年月日:{:date("Y年m月d日", $new['publishtime'])}
访问量:{$new.views}
评论量:{$ments}
栏目链接:<a href="{$new.channel.url}" rel="external nofollow" target="_blank">
栏目名:
<span class="meta-author-avatar" title="{$}" target="_blank">
<img alt='{$}' src='__ADDON__/skin_bzn_blog/img/sylbxlog.png' class='avatar avatar-64 photo' height='64' width='64' />
</span>
{/cms:arclist}
{cms:taglist id="tag" row="10"}
<a href="{$tag.url}" target="_blank">{$}</a>
{/cms:taglist}
$nav.id
/list/620.html
栏目名调用:
{cms:channellist id="nav" typeid='613'}
<a href="{$nav.url}" title="{$}" target="_blank">
{$}
</a>
{/cms:channellist}
{cms:channellist id="sub" type="son" typeid="nav['id']" condition="1=isnav" key="ci"}
{$ci-1}
{/cms:arclist}
0123456
target="_blank。