📄 带图片内容列表_排序方式.config
字号:
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<!-- 设置排序方式 -->
<xsl:choose>
<!-- 按文章ID降序 -->
<xsl:when test="$ordertype='1'">
{PE.Label id="带图片内容列表_查询条件" parentid="<xsl:value-of select="$parentid" />" arrnodeid="<xsl:value-of select="$arrnodeid" />" includechild ="<xsl:value-of select="$includechild" />" specialid="<xsl:value-of select="$specialid" />" shownum="<xsl:value-of select="$shownum" />" ishot="<xsl:value-of select="$ishot" />" iselite="<xsl:value-of select="$iselite" />" datenum="<xsl:value-of select="$datenum" />" ordertype="<xsl:value-of select="$ordertype" />" imgwidth="<xsl:value-of select="$imgwidth" />" imgheight="<xsl:value-of select="$imgheight" />" titlelen="<xsl:value-of select="$titlelen" />" contentlen="<xsl:value-of select="$contentlen" />" showtips="<xsl:value-of select="$showtips" />" urltype="<xsl:value-of select="$urltype" />" cols="<xsl:value-of select="$cols" />" hits="<xsl:value-of select="$hits" />" elitelevel="<xsl:value-of select="$elitelevel" />" tablename="<xsl:value-of select="$tablename" />" picurlfieldname="<xsl:value-of select="$picurlfieldname" />" sqlordertype=" T.ID DESC" sqlinnerordertype=" IT.ID DESC" /}
</xsl:when>
<!-- 按文章ID升序 -->
<xsl:when test="$ordertype='2'">
{PE.Label id="带图片内容列表_查询条件" parentid="<xsl:value-of select="$parentid" />" arrnodeid="<xsl:value-of select="$arrnodeid" />" includechild ="<xsl:value-of select="$includechild" />" specialid="<xsl:value-of select="$specialid" />" shownum="<xsl:value-of select="$shownum" />" ishot="<xsl:value-of select="$ishot" />" iselite="<xsl:value-of select="$iselite" />" datenum="<xsl:value-of select="$datenum" />" ordertype="<xsl:value-of select="$ordertype" />" imgwidth="<xsl:value-of select="$imgwidth" />" imgheight="<xsl:value-of select="$imgheight" />" titlelen="<xsl:value-of select="$titlelen" />" contentlen="<xsl:value-of select="$contentlen" />" showtips="<xsl:value-of select="$showtips" />" urltype="<xsl:value-of select="$urltype" />" cols="<xsl:value-of select="$cols" />" hits="<xsl:value-of select="$hits" />" elitelevel="<xsl:value-of select="$elitelevel" />" tablename="<xsl:value-of select="$tablename" />" picurlfieldname="<xsl:value-of select="$picurlfieldname" />" sqlordertype=" T.ID ASC" sqlinnerordertype=" IT.ID ASC" /}
</xsl:when>
<!-- 按更新时间降序 -->
<xsl:when test="$ordertype='3'">
{PE.Label id="带图片内容列表_查询条件" parentid="<xsl:value-of select="$parentid" />" arrnodeid="<xsl:value-of select="$arrnodeid" />" includechild ="<xsl:value-of select="$includechild" />" specialid="<xsl:value-of select="$specialid" />" shownum="<xsl:value-of select="$shownum" />" ishot="<xsl:value-of select="$ishot" />" iselite="<xsl:value-of select="$iselite" />" datenum="<xsl:value-of select="$datenum" />" ordertype="<xsl:value-of select="$ordertype" />" imgwidth="<xsl:value-of select="$imgwidth" />" imgheight="<xsl:value-of select="$imgheight" />" titlelen="<xsl:value-of select="$titlelen" />" contentlen="<xsl:value-of select="$contentlen" />" showtips="<xsl:value-of select="$showtips" />" urltype="<xsl:value-of select="$urltype" />" cols="<xsl:value-of select="$cols" />" hits="<xsl:value-of select="$hits" />" elitelevel="<xsl:value-of select="$elitelevel" />" tablename="<xsl:value-of select="$tablename" />" picurlfieldname="<xsl:value-of select="$picurlfieldname" />" sqlordertype=" C.UpdateTime DESC" sqlinnerordertype=" IC.UpdateTime DESC" /}
</xsl:when>
<!-- 按更新时间升序 -->
<xsl:when test="$ordertype='4'">
{PE.Label id="带图片内容列表_查询条件" parentid="<xsl:value-of select="$parentid" />" arrnodeid="<xsl:value-of select="$arrnodeid" />" includechild ="<xsl:value-of select="$includechild" />" specialid="<xsl:value-of select="$specialid" />" shownum="<xsl:value-of select="$shownum" />" ishot="<xsl:value-of select="$ishot" />" iselite="<xsl:value-of select="$iselite" />" datenum="<xsl:value-of select="$datenum" />" ordertype="<xsl:value-of select="$ordertype" />" imgwidth="<xsl:value-of select="$imgwidth" />" imgheight="<xsl:value-of select="$imgheight" />" titlelen="<xsl:value-of select="$titlelen" />" contentlen="<xsl:value-of select="$contentlen" />" showtips="<xsl:value-of select="$showtips" />" urltype="<xsl:value-of select="$urltype" />" cols="<xsl:value-of select="$cols" />" hits="<xsl:value-of select="$hits" />" elitelevel="<xsl:value-of select="$elitelevel" />" tablename="<xsl:value-of select="$tablename" />" picurlfieldname="<xsl:value-of select="$picurlfieldname" />" sqlordertype=" C.UpdateTime ASC" sqlinnerordertype=" IC.UpdateTime ASC" /}
</xsl:when>
<!-- 按点击数降序 -->
<xsl:when test="$ordertype='5'">
{PE.Label id="带图片内容列表_查询条件" parentid="<xsl:value-of select="$parentid" />" arrnodeid="<xsl:value-of select="$arrnodeid" />" includechild ="<xsl:value-of select="$includechild" />" specialid="<xsl:value-of select="$specialid" />" shownum="<xsl:value-of select="$shownum" />" ishot="<xsl:value-of select="$ishot" />" iselite="<xsl:value-of select="$iselite" />" datenum="<xsl:value-of select="$datenum" />" ordertype="<xsl:value-of select="$ordertype" />" imgwidth="<xsl:value-of select="$imgwidth" />" imgheight="<xsl:value-of select="$imgheight" />" titlelen="<xsl:value-of select="$titlelen" />" contentlen="<xsl:value-of select="$contentlen" />" showtips="<xsl:value-of select="$showtips" />" urltype="<xsl:value-of select="$urltype" />" cols="<xsl:value-of select="$cols" />" hits="<xsl:value-of select="$hits" />" elitelevel="<xsl:value-of select="$elitelevel" />" tablename="<xsl:value-of select="$tablename" />" picurlfieldname="<xsl:value-of select="$picurlfieldname" />" sqlordertype=" C.Hits DESC" sqlinnerordertype=" IC.Hits DESC" /}
</xsl:when>
<!-- 按点击数升序 -->
<xsl:when test="$ordertype='6'">
{PE.Label id="带图片内容列表_查询条件" parentid="<xsl:value-of select="$parentid" />" arrnodeid="<xsl:value-of select="$arrnodeid" />" includechild ="<xsl:value-of select="$includechild" />" specialid="<xsl:value-of select="$specialid" />" shownum="<xsl:value-of select="$shownum" />" ishot="<xsl:value-of select="$ishot" />" iselite="<xsl:value-of select="$iselite" />" datenum="<xsl:value-of select="$datenum" />" ordertype="<xsl:value-of select="$ordertype" />" imgwidth="<xsl:value-of select="$imgwidth" />" imgheight="<xsl:value-of select="$imgheight" />" titlelen="<xsl:value-of select="$titlelen" />" contentlen="<xsl:value-of select="$contentlen" />" showtips="<xsl:value-of select="$showtips" />" urltype="<xsl:value-of select="$urltype" />" cols="<xsl:value-of select="$cols" />" hits="<xsl:value-of select="$hits" />" elitelevel="<xsl:value-of select="$elitelevel" />" tablename="<xsl:value-of select="$tablename" />" picurlfieldname="<xsl:value-of select="$picurlfieldname" />" sqlordertype=" C.Hits ASC" sqlinnerordertype=" IC.Hits ASC" /}
</xsl:when>
<!-- 按评论数降序 -->
<xsl:when test="$ordertype='7'">
{PE.Label id="带图片内容列表_查询条件" parentid="<xsl:value-of select="$parentid" />" arrnodeid="<xsl:value-of select="$arrnodeid" />" includechild ="<xsl:value-of select="$includechild" />" specialid="<xsl:value-of select="$specialid" />" shownum="<xsl:value-of select="$shownum" />" ishot="<xsl:value-of select="$ishot" />" iselite="<xsl:value-of select="$iselite" />" datenum="<xsl:value-of select="$datenum" />" ordertype="<xsl:value-of select="$ordertype" />" imgwidth="<xsl:value-of select="$imgwidth" />" imgheight="<xsl:value-of select="$imgheight" />" titlelen="<xsl:value-of select="$titlelen" />" contentlen="<xsl:value-of select="$contentlen" />" showtips="<xsl:value-of select="$showtips" />" urltype="<xsl:value-of select="$urltype" />" cols="<xsl:value-of select="$cols" />" hits="<xsl:value-of select="$hits" />" elitelevel="<xsl:value-of select="$elitelevel" />" tablename="<xsl:value-of select="$tablename" />" picurlfieldname="<xsl:value-of select="$picurlfieldname" />" sqlordertype=" C.CommentAudited DESC" sqlinnerordertype=" IC.CommentAudited DESC" /}
</xsl:when>
<!-- 按评论数升序 -->
<xsl:when test="$ordertype='8'">
{PE.Label id="带图片内容列表_查询条件" parentid="<xsl:value-of select="$parentid" />" arrnodeid="<xsl:value-of select="$arrnodeid" />" includechild ="<xsl:value-of select="$includechild" />" specialid="<xsl:value-of select="$specialid" />" shownum="<xsl:value-of select="$shownum" />" ishot="<xsl:value-of select="$ishot" />" iselite="<xsl:value-of select="$iselite" />" datenum="<xsl:value-of select="$datenum" />" ordertype="<xsl:value-of select="$ordertype" />" imgwidth="<xsl:value-of select="$imgwidth" />" imgheight="<xsl:value-of select="$imgheight" />" titlelen="<xsl:value-of select="$titlelen" />" contentlen="<xsl:value-of select="$contentlen" />" showtips="<xsl:value-of select="$showtips" />" urltype="<xsl:value-of select="$urltype" />" cols="<xsl:value-of select="$cols" />" hits="<xsl:value-of select="$hits" />" elitelevel="<xsl:value-of select="$elitelevel" />" tablename="<xsl:value-of select="$tablename" />" picurlfieldname="<xsl:value-of select="$picurlfieldname" />" sqlordertype=" C.CommentAudited ASC" sqlinnerordertype=" IC.CommentAudited ASC" /}
</xsl:when>
<xsl:otherwise>
{PE.Label id="带图片内容列表_查询条件" parentid="<xsl:value-of select="$parentid" />" arrnodeid="<xsl:value-of select="$arrnodeid" />" includechild ="<xsl:value-of select="$includechild" />" specialid="<xsl:value-of select="$specialid" />" shownum="<xsl:value-of select="$shownum" />" ishot="<xsl:value-of select="$ishot" />" iselite="<xsl:value-of select="$iselite" />" datenum="<xsl:value-of select="$datenum" />" ordertype="<xsl:value-of select="$ordertype" />" imgwidth="<xsl:value-of select="$imgwidth" />" imgheight="<xsl:value-of select="$imgheight" />" titlelen="<xsl:value-of select="$titlelen" />" contentlen="<xsl:value-of select="$contentlen" />" showtips="<xsl:value-of select="$showtips" />" urltype="<xsl:value-of select="$urltype" />" cols="<xsl:value-of select="$cols" />" hits="<xsl:value-of select="$hits" />" elitelevel="<xsl:value-of select="$elitelevel" />" tablename="<xsl:value-of select="$tablename" />" picurlfieldname="<xsl:value-of select="$picurlfieldname" />" sqlordertype=" C.UpdateTime DESC" sqlinnerordertype=" IC.UpdateTime DESC" /}
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<attributes>
<name>iselite</name>
<default>false</default>
<intro>是否是推荐文章</intro>
</attributes>
<attributes>
<name>datenum</name>
<default>0</default>
<intro>日期范围</intro>
</attributes>
<attributes>
<name>ordertype</name>
<default>1</default>
<intro>排序方式</intro>
</attributes>
<attributes>
<name>imgwidth</name>
<default>150</default>
<intro>图片宽度</intro>
</attributes>
<attributes>
<name>imgheight</name>
<default>150</default>
<intro>图片高度</intro>
</attributes>
<attributes>
<name>titlelen</name>
<default>20</default>
<intro>标题最多字符数</intro>
</attributes>
<attributes>
<name>contentlen</name>
<default>50</default>
<intro>内容最多字符数</intro>
</attributes>
<attributes>
<name>showtips</name>
<default>false</default>
<intro>是否显示作者、更新时间、点击数等提示信息</intro>
</attributes>
<attributes>
<name>urltype</name>
<default>0</default>
<intro>链接地址类型,0为相对路径,1为带网址的绝对路径</intro>
</attributes>
<attributes>
<name>cols</name>
<default>1</default>
<intro>表格式显示列数</intro>
</attributes>
<attributes>
<name>hits</name>
<default>0</default>
<intro>热门最小点击数</intro>
</attributes>
<attributes>
<name>elitelevel</name>
<default>0</default>
<intro>推荐优先级</intro>
</attributes>
<attributes>
<name>tablename</name>
<default>PE_U_Article</default>
<intro>所属表名</intro>
</attributes>
<attributes>
<name>picurlfieldname</name>
<default>C.DefaultPicUrl</default>
<intro>缩略图字段名</intro>
</attributes>
</root>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -