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

📄 内容页相关信息_普通式.config

📁 BizIdea 是基于.net开发平台全新研发的企业级电子商务平台系统
💻 CONFIG
字号:
<root>
  <LabelType>样式类</LabelType>
  <LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
  <LabelIntro>
  </LabelIntro>
  <OutType>sin</OutType>
  <CacheTime>0</CacheTime>
  <LabelDataType>sql_sysquery</LabelDataType>
  <attributes>
    <name>modelID</name>
    <datatype>supersql</datatype>
    <default>4</default>
    <intro>模型ID</intro>
  </attributes>
  <attributes>
    <name>generalID</name>
    <datatype>supersql</datatype>
    <default>6</default>
    <intro>关联商品编号</intro>
  </attributes>
  <LabelSqlString>
    SELECT C.Title,C.NodeID,C.GeneralID,C.InputTime,C.PinyinTitle FROM PE_CommonModel C JOIN PE_CorrelativeItems I ON C.GeneralID = I.CorrelativeGeneralID WHERE C.ModelID = @modelID AND I.GeneralID=@generalID AND C.Status=99  ORDER BY I.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:template match="/">
<xsl:choose>
<xsl:when test="count(/NewDataSet/Table) = 0">
<font style="color:red">指定的模型还没有相关信息!</font>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="/NewDataSet/Table">
<li>
<a>
<xsl:attribute name="href">
<xsl:value-of disable-output-escaping="yes" select="pe:GetInfoPath(NodeID,GeneralID,InputTime,PinyinTitle)" />
</xsl:attribute>
<xsl:attribute name="target">_blank</xsl:attribute>
<xsl:value-of select="pe:CutText(Title,60,'…')" />
</a>
</li>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
  <EnabelAjax>False</EnabelAjax>
  <IsXsltSql>false</IsXsltSql>
  <IsXsltCountSql>false</IsXsltCountSql>
</root>

⌨️ 快捷键说明

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