📄 显示内容信息列表_表格式_软件模型.config
字号:
<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="'
'" />作者:<xsl:value-of select="Inputer"/>
<xsl:value-of select="'
'" />发表时间:<xsl:value-of select="pe:FormatDate(UpdateTime, 'yy年mm月dd日')" />
<xsl:value-of select="'
'" />点击数:<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>
<!-- 输出最新标记结束 -->
<!-- 判断输出评论链接开始 -->
<!-- 输出评论链接结束 -->
</tr>
</xsl:for-each>
</table>
</xsl:otherwise>
</xsl:choose>
<!-- 表格样式结束 -->
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<attributes>
<name>strsql</name>
<default>SELECT C.*,T.* FROM PE_CommonModel C INNER JOIN PE_U_Article T ON C.GeneralID=T.ID WHERE C.Status=99 AND C.TableName='PE_U_Article' ORDER BY C.UpdateTime DESC</default>
<intro>查询语句</intro>
</attributes>
<attributes>
<name>parentid</name>
<default>1</default>
<intro>父栏目ID</intro>
</attributes>
<attributes>
<name>arrnodeid</name>
<default>0</default>
<intro>指定栏目ID</intro>
</attributes>
<attributes>
<name>includechild</name>
<default>false</default>
<intro>是否包含子栏目</intro>
</attributes>
<attributes>
<name>specialid</name>
<default>0</default>
<intro>专题ID</intro>
</attributes>
<attributes>
<name>urltype</name>
<default>0</default>
<intro>链接地址类型</intro>
</attributes>
<attributes>
<name>shownum</name>
<default>10</default>
<intro>文章数</intro>
</attributes>
<attributes>
<name>ishot</name>
<default>false</default>
<intro>是否是热门文章</intro>
</attributes>
<attributes>
<name>iselite</name>
<default>false</default>
<intro>是否是推荐文章</intro>
</attributes>
<attributes>
<name>inputername</name>
<default>
</default>
<intro>作者姓名</intro>
</attributes>
<attributes>
<name>datenum</name>
<default>0</default>
<intro>日期范围</intro>
</attributes>
<attributes>
<name>ordertype</name>
<default>1</default>
<intro>排序方式</intro>
</attributes>
<attributes>
<name>showtype</name>
<default>1</default>
<intro>显示方式</intro>
</attributes>
<attributes>
<name>titlelen</name>
<default>20</default>
<intro>标题最多字符数</intro>
</attributes>
<attributes>
<name>contentlen</name>
<default>100</default>
<intro>文章内容最多字符数</intro>
</attributes>
<attributes>
<name>shownodename</name>
<default>false</default>
<intro>是否显示所属栏目名称</intro>
</attributes>
<attributes>
<name>showpropertytype</name>
<default>0</default>
<intro>显示文章属性的方式</intro>
</attributes>
<attributes>
<name>showincludepic</name>
<default>false</default>
<intro>是否显示“[图文]”字样</intro>
</attributes>
<attributes>
<name>showauthor</name>
<default>false</default>
<intro>是否显示文章作者</intro>
</attributes>
<attributes>
<name>showdatetype</name>
<default>0</default>
<intro>显示更新日期的样式</intro>
</attributes>
<attributes>
<name>showhits</name>
<default>false</default>
<intro>是否显示文章点击数</intro>
</attributes>
<attributes>
<name>showhotsign</name>
<default>false</default>
<intro>是否显示热门文章标志</intro>
</attributes>
<attributes>
<name>shownewsign</name>
<default>false</default>
<intro>是否显示新文章标志</intro>
</attributes>
<attributes>
<name>showtips</name>
<default>false</default>
<intro>是否显示作者、更新日期、点击数等浮动提示信息</intro>
</attributes>
<attributes>
<name>showcommentlink</name>
<default>false</default>
<intro>是否显示评论链接</intro>
</attributes>
<attributes>
<name>usepage</name>
<default>false</default>
<intro>是否分页显示</intro>
</attributes>
<attributes>
<name>opentype</name>
<default>0</default>
<intro>文章打开方式</intro>
</attributes>
<attributes>
<name>cols</name>
<default>1</default>
<intro>每行显示标题的的列数</intro>
</attributes>
<attributes>
<name>hits</name>
<default>0</default>
<intro>热门最小点击数</intro>
</attributes>
<attributes>
<name>elitelevel</name>
<default>0</default>
<intro>推荐优先级</intro>
</attributes>
<attributes>
<name>tablename</name>
<default>PE_U_Article</default>
<intro>所属于表名</intro>
</attributes>
<attributes>
<name>tr_value</name>
<default>&lt;/tr&gt;&lt;tr&gt;</default>
<intro>表格式专用参数</intro>
</attributes>
</root>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -