first commit

This commit is contained in:
2026-08-31 16:22:00 +08:00
commit e969a1e559
2665 changed files with 128795 additions and 0 deletions
@@ -0,0 +1,108 @@
<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>1</default>
<intro>父栏目ID</intro>
</attributes>
<UsePage>
</UsePage>
<LabelSqlString>SELECT TOP 1 * FROM PE_Nodes WHERE NodeID = @parentId AND PurviewType != 3 </LabelSqlString>
<LabelSqlCount>SELECT COUNT(*) from PE_Nodes where ParentID = @parentId</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="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">
<!-- 子栏目列表样式开始 -->
<div class="childclasslist_box">
<div class="c_main_box">
<div class="childclass_title">
<span class="childclass_pic">
</span>
<xsl:value-of select="pe:GetNode($parentId,'name')"/>
</div>
<div class="childclass_content">
<ul>
<xsl:choose>
<xsl:when test="count(Table) = 0">
<li>本栏尚无内容!
</li>
</xsl:when>
<xsl:otherwise>
{PE.DataSource id="InfoList" datasource="显示公告栏目循环列表信息_分页" page="true" pagesize="10" urlpage="true" nodeArray="<xsl:value-of select="Table/arrChildID"/>" parentId="<xsl:value-of select="$parentId"/>" titleLength="<xsl:value-of select="$titleLength"/>" hits="<xsl:value-of select="$hits"/>" eliteLevel="<xsl:value-of select="$eliteLevel"/>" xslt="true" /}
{PE.Repeat id="InfoList" loop="1000"}
{PE.field id="InfoList" fieldname="IncludePic" /}
[{PE.field id="InfoList" fieldname="NodePath" /}]
{PE.field id="InfoList" fieldname="InfoPath" /}
({PE.field id="InfoList" fieldname="Hits" /})
{PE.field id="InfoList" fieldname="UpdateTime" /}<br />
{/PE.Repeat}
</xsl:otherwise>
</xsl:choose>
</ul>
<div class="clearbox">
</div>
</div>
<div class="childclass_bot">
</div>
</div>
</div>
<!-- 子栏目列表样式结束 -->
</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>displayDateTime</name>
<default>mm-dd</default>
<intro>日期显示方式</intro>
</attributes>
<attributes>
<name>linkOpenType</name>
<default>_blank</default>
<intro>打开方式</intro>
</attributes>
<attributes>
<name>hits</name>
<default>0</default>
<intro>热门最小点击数</intro>
</attributes>
<attributes>
<name>eliteLevel</name>
<default>0</default>
<intro>推荐优先级</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
@@ -0,0 +1,49 @@
<root>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetPicArticle.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<LabelSqlString>SELECT * FROM PE_Nodes WHERE NodeID = @nodeId AND NodeType=1 ORDER BY OrderID</LabelSqlString>
<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:param name="parentId"/>
<xsl:output method="xml" />
<xsl:template match="/">
<NewDataSet>
<Table>
<NodeID>
<xsl:value-of select="NodeID"/>
</NodeID>
<NodeName>
<xsl:value-of select="NodeName"/>
</NodeName>
<MoreLink>
&lt;a href="<xsl:value-of select="pe:GetNodePath('false',NodeID)"/>" target="_blank"&gt;[更多] &lt;/a&gt;
</MoreLink>
<NodeLink>
&lt;a href="<xsl:value-of select="pe:GetNodePath('true',NodeID)"/>" target="_blank"&gt;<xsl:value-of select="pe:GetNode(NodeID,'name')"/> &lt;/a&gt;
</NodeLink>
<ParentNodePath>
&lt;a href="<xsl:value-of select="pe:GetNodePath('true',$parentId)"/>"&gt;<xsl:value-of select="pe:GetNode($parentId,'name')"/>&lt;/a&gt;
</ParentNodePath>
</Table>
</NewDataSet>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<OutType>sin</OutType>
<CacheTime>0</CacheTime>
<UsePage>
</UsePage>
<LabelSqlCount>SELECT COUNT(*) from PE_Nodes where ParentID = @parentId and NodeType=1</LabelSqlCount>
<attributes>
<name>nodeId</name>
<datatype>supersql</datatype>
<default>1</default>
<intro>栏目ID{默认值:1,传入值:@RequestInt_Id}</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
@@ -0,0 +1,93 @@
<root>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<CacheTime>0</CacheTime>
<LabelDataType>sql_sysquery</LabelDataType>
<attributes>
<name>outputQty</name>
<default>10</default>
<intro>每栏目显示内容数</intro>
</attributes>
<attributes>
<name>parentId</name>
<default>2</default>
<intro>内容父栏目ID{默认值:0,自动传入:@RequestInt_Id}</intro>
</attributes>
<attributes>
<name>titleLength</name>
<default>60</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>linkOpenType</name>
<default>2</default>
<intro>内容链接的打开方式{栏目节点配置取代:2,新窗口:1,原窗口:0}</intro>
</attributes>
<UsePage>True</UsePage>
<LabelSqlString>SELECT TOP @pagesize * FROM PE_Nodes N WHERE N.NodeID NOT IN (SELECT TOP @startrow [IN].NodeID FROM PE_Nodes [IN] WHERE [IN].ParentID = @parentId AND [IN].ShowOnList_Parent = 1 AND [IN].PurviewType != 3 ORDER BY [IN].OrderID) AND N.ParentID = @parentId AND N.ShowOnList_Parent = 1 AND N.PurviewType != 3 ORDER BY N.OrderID</LabelSqlString>
<LabelSqlCount>SELECT COUNT ([IN].NodeID) FROM PE_Nodes [IN] WHERE [IN].ParentID = @parentId AND [IN].ShowOnList_Parent = 1 AND [IN].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="hits" />
<xsl:param name="eliteLevel" />
<xsl:param name="linkOpenType" />
<xsl:template match="/">
<xsl:for-each select="/NewDataSet/Table">
<div class="c_spacing">
</div>
<div class="c_main_box">
<div class="class_title">
<div class="more">
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('false',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="class_content">
<div class="p_class_list">
<ul>{PE.DataSource id="InfoList<xsl:value-of select="NodeID"/>" datasource="图片栏目循环列表信息" nodeArray="<xsl:value-of select="arrChildID"/>" parentId="<xsl:value-of select="$parentId"/>" outputQty="<xsl:value-of select="$outputQty"/>" hits="<xsl:value-of select="$hits"/>" eliteLevel="<xsl:value-of select="$eliteLevel"/>" linkOpenType="<xsl:value-of select="$linkOpenType"/>" xslt="true" /}
{PE.Repeat id="InfoList<xsl:value-of select="NodeID"/>" loop="10"}
<li>
{PE.field id="InfoList<xsl:value-of select="NodeID"/>" fieldname="DefaultPicUrl" /}
<br />
{PE.field id="InfoList<xsl:value-of select="NodeID"/>" fieldname="InfoPath" /}
</li>
{/PE.Repeat}
</ul>
</div>
<div class="clearbox">
</div>
</div>
</div>
</xsl:for-each>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
@@ -0,0 +1,144 @@
<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>
<datatype>supersql</datatype>
<default>1</default>
<intro>父栏目ID{默认值:1,传入值:@RequestInt_Id}</intro>
</attributes>
<UsePage>
</UsePage>
<LabelSqlString>SELECT NodeID,arrChildID FROM PE_Nodes WHERE ParentID = @parentId AND PurviewType != 3 </LabelSqlString>
<LabelSqlCount>SELECT COUNT(*) from PE_Nodes where ParentID = @parentId</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="/">
<div class="childclass_main_box3">
<div class="class_title">
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('true',$parentId)"/>
</xsl:attribute>
<xsl:value-of select="pe:GetNode($parentId,'name')"/>
</a>
</div>
<div class="class_content">
<div class="p_childclass_list">
<ul>
<xsl:choose>
<xsl:when test="count(/NewDataSet/Table) = 0">
<li style="color:red">本栏尚无内容!</li>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="/NewDataSet/Table">
<li>{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" />" /}</li>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
</ul>
</div>
<div class="clearbox">
</div>
</div>
</div>
</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>
@@ -0,0 +1,90 @@
<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>
<datatype>supersql</datatype>
<default>2</default>
<intro>父栏目ID{默认值:2,传入值:@RequestInt_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="titleLength"/>
<xsl:param name="outputQty"/>
<xsl:param name="hits"/>
<xsl:param name="eliteLevel"/>
<xsl:param name="linkOpenType" />
<xsl:template match="/NewDataSet">
<xsl:for-each select="Table">
<div class="childclass_main_box">
<div class="childclass_title">
<div class="more">
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('false',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="childclass_content">
<div class="p_class_list2">
<ul>{PE.DataSource id="InfoList<xsl:value-of select="NodeID"/>" datasource="显示图片栏目循环列表信息" nodeArray="<xsl:value-of select="arrChildID"/>" parentId="<xsl:value-of select="$parentId"/>" outputQty="<xsl:value-of select="$outputQty"/>" hits="<xsl:value-of select="$hits"/>" eliteLevel="<xsl:value-of select="$eliteLevel"/>" linkOpenType="<xsl:value-of select="$linkOpenType"/>" xslt="true" /}{PE.Repeat id="InfoList<xsl:value-of select="NodeID"/>" loop="10"}<li>
<div class="pe_u_thumb">{PE.field id="InfoList<xsl:value-of select="NodeID"/>" fieldname="DefaultPicUrl" /}</div>
<div class="pe_u_thumb_title">{PE.field id="InfoList<xsl:value-of select="NodeID"/>" fieldname="InfoPath" /}</div>
</li>{/PE.Repeat}</ul>
</div>
</div>
<div class="clearbox">
</div>
</div>
</xsl:for-each>
</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>hits</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>热门最小点击数</intro>
</attributes>
<attributes>
<name>eliteLevel</name>
<datatype>supersql</datatype>
<default>0</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>
@@ -0,0 +1,105 @@
<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>
<datatype>supersql</datatype>
<default>2</default>
<intro>父栏目ID{默认值2,传入值:@RequestInt_Id}</intro>
</attributes>
<UsePage>
</UsePage>
<LabelSqlString>SELECT TOP 1 * FROM PE_Nodes WHERE NodeID = @parentId AND PurviewType != 3 </LabelSqlString>
<LabelSqlCount>SELECT COUNT(*) from PE_Nodes where ParentID = @parentId</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="titleLength"/>
<xsl:param name="hits"/>
<xsl:param name="eliteLevel"/>
<xsl:param name="tableName"/>
<xsl:param name="nodeArray"/>
<xsl:param name="usePage"/>
<xsl:param name="outputQty"/>
<xsl:param name="linkOpenType" />
<xsl:template match="/NewDataSet">
<div class="childclasslist_box">
<div class="c_main_box">
<div class="class_title">
<span class="childclass_pic">
</span>
<xsl:value-of select="pe:GetNode($parentId,'name')"/>
</div>
<div class="class_content">
<div class="p_class_list">
<ul>
<xsl:choose>
<xsl:when test="count(Table) = 0">
<li style="color:red">本栏尚无内容!</li>
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="$nodeArray = 0">{PE.DataSource id="InfoList" datasource="显示图片栏目循环列表信息_分页" page="<xsl:value-of select="$usePage"/>" pagesize="<xsl:value-of select="$outputQty"/>" nodeArray="<xsl:value-of select="Table/arrChildID"/>" parentId="<xsl:value-of select="$parentId"/>" titleLength="<xsl:value-of select="$titleLength"/>" hits="<xsl:value-of select="$hits"/>" eliteLevel="<xsl:value-of select="$eliteLevel"/>" linkOpenType="<xsl:value-of select="$linkOpenType"/>" xslt="true" /}</xsl:when>
<xsl:otherwise>{PE.DataSource id="InfoList" datasource="显示图片栏目循环列表信息_分页" page="<xsl:value-of select="$usePage"/>" pagesize="<xsl:value-of select="$outputQty"/>" nodeArray="<xsl:value-of select="$nodeArray"/>" parentId="<xsl:value-of select="$parentId"/>" titleLength="<xsl:value-of select="$titleLength"/>" hits="<xsl:value-of select="$hits"/>" eliteLevel="<xsl:value-of select="$eliteLevel"/>" linkOpenType="<xsl:value-of select="$linkOpenType"/>" xslt="true" /}</xsl:otherwise>
</xsl:choose>
{PE.Repeat id="InfoList" loop="1000"}
<li>{PE.field id="InfoList" fieldname="DefaultPicUrl" /}<br />{PE.field id="InfoList" fieldname="InfoPath" /}</li>
{/PE.Repeat}
</xsl:otherwise>
</xsl:choose>
</ul>
</div>
<div class="clearbox">
</div>
</div>
</div>
</div>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<attributes>
<name>titleLength</name>
<default>20</default>
<intro>标题最多字符数</intro>
</attributes>
<attributes>
<name>hits</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>最小热门点击数</intro>
</attributes>
<attributes>
<name>eliteLevel</name>
<default>0</default>
<intro>推荐优先级</intro>
</attributes>
<attributes>
<name>nodeArray</name>
<default>0</default>
<intro>栏目数组 0-所有 1,2,3-指定的栏目数ID</intro>
</attributes>
<attributes>
<name>usePage</name>
<default>true</default>
<intro>是否分页</intro>
</attributes>
<attributes>
<name>outputQty</name>
<default>12</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>
@@ -0,0 +1,91 @@
<root>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<CacheTime>0</CacheTime>
<LabelDataType>sql_sysquery</LabelDataType>
<attributes>
<name>outputQty</name>
<default>8</default>
<intro>显示个数</intro>
</attributes>
<attributes>
<name>titleLength</name>
<default>10</default>
<intro>标题字符数</intro>
</attributes>
<attributes>
<name>parentId</name>
<default>0</default>
<intro>父栏目ID</intro>
</attributes>
<LabelSqlString><![CDATA[SELECT TOP @outputQty * FROM PE_CommonModel C INNER JOIN PE_U_Photo T ON (C.ItemID = T.ID) WHERE (C.NodeID = @parentId) AND C.Status = 99 AND C.SigninType!=2 AND C.DefaultPicUrl != '' ORDER BY C.UpdateTime DESC ]]></LabelSqlString>
<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:template match="/">
<xsl:if test="count(/NewDataSet/Table)=0" >
<div class="pe_u_thumb">
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('true',$parentId)" />
</xsl:attribute>
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:value-of select="pe:UpLoadDir()" />nopic.gif</xsl:attribute>
<xsl:attribute name="alt">该栏目没有图片</xsl:attribute>
<xsl:attribute name="border">0</xsl:attribute>
</xsl:element>
</a>
</div>
<div class="pe_u_thumb_title">
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('true',$parentId)" />
</xsl:attribute>[<xsl:value-of select="pe:GetNode($parentId,'name')" />]</a>
</div>
</xsl:if>
<xsl:for-each select="/NewDataSet/Table">
<div class="pe_u_thumb">
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('true',$parentId)" />
</xsl:attribute>
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:choose>
<xsl:when test="DefaultPicUrl !=''">
<xsl:if test="pe:IsStartWithhttp(DefaultPicUrl)='false'">
<xsl:value-of select="pe:UpLoadDir()"/>
</xsl:if>
<xsl:value-of select="DefaultPicUrl"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="pe:UpLoadDir()"/>nopic.gif</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:attribute name="alt">
<xsl:value-of select="pe:CutText(Title,$titleLength,'…')"/>
</xsl:attribute>
<xsl:attribute name="border">0</xsl:attribute>
</xsl:element>
</a>
</div>
<div class="pe_u_thumb_title">
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('true',$parentId)" />
</xsl:attribute>[<xsl:value-of select="pe:GetNode($parentId,'name')" />]</a>
</div>
</xsl:for-each>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
@@ -0,0 +1,180 @@
<root>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetPicArticle.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<LabelSqlString><![CDATA[SELECT TOP @outputQty * FROM PE_CommonModel CM INNER JOIN PE_U_Photo UT ON (CM.ItemID = UT.ID) WHERE CM.NodeID IN (@nodeArray) AND CM.Status = 99 AND CM.SigninType!=2 AND CM.EliteLevel >= @eliteLevel AND CM.Hits >= @hits ORDER BY CM.UpdateTime DESC]]></LabelSqlString>
<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:param name="titleLength" />
<xsl:param name="linkOpenType" />
<xsl:output method="xml" />
<xsl:template match="/">
<NewDataSet>
<xsl:for-each select="NewDataSet/Table">
<Table>
<GeneralID>
<xsl:value-of select="GeneralID"/>
</GeneralID>
<NodeID>
<xsl:value-of select="NodeID"/>
</NodeID>
<ModelId>
<xsl:value-of select="ModelId"/>
</ModelId>
<ItemId>
<xsl:value-of select="ItemId"/>
</ItemId>
<TableName>
<xsl:value-of select="TableName"/>
</TableName>
<Inputer>
<xsl:value-of select="Inputer"/>
</Inputer>
<Hits>
<xsl:value-of select="Hits"/>
</Hits>
<DayHits>
<xsl:value-of select="DayHits"/>
</DayHits>
<WeekHits>
<xsl:value-of select="WeekHits"/>
</WeekHits>
<MonthHits>
<xsl:value-of select="MonthHits"/>
</MonthHits>
<UpdateTime>
<xsl:value-of select="pe:FormatDate(UpdateTime,'yyyy-mm-dd')"/>
</UpdateTime>
<CommentAudited>
<xsl:value-of select="CommentAudited"/>
</CommentAudited>
<Title>
<xsl:value-of select="pe:CutText(pe:RemoveHtml(Title),$titleLength,'…')" />
</Title>
<SoftVersion>
<xsl:value-of select="SoftVersion"/>
</SoftVersion>
<Author>
<xsl:value-of select="Author"/>
</Author>
<CopyFrom>
<xsl:value-of select="CopyFrom"/>
</CopyFrom>
<Keyword>
<xsl:value-of select="Keyword"/>
</Keyword>
<DefaultPicUrl>
&lt;a href="<xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)"/>"&gt;
&lt;img src="<xsl:choose>
<xsl:when test="DefaultPicUrl !=''">
<xsl:if test="pe:IsStartWithhttp(DefaultPicUrl)='false'">
<xsl:value-of select="pe:UpLoadDir()"/>
</xsl:if>
<xsl:value-of select="DefaultPicUrl"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="pe:UpLoadDir()"/>nopic.gif
</xsl:otherwise>
</xsl:choose>
" alt="<xsl:value-of select="Title" />" border="0" /&gt;
&lt;/a&gt;
</DefaultPicUrl>
<PhotoUrl>
<xsl:choose>
<xsl:when test="PhotoUrl !=''">
<xsl:if test="pe:IsStartWithhttp(PhotoUrl)='false'">
<xsl:value-of select="pe:UpLoadDir()"/>
</xsl:if>
<xsl:value-of select="PhotoUrl"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="pe:UpLoadDir()"/>nopic.gif
</xsl:otherwise>
</xsl:choose>
</PhotoUrl>
<PhotoIntro>
<xsl:value-of disable-output-escaping="yes" select="PhotoIntro"/>
</PhotoIntro>
<Stars>
<xsl:value-of select="Stars"/>
</Stars>
<LastHitTime>
<xsl:value-of select="LastHitTime"/>
</LastHitTime>
<InfoPath>
&lt;a href="<xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)"/>" linkOpenType="<xsl:choose>
<xsl:when test="$linkOpenType = 2">
<xsl:choose>
<xsl:when test="pe:GetNodeInfo(NodeID,'OpenType') = 0">_self</xsl:when>
<xsl:otherwise>_blank</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:when test="$linkOpenType = 1">_blank</xsl:when>
<xsl:when test="$linkOpenType = 0">_self</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$linkOpenType"/>
</xsl:otherwise>
</xsl:choose>"&gt;
<xsl:value-of select="pe:CutText(pe:RemoveHtml(Title),$titleLength,'…')" />
&lt;/a&gt;
</InfoPath>
<NodePath>
&lt;a href="<xsl:value-of select="pe:GetNodePath('true',NodeID)"/>"&gt;
<xsl:value-of select="pe:GetNode(NodeID,'name')" />
&lt;/a&gt;
</NodePath>
</Table>
</xsl:for-each>
</NewDataSet>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<OutType>
</OutType>
<CacheTime>0</CacheTime>
<UsePage>
</UsePage>
<LabelSqlCount>SELECT COUNT(*) from PE_Nodes where ParentID = @parentId</LabelSqlCount>
<attributes>
<name>outputQty</name>
<default>10</default>
<intro>显示个数</intro>
</attributes>
<attributes>
<name>nodeArray</name>
<default>2</default>
<intro>子栏目ID</intro>
</attributes>
<attributes>
<name>parentId</name>
<datatype>supersql</datatype>
<default>2</default>
<intro>父栏目ID{默认值:2,传入值@RequestInt_Id}</intro>
</attributes>
<attributes>
<name>titleLength</name>
<default>20</default>
<intro>标题字符数</intro>
</attributes>
<attributes>
<name>hits</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>热门最小点击数</intro>
</attributes>
<attributes>
<name>eliteLevel</name>
<default>0</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>
@@ -0,0 +1,43 @@
<root>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<attributes>
<name>nodeId</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>节点ID</intro>
</attributes>
<LabelSqlString>SELECT NodeID,NodeName FROM PE_Nodes WHERE ParentID = @nodeId AND NodeType = 1 AND ShowOnList_Parent = 1 AND PurviewType != 3 ORDER BY OrderID ASC</LabelSqlString>
<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:template match="/">
<xsl:for-each select="/NewDataSet/Table">
<li>
<xsl:choose>
<xsl:when test="position()=last()">
<img src="{pe:InstallDir()}images/tree_line2.gif" />
</xsl:when>
<xsl:otherwise>
<img src="{pe:InstallDir()}images/tree_line1.gif" />
</xsl:otherwise>
</xsl:choose>
<img src="{pe:InstallDir()}images/tree_folder3.gif" />
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('false',NodeID)"/>
</xsl:attribute>
<xsl:value-of select="NodeName"/>
</a>
</li>
</xsl:for-each>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
@@ -0,0 +1,41 @@
<root>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<attributes>
<name>nodeId</name>
<default>0</default>
<intro>节点ID</intro>
</attributes>
<LabelSqlString><![CDATA[select NodeID,NodeName,Child,NextID,Depth from PE_Nodes where ParentID=@nodeId AND PurviewType != 3 ]]></LabelSqlString>
<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="depth"/>
<xsl:template match="/">
<xsl:for-each select="/NewDataSet/Table">
<xsl:text disable-output-escaping="yes">&lt;option value=</xsl:text>
<xsl:value-of select="NodeID"/>
<xsl:text disable-output-escaping="yes">&gt;</xsl:text>
<xsl:value-of disable-output-escaping="yes" select="pe:ConvertToChar(Depth,'&amp;nbsp;&amp;nbsp;')"/>
<xsl:value-of select="NodeName"/>
<xsl:text disable-output-escaping="yes">&lt;/option&gt;</xsl:text>
<xsl:if test="Child&gt;0 and Depth&lt;$depth">
{PE.Label id="子栏目分类下拉列表选项" nodeId="<xsl:value-of select="NodeID"/>" depth="<xsl:value-of select="$depth"/>"/}
</xsl:if>
</xsl:for-each>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<attributes>
<name>depth</name>
<default>5</default>
<intro>节点深度</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
@@ -0,0 +1,43 @@
<root>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<attributes>
<name>nodeId</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>节点ID</intro>
</attributes>
<LabelSqlString>SELECT NodeID,NodeName FROM PE_Nodes WHERE ParentID = @nodeId AND NodeType = 1 AND ShowOnList_Parent = 1 AND PurviewType != 3 ORDER BY OrderID ASC</LabelSqlString>
<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:template match="/">
<xsl:for-each select="/NewDataSet/Table">
<li>
<xsl:choose>
<xsl:when test="position()=last()">
<img src="{pe:InstallDir()}images/tree_line2.gif" />
</xsl:when>
<xsl:otherwise>
<img src="{pe:InstallDir()}images/tree_line1.gif" />
</xsl:otherwise>
</xsl:choose>
<img src="{pe:InstallDir()}images/tree_folder3.gif" />
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('false',NodeID)"/>
</xsl:attribute>
<xsl:value-of select="NodeName"/>
</a>
</li>
</xsl:for-each>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
@@ -0,0 +1,133 @@
<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>
<datatype>supersql</datatype>
<default>1</default>
<intro>父栏目ID{默认值:1,传入值:@RequestInt_Id}</intro>
</attributes>
<UsePage>True</UsePage>
<LabelSqlString>SELECT TOP @pagesize * FROM PE_Nodes N WHERE N.NodeID NOT IN (SELECT TOP @startrow [IN].NodeID FROM PE_Nodes [IN] WHERE [IN].ParentID = @parentId AND [IN].PurviewType != 3 ORDER BY [IN].OrderID) AND N.ParentID = @parentId AND N.PurviewType != 3 ORDER BY N.OrderID</LabelSqlString>
<LabelSqlCount>SELECT COUNT ([IN].NodeID) FROM PE_Nodes [IN] WHERE [IN].ParentID = @parentId AND [IN].PurviewType != 3 ORDER BY [IN].OrderID) AND N.ParentID = @parentId AND N.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">
<div class="class_title">
<span class="childclass_pic">
</span>
<xsl:value-of select="pe:GetNode($parentId,'name')" />
</div>
<div class="class_content">
<ul>
{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" />" 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" />" /}
</ul>
</div>
</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>
<default>0</default>
<intro>推荐优先级</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
@@ -0,0 +1,88 @@
<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>
<datatype>supersql</datatype>
<default>1</default>
<intro>父栏目ID{默认值:1,传入值:@RequestInt_Id}</intro>
</attributes>
<UsePage>
</UsePage>
<LabelSqlString>SELECT NodeID,arrChildID FROM PE_Nodes WHERE NodeID = @parentId AND PurviewType != 3 </LabelSqlString>
<LabelSqlCount>SELECT COUNT(*) from PE_Nodes where ParentID = @parentId</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="hits"/>
<xsl:param name="eliteLevel"/>
<xsl:param name="linkOpenType" />
<xsl:template match="/NewDataSet">
<div class="childclass_main_box3">
<div class="c_spacing">
</div>
<div class="childclass_title_border">
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('true',$parentId)"/>
</xsl:attribute>
<xsl:value-of select="pe:GetNode($parentId,'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>
<xsl:choose>
<xsl:when test="count(Table) = 0">
<li style="color:red">本栏尚无内容!</li>
</xsl:when>
<xsl:otherwise>{PE.DataSource id="InfoList" datasource="显示文章栏目循环列表信息_分页" page="true" urlpage="true" pagesize="<xsl:value-of select="$outputQty" />" nodeArray="<xsl:value-of select="Table/arrChildID"/>" parentId="<xsl:value-of select="$parentId"/>" titleLength="<xsl:value-of select="$titleLength"/>" hits="<xsl:value-of select="$hits"/>" eliteLevel="<xsl:value-of select="$eliteLevel"/>" linkOpenType="<xsl:value-of select="$linkOpenType"/>" xslt="true" /}{PE.Repeat id="InfoList" loop="1000"}<div class="s_classlist_text">
<div class="s_classlist_text_r">{PE.field id="InfoList" fieldname="Hits" /}</div>
<div class="s_classlist_text_c">{PE.field id="InfoList" fieldname="UpdateTime" /}</div>
<div class="s_classlist_text_l">{PE.field id="InfoList" fieldname="IncludePic" /}[{PE.field id="InfoList" fieldname="NodePath" /}]{PE.field id="InfoList" fieldname="InfoPath" /}</div>
</div>{/PE.Repeat}</xsl:otherwise>
</xsl:choose>
</div>
</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>hits</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>热门最小点击数</intro>
</attributes>
<attributes>
<name>eliteLevel</name>
<default>0</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>
@@ -0,0 +1,124 @@
<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>1</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 PurviewType != 3 ORDER BY OrderID) AND (ParentID = @parentId) AND PurviewType != 3 ORDER BY OrderID</LabelSqlString>
<LabelSqlCount>SELECT COUNT(*) FROM PE_Nodes WHERE ParentID = @parentId 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" />" 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: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>
<default>0</default>
<intro>推荐优先级</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
@@ -0,0 +1,102 @@
<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>1</default>
<intro>父栏目ID</intro>
</attributes>
<UsePage>
</UsePage>
<LabelSqlString>SELECT TOP 1 * FROM PE_Nodes WHERE NodeID = @parentId AND PurviewType != 3 </LabelSqlString>
<LabelSqlCount>SELECT COUNT(*) from PE_Nodes where ParentID = @parentId</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:param name="tableName"/>
<xsl:template match="/NewDataSet">
<div class="childclasslist_box">
<div class="c_main_box">
<div class="childclass_title">
<span class="childclass_pic">
</span>
<xsl:value-of select="pe:GetNode($parentId,'name')"/>
</div>
<div class="childclass_content">
<ul>
<xsl:choose>
<xsl:when test="count(Table) = 0">
<li style="color:red">本栏尚无内容!</li>
</xsl:when>
<xsl:otherwise>{PE.DataSource id="InfoList" datasource="显示文章栏目循环列表信息_分页" urlpage="true" page="true" pagesize="<xsl:value-of select="$outputQty"/>" nodeArray="<xsl:value-of select="Table/arrChildID"/>" parentId="<xsl:value-of select="$parentId"/>" titleLength="<xsl:value-of select="$titleLength"/>" hits="<xsl:value-of select="$hits"/>" eliteLevel="<xsl:value-of select="$eliteLevel"/>" linkOpenType="<xsl:value-of select="$linkOpenType"/>" xslt="true" /}
{PE.Repeat id="InfoList" loop="1000"}
{PE.field id="InfoList" fieldname="IncludePic" /}
[{PE.field id="InfoList" fieldname="NodePath" /}]
{PE.field id="InfoList" fieldname="InfoPath" /}
{PE.field id="InfoList" fieldname="Hits" /}
{PE.field id="InfoList" fieldname="UpdateTime" /}
<br />
{/PE.Repeat}
</xsl:otherwise>
</xsl:choose>
</ul>
<div class="clearbox">
</div>
</div>
<div class="childclass_bot">
</div>
</div>
</div>
</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>
<attributes>
<name>hits</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>热门最小点击数</intro>
</attributes>
<attributes>
<name>eliteLevel</name>
<default>0</default>
<intro>推荐优先级</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
@@ -0,0 +1,114 @@
<root>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetPicArticle.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<LabelSqlString><![CDATA[SELECT TOP @outputQty C.*,A.* FROM PE_CommonModel C INNER JOIN PE_U_Announce A ON C.ItemID=A.ID WHERE C.NodeID in (@nodeArray) AND C.TableName='PE_U_Announce' AND C.Status = 99 AND C.SigninType!=2 AND (DATEADD(d, A.OutTime, A.DateAndTime) >= GETDATE()) OR C.NodeID in (@nodeArray) AND C.TableName='PE_U_Announce' AND A.OutTime=0 ORDER BY A.DateAndTime DESC
]]></LabelSqlString>
<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:param name="titleLength" />
<xsl:output method="xml" />
<xsl:template match="/">
<NewDataSet>
<xsl:for-each select="NewDataSet/Table">
<Table>
<GeneralID>
<xsl:value-of select="GeneralID"/>
</GeneralID>
<NodeID>
<xsl:value-of select="NodeID"/>
</NodeID>
<ModelId>
<xsl:value-of select="ModelId"/>
</ModelId>
<ItemId>
<xsl:value-of select="ItemId"/>
</ItemId>
<TableName>
<xsl:value-of select="TableName"/>
</TableName>
<Inputer>
<xsl:value-of select="Inputer"/>
</Inputer>
<Hits>
<xsl:value-of select="Hits"/>
</Hits>
<DayHits>
<xsl:value-of select="DayHits"/>
</DayHits>
<WeekHits>
<xsl:value-of select="WeekHits"/>
</WeekHits>
<MonthHits>
<xsl:value-of select="MonthHits"/>
</MonthHits>
<UpdateTime>
<xsl:value-of select="pe:FormatDate(UpdateTime,'yyyy-mm-dd')"/>
</UpdateTime>
<CommentAudited>
<xsl:value-of select="CommentAudited"/>
</CommentAudited>
<Title>
<xsl:value-of select="pe:CutText(Title,$titleLength,'…')" />
</Title>
<Author>
<xsl:value-of select="Author"/>
</Author>
<CopyFrom>
<xsl:value-of select="CopyFrom"/>
</CopyFrom>
<Keyword>
<xsl:value-of select="Keyword"/>
</Keyword>
<IncludePic>
<xsl:if test="IncludePic !='无'">
<xsl:value-of select="IncludePic"/>
</xsl:if>
</IncludePic>
<Content>
<xsl:value-of disable-output-escaping="yes" select="Content"/>
</Content>
<InfoPath>
&lt;a href="<xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)"/>"&gt;
<xsl:value-of select="pe:CutText(Title,$titleLength,'…')" />
&lt;/a&gt;
</InfoPath>
<NodePath>
&lt;a href="<xsl:value-of select="pe:GetNodePath('true',NodeID)"/>"&gt;
<xsl:value-of select="pe:GetNode(NodeID,'name')" />
&lt;/a&gt;
</NodePath>
</Table>
</xsl:for-each>
</NewDataSet>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<OutType>sin</OutType>
<CacheTime>0</CacheTime>
<UsePage>
</UsePage>
<LabelSqlCount>SELECT COUNT(*) from PE_Nodes where ParentID = @parentId</LabelSqlCount>
<attributes>
<name>outputQty</name>
<default>10</default>
<intro>显示个数</intro>
</attributes>
<attributes>
<name>nodeArray</name>
<default>1</default>
<intro>子栏目ID</intro>
</attributes>
<attributes>
<name>parentId</name>
<default>1</default>
<intro>父栏目ID</intro>
</attributes>
<attributes>
<name>titleLength</name>
<default>20</default>
<intro>标题字符数</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
</root>
@@ -0,0 +1,116 @@
<root>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetPicArticle.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<LabelSqlString><![CDATA[SELECT TOP @pagesize C.*,A.* FROM PE_CommonModel C INNER JOIN PE_U_Announce A ON C.ItemID=A.ID WHERE C.GeneralID NOT IN(SELECT TOP @startrow IC.GeneralID FROM PE_CommonModel IC INNER JOIN PE_U_Announce IA ON IC.ItemID=IA.ID WHERE IC.NodeID in (@nodeArray) AND IC.TableName='PE_U_Announce' AND IC.Status = 99 AND (DATEADD(d, IA.OutTime, IA.DateAndTime) >= GETDATE()) OR IC.NodeID in (@nodeArray) AND IC.TableName='PE_U_Announce' AND IC.Status = 99 AND IA.OutTime=0 ORDER BY IA.DateAndTime DESC) AND C.NodeID in (@nodeArray) AND C.TableName='PE_U_Announce' AND C.Status = 99 AND (DATEADD(d, A.OutTime, A.DateAndTime) >= GETDATE()) OR C.NodeID in (@nodeArray) AND C.TableName='PE_U_Announce' AND C.Status = 99 AND C.SigninType!=2 AND A.OutTime=0 ORDER BY A.DateAndTime DESC
]]></LabelSqlString>
<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:param name="titleLength" />
<xsl:output method="xml" />
<xsl:template match="/">
<NewDataSet>
<xsl:for-each select="NewDataSet/Table">
<Table>
<GeneralID>
<xsl:value-of select="GeneralID"/>
</GeneralID>
<NodeID>
<xsl:value-of select="NodeID"/>
</NodeID>
<ModelId>
<xsl:value-of select="ModelId"/>
</ModelId>
<ItemId>
<xsl:value-of select="ItemId"/>
</ItemId>
<TableName>
<xsl:value-of select="TableName"/>
</TableName>
<Inputer>
<xsl:value-of select="Inputer"/>
</Inputer>
<Hits>
<xsl:value-of select="Hits"/>
</Hits>
<DayHits>
<xsl:value-of select="DayHits"/>
</DayHits>
<WeekHits>
<xsl:value-of select="WeekHits"/>
</WeekHits>
<MonthHits>
<xsl:value-of select="MonthHits"/>
</MonthHits>
<UpdateTime>
<xsl:value-of select="pe:FormatDate(UpdateTime,'yyyy-mm-dd')"/>
</UpdateTime>
<CommentAudited>
<xsl:value-of select="CommentAudited"/>
</CommentAudited>
<Title>
<xsl:value-of select="pe:CutText(Title,$titleLength,'…')" />
</Title>
<Author>
<xsl:value-of select="Author"/>
</Author>
<CopyFrom>
<xsl:value-of select="CopyFrom"/>
</CopyFrom>
<Keyword>
<xsl:value-of select="Keyword"/>
</Keyword>
<IncludePic>
<xsl:if test="IncludePic !='无'">
<xsl:value-of select="IncludePic"/>
</xsl:if>
</IncludePic>
<Content>
<xsl:value-of disable-output-escaping="yes" select="Content"/>
</Content>
<InfoPath>
&lt;a href="<xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)"/>"&gt;
<xsl:value-of select="pe:CutText(Title,$titleLength,'…')" />
&lt;/a&gt;
</InfoPath>
<NodePath>
&lt;a href="<xsl:value-of select="pe:GetNodePath('true',NodeID)"/>"&gt;
<xsl:value-of select="pe:GetNode(NodeID,'name')" />
&lt;/a&gt;
</NodePath>
</Table>
</xsl:for-each>
</NewDataSet>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<OutType>sin</OutType>
<CacheTime>0</CacheTime>
<UsePage>True</UsePage>
<LabelSqlCount><![CDATA[SELECT count(IC.GeneralID) FROM PE_CommonModel IC INNER JOIN PE_U_Announce IA ON IC.ItemID=IA.ID WHERE IC.NodeID in (@nodeArray) AND IC.TableName='PE_U_Announce' AND IC.Status = 99 AND IC.SigninType!=2 AND (DATEADD(d, IA.OutTime, IA.DateAndTime) >= GETDATE()) OR IC.NodeID in (@nodeArray) AND IC.TableName='PE_U_Announce' AND IC.Status = 99 AND IA.OutTime=0
]]></LabelSqlCount>
<attributes>
<name>outputQty</name>
<default>10</default>
<intro>显示个数</intro>
</attributes>
<attributes>
<name>nodeArray</name>
<default>1</default>
<intro>子栏目ID</intro>
</attributes>
<attributes>
<name>parentId</name>
<default>5</default>
<intro>父栏目ID</intro>
</attributes>
<attributes>
<name>titleLength</name>
<default>20</default>
<intro>标题字符数</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
@@ -0,0 +1,34 @@
<root>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<CacheTime>0</CacheTime>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelSqlString>SELECT TOP @outputQty * FROM PE_CommonModel C INNER JOIN PE_U_Photo P ON (C.ItemID = P.ID) WHERE C.NodeID IN (@nodeArray) AND C.Status = 99 AND C.SigninType!=2 ORDER BY C.UpdateTime DESC</LabelSqlString>
<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="titleLength"/><xsl:template match="/NewDataSet"><div class="c_spacing"></div><div class="c_main_box"><div class="class_title"><div class="more"><a><xsl:attribute name="href"><xsl:value-of select="pe:GetNodePath('false',$parentId)"/></xsl:attribute>[更多]</a></div><a><xsl:attribute name="href"><xsl:value-of select="pe:GetNodePath('true',$parentId)"/></xsl:attribute><xsl:value-of select="pe:GetNode($parentId,'name')"/></a></div><div class="class_content"><div class="p_class_list"><ul><xsl:choose><xsl:when test="count(Table) = 0"><li style="color:red">本栏尚无内容!</li></xsl:when><xsl:otherwise><xsl:for-each select="Table"><li><a><xsl:attribute name="href"><xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)"/></xsl:attribute><xsl:element name="img"><xsl:attribute name="src"><xsl:value-of select="DefaultPicUrl"/></xsl:attribute><xsl:attribute name="border">0</xsl:attribute><xsl:attribute name="alt"><xsl:value-of select="pe:CutText(Title,$titleLength,'…')" /></xsl:attribute></xsl:element><br /><xsl:value-of select="pe:CutText(Title,$titleLength,'…')" /></a></li></xsl:for-each></xsl:otherwise></xsl:choose></ul></div><div class="clearbox"></div></div></div></xsl:template></xsl:transform>]]></LabelTemplate>
<attributes>
<name>outputQty</name>
<default>10</default>
<intro>显示个数</intro>
</attributes>
<attributes>
<name>nodeArray</name>
<default>1</default>
<intro>栏目ID</intro>
</attributes>
<attributes>
<name>parentId</name>
<default>2</default>
<intro>父栏目ID</intro>
</attributes>
<attributes>
<name>titleLength</name>
<default>20</default>
<intro>标题最多字符数</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
@@ -0,0 +1,234 @@
<root>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<CacheTime>0</CacheTime>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelSqlString>SELECT TOP @outputQty * FROM PE_CommonModel C INNER JOIN PE_U_Photo P ON C.ItemID=P.ID WHERE C.NodeID IN (@nodeArray) AND C.Status = 99 AND C.SigninType!=2 ORDER BY C.UpdateTime
</LabelSqlString>
<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="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="eliteLevel"/>
<xsl:template match="/">
<xsl:for-each select="/NewDataSet/Table">
<xsl:if test="position() = 1">
<div class="pe_u_thumb">
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('true',$parentId)"/>
</xsl:attribute>
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:value-of select="DefaultPicUrl"/>
</xsl:attribute>
<xsl:attribute name="border">0</xsl:attribute>
<xsl:attribute name="alt">
<xsl:value-of select="pe:GetNode($parentId,'name')"/>
</xsl:attribute>
</xsl:element>
</a>
</div>
<div class="pe_u_thumb_title">[<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('true',$parentId)"/>
</xsl:attribute>
<xsl:value-of select="pe:GetNode($parentId,'name')"/>
</a>]</div>
</xsl:if>
<div class="pe_u_thumb_list">
<xsl:choose>
<xsl:when test="$displayPropertyType = 0">
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="pe:ConvertToInt($displayPropertyType) &gt; 0">
<xsl:choose>
<xsl:when test="Hits>pe:HitsOfHot()">
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:value-of select="pe:InstallDir()" />images/ontop<xsl:value-of select="$displayPropertyType" />.gif</xsl:attribute>
<xsl:attribute name="alt">热门<xsl:value-of select="pe:GetModelItemName(ModelID)"/>
</xsl:attribute>
</xsl:element>
</xsl:when>
<xsl:when test="EliteLevel>$eliteLevel">
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:value-of select="pe:InstallDir()" />images/elite<xsl:value-of select="$displayPropertyType" />.gif</xsl:attribute>
<xsl:attribute name="alt">推荐<xsl:value-of select="pe:GetModelItemName(ModelID)"/>
</xsl:attribute>
</xsl:element>
</xsl:when>
<xsl:otherwise>
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:value-of select="pe:InstallDir()" />images/common<xsl:value-of select="$displayPropertyType" />.gif</xsl:attribute>
<xsl:attribute name="alt">普通<xsl:value-of select="pe:GetModelItemName(ModelID)"/>
</xsl:attribute>
</xsl:element>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:value-of select="pe:InstallDir()" />images/<xsl:value-of select="$displayPropertyType" />.gif</xsl:attribute>
<xsl:attribute name="alt">普通<xsl:value-of select="pe:GetModelItemName(ModelID)"/>
</xsl:attribute>
</xsl:element>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)" />
</xsl:attribute>
<xsl:attribute name="target">
<xsl:choose>
<xsl:when test="$linkOpenType = 2">
<xsl:choose>
<xsl:when test="pe:GetNodeInfo(NodeID,'OpenType') = 0">_self</xsl:when>
<xsl:otherwise>_blank</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:when test="$linkOpenType = 1">_blank</xsl:when>
<xsl:when test="$linkOpenType = 0">_self</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$linkOpenType"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:if test="$displayTips='true'">
<xsl:attribute name="title">作者:<xsl:value-of select="Inputer"/>
<xsl:value-of select="'&#xD;'" />发表时间:<xsl:value-of select="pe:FormatDate(UpdateTime, 'yy年mm月dd日')" />
<xsl:value-of select="'&#xD;'" />点击数:<xsl:value-of select="Hits"/>
</xsl:attribute>
</xsl:if>
<xsl:value-of select="pe:CutText(Title,$titleLength,'…')" />
</a>
<xsl:if test="$displayHits='true'">(<xsl:value-of select="Hits"/>)</xsl:if>
<xsl:if test="$displayIncludePic='true'">
<xsl:if test="IncludePic !='无'">
<xsl:value-of select="IncludePic"/>
</xsl:if>
</xsl:if>
<xsl:if test="$displayAuthor='true'">
<xsl:value-of select="Inputer"/>
</xsl:if>
<xsl:if test="$displayDateTime!='0'">(<xsl:value-of select="pe:FormatDate(UpdateTime, $displayDateTime)" />)</xsl:if>
<xsl:if test="$displayHotSign='true'">
<xsl:if test="Hits>pe:HitsOfHot()">
<img src="{pe:InstallDir()}images/hot.gif" />
</xsl:if>
</xsl:if>
<xsl:if test="$displayNewSign='true'">
<xsl:if test="2>pe:TimeSpan(UpdateTime,pe:TimeNow())">
<img src="{pe:InstallDir()}images/new.gif" />
</xsl:if>
</xsl:if>
</div>
</xsl:for-each>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<attributes>
<name>outputQty</name>
<default>10</default>
<intro>显示个数</intro>
</attributes>
<attributes>
<name>nodeArray</name>
<default>1</default>
<intro>栏目ID</intro>
</attributes>
<attributes>
<name>parentId</name>
<default>0</default>
<intro>父栏目ID</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>
<default>0</default>
<intro>推荐优先级</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
File diff suppressed because one or more lines are too long
@@ -0,0 +1,166 @@
<root>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetPicArticle.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<LabelSqlString><![CDATA[SELECT TOP @outputQty * FROM PE_CommonModel C INNER JOIN PE_U_Photo P ON (C.ItemID = P.ID) WHERE C.NodeID IN (@nodeArray) AND C.Status=99 AND C.SigninType!=2 AND C.EliteLevel >= @eliteLevel AND C.Hits >= @hits ORDER BY C.UpdateTime DESC
]]></LabelSqlString>
<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:param name="titleLength" />
<xsl:param name="linkOpenType" />
<xsl:output method="xml" />
<xsl:template match="/">
<NewDataSet>
<xsl:for-each select="NewDataSet/Table">
<Table>
<GeneralID>
<xsl:value-of select="GeneralID"/>
</GeneralID>
<NodeID>
<xsl:value-of select="NodeID"/>
</NodeID>
<ModelId>
<xsl:value-of select="ModelId"/>
</ModelId>
<ItemId>
<xsl:value-of select="ItemId"/>
</ItemId>
<TableName>
<xsl:value-of select="TableName"/>
</TableName>
<Inputer>
<xsl:value-of select="Inputer"/>
</Inputer>
<Hits>
<xsl:value-of select="Hits"/>
</Hits>
<DayHits>
<xsl:value-of select="DayHits"/>
</DayHits>
<WeekHits>
<xsl:value-of select="WeekHits"/>
</WeekHits>
<MonthHits>
<xsl:value-of select="MonthHits"/>
</MonthHits>
<UpdateTime>
<xsl:value-of select="pe:FormatDate(UpdateTime,'yyyy-mm-dd')"/>
</UpdateTime>
<CommentAudited>
<xsl:value-of select="CommentAudited"/>
</CommentAudited>
<Title>
<xsl:value-of select="pe:CutText(pe:RemoveHtml(Title),$titleLength,'...')" />
</Title>
<SoftVersion>
<xsl:value-of select="SoftVersion"/>
</SoftVersion>
<Author>
<xsl:value-of select="Author"/>
</Author>
<CopyFrom>
<xsl:value-of select="CopyFrom"/>
</CopyFrom>
<Keyword>
<xsl:value-of select="Keyword"/>
</Keyword>
<DefaultPicUrl>&lt;a href="<xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)"/>"&gt;&lt;img src="<xsl:choose>
<xsl:when test="DefaultPicUrl !=''">
<xsl:if test="pe:IsStartWithhttp(DefaultPicUrl) = 'false'">
<xsl:value-of select="pe:UpLoadDir()"/>
</xsl:if>
<xsl:value-of select="DefaultPicUrl"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="pe:UpLoadDir()"/>nopic.gif</xsl:otherwise>
</xsl:choose>" alt="<xsl:value-of select="Title" />" border="0" /&gt;&lt;/a&gt;</DefaultPicUrl>
<PhotoUrl>
<xsl:choose>
<xsl:when test="PhotoUrl !=''">
<xsl:if test="pe:IsStartWithhttp(PhotoUrl) = 'false'">
<xsl:value-of select="pe:UpLoadDir()"/>
</xsl:if>
<xsl:value-of select="PhotoUrl"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="pe:UpLoadDir()"/>nopic.gif</xsl:otherwise>
</xsl:choose>
</PhotoUrl>
<PhotoIntro>
<xsl:value-of disable-output-escaping="yes" select="PhotoIntro"/>
</PhotoIntro>
<Stars>
<xsl:value-of select="Stars"/>
</Stars>
<LastHitTime>
<xsl:value-of select="LastHitTime"/>
</LastHitTime>
<InfoPath>&lt;a href="<xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)"/>" target="<xsl:choose>
<xsl:when test="$linkOpenType = 2">
<xsl:choose>
<xsl:when test="pe:GetNodeInfo(NodeID,'OpenType') = 0">_self</xsl:when>
<xsl:otherwise>_blank</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:when test="$linkOpenType = 1">_blank</xsl:when>
<xsl:when test="$linkOpenType = 0">_self</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$linkOpenType"/>
</xsl:otherwise>
</xsl:choose>"&gt;<xsl:value-of select="pe:CutText(pe:RemoveHtml(Title),$titleLength,'...')" />&lt;/a&gt;</InfoPath>
<NodePath>&lt;a href="<xsl:value-of select="pe:GetNodePath('true',NodeID)"/>"&gt;<xsl:value-of select="pe:GetNode(NodeID,'name')" />&lt;/a&gt;</NodePath>
</Table>
</xsl:for-each>
</NewDataSet>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<OutType>
</OutType>
<CacheTime>0</CacheTime>
<UsePage>
</UsePage>
<LabelSqlCount>select count(*) from PE_Nodes where ParentID = @parentId</LabelSqlCount>
<attributes>
<name>outputQty</name>
<datatype>supersql</datatype>
<default>10</default>
<intro>显示个数</intro>
</attributes>
<attributes>
<name>nodeArray</name>
<default>2</default>
<intro>子栏目ID</intro>
</attributes>
<attributes>
<name>parentId</name>
<default>2</default>
<intro>父栏目ID</intro>
</attributes>
<attributes>
<name>titleLength</name>
<default>20</default>
<intro>标题字符数</intro>
</attributes>
<attributes>
<name>hits</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>热门最小点击数</intro>
</attributes>
<attributes>
<name>eliteLevel</name>
<default>0</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>
@@ -0,0 +1,164 @@
<root>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetPicArticle.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<LabelSqlString><![CDATA[SELECT TOP @pagesize * FROM PE_CommonModel C INNER JOIN PE_U_Photo P ON (C.ItemID = P.ID) WHERE C.GeneralID NOT IN(SELECT TOP @startrow IC.GeneralID FROM PE_CommonModel IC INNER JOIN PE_U_Photo IT ON (IC.ItemID = IT.ID) WHERE IC.NodeID IN (@nodeArray) AND IC.Status = 99 AND IC.SigninType!=2 AND IC.EliteLevel >= @eliteLevel AND IC.Hits >= @hits ORDER BY IC.UpdateTime DESC) AND C.NodeID IN (@nodeArray) AND C.Status = 99 AND C.EliteLevel >= @eliteLevel AND C.Hits >= @hits ORDER BY C.UpdateTime DESC]]></LabelSqlString>
<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:param name="titleLength" />
<xsl:param name="linkOpenType" />
<xsl:output method="xml" />
<xsl:template match="/">
<NewDataSet>
<xsl:for-each select="NewDataSet/Table">
<Table>
<GeneralID>
<xsl:value-of select="GeneralID"/>
</GeneralID>
<NodeID>
<xsl:value-of select="NodeID"/>
</NodeID>
<ModelId>
<xsl:value-of select="ModelId"/>
</ModelId>
<ItemId>
<xsl:value-of select="ItemId"/>
</ItemId>
<TableName>
<xsl:value-of select="TableName"/>
</TableName>
<Inputer>
<xsl:value-of select="Inputer"/>
</Inputer>
<Hits>
<xsl:value-of select="Hits"/>
</Hits>
<DayHits>
<xsl:value-of select="DayHits"/>
</DayHits>
<WeekHits>
<xsl:value-of select="WeekHits"/>
</WeekHits>
<MonthHits>
<xsl:value-of select="MonthHits"/>
</MonthHits>
<UpdateTime>
<xsl:value-of select="pe:FormatDate(UpdateTime,'yyyy-mm-dd')"/>
</UpdateTime>
<CommentAudited>
<xsl:value-of select="CommentAudited"/>
</CommentAudited>
<Title>
<xsl:value-of select="pe:CutText(pe:RemoveHtml(Title),$titleLength,'...')" />
</Title>
<SoftVersion>
<xsl:value-of select="SoftVersion"/>
</SoftVersion>
<Author>
<xsl:value-of select="Author"/>
</Author>
<CopyFrom>
<xsl:value-of select="CopyFrom"/>
</CopyFrom>
<Keyword>
<xsl:value-of select="Keyword"/>
</Keyword>
<DefaultPicUrl>&lt;a href="<xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)"/>"&gt;&lt;img src="<xsl:choose>
<xsl:when test="DefaultPicUrl !=''">
<xsl:if test="pe:IsStartWithhttp(DefaultPicUrl) = 'false'">
<xsl:value-of select="pe:UpLoadDir()"/>
</xsl:if>
<xsl:value-of select="DefaultPicUrl"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="pe:UpLoadDir()"/>nopic.gif</xsl:otherwise>
</xsl:choose>" alt="<xsl:value-of select="Title" />" border="0" /&gt;&lt;/a&gt;</DefaultPicUrl>
<PhotoUrl>
<xsl:choose>
<xsl:when test="PhotoUrl !=''">
<xsl:if test="pe:IsStartWithhttp(PhotoUrl) = 'false'">
<xsl:value-of select="pe:UpLoadDir()"/>
</xsl:if>
<xsl:value-of select="PhotoUrl"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="pe:UpLoadDir()"/>nopic.gif</xsl:otherwise>
</xsl:choose>
</PhotoUrl>
<PhotoIntro>
<xsl:value-of disable-output-escaping="yes" select="PhotoIntro"/>
</PhotoIntro>
<Stars>
<xsl:value-of select="Stars"/>
</Stars>
<LastHitTime>
<xsl:value-of select="LastHitTime"/>
</LastHitTime>
<InfoPath>&lt;a href="<xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)"/>" target="<xsl:choose>
<xsl:when test="$linkOpenType = 2">
<xsl:choose>
<xsl:when test="pe:GetNodeInfo(NodeID,'OpenType') = 0">_self</xsl:when>
<xsl:otherwise>_blank</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:when test="$linkOpenType = 1">_blank</xsl:when>
<xsl:when test="$linkOpenType = 0">_self</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$linkOpenType"/>
</xsl:otherwise>
</xsl:choose>"&gt;<xsl:value-of select="pe:CutText(pe:RemoveHtml(Title),$titleLength,'...')" />&lt;/a&gt;</InfoPath>
<NodePath>&lt;a href="<xsl:value-of select="pe:GetNodePath('true',NodeID)"/>"&gt;<xsl:value-of select="pe:GetNode(NodeID,'name')" />&lt;/a&gt;</NodePath>
</Table>
</xsl:for-each>
</NewDataSet>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<OutType>
</OutType>
<CacheTime>0</CacheTime>
<UsePage>True</UsePage>
<LabelSqlCount><![CDATA[SELECT COUNT(IC.GeneralID) FROM PE_CommonModel IC INNER JOIN PE_U_Photo IT ON (IC.ItemID = IT.ID) WHERE IC.NodeID IN (@nodeArray) AND IC.Status = 99 AND IC.SigninType!=2 AND IC.EliteLevel >= @eliteLevel AND IC.Hits >= @hits]]></LabelSqlCount>
<attributes>
<name>outputQty</name>
<default>10</default>
<intro>显示个数</intro>
</attributes>
<attributes>
<name>nodeArray</name>
<default>2</default>
<intro>子栏目ID</intro>
</attributes>
<attributes>
<name>parentId</name>
<datatype>supersql</datatype>
<default>2</default>
<intro>父栏目ID{默认值;2,传入值:@RequestInt_Id}</intro>
</attributes>
<attributes>
<name>titleLength</name>
<default>20</default>
<intro>标题字符数</intro>
</attributes>
<attributes>
<name>hits</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>热门最小点击数</intro>
</attributes>
<attributes>
<name>eliteLevel</name>
<default>0</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>
@@ -0,0 +1,97 @@
<root>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<CacheTime>0</CacheTime>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelSqlString>SELECT TOP @outputQty * FROM PE_CommonModel C INNER JOIN PE_U_Article A ON (C.ItemID = A.ID) WHERE C.NodeID IN (@nodeArray) AND C.Status = 99 AND C.SigninType!=2 ORDER BY C.UpdateTime DESC
</LabelSqlString>
<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="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="eliteLevel"/><xsl:template match="/NewDataSet"><div class="childclass_main_box2"><div class="c_spacing"></div><div class="c_main_box"><div class="childclass_title"><div class="more"><a><xsl:attribute name="href"><xsl:value-of select="pe:GetNodePath('false',$parentId)"/></xsl:attribute>[更多]</a></div><a><xsl:attribute name="href"><xsl:value-of select="pe:GetNodePath('true',$parentId)"/></xsl:attribute><xsl:value-of select="pe:GetNode($parentId,'name')"/></a></div><div class="childclass_content"><ul><xsl:choose><xsl:when test="count(Table) = 0"><li style="color:red">本栏尚无内容!</li></xsl:when><xsl:otherwise><xsl:for-each select="Table"><li><xsl:choose><xsl:when test="$displayPropertyType='0'"></xsl:when><xsl:otherwise><xsl:choose><xsl:when test="pe:ConvertToInt($displayPropertyType)&gt;0"><xsl:choose><xsl:when test="Hits>pe:HitsOfHot()"><xsl:element name="img"><xsl:attribute name="src"><xsl:value-of select="pe:InstallDir()" />images/ontop<xsl:value-of select="$displayPropertyType" />.gif</xsl:attribute><xsl:attribute name="alt">热门<xsl:value-of select="pe:GetModelItemName(ModelID)"/></xsl:attribute></xsl:element></xsl:when><xsl:when test="EliteLevel>$eliteLevel"><xsl:element name="img"><xsl:attribute name="src"><xsl:value-of select="pe:InstallDir()" />images/elite<xsl:value-of select="$displayPropertyType" />.gif</xsl:attribute><xsl:attribute name="alt">推荐<xsl:value-of select="pe:GetModelItemName(ModelID)"/></xsl:attribute></xsl:element></xsl:when><xsl:otherwise><xsl:element name="img"><xsl:attribute name="src"><xsl:value-of select="pe:InstallDir()" />images/common<xsl:value-of select="$displayPropertyType" />.gif</xsl:attribute><xsl:attribute name="alt">普通<xsl:value-of select="pe:GetModelItemName(ModelID)"/></xsl:attribute></xsl:element></xsl:otherwise></xsl:choose></xsl:when><xsl:otherwise><xsl:element name="img"><xsl:attribute name="src"><xsl:value-of select="pe:InstallDir()" />images/<xsl:value-of select="$displayPropertyType" />.gif</xsl:attribute><xsl:attribute name="alt">普通<xsl:value-of select="pe:GetModelItemName(ModelID)"/></xsl:attribute></xsl:element></xsl:otherwise></xsl:choose></xsl:otherwise></xsl:choose><a><xsl:attribute name="href"><xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)" /></xsl:attribute><xsl:choose><xsl:when test="$linkOpenType='_blank'"><xsl:attribute name="target">_blank</xsl:attribute></xsl:when><xsl:when test="$linkOpenType='_parent'"><xsl:attribute name="target">_parent</xsl:attribute></xsl:when><xsl:when test="$linkOpenType='_top'"><xsl:attribute name="target">_top</xsl:attribute></xsl:when><xsl:otherwise><xsl:attribute name="target">_self</xsl:attribute></xsl:otherwise></xsl:choose><xsl:if test="$displayTips='true'"><xsl:attribute name="title">作者:<xsl:value-of select="Inputer"/><xsl:value-of select="'&#xD;'" />发表时间:<xsl:value-of select="pe:FormatDate(UpdateTime, 'yy年mm月dd日')" /><xsl:value-of select="'&#xD;'" />点击数:<xsl:value-of select="Hits"/></xsl:attribute></xsl:if><xsl:value-of select="pe:CutText(Title,$titleLength,'…')" /></a><xsl:if test="$displayHits='true'">(<xsl:value-of select="Hits"/>)</xsl:if><xsl:if test="$displayIncludePic='true'"><xsl:if test="IncludePic !='无'"><xsl:value-of select="IncludePic"/></xsl:if></xsl:if><xsl:if test="$displayAuthor='true'"><xsl:value-of select="Inputer"/></xsl:if><xsl:if test="$displayDateTime!='0'">(<xsl:value-of select="pe:FormatDate(UpdateTime, $displayDateTime)" />)</xsl:if><xsl:if test="$displayHotSign='true'"><xsl:if test="Hits>pe:HitsOfHot()"><img src="{pe:InstallDir()}images/hot.gif" /></xsl:if></xsl:if><xsl:if test="$displayNewSign='true'"><xsl:if test="2>pe:TimeSpan(UpdateTime,pe:TimeNow())"><img src="{pe:InstallDir()}images/new.gif" /></xsl:if></xsl:if></li></xsl:for-each></xsl:otherwise></xsl:choose></ul><div class="clearbox"></div></div><div class="childclass_bot"></div></div></div></xsl:template></xsl:transform>]]></LabelTemplate>
<attributes>
<name>outputQty</name>
<default>10</default>
<intro>显示个数</intro>
</attributes>
<attributes>
<name>nodeArray</name>
<default>1</default>
<intro>栏目ID</intro>
</attributes>
<attributes>
<name>parentId</name>
<default>0</default>
<intro>父栏目ID</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>
<default>0</default>
<intro>推荐优先级</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
@@ -0,0 +1,89 @@
<root>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<CacheTime>0</CacheTime>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelSqlString>SELECT TOP @outputQty * FROM PE_CommonModel C INNER JOIN PE_U_Article A ON (C.ItemID = A.ID) WHERE C.NodeID IN (@nodeArray) AND C.Status = 99 AND C.SigninType!=2 ORDER BY C.UpdateTime DESC</LabelSqlString>
<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="titleLength"/>
<xsl:param name="hits"/>
<xsl:param name="eliteLevel"/>
<xsl:param name="linkOpenType" />
<xsl:template match="/NewDataSet">
<div class="childclass_main_box3">
<div class="c_spacing">
</div>
<div class="childclass_title_border">
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('true',$parentId)"/>
</xsl:attribute>
<xsl:value-of select="pe:GetNode($parentId,'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>
<xsl:choose>
<xsl:when test="count(Table) = 0">
<li style="color:red">本栏尚无内容!</li>
</xsl:when>
<xsl:otherwise>{PE.DataSource id="InfoList" datasource="显示文章栏目循环列表信息" nodeArray="<xsl:value-of select="arrChildID"/>" parentId="<xsl:value-of select="$parentId"/>" titleLength="<xsl:value-of select="$titleLength"/>" hits="<xsl:value-of select="$hits"/>" eliteLevel="<xsl:value-of select="$eliteLevel"/>" linkOpenType="<xsl:value-of select="$linkOpenType"/>" xslt="true" /}{PE.Repeat id="InfoList<xsl:value-of select="NodeID"/>" loop="10"}<div class="s_classlist_text">
<div class="s_classlist_text_r">{PE.field id="InfoList" fieldname="Hits" /}</div>
<div class="s_classlist_text_c">{PE.field id="InfoList" fieldname="UpdateTime" /}</div>
<div class="s_classlist_text_l">{PE.field id="InfoList" fieldname="IncludePic" /}[{PE.field id="InfoList" fieldname="NodePath" /}][{PE.field id="InfoList" fieldname="InfoPath" /}]</div>
</div>{/PE.Repeat}</xsl:otherwise>
</xsl:choose>
</div>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<attributes>
<name>outputQty</name>
<default>10</default>
<intro>显示个数</intro>
</attributes>
<attributes>
<name>nodeArray</name>
<default>1</default>
<intro>栏目ID</intro>
</attributes>
<attributes>
<name>parentId</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>父栏目ID</intro>
</attributes>
<attributes>
<name>titleLength</name>
<default>20</default>
<intro>标题最多字符数</intro>
</attributes>
<attributes>
<name>hits</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>热门最小点击数</intro>
</attributes>
<attributes>
<name>eliteLevel</name>
<default>0</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>
@@ -0,0 +1,244 @@
<root>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<CacheTime>0</CacheTime>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelSqlString>SELECT TOP @outputQty * FROM PE_CommonModel C INNER JOIN PE_U_Article A ON (C.ItemID = A.ID) WHERE C.NodeID IN (@nodeArray) AND C.SigninType!=2 AND C.Status = 99 ORDER BY C.UpdateTime DESC</LabelSqlString>
<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="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">
<div class="childclass_main_box">
<div class="childclass_title">
<div class="more">
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('false',$parentId)"/>
</xsl:attribute>[更多]</a>
</div>
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('true',$parentId)"/>
</xsl:attribute>
<xsl:value-of select="pe:GetNode($parentId,'name')"/>
</a>
</div>
<div class="childclass_content">
<ul>
<xsl:choose>
<xsl:when test="count(Table) = 0">
<li style="color:red">本栏尚无内容!</li>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="Table">
<li>
<xsl:choose>
<xsl:when test="$displayPropertyType = 0">
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="pe:ConvertToInt($displayPropertyType) &gt; 0">
<xsl:choose>
<xsl:when test="Hits>pe:HitsOfHot()">
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:value-of select="pe:InstallDir()" />images/ontop<xsl:value-of select="$displayPropertyType" />.gif</xsl:attribute>
<xsl:attribute name="alt">热门<xsl:value-of select="pe:GetModelItemName(ModelID)"/>
</xsl:attribute>
</xsl:element>
</xsl:when>
<xsl:when test="EliteLevel>$eliteLevel">
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:value-of select="pe:InstallDir()" />images/elite<xsl:value-of select="$displayPropertyType" />.gif</xsl:attribute>
<xsl:attribute name="alt">推荐<xsl:value-of select="pe:GetModelItemName(ModelID)"/>
</xsl:attribute>
</xsl:element>
</xsl:when>
<xsl:otherwise>
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:value-of select="pe:InstallDir()" />images/common<xsl:value-of select="$displayPropertyType" />.gif</xsl:attribute>
<xsl:attribute name="alt">普通<xsl:value-of select="pe:GetModelItemName(ModelID)"/>
</xsl:attribute>
</xsl:element>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:value-of select="pe:InstallDir()" />images/<xsl:value-of select="$displayPropertyType" />
</xsl:attribute>
<xsl:attribute name="alt">普通<xsl:value-of select="pe:GetModelItemName(ModelID)"/>
</xsl:attribute>
</xsl:element>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)" />
</xsl:attribute>
<xsl:attribute name="target">
<xsl:choose>
<xsl:when test="$linkOpenType = 2">
<xsl:choose>
<xsl:when test="pe:GetNodeInfo(NodeID,'OpenType') = 0">_self</xsl:when>
<xsl:otherwise>_blank</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:when test="$linkOpenType = 1">_blank</xsl:when>
<xsl:when test="$linkOpenType = 0">_self</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$linkOpenType"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:if test="$displayTips = 'true'">
<xsl:attribute name="title">作者:<xsl:value-of select="Inputer"/>
<xsl:value-of select="'&#xD;'" />发表时间:<xsl:value-of select="pe:FormatDate(UpdateTime, 'yy年mm月dd日')" />
<xsl:value-of select="'&#xD;'" />点击数:<xsl:value-of select="Hits"/>
</xsl:attribute>
</xsl:if>
<xsl:value-of select="pe:CutText(Title,$titleLength,'…')" />
</a>
<xsl:if test="$displayHits = 'true'"><xsl:value-of select="Hits"/></xsl:if>
<xsl:if test="$displayIncludePic = 'true'">
<xsl:if test="IncludePic != '无'">
<xsl:value-of select="IncludePic"/>
</xsl:if>
</xsl:if>
<xsl:if test="$displayAuthor = 'true'">
<xsl:value-of select="Inputer"/>
</xsl:if>
<xsl:if test="$displayDateTime != 0">(<xsl:value-of select="pe:FormatDate(UpdateTime, $displayDateTime)" />)</xsl:if>
<xsl:if test="$displayHotSign = 'true'">
<xsl:if test="Hits>pe:HitsOfHot()">
<img src="{pe:InstallDir()}images/hot.gif" />
</xsl:if>
</xsl:if>
<xsl:if test="$displayNewSign='true'">
<xsl:if test="2>pe:TimeSpan(UpdateTime,pe:TimeNow())">
<img src="{pe:InstallDir()}images/new.gif" />
</xsl:if>
</xsl:if>
</li>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
</ul>
<div class="clearbox">
</div>
</div>
<div class="childclass_bot">
</div>
</div>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<attributes>
<name>outputQty</name>
<default>10</default>
<intro>显示个数</intro>
</attributes>
<attributes>
<name>nodeArray</name>
<default>1</default>
<intro>栏目ID</intro>
</attributes>
<attributes>
<name>parentId</name>
<default>0</default>
<intro>父栏目ID</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>
@@ -0,0 +1,233 @@
<root>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<CacheTime>0</CacheTime>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelSqlString>SELECT TOP @outputQty * FROM PE_CommonModel C INNER JOIN PE_U_Article A ON (C.ItemID = A.ID) WHERE C.NodeID IN (@nodeArray) AND C.Status = 99 AND C.SigninType!=2 ORDER BY C.UpdateTime DESC</LabelSqlString>
<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="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="eliteLevel"/>
<xsl:template match="/NewDataSet">
<div class="childclasslist_box">
<div class="c_main_box">
<div class="childclass_title">
<span class="childclass_pic">
</span>
<xsl:value-of select="pe:GetNode($parentId,'name')"/>
</div>
<div class="childclass_content">
<ul>
<xsl:choose>
<xsl:when test="count(Table) = 0">
<li style="color:red">本栏尚无内容!</li>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="Table">
<li>
<xsl:choose>
<xsl:when test="$displayPropertyType = 0">
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="pe:ConvertToInt($displayPropertyType)&gt;0">
<xsl:choose>
<xsl:when test="Hits>pe:HitsOfHot()">
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:value-of select="pe:InstallDir()" />images/ontop<xsl:value-of select="$displayPropertyType" />.gif</xsl:attribute>
<xsl:attribute name="alt">热门<xsl:value-of select="pe:GetModelItemName(ModelID)"/>
</xsl:attribute>
</xsl:element>
</xsl:when>
<xsl:when test="EliteLevel>$eliteLevel">
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:value-of select="pe:InstallDir()" />images/elite<xsl:value-of select="$displayPropertyType" />.gif</xsl:attribute>
<xsl:attribute name="alt">推荐<xsl:value-of select="pe:GetModelItemName(ModelID)"/>
</xsl:attribute>
</xsl:element>
</xsl:when>
<xsl:otherwise>
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:value-of select="pe:InstallDir()" />images/common<xsl:value-of select="$displayPropertyType" />.gif</xsl:attribute>
<xsl:attribute name="alt">普通<xsl:value-of select="pe:GetModelItemName(ModelID)"/>
</xsl:attribute>
</xsl:element>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:value-of select="pe:InstallDir()" />images/<xsl:value-of select="$displayPropertyType" />.gif</xsl:attribute>
<xsl:attribute name="alt">普通<xsl:value-of select="pe:GetModelItemName(ModelID)"/>
</xsl:attribute>
</xsl:element>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)" />
</xsl:attribute>
<xsl:attribute name="target">
<xsl:choose>
<xsl:when test="$linkOpenType = 2">
<xsl:choose>
<xsl:when test="pe:GetNodeInfo(NodeID,'OpenType') = 0">_self</xsl:when>
<xsl:otherwise>_blank</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:when test="$linkOpenType = 1">_blank</xsl:when>
<xsl:when test="$linkOpenType = 0">_self</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$linkOpenType"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:if test="$displayTips = 'true'">
<xsl:attribute name="title">作者:<xsl:value-of select="Inputer"/>
<xsl:value-of select="'&#xD;'" />发表时间:<xsl:value-of select="pe:FormatDate(UpdateTime, 'yy年mm月dd日')" />
<xsl:value-of select="'&#xD;'" />点击数:<xsl:value-of select="Hits"/>
</xsl:attribute>
</xsl:if>
<xsl:value-of select="pe:CutText(Title,$titleLength,'…')" />
</a>
<xsl:if test="$displayHits = 'true'">(<xsl:value-of select="Hits"/>)</xsl:if>
<xsl:if test="$displayIncludePic = 'true'">
<xsl:if test="IncludePic !='无'">
<xsl:value-of select="IncludePic"/>
</xsl:if>
</xsl:if>
<xsl:if test="$displayAuthor = 'true'">
<xsl:value-of select="Inputer"/>
</xsl:if>
<xsl:if test="$displayDateTime != 0">(<xsl:value-of select="pe:FormatDate(UpdateTime, $displayDateTime)" />)</xsl:if>
<xsl:if test="$displayHotSign = 'true'">
<xsl:if test="Hits>pe:HitsOfHot()">
<img src="{pe:InstallDir()}images/hot.gif" />
</xsl:if>
</xsl:if>
<xsl:if test="$displayNewSign='true'">
<xsl:if test="2>pe:TimeSpan(UpdateTime,pe:TimeNow())">
<img src="{pe:InstallDir()}images/new.gif" />
</xsl:if>
</xsl:if>
</li>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
</ul>
<div class="clearbox">
</div>
</div>
<div class="childclass_bot">
</div>
</div>
</div>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<attributes>
<name>outputQty</name>
<default>10</default>
<intro>显示个数</intro>
</attributes>
<attributes>
<name>nodeArray</name>
<default>1</default>
<intro>栏目ID</intro>
</attributes>
<attributes>
<name>parentId</name>
<default>0</default>
<intro>父栏目ID</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>打开方式</intro>
</attributes>
<attributes>
<name>hits</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>热门最小点击数</intro>
</attributes>
<attributes>
<name>eliteLevel</name>
<default>0</default>
<intro>推荐优先级</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
@@ -0,0 +1,183 @@
<root>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetPicArticle.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<LabelSqlString><![CDATA[SELECT TOP @outputQty * FROM PE_CommonModel C INNER JOIN PE_U_Article A ON (C.ItemID = A.ID) WHERE C.NodeID IN (@nodeArray) AND C.Status = 99 AND C.SigninType!=2 AND C.EliteLevel >= @eliteLevel AND C.Hits >= @hits ORDER BY C.UpdateTime DESC
]]></LabelSqlString>
<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:param name="titleLength" />
<xsl:param name="linkOpenType" />
<xsl:output method="xml" />
<xsl:template match="/">
<NewDataSet>
<xsl:for-each select="NewDataSet/Table">
<Table>
<GeneralID>
<xsl:value-of select="GeneralID"/>
</GeneralID>
<NodeID>
<xsl:value-of select="NodeID"/>
</NodeID>
<ModelId>
<xsl:value-of select="ModelId"/>
</ModelId>
<ItemId>
<xsl:value-of select="ItemId"/>
</ItemId>
<TableName>
<xsl:value-of select="TableName"/>
</TableName>
<Inputer>
<xsl:value-of select="Inputer"/>
</Inputer>
<Hits>
<xsl:value-of select="Hits"/>
</Hits>
<DayHits>
<xsl:value-of select="DayHits"/>
</DayHits>
<WeekHits>
<xsl:value-of select="WeekHits"/>
</WeekHits>
<MonthHits>
<xsl:value-of select="MonthHits"/>
</MonthHits>
<UpdateTime>
<xsl:value-of select="pe:FormatDate(UpdateTime,'yyyy-mm-dd')"/>
</UpdateTime>
<CommentAudited>
<xsl:value-of select="CommentAudited"/>
</CommentAudited>
<Title>
<xsl:value-of select="pe:CutText(pe:RemoveHtml(Title),$titleLength,'…')" />
</Title>
<TitleIntact>
<xsl:value-of select="TitleIntact"/>
</TitleIntact>
<Subheading>
<xsl:value-of select="Subheading"/>
</Subheading>
<Author>
<xsl:value-of select="Author"/>
</Author>
<CopyFrom>
<xsl:value-of select="CopyFrom"/>
</CopyFrom>
<Keyword>
<xsl:value-of select="Keyword"/>
</Keyword>
<IncludePic>
<xsl:if test="IncludePic !='无'">
<xsl:value-of select="IncludePic"/>
</xsl:if>
</IncludePic>
<TitleFontColor>
<xsl:value-of select="TitleFontColor"/>
</TitleFontColor>
<TitleFontType>
<xsl:value-of select="TitleFontType"/>
</TitleFontType>
<Intro>
<xsl:value-of select="Intro"/>
</Intro>
<DefaultPicUrl>
<xsl:choose>
<xsl:when test="DefaultPicUrl !=''">
<xsl:if test="pe:IsStartWithhttp(DefaultPicUrl)='false'">
<xsl:value-of select="pe:UpLoadDir()"/>
</xsl:if>
<xsl:value-of select="DefaultPicUrl"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="pe:UpLoadDir()"/>nopic.gif
</xsl:otherwise>
</xsl:choose>
</DefaultPicUrl>
<Content>
<xsl:value-of disable-output-escaping="yes" select="Content"/>
</Content>
<Stars>
<xsl:value-of select="Stars"/>
</Stars>
<InfoPath>
&lt;a href="<xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)"/>" linkOpenType="<xsl:choose>
<xsl:when test="$linkOpenType = 2">
<xsl:choose>
<xsl:when test="pe:GetNodeInfo(NodeID,'OpenType') = 0">_self</xsl:when>
<xsl:otherwise>_blank</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:when test="$linkOpenType = 1">_blank</xsl:when>
<xsl:when test="$linkOpenType = 0">_self</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$linkOpenType"/>
</xsl:otherwise>
</xsl:choose>"&gt;
<xsl:value-of select="pe:CutText(pe:RemoveHtml(Title),$titleLength,'…')" />
&lt;/a&gt;
</InfoPath>
<NodePath>
&lt;a href="<xsl:value-of select="pe:GetNodePath('true',NodeID)"/>"&gt;
<xsl:value-of select="pe:GetNode(NodeID,'name')" />
&lt;/a&gt;
</NodePath>
<NodeUrl>
<xsl:value-of select="pe:GetNodePath('true',NodeID)"/>
</NodeUrl>
<LinkUrl>
<xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)"/>
</LinkUrl>
</Table>
</xsl:for-each>
</NewDataSet>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<OutType>sin</OutType>
<CacheTime>0</CacheTime>
<UsePage>
</UsePage>
<LabelSqlCount>SELECT COUNT(*) from PE_Nodes where ParentID = @parentId</LabelSqlCount>
<attributes>
<name>outputQty</name>
<default>10</default>
<intro>显示个数</intro>
</attributes>
<attributes>
<name>nodeArray</name>
<default>1</default>
<intro>子栏目ID</intro>
</attributes>
<attributes>
<name>parentId</name>
<default>1</default>
<intro>父栏目ID</intro>
</attributes>
<attributes>
<name>titleLength</name>
<default>20</default>
<intro>标题字符数</intro>
</attributes>
<attributes>
<name>eliteLevel</name>
<default>0</default>
<intro>推荐级别</intro>
</attributes>
<attributes>
<name>hits</name>
<datatype>supersql</datatype>
<default>0</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>
@@ -0,0 +1,184 @@
<root>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetPicArticle.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<LabelSqlString><![CDATA[SELECT TOP @pagesize * FROM PE_CommonModel C INNER JOIN PE_U_Article A ON (C.ItemID = A.ID) WHERE C.GeneralID NOT IN(SELECT TOP @startrow IC.GeneralID FROM PE_CommonModel IC INNER JOIN PE_U_Article IA ON (IC.ItemID = IA.ID) WHERE IC.NodeID IN (@nodeArray) AND IC.Status = 99 AND IC.EliteLevel >= @eliteLevel AND IC.Hits >= @hits ORDER BY IC.UpdateTime DESC) AND C.NodeID IN (@nodeArray) AND C.Status = 99 AND C.SigninType!=2 AND C.EliteLevel >= @eliteLevel AND C.Hits >= @hits ORDER BY C.UpdateTime DESC
]]></LabelSqlString>
<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:param name="titleLength" />
<xsl:param name="linkOpenType" />
<xsl:output method="xml" />
<xsl:template match="/">
<NewDataSet>
<xsl:for-each select="NewDataSet/Table">
<Table>
<GeneralID>
<xsl:value-of select="GeneralID"/>
</GeneralID>
<NodeID>
<xsl:value-of select="NodeID"/>
</NodeID>
<ModelId>
<xsl:value-of select="ModelId"/>
</ModelId>
<ItemId>
<xsl:value-of select="ItemId"/>
</ItemId>
<TableName>
<xsl:value-of select="TableName"/>
</TableName>
<Inputer>
<xsl:value-of select="Inputer"/>
</Inputer>
<Hits>
<xsl:value-of select="Hits"/>
</Hits>
<DayHits>
<xsl:value-of select="DayHits"/>
</DayHits>
<WeekHits>
<xsl:value-of select="WeekHits"/>
</WeekHits>
<MonthHits>
<xsl:value-of select="MonthHits"/>
</MonthHits>
<UpdateTime>
<xsl:value-of select="pe:FormatDate(UpdateTime,'yyyy-mm-dd')"/>
</UpdateTime>
<CommentAudited>
<xsl:value-of select="CommentAudited"/>
</CommentAudited>
<Title>
<xsl:value-of select="Title" />
</Title>
<TitleIntact>
<xsl:value-of select="TitleIntact"/>
</TitleIntact>
<Subheading>
<xsl:value-of select="Subheading"/>
</Subheading>
<Author>
<xsl:value-of select="Author"/>
</Author>
<CopyFrom>
<xsl:value-of select="CopyFrom"/>
</CopyFrom>
<Keyword>
<xsl:value-of select="Keyword"/>
</Keyword>
<IncludePic>
<xsl:if test="IncludePic !='无'">
<xsl:value-of select="IncludePic"/>
</xsl:if>
</IncludePic>
<TitleFontColor>
<xsl:value-of select="TitleFontColor"/>
</TitleFontColor>
<TitleFontType>
<xsl:value-of select="TitleFontType"/>
</TitleFontType>
<Intro>
<xsl:value-of select="Intro"/>
</Intro>
<DefaultPicUrl>
<xsl:choose>
<xsl:when test="DefaultPicUrl !=''">
<xsl:if test="pe:IsStartWithhttp(DefaultPicUrl)='false'">
<xsl:value-of select="pe:UpLoadDir()"/>
</xsl:if>
<xsl:value-of select="DefaultPicUrl"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="pe:UpLoadDir()"/>nopic.gif
</xsl:otherwise>
</xsl:choose>
</DefaultPicUrl>
<Content>
<xsl:value-of disable-output-escaping="yes" select="Content"/>
</Content>
<Stars>
<xsl:value-of select="Stars"/>
</Stars>
<InfoPath>
&lt;a href="<xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)"/>" target="<xsl:choose>
<xsl:when test="$linkOpenType = 2">
<xsl:choose>
<xsl:when test="pe:GetNodeInfo(NodeID,'OpenType') = 0">_self</xsl:when>
<xsl:otherwise>_blank</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:when test="$linkOpenType = 1">_blank</xsl:when>
<xsl:when test="$linkOpenType = 0">_self</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$linkOpenType"/>
</xsl:otherwise>
</xsl:choose>"&gt;
<xsl:value-of select="pe:CutText(pe:RemoveHtml(Title),$titleLength,'…')" />
&lt;/a&gt;
</InfoPath>
<NodePath>
&lt;a href="<xsl:value-of select="pe:GetNodePath('true',NodeID)"/>"&gt;
<xsl:value-of select="pe:GetNode(NodeID,'name')" />
&lt;/a&gt;
</NodePath>
<NodeUrl>
<xsl:value-of select="pe:GetNodePath('true',NodeID)"/>
</NodeUrl>
<LinkUrl>
<xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)"/>
</LinkUrl>
</Table>
</xsl:for-each>
</NewDataSet>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<OutType>sin</OutType>
<CacheTime>0</CacheTime>
<UsePage>True</UsePage>
<LabelSqlCount><![CDATA[SELECT COUNT(IC.GeneralID) FROM PE_CommonModel IC INNER JOIN PE_U_Article IA ON (IC.ItemID = IA.ID) WHERE IC.NodeID IN (@nodeArray) AND IC.SigninType!=2 AND IC.Status = 99 AND IC.EliteLevel >= @eliteLevel AND IC.Hits >= @hits
]]></LabelSqlCount>
<attributes>
<name>outputQty</name>
<default>10</default>
<intro>显示个数</intro>
</attributes>
<attributes>
<name>nodeArray</name>
<default>1</default>
<intro>子栏目ID</intro>
</attributes>
<attributes>
<name>parentId</name>
<default>1</default>
<intro>父栏目ID</intro>
</attributes>
<attributes>
<name>titleLength</name>
<default>20</default>
<intro>标题字符数</intro>
</attributes>
<attributes>
<name>eliteLevel</name>
<datatype>supersql</datatype>
<default>1</default>
<intro>推荐级别</intro>
</attributes>
<attributes>
<name>hits</name>
<datatype>supersql</datatype>
<default>1</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>
@@ -0,0 +1,96 @@
<root>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<CacheTime>0</CacheTime>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelSqlString>SELECT TOP @outputQty * FROM PE_CommonModel C INNER JOIN PE_U_Soft S ON (C.ItemID = S.ID) WHERE C.NodeID IN (@nodeArray) AND C.Status = 99 AND C.SigninType!=2 ORDER BY C.UpdateTime DESC</LabelSqlString>
<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="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"><div class="childclass_main_box"><div class="childclass_title"><div class="more"><a><xsl:attribute name="href"><xsl:value-of select="pe:GetNodePath('false',$parentId)"/></xsl:attribute>[更多]</a></div><a><xsl:attribute name="href"><xsl:value-of select="pe:GetNodePath('true',$parentId)"/></xsl:attribute><xsl:value-of select="pe:GetNode($parentId,'name')"/></a></div><div class="childclass_content"><ul><xsl:choose><xsl:when test="count(Table) = 0"><li style="color:red">本栏尚无内容!</li></xsl:when><xsl:otherwise><xsl:for-each select="Table"><li><xsl:choose><xsl:when test="$displayPropertyType = 0"></xsl:when><xsl:otherwise><xsl:choose><xsl:when test="pe:ConvertToInt($displayPropertyType) &gt; 0"><xsl:choose><xsl:when test="Hits>pe:HitsOfHot()"><xsl:element name="img"><xsl:attribute name="src"><xsl:value-of select="pe:InstallDir()" />images/ontop<xsl:value-of select="$displayPropertyType" />.gif</xsl:attribute><xsl:attribute name="alt">热门<xsl:value-of select="pe:GetModelItemName(ModelID)"/></xsl:attribute></xsl:element></xsl:when><xsl:when test="EliteLevel>$eliteLevel"><xsl:element name="img"><xsl:attribute name="src"><xsl:value-of select="pe:InstallDir()" />images/elite<xsl:value-of select="$displayPropertyType" />.gif</xsl:attribute><xsl:attribute name="alt">推荐<xsl:value-of select="pe:GetModelItemName(ModelID)"/></xsl:attribute></xsl:element></xsl:when><xsl:otherwise><xsl:element name="img"><xsl:attribute name="src"><xsl:value-of select="pe:InstallDir()" />images/common<xsl:value-of select="$displayPropertyType" />.gif</xsl:attribute><xsl:attribute name="alt">普通<xsl:value-of select="pe:GetModelItemName(ModelID)"/></xsl:attribute></xsl:element></xsl:otherwise></xsl:choose></xsl:when><xsl:otherwise><xsl:element name="img"><xsl:attribute name="src"><xsl:value-of select="pe:InstallDir()" />images/<xsl:value-of select="$displayPropertyType" /></xsl:attribute><xsl:attribute name="alt">普通<xsl:value-of select="pe:GetModelItemName(ModelID)"/></xsl:attribute></xsl:element></xsl:otherwise></xsl:choose></xsl:otherwise></xsl:choose><a><xsl:attribute name="href"><xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)" /></xsl:attribute><xsl:attribute name="target"><xsl:choose><xsl:when test="$linkOpenType = 2"><xsl:choose><xsl:when test="pe:GetNodeInfo(NodeID,'OpenType') = 0">_self</xsl:when><xsl:otherwise>_blank</xsl:otherwise></xsl:choose></xsl:when><xsl:when test="$linkOpenType = 1">_blank</xsl:when><xsl:when test="$linkOpenType = 0">_self</xsl:when><xsl:otherwise><xsl:value-of select="$linkOpenType"/></xsl:otherwise></xsl:choose></xsl:attribute><xsl:if test="$displayTips = 'true'"><xsl:attribute name="title">作者:<xsl:value-of select="Inputer"/><xsl:value-of select="'&#xD;'" />发表时间:<xsl:value-of select="pe:FormatDate(UpdateTime, 'yy年mm月dd日')" /><xsl:value-of select="'&#xD;'" />点击数:<xsl:value-of select="Hits"/></xsl:attribute></xsl:if><xsl:value-of select="pe:CutText(Title,$titleLength,'…')" /></a><xsl:if test="$displayHits = 'true'">(<xsl:value-of select="Hits"/>)</xsl:if><xsl:if test="$displayIncludePic = 'true'"><xsl:if test="IncludePic != '无'"><xsl:value-of select="IncludePic"/></xsl:if></xsl:if><xsl:if test="$displayAuthor = 'true'"><xsl:value-of select="Inputer"/></xsl:if><xsl:if test="$displayDateTime != 0">(<xsl:value-of select="pe:FormatDate(UpdateTime, $displayDateTime)" />)</xsl:if><xsl:if test="$displayHotSign = 'true'"><xsl:if test="Hits>pe:HitsOfHot()"><img src="{pe:InstallDir()}images/hot.gif" /></xsl:if></xsl:if><xsl:if test="$displayNewSign = 'true'"><xsl:if test="2>pe:TimeSpan(UpdateTime,pe:TimeNow())"><img src="{pe:InstallDir()}images/new.gif" /></xsl:if></xsl:if></li></xsl:for-each></xsl:otherwise></xsl:choose></ul><div class="clearbox"></div></div><div class="childclass_bot"></div></div></xsl:template></xsl:transform>]]></LabelTemplate>
<attributes>
<name>outputQty</name>
<default>10</default>
<intro>显示个数</intro>
</attributes>
<attributes>
<name>nodeArray</name>
<default>1</default>
<intro>栏目ID</intro>
</attributes>
<attributes>
<name>parentId</name>
<default>0</default>
<intro>父栏目ID</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>打开方式</intro>
</attributes>
<attributes>
<name>hits</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>热门最小点击数</intro>
</attributes>
<attributes>
<name>eliteLevel</name>
<default>0</default>
<intro>推荐优先级</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
@@ -0,0 +1,34 @@
<root>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<CacheTime>0</CacheTime>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelSqlString>SELECT TOP @outputQty * FROM PE_CommonModel C INNER JOIN PE_U_Soft S ON (C.ItemID = S.ID) WHERE C.NodeID IN (@nodeArray) AND C.Status = 99 AND C.SigninType!=2 ORDER BY C.UpdateTime DESC</LabelSqlString>
<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="titleLength"/><xsl:template match="/NewDataSet"><div class="childclasslist_box"><div class="c_main_box"><div class="class_title"><span class="childclass_pic"></span><xsl:value-of select="pe:GetNode($parentId,'name')"/></div><xsl:choose><xsl:when test="count(Table) = 0"><li style="color:red">本栏尚无内容!</li></xsl:when><xsl:otherwise><xsl:for-each select="Table"><div class="childclasslist_title"><div class="childclasslist_time">更新时间:<xsl:value-of select="/NewDataSet/Table/UpdateTime"/></div><a><xsl:attribute name="href"><xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)"/></xsl:attribute><xsl:value-of select="Title"/></a></div><div class="childclasslist_text"><div class="c_content_overflow">[简介]<xsl:value-of disable-output-escaping="yes" select="SoftIntro" /></div></div><div class="childclasslist_type">大小:<span class="s_font_weight"><xsl:value-of select="SoftSize"/></span> <span class="s_font_weight">|</span> 平台:<span class="s_font_weight"><xsl:value-of select="OperatingSystem"/></span> <span class="s_font_weight">|</span> 授权:<span class="s_font_red"><xsl:value-of select="CopyrightType"/></span> <span class="s_font_weight">|</span> 软件评级:<span class="s_font_green"><xsl:value-of select="Stars"/></span><br />版本:<span class="s_font_weight"><xsl:value-of select="SoftVersion"/></span> <span class="s_font_weight">|</span> 语言:<span class="s_font_weight"><xsl:value-of select="SoftLanguage"/></span> <span class="s_font_weight">|</span> 人气:<span class="s_font_red"><xsl:value-of select="Hits"/></span> <span class="s_font_weight">|</span> 软件类别:<span class="s_font_green"><xsl:value-of select="SoftType"/></span></div></xsl:for-each></xsl:otherwise></xsl:choose></div></div></xsl:template></xsl:transform>]]></LabelTemplate>
<attributes>
<name>outputQty</name>
<default>10</default>
<intro>显示个数</intro>
</attributes>
<attributes>
<name>nodeArray</name>
<default>1</default>
<intro>栏目ID</intro>
</attributes>
<attributes>
<name>parentId</name>
<default>0</default>
<intro>父栏目ID</intro>
</attributes>
<attributes>
<name>titleLength</name>
<default>20</default>
<intro>标题最多字符数</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
@@ -0,0 +1,190 @@
<root>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetPicArticle.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<LabelSqlString><![CDATA[SELECT TOP @outputQty * FROM PE_CommonModel C INNER JOIN PE_U_Soft S ON (C.ItemID = S.ID) WHERE C.NodeID IN (@nodeArray) AND C.Status = 99 AND C.SigninType!=2 AND C.EliteLevel >= @eliteLevel AND C.Hits >= @hits ORDER BY C.UpdateTime DESC
]]></LabelSqlString>
<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:param name="titleLength" />
<xsl:param name="linkOpenType" />
<xsl:output method="xml" />
<xsl:template match="/">
<NewDataSet>
<xsl:for-each select="NewDataSet/Table">
<Table>
<GeneralID>
<xsl:value-of select="GeneralID"/>
</GeneralID>
<NodeID>
<xsl:value-of select="NodeID"/>
</NodeID>
<ModelId>
<xsl:value-of select="ModelId"/>
</ModelId>
<ItemId>
<xsl:value-of select="ItemId"/>
</ItemId>
<TableName>
<xsl:value-of select="TableName"/>
</TableName>
<Inputer>
<xsl:value-of select="Inputer"/>
</Inputer>
<Hits>
<xsl:value-of select="Hits"/>
</Hits>
<DayHits>
<xsl:value-of select="DayHits"/>
</DayHits>
<WeekHits>
<xsl:value-of select="WeekHits"/>
</WeekHits>
<MonthHits>
<xsl:value-of select="MonthHits"/>
</MonthHits>
<UpdateTime>
<xsl:value-of select="pe:FormatDate(UpdateTime,'yyyy-mm-dd')"/>
</UpdateTime>
<CommentAudited>
<xsl:value-of select="CommentAudited"/>
</CommentAudited>
<Title>
<xsl:value-of select="pe:CutText(pe:RemoveHtml(Title),$titleLength,'…')" />
</Title>
<SoftVersion>
<xsl:value-of select="SoftVersion"/>
</SoftVersion>
<Author>
<xsl:value-of select="Author"/>
</Author>
<CopyFrom>
<xsl:value-of select="CopyFrom"/>
</CopyFrom>
<DemoUrl>
<xsl:value-of select="DemoUrl"/>
</DemoUrl>
<Keyword>
<xsl:value-of select="Keyword"/>
</Keyword>
<OperatingSystem>
<xsl:value-of select="OperatingSystem"/>
</OperatingSystem>
<SoftType>
<xsl:value-of select="SoftType"/>
</SoftType>
<SoftLanguage>
<xsl:value-of select="SoftLanguage"/>
</SoftLanguage>
<CopyrightType>
<xsl:value-of select="CopyrightType"/>
</CopyrightType>
<RegUrl>
<xsl:value-of select="RegUrl"/>
</RegUrl>
<SoftIntro>
<xsl:value-of disable-output-escaping="yes" select="SoftIntro"/>
</SoftIntro>
<DefaultPicUrl>
<xsl:choose>
<xsl:when test="DefaultPicUrl !=''">
<xsl:if test="pe:IsStartWithhttp(DefaultPicUrl)='false'">
<xsl:value-of select="pe:UpLoadDir()"/>
</xsl:if>
<xsl:value-of select="DefaultPicUrl"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="pe:UpLoadDir()"/>nopic.gif
</xsl:otherwise>
</xsl:choose>
</DefaultPicUrl>
<SoftSize>
<xsl:value-of select="SoftSize"/>
</SoftSize>
<DownloadUrl>
<xsl:value-of select="DownloadUrl"/>
</DownloadUrl>
<Stars>
<xsl:value-of select="Stars"/>
</Stars>
<DecompressPassword>
<xsl:value-of select="DecompressPassword"/>
</DecompressPassword>
<LastHitTime>
<xsl:value-of select="LastHitTime"/>
</LastHitTime>
<InfoPath>
&lt;a href="<xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)"/>" target="<xsl:choose>
<xsl:when test="$linkOpenType = 2">
<xsl:choose>
<xsl:when test="pe:GetNodeInfo(NodeID,'OpenType') = 0">_self</xsl:when>
<xsl:otherwise>_blank</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:when test="$linkOpenType = 1">_blank</xsl:when>
<xsl:when test="$linkOpenType = 0">_self</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$linkOpenType"/>
</xsl:otherwise>
</xsl:choose>"&gt;
<xsl:value-of select="pe:CutText(pe:RemoveHtml(Title),$titleLength,'…')" />
&lt;/a&gt;
</InfoPath>
<NodePath>
&lt;a href="<xsl:value-of select="pe:GetNodePath('true',NodeID)"/>"&gt;
<xsl:value-of select="pe:GetNode(NodeID,'name')" />
&lt;/a&gt;
</NodePath>
</Table>
</xsl:for-each>
</NewDataSet>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<OutType>sin</OutType>
<CacheTime>0</CacheTime>
<UsePage>
</UsePage>
<LabelSqlCount>SELECT COUNT(*) from PE_Nodes where ParentID = @parentId</LabelSqlCount>
<attributes>
<name>outputQty</name>
<default>10</default>
<intro>显示个数</intro>
</attributes>
<attributes>
<name>nodeArray</name>
<default>3</default>
<intro>子栏目ID</intro>
</attributes>
<attributes>
<name>parentId</name>
<default>3</default>
<intro>父栏目ID</intro>
</attributes>
<attributes>
<name>titleLength</name>
<default>20</default>
<intro>标题字符数</intro>
</attributes>
<attributes>
<name>eliteLevel</name>
<default>0</default>
<intro>推荐级别</intro>
</attributes>
<attributes>
<name>hits</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>热门最小点击数</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<attributes>
<name>linkOpenType</name>
<datatype>supersql</datatype>
<default>2</default>
<intro>链接打开方式</intro>
</attributes>
</root>
@@ -0,0 +1,191 @@
<root>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetPicArticle.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<LabelSqlString><![CDATA[SELECT TOP @pagesize * FROM PE_CommonModel C INNER JOIN PE_U_Soft S ON (C.ItemID = S.ID) WHERE C.GeneralID NOT IN(SELECT TOP @startrow IC.GeneralID FROM PE_CommonModel IC INNER JOIN PE_U_Soft IT ON (IC.ItemID = IT.ID) WHERE IC.NodeID IN (@nodeArray) AND IC.Status = 99 AND IC.SigninType!=2 AND IC.EliteLevel >= @eliteLevel AND IC.Hits >= @hits ORDER BY IC.UpdateTime DESC) AND C.NodeID IN (@nodeArray) AND C.Status = 99 AND C.EliteLevel >= @eliteLevel AND C.Hits >= @hits ORDER BY C.UpdateTime DESC
]]></LabelSqlString>
<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:param name="titleLength" />
<xsl:param name="linkOpenType" />
<xsl:output method="xml" />
<xsl:template match="/">
<NewDataSet>
<xsl:for-each select="NewDataSet/Table">
<Table>
<GeneralID>
<xsl:value-of select="GeneralID"/>
</GeneralID>
<NodeID>
<xsl:value-of select="NodeID"/>
</NodeID>
<ModelId>
<xsl:value-of select="ModelId"/>
</ModelId>
<ItemId>
<xsl:value-of select="ItemId"/>
</ItemId>
<TableName>
<xsl:value-of select="TableName"/>
</TableName>
<Inputer>
<xsl:value-of select="Inputer"/>
</Inputer>
<Hits>
<xsl:value-of select="Hits"/>
</Hits>
<DayHits>
<xsl:value-of select="DayHits"/>
</DayHits>
<WeekHits>
<xsl:value-of select="WeekHits"/>
</WeekHits>
<MonthHits>
<xsl:value-of select="MonthHits"/>
</MonthHits>
<UpdateTime>
<xsl:value-of select="pe:FormatDate(UpdateTime,'yyyy-mm-dd')"/>
</UpdateTime>
<CommentAudited>
<xsl:value-of select="CommentAudited"/>
</CommentAudited>
<Title>
<xsl:value-of select="pe:CutText(pe:RemoveHtml(Title),$titleLength,'…')" />
</Title>
<SoftVersion>
<xsl:value-of select="SoftVersion"/>
</SoftVersion>
<Author>
<xsl:value-of select="Author"/>
</Author>
<CopyFrom>
<xsl:value-of select="CopyFrom"/>
</CopyFrom>
<DemoUrl>
<xsl:value-of select="DemoUrl"/>
</DemoUrl>
<Keyword>
<xsl:value-of select="Keyword"/>
</Keyword>
<OperatingSystem>
<xsl:value-of select="OperatingSystem"/>
</OperatingSystem>
<SoftType>
<xsl:value-of select="SoftType"/>
</SoftType>
<SoftLanguage>
<xsl:value-of select="SoftLanguage"/>
</SoftLanguage>
<CopyrightType>
<xsl:value-of select="CopyrightType"/>
</CopyrightType>
<RegUrl>
<xsl:value-of select="RegUrl"/>
</RegUrl>
<SoftIntro>
<xsl:value-of disable-output-escaping="yes" select="SoftIntro"/>
</SoftIntro>
<DefaultPicUrl>
<xsl:choose>
<xsl:when test="DefaultPicUrl !=''">
<xsl:if test="pe:IsStartWithhttp(DefaultPicUrl)='false'">
<xsl:value-of select="pe:UpLoadDir()"/>
</xsl:if>
<xsl:value-of select="DefaultPicUrl"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="pe:UpLoadDir()"/>nopic.gif
</xsl:otherwise>
</xsl:choose>
</DefaultPicUrl>
<SoftSize>
<xsl:value-of select="SoftSize"/>
</SoftSize>
<DownloadUrl>
<xsl:value-of select="DownloadUrl"/>
</DownloadUrl>
<Stars>
<xsl:value-of select="Stars"/>
</Stars>
<DecompressPassword>
<xsl:value-of select="DecompressPassword"/>
</DecompressPassword>
<LastHitTime>
<xsl:value-of select="LastHitTime"/>
</LastHitTime>
<InfoPath>
&lt;a href="<xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)"/>" target="<xsl:choose>
<xsl:when test="$linkOpenType = 2">
<xsl:choose>
<xsl:when test="pe:GetNodeInfo(NodeID,'OpenType') = 0">_self</xsl:when>
<xsl:otherwise>_blank</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:when test="$linkOpenType = 1">_blank</xsl:when>
<xsl:when test="$linkOpenType = 0">_self</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$linkOpenType"/>
</xsl:otherwise>
</xsl:choose>"&gt;
<xsl:value-of select="pe:CutText(pe:RemoveHtml(Title),$titleLength,'…')" />
&lt;/a&gt;
</InfoPath>
<NodePath>
&lt;a href="<xsl:value-of select="pe:GetNodePath('true',NodeID)"/>"&gt;
<xsl:value-of select="pe:GetNode(NodeID,'name')" />
&lt;/a&gt;
</NodePath>
</Table>
</xsl:for-each>
</NewDataSet>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<OutType>
</OutType>
<CacheTime>0</CacheTime>
<UsePage>True</UsePage>
<LabelSqlCount><![CDATA[SELECT COUNT(IC.GeneralID) FROM PE_CommonModel IC INNER JOIN PE_U_Soft IT ON (IC.ItemID = IT.ID) WHERE IC.NodeID IN (@nodeArray) AND IC.Status = 99 AND IC.SigninType!=2 AND IC.EliteLevel >= @eliteLevel AND IC.Hits >= @hits
]]></LabelSqlCount>
<attributes>
<name>outputQty</name>
<default>10</default>
<intro>显示个数</intro>
</attributes>
<attributes>
<name>nodeArray</name>
<default>3</default>
<intro>子栏目ID</intro>
</attributes>
<attributes>
<name>parentId</name>
<default>3</default>
<intro>父栏目ID</intro>
</attributes>
<attributes>
<name>titleLength</name>
<default>20</default>
<intro>标题字符数</intro>
</attributes>
<attributes>
<name>eliteLevel</name>
<default>0</default>
<intro>推荐级别</intro>
</attributes>
<attributes>
<name>hits</name>
<datatype>supersql</datatype>
<default>0</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>
@@ -0,0 +1,47 @@
<root>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/PE_Path.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelSqlString>SELECT NodeID,NodeName,ShowOnList_Parent FROM PE_Nodes WHERE ParentID = @nodeId AND NodeType = 1 AND PurviewType != 3 ORDER BY OrderID ASC</LabelSqlString>
<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:template match="/">
<xsl:choose>
<xsl:when test="count(/NewDataSet/Table) = 0">
<li style="color:red">找不到相关分类</li>
</xsl:when>
<xsl:otherwise>
<ul>
<xsl:for-each select="/NewDataSet/Table">
<xsl:if test="ShowOnList_Parent='true'">
<li>
<img src="{pe:InstallDir()}images/tree_folder4.gif" />
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('false',NodeID)" />
</xsl:attribute>
<xsl:value-of select="NodeName"/>
</a>
</li>
{PE.Label id="子栏目分类" nodeId="<xsl:value-of select="NodeID"/>"/}
</xsl:if>
</xsl:for-each>
</ul>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<attributes>
<name>nodeId</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>节点ID</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
@@ -0,0 +1,57 @@
<root>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/PE_Path.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelSqlString>SELECT NodeID,NodeName,Child,Depth FROM PE_Nodes WHERE ParentID = @nodeId AND PurviewType != 3 AND NodeType != 3</LabelSqlString>
<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="nodeId"/>
<xsl:param name="depth"/>
<xsl:template match="/">
<xsl:choose>
<xsl:when test="count(/NewDataSet/Table) = 0">
<xsl:text disable-output-escaping="yes">&lt;option value=</xsl:text>
<xsl:value-of select="$nodeId"/>
<xsl:text disable-output-escaping="yes">&gt;</xsl:text>
<xsl:value-of select="pe:GetNode($nodeId,'name')"/>
<xsl:text disable-output-escaping="yes">&lt;/option&gt;</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text disable-output-escaping="yes">&lt;option value=</xsl:text>
<xsl:value-of select="$nodeId"/>
<xsl:text disable-output-escaping="yes">&gt;</xsl:text>
<xsl:value-of select="pe:GetNode($nodeId,'name')"/>
<xsl:text disable-output-escaping="yes">&lt;/option&gt;</xsl:text>
<xsl:for-each select="/NewDataSet/Table">
<xsl:text disable-output-escaping="yes">&lt;option value=</xsl:text>
<xsl:value-of select="NodeID"/>
<xsl:text disable-output-escaping="yes">&gt;</xsl:text>
<xsl:text disable-output-escaping="yes">&amp;nbsp;&amp;nbsp;</xsl:text>
<xsl:value-of select="NodeName"/>
<xsl:text disable-output-escaping="yes">&lt;/option&gt;</xsl:text>
<xsl:if test="Child&gt;0 and Depth&lt;$depth">
{PE.Label id="子栏目分类下拉列表选项" nodeId="<xsl:value-of select="NodeID"/>" depth="<xsl:value-of select="$depth"/>"/}
</xsl:if>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<attributes>
<name>nodeId</name>
<default>1</default>
<intro>节点ID</intro>
</attributes>
<attributes>
<name>depth</name>
<default>5</default>
<intro>节点深度</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
@@ -0,0 +1,47 @@
<root>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/PE_Path.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelSqlString>SELECT NodeID,NodeName,ShowOnList_Parent FROM PE_Nodes WHERE ParentID = @nodeId AND NodeType = 1 AND PurviewType != 3 ORDER BY OrderID ASC</LabelSqlString>
<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:template match="/">
<xsl:choose>
<xsl:when test="count(/NewDataSet/Table) = 0">
<li style="color:red">找不到相关分类</li>
</xsl:when>
<xsl:otherwise>
<ul>
<xsl:for-each select="/NewDataSet/Table">
<xsl:if test="ShowOnList_Parent='true'">
<li>
<img src="{pe:InstallDir()}images/tree_folder4.gif" />
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('false',NodeID)" />
</xsl:attribute>
<xsl:value-of select="NodeName"/>
</a>
</li>
{PE.Label id="子栏目导航" nodeId="<xsl:value-of select="NodeID"/>"/}
</xsl:if>
</xsl:for-each>
</ul>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<attributes>
<name>nodeId</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>节点ID</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
@@ -0,0 +1,49 @@
<root>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetPicArticle.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<LabelSqlString>SELECT TOP @pagesize PE_Nodes.* FROM PE_Nodes WHERE NodeID NOT IN (SELECT TOP @startrow NodeID FROM PE_Nodes WHERE ParentID = @parentId AND NodeType=1 AND ShowOnList_Parent=1 AND PurviewType != 3 ORDER BY OrderID) AND (ParentID = @parentId) AND NodeType=1 AND ShowOnList_Parent=1 AND PurviewType != 3 ORDER BY OrderID</LabelSqlString>
<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:param name="parentId"/>
<xsl:output method="xml" />
<xsl:template match="/">
<NewDataSet>
<xsl:for-each select="NewDataSet/Table">
<Table>
<NodeID>
<xsl:value-of select="NodeID"/>
</NodeID>
<NodeName>
<xsl:value-of select="NodeName"/>
</NodeName>
<MoreLink>
&lt;a href="<xsl:value-of select="pe:GetNodePath('false',NodeID)"/>" target="_blank"&gt;[更多] &lt;/a&gt;
</MoreLink>
<NodeLink>
&lt;a href="<xsl:value-of select="pe:GetNodePath('true',NodeID)"/>" target="_blank"&gt;<xsl:value-of select="pe:GetNode(NodeID,'name')"/> &lt;/a&gt;
</NodeLink>
<ParentNodePath>
&lt;a href="<xsl:value-of select="pe:GetNodePath('true',$parentId)"/>"&gt;<xsl:value-of select="pe:GetNode($parentId,'name')"/>&lt;/a&gt;
</ParentNodePath>
</Table>
</xsl:for-each>
</NewDataSet>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<OutType>sin</OutType>
<CacheTime>0</CacheTime>
<attributes>
<name>parentId</name>
<default>1</default>
<intro>父栏目ID</intro>
</attributes>
<UsePage>True</UsePage>
<LabelSqlCount>SELECT COUNT(*) FROM PE_Nodes WHERE ParentID = @parentId AND NodeType=1 AND ShowOnList_Parent=1 AND PurviewType != 3 </LabelSqlCount>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetSlidePicProduct.gif</LabelImage>
<LabelIntro>根栏目导航标签</LabelIntro>
<LabelSqlString>SELECT TOP @outputQty * FROM PE_Nodes WHERE ParentID = 0 AND ShowOnMenu = 1 AND PurviewType != 3 ORDER BY RootID</LabelSqlString>
<LabelTemplate>
<![CDATA[<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet 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="titleLength" />
<xsl:param name="splitChar" />
<xsl:template match="/NewDataSet/Table">
<a>
<xsl:choose>
<!--转向链接-->
<xsl:when test="NodeType = 4">
<xsl:attribute name="target">
<xsl:choose>
<xsl:when test="pe:GetNodeInfo(NodeID,'OpenType') = 0">_self</xsl:when>
<xsl:otherwise>_blank</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:attribute name="href">
<xsl:value-of select="LinkUrl"/>
</xsl:attribute>
</xsl:when>
<!--正常节点-->
<xsl:otherwise>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('false',NodeID)" />
</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
<xsl:attribute name="target">
<xsl:choose>
<xsl:when test="pe:GetNodeInfo(NodeID,'OpenType') = 0">_self</xsl:when>
<xsl:otherwise>_blank</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:if test="Tips != ''">
<xsl:attribute name="title">
<xsl:value-of select="Tips" />
</xsl:attribute>
</xsl:if>
<xsl:value-of select="pe:CutText(NodeName,$titleLength,'')" />
</a>
<xsl:if test="position() != last()">
<xsl:value-of select="$splitChar" />
</xsl:if>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
<attributes>
<name>outputQty</name>
<datatype>supersql</datatype>
<default>40</default>
<intro>显示栏目的数量</intro>
</attributes>
<attributes>
<name>titleLength</name>
<datatype>supersql</datatype>
<default>20</default>
<intro>栏目名称长度</intro>
</attributes>
<OutType>sin</OutType>
<attributes>
<name>splitChar</name>
<datatype>supersql</datatype>
<default>
</default>
<intro>栏目名称之间的分隔符</intro>
</attributes>
<CacheTime>720</CacheTime>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
</root>
@@ -0,0 +1,82 @@
<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('false',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>
@@ -0,0 +1,90 @@
<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>
</UsePage>
<LabelSqlString>SELECT NodeID,arrChildID FROM PE_Nodes WHERE NodeID = @parentId AND PurviewType != 3 </LabelSqlString>
<LabelSqlCount>SELECT COUNT(*) from PE_Nodes where ParentID = @parentId</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="hits"/>
<xsl:param name="eliteLevel"/>
<xsl:param name="linkOpenType" />
<xsl:template match="/NewDataSet">
<div class="s_childclass_main_box3">
<div class="c_spacing">
</div>
<div class="childclass_title_border">
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('true',$parentId)"/>
</xsl:attribute>
<xsl:value-of select="pe:GetNode($parentId,'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>
<xsl:choose>
<xsl:when test="count(Table) = 0">
<li style="color:red">本栏尚无内容!</li>
</xsl:when>
<xsl:otherwise>{PE.DataSource id="InfoList" datasource="显示软件栏目循环列表信息_分页" page="true" pagesize="<xsl:value-of select="$outputQty" />" urlpage="true" nodeArray="<xsl:value-of select="Table/arrChildID"/>" parentId="<xsl:value-of select="$parentId"/>" titleLength="<xsl:value-of select="$titleLength"/>" hits="<xsl:value-of select="$hits"/>" eliteLevel="<xsl:value-of select="$eliteLevel"/>" linkOpenType="<xsl:value-of select="$linkOpenType"/>" xslt="true" /}{PE.Repeat id="InfoList" loop="1000"}<div class="s_classlist_text">
<div class="s_classlist_text_r">{PE.field id="InfoList" fieldname="SoftSize" /}</div>
<div class="s_classlist_text_c">{PE.field id="InfoList" fieldname="UpdateTime" /}</div>
<div class="s_classlist_text_l">{PE.field id="InfoList" fieldname="CopyrightType" /}[{PE.field id="InfoList" fieldname="NodePath" /}]{PE.field id="InfoList" fieldname="InfoPath" /}</div>
</div>{/PE.Repeat}</xsl:otherwise>
</xsl:choose>
<div class="clearbox">
</div>
</div>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<attributes>
<name>titleLength</name>
<default>20</default>
<intro>标题最多字符数</intro>
</attributes>
<attributes>
<name>hits</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>最小热门点击数</intro>
</attributes>
<attributes>
<name>eliteLevel</name>
<default>0</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>
<attributes>
<name>outputQty</name>
<datatype>supersql</datatype>
<default>10</default>
<intro>每页分页数大小</intro>
</attributes>
</root>
@@ -0,0 +1,124 @@
<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>
@@ -0,0 +1,92 @@
<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>
</UsePage>
<LabelSqlString>SELECT TOP 1 * FROM PE_Nodes WHERE NodeID = @parentId AND PurviewType != 3 </LabelSqlString>
<LabelSqlCount>SELECT COUNT(*) from PE_Nodes where ParentID = @parentId</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="titleLength"/>
<xsl:param name="hits"/>
<xsl:param name="eliteLevel"/>
<xsl:param name="nodeArray"/>
<xsl:param name="outputQty"/>
<xsl:param name="linkOpenType" />
<xsl:template match="/NewDataSet">
<div class="childclasslist_box">
<div class="c_main_box">
<div class="class_title">
<span class="childclass_pic">
</span>
<xsl:value-of select="pe:GetNode($parentId,'name')"/>
</div>
<xsl:choose>
<xsl:when test="count(Table) = 0">
<li style="color:red">本栏尚无内容!</li>
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="$nodeArray = 0">{PE.DataSource id="InfoList" datasource="显示软件栏目循环列表信息_分页" page="true" pagesize="<xsl:value-of select="$outputQty"/>" urlpage="true" nodeArray="<xsl:value-of select="Table/arrChildID"/>" parentId="<xsl:value-of select="$parentId"/>" titleLength="<xsl:value-of select="$titleLength"/>" hits="<xsl:value-of select="$hits"/>" eliteLevel="<xsl:value-of select="$eliteLevel"/>" linkOpenType="<xsl:value-of select="$linkOpenType"/>" xslt="true" /}</xsl:when>
<xsl:otherwise>{PE.DataSource id="InfoList" datasource="显示软件栏目循环列表信息_分页" page="true" pagesize="<xsl:value-of select="$outputQty"/>" urlpage="true" nodeArray="<xsl:value-of select="$nodeArray"/>" parentId="<xsl:value-of select="$parentId"/>" titleLength="<xsl:value-of select="$titleLength"/>" hits="<xsl:value-of select="$hits"/>" eliteLevel="<xsl:value-of select="$eliteLevel"/>" linkOpenType="<xsl:value-of select="$linkOpenType"/>" xslt="true" /}</xsl:otherwise>
</xsl:choose>{PE.Repeat id="InfoList" loop="1000"}<div class="childclasslist_title">
<div class="childclasslist_time">更新时间:{PE.field id="InfoList" fieldname="UpdateTime" /}</div>{PE.field id="InfoList" fieldname="InfoPath" /}</div>
<div class="childclasslist_text">
<div class="c_content_overflow">[简介]{PE.field id="InfoList" fieldname="SoftIntro" /}</div>
</div>
<div class="childclasslist_type">大小:<span class="s_font_weight">{PE.field id="InfoList" fieldname="SoftSize" /}</span> <span class="s_font_weight">|</span> 平台:<span class="s_font_weight">{PE.field id="InfoList" fieldname="OperatingSystem" /}</span> <span class="s_font_weight">|</span> 授权:<span class="s_font_red">{PE.field id="InfoList" fieldname="CopyrightType" /}</span> <span class="s_font_weight">|</span> 软件评级:<span class="s_font_green">{PE.field id="InfoList" fieldname="Stars" /}</span>
<br />版本:<span class="s_font_weight">{PE.field id="InfoList" fieldname="SoftVersion" /}</span> <span class="s_font_weight">|</span> 语言:<span class="s_font_weight">{PE.field id="InfoList" fieldname="SoftLanguage" /}</span> <span class="s_font_weight">|</span> 人气:<span class="s_font_red">{PE.field id="InfoList" fieldname="Hits" /}</span> <span class="s_font_weight">|</span> 软件类别:<span class="s_font_green">{PE.field id="InfoList" fieldname="SoftType" /}</span>
</div>{/PE.Repeat}</xsl:otherwise>
</xsl:choose>
</div>
</div>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<attributes>
<name>titleLength</name>
<default>20</default>
<intro>标题最多字符数</intro>
</attributes>
<attributes>
<name>hits</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>最小热门点击数</intro>
</attributes>
<attributes>
<name>eliteLevel</name>
<default>0</default>
<intro>推荐优先级</intro>
</attributes>
<attributes>
<name>nodeArray</name>
<default>0</default>
<intro>栏目数组 0-所有 1,2,3-指定的栏目数ID</intro>
</attributes>
<attributes>
<name>outputQty</name>
<default>12</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>
@@ -0,0 +1,46 @@
<root>
<LabelType>栏目类</LabelType>
<LabelImage>../../Admin/Images/LabelIco/PE_Path.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelSqlString>SELECT TOP @outputQty NodeID,NodeName,ShowOnList_Index FROM PE_Nodes WHERE ParentID = 0 AND PurviewType != 3 ORDER BY RootID</LabelSqlString>
<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:template match="/">
<xsl:choose>
<xsl:when test="count(/NewDataSet/Table) = 0">
<li style="color:red">找不到相关分类</li>
</xsl:when>
<xsl:otherwise>
<ul>
<xsl:for-each select="/NewDataSet/Table">
<xsl:if test="ShowOnList_Index = 'true'">
<li>
<img src="{pe:InstallDir()}images/tree_folder4.gif" />
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('false',NodeID)" />
</xsl:attribute>
<xsl:value-of select="NodeName"/>
</a>
</li>
</xsl:if>
</xsl:for-each>
</ul>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<attributes>
<name>outputQty</name>
<datatype>supersql</datatype>
<default>1000</default>
<intro>输出数量</intro>
</attributes>
</root>