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

📄 wap栏目列表.config

📁 动易SiteFactory网上商店系统正式版动易SiteFactory网上商店系统正式版
💻 CONFIG
字号:
<root>
  <LabelType>WAP</LabelType>
  <LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
  <LabelIntro>可分页</LabelIntro>
  <LabelDataType>sql_sysquery</LabelDataType>
  <LabelSqlString>SELECT Top @pagesize PE_Nodes.* FROM PE_Nodes WHERE NodeID NOT IN (SELECT TOP @startrow NodeID FROM PE_Nodes where ParentID = @parentid order by OrderID) and (ParentID = @parentid) order by OrderID</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:template match="/NewDataSet">
<card id="main" title="{pe:SiteName()}" newcontext="false" ordered="true">
<xsl:choose>
<xsl:when test="pe:WapEnable() = 'False'">
<p align="left">本站尚未开放WAP功能!</p> 
</xsl:when>
<xsl:otherwise>
  <xsl:choose>
    <xsl:when test="count(Table) = 0">
      <p>
<xsl:value-of select="pe:GetNode($parentid,'name')" />
</p>
      {PE.Label id="WAP终极栏目信息列表" nodeid="<xsl:value-of select="$parentid"/>" /}
    </xsl:when>
    <xsl:otherwise>
    <xsl:for-each select="Table">
    <p>
<xsl:value-of select="NodeName"/>
</p>
    {PE.Label id="WAP栏目信息列表" arraynodeid="<xsl:value-of select="arrChildID" />" /}
    </xsl:for-each>
    </xsl:otherwise>
  </xsl:choose>
</xsl:otherwise>
</xsl:choose>
</card>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
  <attributes>
    <name>parentid</name>
    <default>1</default>
    <intro>父栏目ID</intro>
  </attributes>
  <UsePage>True</UsePage>
  <LabelSqlCount>select count(*) from PE_Nodes where ParentID = @parentid</LabelSqlCount>
  <OutType>sin</OutType>
  <CacheTime>0</CacheTime>
</root>

⌨️ 快捷键说明

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