Files
ningbo/动易的标签库/标签库/WAP类/Wap评论列表.config
T
2026-08-31 16:22:00 +08:00

44 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<root>
<LabelType>WAP类</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<Version officialVersion="" modifiedVersions="3506" compatibleVersion="" />
<attributes>
<name>WapArticleId</name>
<datatype>sql.int</datatype>
<default>-1</default>
<intro>wap内容ID</intro>
</attributes>
<UsePage>True</UsePage>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT TOP @pagesize * FROM PE_Comment WHERE CommentID NOT IN (SELECT TOP @startrow CommentID FROM PE_Comment WHERE WapId = @WapArticleId AND Status=1 AND CommentType=2 ORDER BY UpdateTime DESC) AND WapId= @WapArticleId AND Status=1 AND CommentType=2 ORDER BY UpdateTime DESC</LabelSqlString>
<LabelSqlCount>SELECT COUNT(*) FROM PE_Comment WHERE WapId= @WapArticleId AND Status=1 AND CommentType=2</LabelSqlCount>
<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:param name="GeneralID" />
<xsl:output method="xml" />
<xsl:template match="/NewDataSet/Table">
<p>
<xsl:choose>
<xsl:when test="normalize-space(UserName)=''">
手机网友
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="UserName"/>
</xsl:otherwise>
</xsl:choose>
<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
<xsl:value-of select="pe:FormatDate(UpdateTime,'yy-mm-dd hh:ff')"/>
<br />
<xsl:value-of select="Content"/>
<br />
</p>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
</root>