⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 显示内容信息列表_表格式_软件模型.config

📁 动易SiteFactory网上商店系统正式版动易SiteFactory网上商店系统正式版
💻 CONFIG
📖 第 1 页 / 共 2 页
字号:
<root>
  <LabelType>列表标签</LabelType>
  <LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
  <LabelIntro>
  </LabelIntro>
  <OutType>sin</OutType>
  <CacheTime>0</CacheTime>
  <LabelDataType>sql_sysquery</LabelDataType>
  <LabelSqlString>@strsql</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="parentid"/>
<xsl:param name="arrnodeid"/>
<xsl:param name="includechild"/>
<xsl:param name="specialid"/>
<xsl:param name="urltype"/>
<xsl:param name="shownum"/>
<xsl:param name="ishot"/>
<xsl:param name="iselite"/>
<xsl:param name="inputername"/>
<xsl:param name="datenum"/>
<xsl:param name="ordertype"/>
<xsl:param name="showtype"/>
<xsl:param name="titlelen"/>
<xsl:param name="contentlen"/>
<xsl:param name="shownodename"/>
<xsl:param name="showpropertytype"/>
<xsl:param name="showincludepic"/>
<xsl:param name="showauthor"/>
<xsl:param name="showdatetype"/>
<xsl:param name="showhits"/>
<xsl:param name="showhotsign"/>
<xsl:param name="shownewsign"/>
<xsl:param name="showtips"/>
<xsl:param name="showcommentlink"/>
<xsl:param name="usepage"/>
<xsl:param name="opentype"/>
<xsl:param name="cols"/>
<xsl:param name="hits"/>
<xsl:param name="elitelevel"/>
<xsl:param name="strsql"/>
<xsl:param name="tr_value"/>
<xsl:template match="/">
<xsl:apply-templates select="NewDataSet" />
</xsl:template>
<xsl:template match="/NewDataSet">
<!-- 这里先判断显示样式 -->
<!-- 表格样式开始 -->
<xsl:choose>
	<xsl:when test="$cols&gt;1">
		<table width="95%">
			<tr>
			<xsl:for-each select="Table">

				<!-- 判断输出前缀图标 -->
				<xsl:choose>
				<xsl:when test="$showpropertytype='0'">
				</xsl:when>
				<xsl:otherwise>
					<xsl:choose>
						<xsl:when test="pe:Convert2Int($showpropertytype)&gt;0">
							<xsl:choose>
								<xsl:when test="Hits>pe:HitsOfHot()">
								<td>
									<xsl:element name="img">
									<xsl:attribute name="src">
									<xsl:value-of select="pe:InstallDir()" />images/ontop
									<xsl:value-of select="$showpropertytype" />.gif
									</xsl:attribute>
									<xsl:attribute name="alt">热门<xsl:value-of select="pe:GetModelItemName(ModelID)"/>
</xsl:attribute>
									</xsl:element>
								</td>
								</xsl:when>
								<xsl:when test="EliteLevel>$elitelevel">
								<td>
									<xsl:element name="img">
									<xsl:attribute name="src">
									<xsl:value-of select="pe:InstallDir()" />images/elite
									<xsl:value-of select="$showpropertytype" />.gif
									</xsl:attribute>
									<xsl:attribute name="alt">推荐<xsl:value-of select="pe:GetModelItemName(ModelID)"/>
</xsl:attribute>
									</xsl:element>
								</td>
								</xsl:when>
								<xsl:otherwise>
								<td>
									<xsl:element name="img">
									<xsl:attribute name="src">
									<xsl:value-of select="pe:InstallDir()" />images/common
									<xsl:value-of select="$showpropertytype" />.gif
									</xsl:attribute>
									<xsl:attribute name="alt">普通<xsl:value-of select="pe:GetModelItemName(ModelID)"/>
</xsl:attribute>
									</xsl:element>
								</td>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:when>
						<xsl:otherwise>
							<td>
								<xsl:element name="img">
								<xsl:attribute name="src">
								<xsl:value-of select="pe:InstallDir()" />images/
								<xsl:value-of select="$showpropertytype" />
								</xsl:attribute>
								<xsl:attribute name="alt">普通<xsl:value-of select="pe:GetModelItemName(ModelID)"/>
