?? 全站最新推薦.config
字號:
?<root>
<LabelType>列表標簽</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetPicProduct.gif</LabelImage>
<LabelIntro>全站最新推薦</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelSqlString>SELECT TOP @shownum C.GeneralID,C.Title,C.UpdateTime,N.NodeName FROM PE_CommonModel C LEFT JOIN PE_Nodes N ON C.NodeID=N.NodeID WHERE C.Status = 99 AND C.EliteLevel >= @elitelevel 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:output method="html" />
<xsl:param name="titlelen" />
<xsl:param name="showupdatetime" />
<xsl:param name="showpic" />
<xsl:param name="shownodename" />
<xsl:param name="opentype" />
<xsl:param name="nodeopentype" />
<xsl:param name="span_classname" />
<xsl:template match="/">
<xsl:if test="count(/NewDataSet/Table)=0" >
<ul>
<li>沒有相關內容!</li>
</ul>
</xsl:if>
<ul>
<xsl:for-each select="/NewDataSet/Table">
<li>
<xsl:if test="$showpic = 'true'">
<span>
<xsl:attribute name="class">
<xsl:value-of select="$span_classname" />
</xsl:attribute>
</span>
</xsl:if>
<xsl:if test="$shownodename= 'true'">
[
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetNodePath('true',NodeID)" />
</xsl:attribute>
<xsl:if test="$nodeopentype!=''">
<xsl:attribute name="target">
<xsl:value-of select="$nodeopentype" />
</xsl:attribute>
</xsl:if>
<xsl:value-of select="NodeName" />
</a>
]
</xsl:if>
<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetInfoPath(GeneralID)" />
</xsl:attribute>
<xsl:if test="$opentype!=''">
<xsl:attribute name="target">
<xsl:value-of select="$opentype" />
</xsl:attribute>
</xsl:if>
<xsl:value-of disable-output-escaping="yes" select="pe:CutText(pe:RemoveHtml(pe:EncodeText(Title,'htmldecode')),$titlelen,'...')" />
</a>
<xsl:if test="$showupdatetime = 'true'">
<xsl:value-of select="UpdateTime" />
</xsl:if>
</li>
</xsl:for-each>
</ul>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<CacheTime>
</CacheTime>
<attributes>
<name>shownum</name>
<default>10</default>
<intro>顯示個數</intro>
</attributes>
<attributes>
<name>titlelen</name>
<default>20</default>
<intro>標題字符個數</intro>
</attributes>
<attributes>
<name>showupdatetime</name>
<default>false</default>
<intro>顯示更新時間</intro>
</attributes>
<attributes>
<name>showpic</name>
<default>false</default>
<intro>顯示小圖片</intro>
</attributes>
<attributes>
<name>shownodename</name>
<default>false</default>
<intro>顯示欄目</intro>
</attributes>
<attributes>
<name>opentype</name>
<default>_blank</default>
<intro>內容信息打開方式</intro>
</attributes>
<attributes>
<name>nodeopentype</name>
<default>_blank</default>
<intro>欄目打開方式</intro>
</attributes>
<attributes>
<name>span_classname</name>
<default>new</default>
<intro>小圖片CSS名</intro>
</attributes>
<attributes>
<name>elitelevel</name>
<default>0</default>
<intro>推薦級別</intro>
</attributes>
</root>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -