73 lines
2.8 KiB
XML
73 lines
2.8 KiB
XML
<?xml version="1.0"?>
|
|
<root>
|
|
<LabelType>政务公开</LabelType>
|
|
<LabelIntro>
|
|
</LabelIntro>
|
|
<OutType>sin</OutType>
|
|
<LabelDataType>sql_sysquery</LabelDataType>
|
|
<EnabelAjax>False</EnabelAjax>
|
|
<attributes>
|
|
<name>themeId</name>
|
|
<datatype>supersql</datatype>
|
|
<default>0</default>
|
|
<intro>主题ID</intro>
|
|
</attributes>
|
|
<UsePage>True</UsePage>
|
|
<IsXsltSql>false</IsXsltSql>
|
|
<IsXsltCountSql>false</IsXsltCountSql>
|
|
<LabelSqlString>SELECT TOP @pagesize * FROM PE_GV_PublicInformation WHERE ThemeId IN (SELECT ThemeId FROM PE_GV_PublicInfoTheme WHERE ParentId = @themeId OR ThemeId=@themeId) AND IsExpired = 0 AND Status = 2 AND ID NOT IN (SELECT TOP @startrow ID FROM PE_GV_PublicInformation WHERE ThemeId IN (SELECT ThemeId FROM PE_GV_PublicInfoTheme WHERE ParentId = @themeId OR ThemeId=@themeId) AND IsExpired = 0 AND Status = 2 ORDER BY PublicTime DESC) ORDER BY PublicTime DESC</LabelSqlString>
|
|
<LabelSqlCount>SELECT COUNT(*) FROM PE_GV_PublicInformation WHERE ThemeId IN (SELECT ThemeId FROM PE_GV_PublicInfoTheme WHERE ParentId = @themeId OR ThemeId=@themeId) AND IsExpired = 0 AND Status = 2</LabelSqlCount>
|
|
<LabelSqlPage>
|
|
</LabelSqlPage>
|
|
<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">
|
|
<!--params-->
|
|
<xsl:output method="html" />
|
|
<xsl:template match="/">
|
|
<div class="GovDir">
|
|
<table width="100%" cellspacing="0" cellpadding="0" class="wjb">
|
|
<tbody>
|
|
<tr>
|
|
<td width="160" class="headsqh">索引号</td>
|
|
<td class="headtitle">信息名称</td>
|
|
<td width="130" class="headwh">文号</td>
|
|
<td width="100" class="headwjtime">产生日期</td>
|
|
<td width="100" class="headgklx">公开类型</td>
|
|
</tr>
|
|
<xsl:for-each select="/NewDataSet/Table">
|
|
<tr>
|
|
<td class="sqh">
|
|
<xsl:value-of select="IndexNumber"/>
|
|
</td>
|
|
<td class="title">
|
|
<a>
|
|
<xsl:attribute name="href">
|
|
<xsl:value-of select="pe:InstallDir()"/>Government/PublicInfoShow.aspx?ID=<xsl:value-of select="ID"/>
|
|
</xsl:attribute>
|
|
<xsl:value-of select="Title"/>
|
|
</a>
|
|
</td>
|
|
<td class="wh">
|
|
<xsl:value-of select="DocumentNumber"/>
|
|
</td>
|
|
<td class="wjtime">
|
|
<xsl:value-of select="pe:FormatDate(PublicTime,'yyyy-mm-dd')"/>
|
|
</td>
|
|
<td class="gklx">
|
|
<xsl:choose>
|
|
<xsl:when test="PublicType = 1">
|
|
主动公开
|
|
</xsl:when>
|
|
<xsl:otherwise>
|
|
申请公开
|
|
</xsl:otherwise>
|
|
</xsl:choose>
|
|
</td>
|
|
</tr>
|
|
</xsl:for-each>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</xsl:template>
|
|
</xsl:stylesheet>]]></LabelTemplate>
|
|
</root> |