</xsl:attribute>
								</xsl:element>
							</td>
						</xsl:otherwise>
					</xsl:choose>
				</xsl:otherwise>
				</xsl:choose>

				<td>
				<!-- 判断输出所属栏目开始 -->
				<xsl:if test="$shownodename='true'">
				[<a>
				<xsl:attribute name="href">
				<xsl:value-of select="pe:GetNodePath('true',NodeID)" />
				</xsl:attribute>
				<xsl:choose>
				<xsl:when test="$opentype='_blank'">
				<xsl:attribute name="target">_blank</xsl:attribute>
				</xsl:when>
				<xsl:when test="$opentype='_parent'">
				<xsl:attribute name="target">_parent</xsl:attribute>
				</xsl:when>
				<xsl:when test="$opentype='_top'">
				<xsl:attribute name="target">_top</xsl:attribute>
				</xsl:when>
				<xsl:otherwise>
				<xsl:attribute name="target">_self</xsl:attribute>
				</xsl:otherwise>
				</xsl:choose>
				<xsl:value-of disable-output-escaping="yes" select="pe:GetNode(NodeID,'name')" />
				</a>]			
				</xsl:if>
				<!-- 判断输出所属栏目结束 -->
				<!-- 输出文章标题开始 -->
				<a>
				<xsl:attribute name="href">
				<xsl:value-of select="pe:GetInfoPath(GeneralID)" />
				</xsl:attribute>
				<xsl:choose>
				<xsl:when test="$opentype='_blank'">
				<xsl:attribute name="target">_blank</xsl:attribute>
				</xsl:when>
				<xsl:when test="$opentype='_parent'">
				<xsl:attribute name="target">_parent</xsl:attribute>
				</xsl:when>
				<xsl:when test="$opentype='_top'">
				<xsl:attribute name="target">_top</xsl:attribute>
				</xsl:when>
				<xsl:otherwise>
				<xsl:attribute name="target">_self</xsl:attribute>
				</xsl:otherwise>
				</xsl:choose>
				<!-- 判断是否输出tips -->
				<xsl:if test="$showtips='true'">
				<xsl:attribute name="title">标题:<xsl:value-of select="pe:EncodeText(Title,'htmldecode')"/>
                                <xsl:value-of select="'&#xD;'" />作者:<xsl:value-of select="Inputer"/>
				<xsl:value-of select="'&#xD;'" />发表时间:<xsl:value-of select="pe:FormatDate(UpdateTime, 'yy年mm月dd日')" />
				<xsl:value-of select="'&#xD;'" />点击数:<xsl:value-of select="Hits"/>
				</xsl:attribute>
				</xsl:if>

                                <xsl:value-of select="pe:CutText(pe:EncodeText(Title,'htmldecode'),$titlelen,'…')" />

				</a>
				<!-- 输出文章标题结束 -->
				</td>

				<!-- 输出内容开始 -->
				<!-- 输出内容结束 -->


				<!-- 输出文章点击数开始 -->
				<xsl:if test="$showhits='true'">
				<td>
<xsl:value-of select="Hits"/>
</td>
				</xsl:if>
				<!-- 输出文章点击数结束 -->

				<!-- 输出“[图文]”字样开始 -->
				<!-- 输出“[图文]”结束 -->

				<!-- 输出文章作者开始 -->
				<xsl:if test="$showauthor='true'">
				<td>
<xsl:value-of select="Inputer"/>
</td>
				</xsl:if>
				<!-- 输出文章作者结束 -->
				<!-- 输出文章日期开始 -->
				<xsl:if test="$showdatetype!='0'">
				 <td>
<xsl:value-of select="pe:FormatDate(UpdateTime, $showdatetype)" />
</td>
				</xsl:if>
				<!-- 输出文章日期结束 -->
				<!-- 判断输出热门标记开始 -->
				<xsl:if test="$showhotsign='true'">
				<xsl:if test="Hits>pe:HitsOfHot()">
				<td>
<img src="{pe:InstallDir()}images/hot.gif" />
</td>
				</xsl:if>
				</xsl:if>
				<!-- 输出热门标记结束 -->
				<!-- 判断输出最新标记开始 -->
				<xsl:if test="$shownewsign='true'">
				<xsl:if test="2>pe:TimeSpan(UpdateTime,pe:TimeNow())">
				<td>
<img src="{pe:InstallDir()}images/new.gif" />
</td>
				</xsl:if>
				</xsl:if>
				<!-- 输出最新标记结束 -->

				<!-- 判断输出评论链接开始 -->
				<!-- 输出评论链接结束 -->

				<!-- 换行 -->
				<xsl:if test="position()&gt;1">
					<xsl:if test="position()&lt;last()">
						<xsl:if test="position()mod$cols=0">
							<xsl:value-of disable-output-escaping="yes" select="pe:EncodeText($tr_value,'htmldecode')" />
						</xsl:if>
					</xsl:if>
				</xsl:if>
			</xsl:for-each>
			</tr>
		</table>
	</xsl:when>
	<xsl:otherwise>
		<table width="100%">
			<xsl:for-each select="Table">
			<tr>
				<!-- 判断输出前缀图标 -->
				<xsl:choose>
				<xsl:when test="$showpropertytype='0'">
				</xsl:when>
				<xsl:otherwise>
					<xsl:choose>
						<xsl:when test="pe:Convert2Int($showpropertytype)&gt;0">
							<xsl:choose>
								<xsl:when test="Hits>pe:HitsOfHot()">
								<td>
									<xsl:element name="img">
									<xsl:attribute name="src">
									<xsl:value-of select="pe:InstallDir()" />images/ontop
									<xsl:value-of select="$showpropertytype" />.gif
									</xsl:attribute>
									<xsl:attribute name="alt">热门<xsl:value-of select="pe:GetModelItemName(ModelID)"/>
</xsl:attribute>
									</xsl:element>
								</td>
								</xsl:when>
								<xsl:when test="EliteLevel>$elitelevel">
								<td>
									<xsl:element name="img">
									<xsl:attribute name="src">
									<xsl:value-of select="pe:InstallDir()" />images/elite
									<xsl:value-of select="$showpropertytype" />.gif
									</xsl:attribute>
									<xsl:attribute name="alt">推荐<xsl:value-of select="pe:GetModelItemName(ModelID)"/>
</xsl:attribute>
									</xsl:element>
								</td>
								</xsl:when>
								<xsl:otherwise>
								<td>
									<xsl:element name="img">
									<xsl:attribute name="src">
									<xsl:value-of select="pe:InstallDir()" />images/common
									<xsl:value-of select="$showpropertytype" />.gif
									</xsl:attribute>
									<xsl:attribute name="alt">普通<xsl:value-of select="pe:GetModelItemName(ModelID)"/>
</xsl:attribute>
									</xsl:element>
								</td>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:when>
						<xsl:otherwise>
							<td>
								<xsl:element name="img">
								<xsl:attribute name="src">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -