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

📄 显示软件一列式栏目上下循环.config

📁 动易SiteFactory网上商店系统正式版动易SiteFactory网上商店系统正式版
💻 CONFIG
字号:
<root>
  <LabelType>列表标签</LabelType>
  <LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
  <LabelIntro>
  </LabelIntro>
  <OutType>sin</OutType>
  <CacheTime>0</CacheTime>
  <LabelDataType>sql_sysquery</LabelDataType>
  <LabelSqlString>SELECT TOP @shownum C.*,S.* FROM PE_CommonModel C INNER JOIN PE_U_Soft S ON C.GeneralID=S.ID WHERE C.NodeID in (@arraynodeid) AND C.TableName='PE_U_Soft' AND C.Status=99 order by C.UpdateTime
</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="titlelen"/>

<xsl:template match="/NewDataSet">
<!-- 一列式栏目上下循环样式开始 -->
<div class="childclass_main_box2">
	<div class="c_spacing">
	</div>
	<div class="childclass_title_border">
	   <div class="more">
		 <a>
		  <xsl:attribute name="href">
		  <xsl:value-of select="pe:GetNodePath('true',$parentid)"/>
		  </xsl:attribute> 
		  [更多]
		 </a>
	   </div>
	   <a> 
		<xsl:attribute name="href">
		<xsl:value-of select="pe:GetNodePath('true',$parentid)"/>
		</xsl:attribute>
		<xsl:value-of select="pe:GetNode($parentid,'name')"/>
		</a>
	</div>
	<div class="s_classlist_title">
	  <div class="s_classlist_title_r">软件大小</div>
	  <div class="s_classlist_title_c">更新日期</div>
	  <div class="s_classlist_title_l">授权  软件分类  软件名称</div>
	</div>
	 <xsl:choose>
	 <xsl:when test="count(Table) = 0">
	 <li>本栏尚无内容!
	 </li>
	 </xsl:when>
	 <xsl:otherwise>
		<xsl:for-each select="Table">
		  <div class="s_classlist_text">
			 <div class="s_classlist_text_r">
				<xsl:value-of select="SoftSize"/>
			 </div>
			 <div class="s_classlist_text_c">
				<xsl:value-of select="UpdateTime"/>
			 </div>
			 <div class="s_classlist_text_l">
				<xsl:value-of select="CopyrightType"/>
				[<a> 
				<xsl:attribute name="href">
				<xsl:value-of select="pe:GetNodePath('true',$parentid)"/>
				</xsl:attribute>
				<xsl:value-of select="NodeName"/>
				</a>]
				<a> 
				<xsl:attribute name="href">
				<xsl:value-of select="pe:GetInfoPath(GeneralID)"/>
				</xsl:attribute>
				<xsl:value-of disable-output-escaping="yes" select="pe:CutText(Title,$titlelen,'…')" />
				</a>
			 </div>
		  </div>
		</xsl:for-each>
	 </xsl:otherwise>
	 </xsl:choose>
</div>
<!-- 一列式栏目上下循环样式结束 -->
</xsl:template>
</xsl:transform>]]></LabelTemplate>
  <attributes>
    <name>shownum</name>
    <default>10</default>
    <intro>显示个数</intro>
  </attributes>
  <attributes>
    <name>arraynodeid</name>
    <default>1</default>
    <intro>栏目ID</intro>
  </attributes>
  <attributes>
    <name>parentid</name>
    <default>0</default>
    <intro>父栏目ID</intro>
  </attributes>
  <attributes>
    <name>titlelen</name>
    <default>20</default>
    <intro>标题最多字符数</intro>
  </attributes>
</root>

⌨️ 快捷键说明

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