?? 軟件一列式欄目上下循環.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="outputQty"/>
<xsl:param name="parentId"/>
<xsl:param name="titleLength"/>
<xsl:param name="linkOpenType" />
<xsl:template match="/NewDataSet">
<xsl:choose>
<xsl:when test="count(Table) = 0">
<li style="color:red">本欄尚無內容!</li>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="Table">
<div class="childclass_main_box2">
<div class="c_spacing">
</div>
<div class="childclass_title_border">
<div class="more">
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('true',NodeID)"/>
</xsl:attribute>[更多]</a>
</div>
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('true',NodeID)"/>
</xsl:attribute>
<xsl:value-of select="pe:GetNode(NodeID,'name')"/>
</a>
</div>
<div class="s_classlist_title">
<div class="s_classlist_title_r">軟件大小</div>
<div class="s_classlist_title_c">更新日期</div>
<div class="s_classlist_title_l">授權 軟件分類 軟件名稱</div>
</div>{PE.DataSource id="InfoList<xsl:value-of select="NodeID"/>" datasource="顯示軟件欄目循環列表信息" page="true" pagesize="<xsl:value-of select="$outputQty"/>" urlpage="true" nodeArray="<xsl:value-of select="arrChildID"/>" parentId="<xsl:value-of select="ParentID"/>" titleLength="<xsl:value-of select="$titleLength"/>" linkOpenType="<xsl:value-of select="$linkOpenType"/>" xslt="true" /}{PE.Repeat id="InfoList<xsl:value-of select="NodeID"/>" loop="1000"}<div class="s_classlist_text">
<div class="s_classlist_text_r">{PE.field id="InfoList<xsl:value-of select="NodeID"/>" fieldname="SoftSize" /}</div>
<div class="s_classlist_text_c">{PE.field id="InfoList<xsl:value-of select="NodeID"/>" fieldname="UpdateTime" /}</div>
<div class="s_classlist_text_l">{PE.field id="InfoList<xsl:value-of select="NodeID"/>" fieldname="CopyrightType" /}[{PE.field id="InfoList<xsl:value-of select="NodeID"/>" fieldname="SoftType" /}]{PE.field id="InfoList<xsl:value-of select="NodeID"/>" fieldname="InfoPath" /}</div>
</div>{/PE.Repeat}</div>
</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>linkOpenType</name>
<datatype>supersql</datatype>
<default>2</default>
<intro>內容鏈接的打開方式{欄目節點配置取代:2,新窗口:1,原窗口:0}</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -