?? 軟件二列式欄目左右循環.config
字號:
<root>
<LabelType>欄目類</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<CacheTime>0</CacheTime>
<LabelDataType>sql_sysquery</LabelDataType>
<attributes>
<name>parentId</name>
<default>3</default>
<intro>父欄目ID</intro>
</attributes>
<UsePage>True</UsePage>
<LabelSqlString>SELECT TOP @pagesize * FROM PE_Nodes WHERE NodeID NOT IN (SELECT TOP @startrow NodeID FROM PE_Nodes WHERE ParentID = @parentId AND ShowOnList_Parent=1 AND PurviewType != 3 ORDER BY OrderID) AND (ParentID = @parentId) AND ShowOnList_Parent=1 AND PurviewType != 3 ORDER BY OrderID</LabelSqlString>
<LabelSqlCount>SELECT COUNT(*) FROM PE_Nodes WHERE ParentID = @parentId AND ShowOnList_Parent=1 AND PurviewType != 3</LabelSqlCount>
<LabelTemplate><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pe="labelproc" exclude-result-prefixes="pe">
<xsl:output method="html" />
<xsl:param name="parentId" />
<xsl:param name="outputQty"/>
<xsl:param name="titleLength"/>
<xsl:param name="displayPropertyType"/>
<xsl:param name="displayIncludePic"/>
<xsl:param name="displayAuthor"/>
<xsl:param name="displayDateTime"/>
<xsl:param name="displayHits"/>
<xsl:param name="displayHotSign"/>
<xsl:param name="displayNewSign"/>
<xsl:param name="displayTips"/>
<xsl:param name="displayCommentLink"/>
<xsl:param name="linkOpenType"/>
<xsl:param name="hits"/>
<xsl:param name="eliteLevel"/>
<xsl:template match="/NewDataSet">
<xsl:choose>
<xsl:when test="count(Table) = 0">
{PE.Label id="顯示軟件子欄目列表" parentId="<xsl:value-of select="$parentId" />" nodeArray="<xsl:value-of select="$parentId" />" outputQty="<xsl:value-of select="$outputQty" />" titleLength="<xsl:value-of select="$titleLength" />" /}
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="Table">
{PE.Label id="顯示軟件二列式欄目左右循環" nodeArray="<xsl:value-of select="arrChildID"/>" parentId="<xsl:value-of select="NodeID" />" outputQty="<xsl:value-of select="$outputQty" />" titleLength="<xsl:value-of select="$titleLength" />" displayPropertyType="<xsl:value-of select="$displayPropertyType" />" displayIncludePic="<xsl:value-of select="$displayIncludePic" />" displayAuthor="<xsl:value-of select="$displayAuthor" />" displayDateTime="<xsl:value-of select="$displayDateTime" />" displayHits="<xsl:value-of select="$displayHits" />" displayHotSign="<xsl:value-of select="$displayHotSign" />" displayNewSign="<xsl:value-of select="$displayNewSign" />" displayTips="<xsl:value-of select="$displayTips" />" displayCommentLink="<xsl:value-of select="$displayCommentLink" />" linkOpenType="<xsl:value-of select="$linkOpenType" />" hits="<xsl:value-of select="$hits" />" eliteLevel="<xsl:value-of select="$eliteLevel" />" /}
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<attributes>
<name>outputQty</name>
<default>10</default>
<intro>每欄目顯示內容個數</intro>
</attributes>
<attributes>
<name>titleLength</name>
<default>20</default>
<intro>標題最多字符數</intro>
</attributes>
<attributes>
<name>displayPropertyType</name>
<default>0</default>
<intro>顯示文章屬性(固頂/推薦/普通)的方式</intro>
</attributes>
<attributes>
<name>displayIncludePic</name>
<default>false</default>
<intro>是否顯示“[圖文]”字樣</intro>
</attributes>
<attributes>
<name>displayAuthor</name>
<default>false</default>
<intro>是否顯示作者名</intro>
</attributes>
<attributes>
<name>displayDateTime</name>
<default>mm-dd</default>
<intro>日期顯示方式</intro>
</attributes>
<attributes>
<name>displayHits</name>
<default>false</default>
<intro>是否顯示點擊數</intro>
</attributes>
<attributes>
<name>displayHotSign</name>
<default>false</default>
<intro>是否顯示熱門標志</intro>
</attributes>
<attributes>
<name>displayNewSign</name>
<default>false</default>
<intro>是否顯示新內容標志</intro>
</attributes>
<attributes>
<name>displayTips</name>
<default>false</default>
<intro>是否顯示作者、更新日期、點擊數等浮動提示信息</intro>
</attributes>
<attributes>
<name>displayCommentLink</name>
<default>false</default>
<intro>是否顯示評論鏈接</intro>
</attributes>
<attributes>
<name>linkOpenType</name>
<datatype>supersql</datatype>
<default>2</default>
<intro>內容鏈接的打開方式{欄目節點配置取代:2,新窗口:1,原窗口:0}</intro>
</attributes>
<attributes>
<name>hits</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>熱門最小點擊數</intro>
</attributes>
<attributes>
<name>eliteLevel</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>推薦優先級</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -