📄 显示软件栏目循环列表信息_分页.config
字号:
<root>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelType>数据源标签</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetPicArticle.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<LabelSqlString><![CDATA[SELECT TOP @pagesize C.*,S.* FROM PE_CommonModel C INNER JOIN @tablename S ON C.GeneralID=S.ID WHERE C.GeneralID NOT IN(SELECT TOP @startrow IC.GeneralID FROM PE_CommonModel IC INNER JOIN @tablename IT ON IC.GeneralID=IT.ID WHERE IC.NodeID in (@arraynodeid) AND IC.TableName='@tablename' AND IC.Status=99 AND IC.EliteLevel>=@elitelevel AND IC.Hits>=@hits order by IC.UpdateTime DESC) AND C.NodeID in (@arraynodeid) AND C.TableName='@tablename' 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="titlelen" />
<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(pe:EncodeText(Title,'htmldecode')),$titlelen,'...')" />
</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 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>
<a href="<xsl:value-of select="pe:GetInfoPath(GeneralID)"/>">
<xsl:value-of select="pe:CutText(pe:RemoveHtml(pe:EncodeText(Title,'htmldecode')),$titlelen,'...')" />
</a>
</InfoPath>
<NodePath>
<a href="<xsl:value-of select="pe:GetNodePath('true',NodeID)"/>">
<xsl:value-of select="pe:GetNode(NodeID,'name')" />
</a>
</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 @tablename IT ON IC.GeneralID=IT.ID WHERE IC.NodeID in (@arraynodeid) AND IC.TableName='@tablename' AND IC.Status=99 AND IC.EliteLevel>=@elitelevel AND IC.Hits>=@hits
]]></LabelSqlCount>
<attributes>
<name>shownum</name>
<default>10</default>
<intro>显示个数</intro>
</attributes>
<attributes>
<name>arraynodeid</name>
<default>3</default>
<intro>子栏目ID</intro>
</attributes>
<attributes>
<name>parentid</name>
<default>3</default>
<intro>父栏目ID</intro>
</attributes>
<attributes>
<name>titlelen</name>
<default>20</default>
<intro>标题字符数</intro>
</attributes>
<attributes>
<name>tablename</name>
<default>PE_U_Soft</default>
<intro>所属表名</intro>
</attributes>
<attributes>
<name>elitelevel</name>
<default>0</default>
<intro>推荐级别</intro>
</attributes>
<attributes>
<name>hits</name>
<default>0</default>
<intro>热门最小点击数</intro>
</attributes>
</root>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -