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,106 @@
<?xml version="1.0"?>
<root>
<LabelType>样式类</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelSqlString>@queryCond</LabelSqlString>
<UsePage>True</UsePage>
<LabelSqlCount>@queryCount</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="titleLength"/>
<xsl:param name="keyword"/>
<xsl:param name="tableName"/>
<xsl:template match="/NewDataSet">
<xsl:choose>
<xsl:when test="count(Table)=0">
<ul>
<li style="color:red">没有相关搜索结果!</li>
</ul>
</xsl:when>
<xsl:otherwise>
<ul>
<xsl:for-each select="Table">
<li>
<a> <xsl:attribute name="href">
<xsl:value-of select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle,HtmlPageName)"/>
</xsl:attribute>
<span class="Tag_Content">
<xsl:value-of disable-output-escaping="yes" select="pe:HighLightText(pe:CutText(Title,$titleLength,'…'),$keyword,'color:red')"/>
</span>
</a>
<xsl:text disable-output-escaping="yes">&amp;nbsp;&amp;nbsp;</xsl:text>
<xsl:value-of select="pe:FormatDate(UpdateTime,'yyyy-mm-dd hh:ff')"/>
<br />
<span class="Tag_Content">Tag:</span>{PE.Label id="取得内容Tag" itemId="<xsl:value-of select="GeneralID"/>" /}
<br />
<span class="Tag_Content">栏目:</span>
<a> <xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('false',NodeID)"/>
</xsl:attribute>
<xsl:value-of select="pe:GetNode(NodeID,'name')"/>
</a>
<xsl:if test="$tableName !=''">
<xsl:choose>
<xsl:when test="$tableName='PE_U_Article'">
<br />
<xsl:value-of select="Intro"/>
</xsl:when>
<xsl:when test="$tableName='PE_U_Photo'">
<br />
<xsl:value-of select="PhotoIntro"/>
</xsl:when>
<xsl:when test="$tableName='PE_U_Soft'">
<br />
<xsl:value-of select="SoftIntro"/>
</xsl:when>
<xsl:when test="$tableName='PE_CommonProduct'">
<br />
<xsl:value-of select="ProductIntro"/>
</xsl:when>
<xsl:otherwise>
<br />
<xsl:value-of select="Intro"/>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
<br />
<br />
</li>
</xsl:for-each>
</ul>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<attributes>
<name>queryCond</name>
<datatype>supersql</datatype>
<default>SELECT TOP 10 * FROM PE_CommonModel</default>
<intro>查询条件</intro>
</attributes>
<attributes>
<name>queryCount</name>
<datatype>supersql</datatype>
<default>
</default>
<intro>统计条件</intro>
</attributes>
<attributes>
<name>titleLength</name>
<default>20</default>
<intro>标题最多显示字符数</intro>
</attributes>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<attributes>
<name>tableName</name>
<datatype>supersql</datatype>
<default>tableName</default>
<intro>所属表名</intro>
</attributes>
<IsXsltCountSql>false</IsXsltCountSql>
</root>