PlugNT CMS v4.6.3 最新功能

PlugNT CMS v4.6.3 最新功能:

弃用标签 selected="commend,stick" 改为andwhere="commend=1 and stick=1"

{tmp:baseif test="[tmp:field name="title"]" operate="equals" value="PlugNT"}
        {tmp:pagelist count="0" pagesize="5" exact="true" andwhere="commend=1 and publish=1 and stick=1 and orders=100" sort="hits desc,addtime asc"}
            <a href="[tmp:item name="images"]"><img src='[tmp:item name="images"]' width="150px" />[tmp:item name="title"]</a>
        {/tmp:pagelist}
{tmp:baseelse}
        failure
{/tmp:baseif}
{tmp:looplist count="3" channelid="3" exact="true" andwhere="commend=1 and stick=1" sort="hits desc,addtime asc"}
    <a href='[tmp:item name="create_path"][tmp:item name="pagename"].html'>[tmp:item name="title"]</a> 
{/tmp:looplist}
{tmp:looplist count="3" channelid="[tmp:field name="channel_id"]}
    <a href='[tmp:item name="create_path"][tmp:item name="pagename"].html'>[tmp:item name="title"]</a> 
{/tmp:looplist}
    

表单支持排序支持多表查询等。

 

原文地址:https://www.cnblogs.com/dreamman/p/3371187.html