first commit
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
<root>
|
||||
<LabelType>其他类</LabelType>
|
||||
<LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
|
||||
<LabelIntro>用户排名列表</LabelIntro>
|
||||
<OutType>sin</OutType>
|
||||
<LabelDataType>sql_sysquery</LabelDataType>
|
||||
<attributes>
|
||||
<name>outputQty</name>
|
||||
<default>10</default>
|
||||
<intro>列表数量</intro>
|
||||
</attributes>
|
||||
<LabelSqlString>SELECT TOP @outputQty * FROM PE_Users INNER JOIN PE_UserGroups ON PE_Users.GroupID = PE_UserGroups.GroupID WHERE Status=0 ORDER BY PE_Users.PassedItems DESC, PE_Users.JoinTime 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:template match="/">
|
||||
<div>
|
||||
<li>
|
||||
<xsl:text disable-output-escaping="yes">用户名 &nbsp;&nbsp;文章数</xsl:text>
|
||||
</li>
|
||||
<xsl:for-each select="/NewDataSet/Table">
|
||||
<li>
|
||||
<xsl:value-of select="UserName"/> <xsl:text disable-output-escaping="yes">&nbsp;&nbsp;</xsl:text>[<xsl:value-of select="PassedItems"/>]</li>
|
||||
</xsl:for-each>
|
||||
</div>
|
||||
<div style="text-align:right;">
|
||||
<a>
|
||||
<xsl:attribute name="href">{PE.SiteConfig.applicationpath/}Common/UsersList.aspx</xsl:attribute>更多</a>
|
||||
<xsl:text disable-output-escaping="yes">&nbsp;&nbsp;&nbsp;&nbsp;</xsl:text>
|
||||
</div>
|
||||
</xsl:template>
|
||||
</xsl:transform>]]>
|
||||
</LabelTemplate>
|
||||
<CacheTime>0</CacheTime>
|
||||
<EnabelAjax>False</EnabelAjax>
|
||||
<IsXsltSql>false</IsXsltSql>
|
||||
<IsXsltCountSql>false</IsXsltCountSql>
|
||||
</root>
|
||||
Reference in New Issue
Block a user