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,56 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<LabelType>博客类</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<Version officialVersion="" modifiedVersions="2515" compatibleVersion="" />
<attributes>
<name>blogID</name>
<datatype>supersql</datatype>
<default>
</default>
<intro>博客ID</intro>
</attributes>
<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="titleLength" />
<xsl:template match="/NewDataSet">
<xsl:choose>
<xsl:when test="count(/NewDataSet/Table) = 0">
<li class="nolistdata" >还没有博文!</li>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="/NewDataSet/Table">
<li>
<span>
<a href="{pe:InstallDir()}Blog/Item.aspx?id={BlogID}&amp;logId={LogID}" title="{Title}" target="_blank">
<xsl:value-of select="pe:CutText(Title,$titleLength,'…')" />
</a>
</span>
</li>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<attributes>
<name>number</name>
<datatype>supersql</datatype>
<default>10</default>
<intro>显示数量</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString><![CDATA[SELECT TOP @number * FROM PE_BG_log WHERE BlogID = '@blogID' AND State=1 ORDER BY Hits DESC]]></LabelSqlString>
<attributes>
<name>titleLength</name>
<datatype>int</datatype>
<default>50</default>
<intro>标题长度</intro>
</attributes>
</root>