Files
ningbo/动易的标签库/标签库/WAP类/Wap访谈内容.config
T
2026-08-31 16:22:00 +08:00

61 lines
2.4 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<root>
<LabelType>WAP类</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<Version officialVersion="" modifiedVersions="4001" compatibleVersion="" />
<attributes>
<name>interviewId</name>
<datatype>supersql</datatype>
<default>1</default>
<intro>ID</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString><![CDATA[SELECT TOP 1 PE_GV_Interview.* FROM PE_GV_Interview WHERE InterviewId = @interviewId AND Status > 0]]></LabelSqlString>
<LabelTemplate><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pe="labelproc" exclude-result-prefixes="pe">
<xsl:param name="interviewId" />
<xsl:output method="html" />
<xsl:template match="/NewDataSet/Table">
<div class="article_title">
主题:<xsl:value-of select="InterviewTitle"/>
</div>
<div class="article_content">
<span>时间:</span>
<xsl:value-of select="pe:FormatDate(InterviewTime,'yyyy年mm月dd日 hh时')"/>
</div>
<div class="article_content">
<span>嘉宾:</span>
</div>
<div class="article_content">
<span>状态:</span>
<xsl:choose>
<xsl:when test="Status = 1">预告</xsl:when>
<xsl:when test="Status = 2">进行中</xsl:when>
<xsl:when test="Status = 3">已结束</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</div>
<div class="article_content">
<span>简介:</span>
<xsl:value-of disable-output-escaping="yes" select="Content"/>
</div>
<div class="article_content">
访谈内容:<a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetSiteConfigInfo('rootpath')"/>Wap/Interview/QuestionList.aspx?InterviewId=<xsl:value-of select="InterviewId"/>
</xsl:attribute>提问与点评</a><a>
<xsl:attribute name="href">
<xsl:value-of select="pe:GetSiteConfigInfo('rootpath')"/>Wap/Interview/Interview.aspx?InterviewId=<xsl:value-of select="InterviewId"/>
</xsl:attribute>刷新</a>
</div>
{PE.Label id="Wap获取访谈发言列表" bindStyle="普通式" titleLength="1000" usePage="true" outputQty="5" interviewId="<xsl:value-of select="InterviewId"/>" /}
<div class="page">{PE.Page id="wap_动易后台风格" datasource="Wap获取访谈发言列表_普通式" /}</div>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
</root>