first commit

This commit is contained in:
2026-08-31 16:22:00 +08:00
commit e969a1e559
2665 changed files with 128795 additions and 0 deletions
@@ -0,0 +1,73 @@
<?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>
@@ -0,0 +1,97 @@
<?xml version="1.0"?>
<root>
<LabelType>政务公开</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<attributes>
<name>publicID</name>
<datatype>supersql</datatype>
<default>1</default>
<intro>公开信息ID</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT P.*,C.PublicCatalogName,D.DepartmentName FROM PE_GV_PublicInformation P INNER JOIN PE_Department D ON P.DepartmentId = D.DepartmentId LEFT JOIN PE_GV_PublicCatalog C ON P.PublicCatalogId = C.PublicCatalogId WHERE P.ID = @publicID AND P.IsExpired = 0 AND P.Status = 2</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">
<!--params-->
<xsl:output method="html" />
<xsl:template match="/NewDataSet/Table">
<h3><xsl:value-of select="Title"/></h3>
<div id="DataOpen" class="DocData_Bt"><a href="#" onClick="document.getElementById('DataCont').style.display='block';document.getElementById('DataOpen').style.display='none';">点击打开详细目录信息</a></div>
<div id="DataCont" class="DocData_More" style="display:none;">
<div class="DocData_Bt"><a href="#" class="ClassOn" onClick="document.getElementById('DataCont').style.display='none';document.getElementById('DataOpen').style.display='block';">点击关闭详细目录信息</a></div>
<table width="700" align="center" class="sgrayline1" cellpadding="0" cellspacing="0">
<tr >
<td class="tdlab" width="15%">索引号:</td>
<td width="35%"><xsl:value-of select="IndexNumber"/></td>
<td class="tdlab" width="15%">公开责任部门</td>
<td width="35%"><xsl:value-of select="DepartmentName"/></td>
</tr>
<tr >
<td class="tdlab" width="15%">公开日期</td>
<td><xsl:value-of select="pe:FormatDate(PublicTime,'yyyy-mm-dd')"/></td>
<td class="tdlab" width="15%">关键词</td>
<td><xsl:value-of select="Keyword" /></td>
</tr>
<tr>
<td class="tdlab" width="15%">公开目录</td>
<td>
<xsl:choose>
<xsl:when test="PublicCatalogId > 0">
<xsl:value-of select="PublicCatalogName"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="DepartmentName"/>
</xsl:otherwise>
</xsl:choose>
</td>
<td class="tdlab" width="15%">文号</td>
<td><xsl:value-of select="DocumentNumber"/></td>
</tr>
<tr >
<td class="tdlab" width="15%">信息有效性</td>
<td><xsl:choose>
<xsl:when test="IsExpired = 'false'">
有效
</xsl:when>
<xsl:otherwise>
过期
</xsl:otherwise>
</xsl:choose>
</td>
<td class="tdlab" width="15%">公开形式</td>
<td><span id="pubMethodName"><xsl:choose>
<xsl:when test="PublicType = 1">
主动公开
</xsl:when>
<xsl:when test="PublicType = 2">
依申请公开
</xsl:when>
<xsl:otherwise>
未知
</xsl:otherwise>
</xsl:choose></span>
</td>
</tr>
<tr>
<td class="tdlab" width="15%">内容概述</td>
<td colspan="3"><xsl:value-of select="Abstract"/></td>
</tr>
</table>
</div>
<div class="c_spacing"></div>
<div class="eApp_content" id="fontzoom">
<xsl:value-of disable-output-escaping="yes" select="Content"/>
</div>
<div class="c_spacing"></div>
<div class="content_Tool">
【字体:<a href="javascript:fontZoomA();">小</a> <a href="javascript:fontZoomB();">大</a>】【<a href="javascript:window.close();">关闭窗口</a>】
</div>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
</root>
@@ -0,0 +1,126 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<LabelType>政务公开</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>
</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<attributes>
<name>publicID</name>
<datatype>supersql</datatype>
<default>1</default>
<intro>公开信息ID</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>
SELECT P.*,U.*,D.DepartmentName
FROM PE_GV_PublicInformation P INNER JOIN PE_Department D ON P.DepartmentId = D.DepartmentId
INNER JOIN PE_U_PublicInformation U
ON P.ID=U.ID
WHERE P.ID = @publicID AND P.IsExpired = 0 AND Status = 2</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="xml" />
<xsl:param name="publicId"/>
<xsl:template match="/">
<root>
<!--FieldTipsStart-->
<ID>
<xsl:value-of select="/NewDataSet/Table/ID"/>
</ID>
<DepartmentId>
<xsl:value-of select="/NewDataSet/Table/DepartmentId"/>
</DepartmentId>
<DepartmentName>
<xsl:value-of select="/NewDataSet/Table/DepartmentName"/>
</DepartmentName>
<PublicCatalogId>
<xsl:value-of select="/NewDataSet/Table/PublicCatalogId"/>
</PublicCatalogId>
<IndexNumber>
<xsl:value-of select="/NewDataSet/Table/IndexNumber"/>
</IndexNumber>
<Title>
<xsl:value-of select="/NewDataSet/Table/Title"/>
</Title>
<Keyword>
<xsl:value-of select="/NewDataSet/Table/Keyword"/>
</Keyword>
<DocumentNumber>
<xsl:value-of select="/NewDataSet/Table/DocumentNumber"/>
</DocumentNumber>
<Abstract>
<xsl:value-of select="/NewDataSet/Table/Abstract"/>
</Abstract>
<InputTime>
<xsl:value-of select="/NewDataSet/Table/InputTime"/>
</InputTime>
<PublicTime>
<xsl:value-of select="pe:FormatDate(/NewDataSet/Table/PublicTime,'yyyy-mm-dd')"/>
</PublicTime>
<Content>
<xsl:value-of select="pe:EncodeText(/NewDataSet/Table/Content,'htmlencode')"/>
</Content>
<PublicType>
<xsl:value-of select="/NewDataSet/Table/PublicType"/>
</PublicType>
<PublicTypeText>
<xsl:choose>
<xsl:when test="/NewDataSet/Table/PublicType = 1">
主动公开
</xsl:when>
<xsl:when test="/NewDataSet/Table/PublicType = 2">
<xsl:value-of select="依申请公开"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="未知"/>
</xsl:otherwise>
</xsl:choose>
</PublicTypeText>
<IsExpired>
<xsl:value-of select="/NewDataSet/Table/IsExpired"/>
</IsExpired>
<IsExpiredText>
<xsl:choose>
<xsl:when test="/NewDataSet/Table/IsExpired = 'false'">
<xsl:value-of select="有效"/>
</xsl:when>
<xsl:otherwise>
过期
</xsl:otherwise>
</xsl:choose>
</IsExpiredText>
<Status>
<xsl:value-of select="/NewDataSet/Table/Status"/>
</Status>
<StatusText>
<xsl:choose>
<xsl:when test="/NewDataSet/Table/Status = 1">
待公开
</xsl:when>
<xsl:when test="/NewDataSet/Table/Status = 2">
公开
</xsl:when>
<xsl:otherwise>
未知
</xsl:otherwise>
</xsl:choose>
</StatusText>
<Inputer>
<xsl:value-of select="/NewDataSet/Table/Inputer"/>
</Inputer>
<UpdateTime>
<xsl:value-of select="/NewDataSet/Table/UpdateTime"/>
</UpdateTime>
<ThemeId>
<xsl:value-of select="/NewDataSet/Table/ThemeId"/>
</ThemeId>
<!--FieldTipsEnd-->
</root>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<Version officialVersion="" modifiedVersions="3600" compatibleVersion="" />
</root>
@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<root>
<LabelType>政府标签</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>txt</OutType>
<LabelDataType>static</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<LabelTemplate>
<![CDATA[<div class="eApp_button">
<a href="{PE.SiteConfig.ApplicationPath/}Government/PublicInfoList.aspx"><span class="icon1">政府信息公开目录</span></a>
<a href="{PE.SiteConfig.ApplicationPath/}Government/ApplyForm.aspx"><span class="icon2">依申请公开</span></a>
<a href="{PE.SiteConfig.ApplicationPath/}Government/Search.aspx"><span class="icon3">信息文件查询</span></a>
<a href="{PE.SiteConfig.ApplicationPath/}Government/ApplyFormQuery.aspx"><span class="icon6">申请进度查询</span></a>
</div>]]></LabelTemplate>
</root>
@@ -0,0 +1,41 @@
<?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>1</default>
<intro>主题ID</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT * FROM PE_GV_PublicInfoTheme WHERE ThemeId = @themeId</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">
<!--params-->
<xsl:output method="html" />
<xsl:param name="depth"/>
<xsl:template match="/NewDataSet/Table">
<xsl:if test="ParentId != ThemeId">
{PE.Label id="GOV_当前主题位置导航" themeId="<xsl:value-of select="ParentId"/>" depth="<xsl:value-of select="$depth + 1"/>" /}
</xsl:if>
<a> <xsl:attribute name="href">{PE.SiteConfig.ApplicationPath/}Government/PublicInfoList.aspx?ThemeId=<xsl:value-of select="ThemeId"/></xsl:attribute><xsl:value-of select="ThemeTitle"/></a>
<xsl:if test="$depth != 0">
<xsl:text disable-output-escaping="yes">&amp;nbsp;&gt;&gt;</xsl:text>
</xsl:if>
</xsl:template>
</xsl:stylesheet>]]>
</LabelTemplate>
<attributes>
<name>depth</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>目录深度</intro>
</attributes>
</root>
@@ -0,0 +1,40 @@
<?xml version="1.0"?>
<root>
<LabelType>政务公开</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<attributes>
<name>publicCatalogId</name>
<datatype>supersql</datatype>
<default>1</default>
<intro>政务公开信息ID</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT ID,DepartmentId,PublicCatalogId FROM PE_GV_PublicInformation WHERE ID = @publicCatalogId</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">
<!--params-->
<xsl:output method="html" />
<xsl:param name="depth"/>
<xsl:template match="/NewDataSet/Table">
<xsl:if test="PublicCatalogId > 0">
{PE.Label id="GOV_得到公开目录导航" publicCatalogId="<xsl:value-of select="PublicCatalogId"/>" depth="<xsl:value-of select="$depth + 1"/>" /}
</xsl:if>
<a> <xsl:attribute name="href">{PE.SiteConfig.ApplicationPath/}Government/PublicInfoList.aspx?PublicCatalogId=<xsl:value-of select="PublicCatalogId"/></xsl:attribute><xsl:value-of select="PublicCatalogName"/></a>
<xsl:if test="$depth != 0">
<xsl:text disable-output-escaping="yes">&amp;nbsp;&gt;&gt;</xsl:text>
</xsl:if>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
<attributes>
<name>depth</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>目录深度</intro>
</attributes>
</root>
@@ -0,0 +1,38 @@
<?xml version="1.0"?>
<root>
<LabelType>政务公开</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<attributes>
<name>departmentId</name>
<datatype>supersql</datatype>
<default>1</default>
<intro>部门ID</intro>
</attributes>
<attributes>
<name>depth</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>目录深度</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT DepartmentId,DepartmentName FROM PE_Department WHERE DepartmentId = @departmentId</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">
<!--params-->
<xsl:output method="html" />
<xsl:param name="depth"/>
<xsl:template match="/NewDataSet/Table">
<a> <xsl:attribute name="href">{PE.SiteConfig.ApplicationPath/}Government/Department.aspx?DepartmentId=<xsl:value-of select="DepartmentId"/></xsl:attribute><xsl:value-of select="DepartmentName"/></a>
<xsl:if test="$depth != 0">
<xsl:text disable-output-escaping="yes">&amp;nbsp;&gt;&gt;&amp;nbsp;</xsl:text>
</xsl:if>
</xsl:template>
</xsl:stylesheet>]]>
</LabelTemplate>
</root>
@@ -0,0 +1,26 @@
<?xml version="1.0"?>
<root>
<LabelType>政务公开</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<attributes>
<name>publicID</name>
<datatype>supersql</datatype>
<default>1</default>
<intro>公开信息ID</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT PublicCatalogId FROM PE_GV_PublicInformation WHERE ID = @publicID</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">
<!--params-->
<xsl:output method="html" />
<xsl:template match="/NewDataSet/Table">
<xsl:value-of select="PublicCatalogId"/>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
</root>
@@ -0,0 +1,45 @@
<?xml version="1.0"?>
<root>
<LabelType>政务公开</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<attributes>
<name>publicCatalogId</name>
<datatype>supersql</datatype>
<default>1</default>
<intro>公开目录ID</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT * FROM PE_GV_PublicCatalog WHERE PublicCatalogId = @publicCatalogId</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">
<!--params-->
<xsl:output method="html" />
<xsl:param name="depth"/>
<xsl:template match="/NewDataSet/Table">
<xsl:if test="ParentId = PublicCatalogId">
{PE.Label id="GOV_当前部门位置导航" departmentId="<xsl:value-of select="DepartmentId"/>" depth="<xsl:value-of select="$depth + 1"/>" /}
</xsl:if>
<xsl:if test="ParentId != PublicCatalogId">
{PE.Label id="GOV_得到公开目录导航" publicCatalogId="<xsl:value-of select="ParentId"/>" depth="<xsl:value-of select="$depth + 1"/>" /}
</xsl:if>
<a> <xsl:attribute name="href">{PE.SiteConfig.ApplicationPath/}Government/PublicInfoList.aspx?PublicCatalogId=<xsl:value-of select="PublicCatalogId"/></xsl:attribute><xsl:value-of select="PublicCatalogName"/></a>
<xsl:if test="$depth != 0">
<xsl:text disable-output-escaping="yes">&amp;nbsp;&gt;&gt;</xsl:text>
</xsl:if>
</xsl:template>
</xsl:stylesheet>]]>
</LabelTemplate>
<attributes>
<name>depth</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>目录深度</intro>
</attributes>
</root>
@@ -0,0 +1,26 @@
<?xml version="1.0"?>
<root>
<LabelType>政务公开</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>static</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<attributes>
<name>publicCatalogId</name>
<datatype>supersql</datatype>
<default>1</default>
<intro>目录ID</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT arrChild FROM PE_GV_PublicCatalog WHERE PublicCatalogId = @publicCatalogId</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="publicCatalogId" />
<xsl:output method="html" />
<xsl:template match="/">
<xsl:value-of select="pe:ToValidId(pe:GetArrChildIds($publicCatalogId, 'PE_GV_PublicCatalog', 'PublicCatalogId', 'ParentId'))"/>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
</root>
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<LabelType>政务公开</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<Version officialVersion="" modifiedVersions="2903" compatibleVersion="" />
<attributes>
<name>departmentId</name>
<datatype>supersql</datatype>
<default>1</default>
<intro>部门ID</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT * FROM PE_Department WHERE DepartmentId = @departmentId</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="departmentId" />
<xsl:output method="html" />
<xsl:template match="/">
<xsl:choose>
<xsl:when test="count(NewDataSet/Table) = 0">
没有此部门
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="/NewDataSet/Table/DepartmentName"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
</root>
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<root>
<LabelType>政务公开</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>txt</OutType>
<LabelDataType>static</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<LabelTemplate><![CDATA[<a href="{PE.SiteConfig.ApplicationPath/}Government/Index.aspx">政府信息公开</a>]]></LabelTemplate>
</root>
@@ -0,0 +1,55 @@
<?xml version="1.0"?>
<root>
<LabelType>政务公开</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>static</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<attributes>
<name>departmentId</name>
<datatype>int</datatype>
<default>0</default>
<intro>部门ID</intro>
</attributes>
<attributes>
<name>themeId</name>
<datatype>int</datatype>
<default>0</default>
<intro>主题ID</intro>
</attributes>
<attributes>
<name>publicCatalogId</name>
<datatype>int</datatype>
<default>0</default>
<intro>目录ID</intro>
</attributes>
<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="departmentId" />
<xsl:param name="publicCatalogId" />
<xsl:param name="themeId" />
<xsl:template match="/">
<xsl:choose>
<xsl:when test="$departmentId != 0">
{PE.Label id="GOV_部门信息列表" page="true" pagesize="20" departmentId="<xsl:value-of select="$departmentId"/>" /}
<div class="showpage">{PE.Page id="url_方块样式分页" datasource="GOV_部门信息列表" unitname="条信息" /}</div>
</xsl:when>
<xsl:when test="$publicCatalogId != 0">
{PE.Label id="GOV_目录信息列表" page="true" pagesize="20" publicCatalogId="<xsl:value-of select="$publicCatalogId"/>" arrChild="{PE.Label id="GOV_得到公开目录数组" publicCatalogId="<xsl:value-of select="$publicCatalogId"/>"/}" /}
<div class="showpage">{PE.Page id="url_方块样式分页" datasource="GOV_目录信息列表" unitname="条信息" /}</div>
</xsl:when>
<xsl:when test="$themeId != 0">
{PE.Label id="GOV_主题信息列表" page="true" pagesize="20" themeId="<xsl:value-of select="$themeId"/>" /}
<div class="showpage">{PE.Page id="url_方块样式分页" datasource="GOV_主题信息列表" unitname="条信息" /}</div>
</xsl:when>
<xsl:otherwise>
{PE.Label id="公开信息查询列表" page="true" pagesize="20" /}
<div class="showpage">{PE.Page id="url_方块样式分页" datasource="公开信息查询列表" unitname="条信息" /}</div>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:transform>]]></LabelTemplate>
</root>
@@ -0,0 +1,52 @@
<?xml version="1.0"?>
<root>
<LabelType>政务公开</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>static</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<attributes>
<name>departmentId</name>
<datatype>int</datatype>
<default>0</default>
<intro>部门ID</intro>
</attributes>
<attributes>
<name>themeId</name>
<datatype>int</datatype>
<default>0</default>
<intro>主题ID</intro>
</attributes>
<attributes>
<name>publicCatalogId</name>
<datatype>int</datatype>
<default>0</default>
<intro>目录ID</intro>
</attributes>
<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="departmentId" />
<xsl:param name="publicCatalogId" />
<xsl:param name="themeId" />
<xsl:template match="/">
<xsl:choose>
<xsl:when test="$departmentId != 0">
{PE.Label id="GOV_当前部门位置导航" departmentId="<xsl:value-of select="$departmentId"/>" depth="1" /}
</xsl:when>
<xsl:when test="$publicCatalogId != 0">
{PE.Label id="GOV_得到公开目录导航" publicCatalogId="<xsl:value-of select="$publicCatalogId"/>" depth="1" /}
</xsl:when>
<xsl:when test="$themeId != 0">
{PE.Label id="GOV_当前主题位置导航" themeId="<xsl:value-of select="$themeId"/>" depth="1" /}
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:transform>]]>
</LabelTemplate>
</root>
@@ -0,0 +1,30 @@
<?xml version="1.0"?>
<root>
<LabelType>政务公开</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<attributes>
<name>departmentId</name>
<datatype>supersql</datatype>
<default>1</default>
<intro>部门ID</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT PublicCatalogId,PublicCatalogName FROM PE_GV_PublicCatalog WHERE DepartmentId = @departmentId ORDER BY OrderId</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">
<!--params-->
<xsl:output method="html" />
<xsl:template match="/NewDataSet/Table">
<a>
<xsl:attribute name="href">PublicInfoList.aspx?PublicCatalogId=<xsl:value-of select="PublicCatalogId"/></xsl:attribute>
<xsl:value-of select="PublicCatalogName"/>
</a>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
</root>
@@ -0,0 +1,68 @@
<?xml version="1.0"?>
<root>
<LabelType>政务公开</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<attributes>
<name>departmentId</name>
<datatype>supersql</datatype>
<default>1</default>
<intro>部门ID</intro>
</attributes>
<attributes>
<name>showNumber</name>
<datatype>supersql</datatype>
<default>20</default>
<intro>显示数量</intro>
</attributes>
<attributes>
<name>titleLength</name>
<datatype>supersql</datatype>
<default>50</default>
<intro>标题显示长度</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT TOP @showNumber ID,PublicTime,Title FROM PE_GV_PublicInformation WHERE DepartmentId = @departmentId AND IsExpired = 0 AND Status = 2 ORDER BY PublicTime DESC</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">
<!--params-->
<xsl:output method="html" />
<xsl:param name="titleLength" />
<xsl:param name="departmentId" />
<xsl:template match="/">
<dt>
<a>
<span>最新公开信息</span>
</a>
<xsl:text disable-output-escaping="yes">&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</xsl:text> 信息总数:<xsl:value-of select="count(/NewDataSet/Table)"/>
</dt>
<dd class="orgBox OpenSearch">
<table width="100%" cellspacing="0" cellpadding="0" border="0" id="table3">
<tbody>
<xsl:for-each select="/NewDataSet/Table">
<tr>
<td style="width:80%">
<a> <xsl:attribute name="href">PublicInfoShow.aspx?Id=<xsl:value-of select="ID"/>
</xsl:attribute> <xsl:attribute name="target">_blank</xsl:attribute>
<xsl:value-of select="pe:CutText(Title,$titleLength,'...')"/>
</a>
</td>
<td align="center">
<xsl:value-of select="pe:FormatDate(PublicTime,'yyyy-mm-dd')"/>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</dd>
<li style="text-align:right">
<a> <xsl:attribute name="href">PublicInfoList.aspx?DepartmentId=<xsl:value-of select="$departmentId"/></xsl:attribute> <xsl:attribute name="target">_blank</xsl:attribute>更多</a>
</li>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
</root>
@@ -0,0 +1,79 @@
<?xml version="1.0"?>
<root>
<LabelType>政务公开</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<attributes>
<name>publicCatalogId</name>
<datatype>supersql</datatype>
<default>1</default>
<intro>目录ID</intro>
</attributes>
<UsePage>True</UsePage>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT TOP @pagesize * FROM PE_GV_PublicInformation WHERE PublicCatalogId IN (@arrChild) AND IsExpired = 0 AND Status = 2 AND ID NOT IN (SELECT TOP @startrow ID FROM PE_GV_PublicInformation WHERE PublicCatalogId IN (@arrChild) AND IsExpired = 0 AND Status = 2 ORDER BY PublicTime DESC) ORDER BY PublicTime DESC</LabelSqlString>
<LabelSqlCount>SELECT COUNT(*) FROM PE_GV_PublicInformation WHERE PublicCatalogId IN (@arrChild) 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>
<attributes>
<name>arrChild</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>得到公开目录数组语句</intro>
</attributes>
</root>
@@ -0,0 +1,72 @@
<?xml version="1.0"?>
<root>
<LabelType>政务公开</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<attributes>
<name>departmentId</name>
<datatype>supersql</datatype>
<default>1</default>
<intro>部门ID</intro>
</attributes>
<UsePage>True</UsePage>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT TOP @pagesize * FROM PE_GV_PublicInformation WHERE DepartmentId = @departmentId AND IsExpired = 0 AND Status = 2 AND ID NOT IN (SELECT TOP @startrow ID FROM PE_GV_PublicInformation WHERE DepartmentId = @departmentId AND IsExpired = 0 AND Status = 2 ORDER BY PublicTime DESC) ORDER BY PublicTime DESC</LabelSqlString>
<LabelSqlCount>SELECT COUNT(*) FROM PE_GV_PublicInformation WHERE DepartmentId = @departmentId AND IsExpired = 0 AND Status = 2</LabelSqlCount>
<LabelSqlPage>
</LabelSqlPage>
<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="/">
<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:transform>]]></LabelTemplate>
</root>
@@ -0,0 +1,58 @@
<root>
<LabelType>政务公开</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetArticleCustom.gif</LabelImage>
<LabelIntro>主题分类</LabelIntro>
<LabelDataType>static</LabelDataType>
<LabelTemplate>
<![CDATA[
<div id="Main">
</div>
<link rel="stylesheet" href="{PE.SiteConfig.SkinPath/}jquery.treeview.css" />
<script src="{PE.SiteConfig.ApplicationPath/}JS/Government/jquery.treeview.pack.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
function create_doc(text){
var xmlDoc = null;
try
{
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async="false";
xmlDoc.loadXML(text);
}
catch(e)
{
try //Firefox, Mozilla, Opera, etc.
{
parser=new DOMParser();
xmlDoc=parser.parseFromString(text,"text/xml");
}
catch(e) {}
}
return xmlDoc;
}
function GetTreeXml()
{
var xtext="<root><type>ThemeTree</type></root>";
var xmlDoc=create_doc(xtext);
$.ajax({
type:"POST",
processData: false,
url:"{PE.SiteConfig.AjaxSitepath/}Ajax.aspx?HandlerName=GovAjaxHandler",
data:xmlDoc,
success:ParseXmlTree
});
}
function ParseXmlTree(xml)
{
$("#Main").html(xml.getElementsByTagName("Theme")[0].firstChild.data);
$("#browser").treeview();
}
$(document).ready(function(){
GetTreeXml();
});
</script>
]]></LabelTemplate>
<OutType>txt</OutType>
<EnabelAjax>True</EnabelAjax>
</root>
@@ -0,0 +1,138 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<LabelType>政府标签</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>static</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<Version officialVersion="" modifiedVersions="3505" compatibleVersion="" />
<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:param name="IndexNumber"/>
<xsl:param name="Title"/>
<xsl:param name="Content"/>
<xsl:param name="StartDate"/>
<xsl:param name="EndDate"/>
<xsl:param name="Keyword"/>
<xsl:param name="usePage"/>
<xsl:param name="outputQty"/>
<xsl:output method="xml" />
<xsl:template match="/">
{PE.Label id="公开信息列表查询条件" queryString="SELECT Top <xsl:value-of select="$outputQty"/> * FROM PE_GV_PublicInformation WHERE Status = 2 AND IsExpired = 0
<xsl:if test="$IndexNumber != ''">
AND IndexNumber = '<xsl:value-of select="pe:UrlDecode(pe:ReplaceText($IndexNumber,'_','%'))"/>'
</xsl:if>
<xsl:if test="$Title != ''">
AND Title Like '%<xsl:value-of select="$Title"/>%'
</xsl:if>
<xsl:if test="$Content != ''">
AND Content Like '%<xsl:value-of select="$Content"/>%'
</xsl:if>
<xsl:if test="$StartDate != ''">
AND PublicTime &gt;= '<xsl:value-of select="$StartDate"/>'
</xsl:if>
<xsl:if test="$EndDate != ''">
AND PublicTime &lt;= '<xsl:value-of select="$EndDate"/>'
</xsl:if>
<xsl:if test="$Keyword != ''">
AND Keyword LIKE '%<xsl:value-of select="$Keyword"/>%'
</xsl:if>
AND ID not in
(SELECT Top @startrow ID FROM PE_GV_PublicInformation WHERE Status = 2 AND IsExpired = 0
<xsl:if test="$IndexNumber != ''">
AND IndexNumber = '<xsl:value-of select="pe:UrlDecode(pe:ReplaceText($IndexNumber,'_','%'))"/>'
</xsl:if>
<xsl:if test="$Title != ''">
AND Title Like '%<xsl:value-of select="$Title"/>%'
</xsl:if>
<xsl:if test="$Content != ''">
AND Content Like '%<xsl:value-of select="$Content"/>%'
</xsl:if>
<xsl:if test="$StartDate != ''">
AND PublicTime &gt;= '<xsl:value-of select="$StartDate"/>'
</xsl:if>
<xsl:if test="$EndDate != ''">
AND PublicTime &lt;= '<xsl:value-of select="$EndDate"/>'
</xsl:if>
<xsl:if test="$Keyword != ''">
AND Keyword LIKE '%<xsl:value-of select="$Keyword"/>%'
</xsl:if>
ORDER BY PublicTime DESC
) ORDER BY PublicTime DESC" countString="SELECT Count(ID) FROM PE_GV_PublicInformation WHERE Status = 2 AND IsExpired = 0
<xsl:if test="$IndexNumber != ''">
AND IndexNumber = '<xsl:value-of select="pe:UrlDecode(pe:ReplaceText($IndexNumber,'_','%'))"/>'
</xsl:if>
<xsl:if test="$Title != ''">
AND Title Like '%<xsl:value-of select="$Title"/>%'
</xsl:if>
<xsl:if test="$Content != ''">
AND Content Like '%<xsl:value-of select="$Content"/>%'
</xsl:if>
<xsl:if test="$StartDate != ''">
AND PublicTime &gt;= '<xsl:value-of select="$StartDate"/>'
</xsl:if>
<xsl:if test="$EndDate != ''">
AND PublicTime &lt;= '<xsl:value-of select="$EndDate"/>'
</xsl:if>
<xsl:if test="$Keyword != ''">
AND Keyword LIKE '%<xsl:value-of select="$Keyword"/>%'
</xsl:if>" page="<xsl:value-of select="$usePage"/>" pagesize="<xsl:value-of select="$outputQty"/>" /}
</xsl:template>
</xsl:transform>]]></LabelTemplate>
<attributes>
<name>IndexNumber</name>
<datatype>supersql</datatype>
<default>
</default>
<intro>公开信息索引号</intro>
</attributes>
<attributes>
<name>Title</name>
<datatype>supersql</datatype>
<default>
</default>
<intro>公开信息标题</intro>
</attributes>
<attributes>
<name>Content</name>
<datatype>supersql</datatype>
<default>
</default>
<intro>公开信息内容</intro>
</attributes>
<attributes>
<name>StartDate</name>
<datatype>supersql</datatype>
<default>
</default>
<intro>公开信息有效期开始时间</intro>
</attributes>
<attributes>
<name>EndDate</name>
<datatype>supersql</datatype>
<default>
</default>
<intro>公开信息有效期结束时间</intro>
</attributes>
<attributes>
<name>Keyword</name>
<datatype>supersql</datatype>
<default>
</default>
<intro>关键字查询</intro>
</attributes>
<attributes>
<name>usePage</name>
<datatype>supersql</datatype>
<default>false</default>
<intro>用户页数</intro>
</attributes>
<attributes>
<name>outputQty</name>
<datatype>supersql</datatype>
<default>10</default>
<intro>输出参数</intro>
</attributes>
</root>
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<LabelType>政府标签</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<Version officialVersion="" modifiedVersions="3501" compatibleVersion="" />
<attributes>
<name>queryString</name>
<datatype>supersql</datatype>
<default>SELECT 1 = 1</default>
<intro>查询参数</intro>
</attributes>
<attributes>
<name>countString</name>
<datatype>supersql</datatype>
<default>SELECT 1 = 1</default>
<intro>查询条数</intro>
</attributes>
<UsePage>True</UsePage>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>@queryString</LabelSqlString>
<LabelSqlCount>@countString</LabelSqlCount>
<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="queryString" />
<xsl:param name="countString" />
<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>
@@ -0,0 +1,194 @@
<?xml version="1.0"?>
<root>
<LabelType>政务公开</LabelType>
<LabelIntro>公开信息查询列表</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<attributes>
<name>IndexNumber</name>
<datatype>supersql</datatype>
<default>
</default>
<intro>索引号</intro>
</attributes>
<attributes>
<name>Title</name>
<datatype>supersql</datatype>
<default>
</default>
<intro>名称</intro>
</attributes>
<attributes>
<name>Content</name>
<datatype>supersql</datatype>
<default>
</default>
<intro>正文</intro>
</attributes>
<attributes>
<name>StartDate</name>
<datatype>supersql</datatype>
<default>
</default>
<intro>起始日期</intro>
</attributes>
<attributes>
<name>EndDate</name>
<datatype>supersql</datatype>
<default>
</default>
<intro>结束日期</intro>
</attributes>
<attributes>
<name>Keyword</name>
<datatype>supersql</datatype>
<default>
</default>
<intro>关键词</intro>
</attributes>
<UsePage>True</UsePage>
<IsXsltSql>true</IsXsltSql>
<IsXsltCountSql>true</IsXsltCountSql>
<LabelSqlString>
<![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">
<!--要使用上一步定义的自定义参数,要作为XSLT参数使用,务必要在这里声明。如:<xsl:param name="myPara" />.引用该参数:$myPara -->
<xsl:param name="IndexNumber"/>
<xsl:param name="Title"/>
<xsl:param name="Content"/>
<xsl:param name="StartDate"/>
<xsl:param name="EndDate"/>
<xsl:param name="Keyword"/>
<xsl:output method="xml" />
<xsl:template match="/">
<!--请按提示编辑,保持该模板结构的正确性-->
<root>
<sql>
<!--请在这里编写你的SQL语句-->
SELECT Top @pagesize * FROM PE_GV_PublicInformation WHERE Status = 2 AND IsExpired = 0
<xsl:if test="$IndexNumber != ''">
AND IndexNumber = '@IndexNumber'
</xsl:if>
<xsl:if test="$Title != ''">
AND Title Like '%@Title%'
</xsl:if>
<xsl:if test="$Content != ''">
AND Content Like '%@Content%'
</xsl:if>
<xsl:if test="$StartDate != ''">
AND PublicTime &gt;= '@StartDate'
</xsl:if>
<xsl:if test="$EndDate != ''">
AND PublicTime &lt;= '@EndDate'
</xsl:if>
<xsl:if test="$Keyword != ''">
AND Keyword Like '%@Keyword%'
</xsl:if>
AND ID not in
(SELECT Top @startrow ID FROM PE_GV_PublicInformation WHERE Status = 2 AND IsExpired = 0
<xsl:if test="$IndexNumber != ''">
AND IndexNumber = '@IndexNumber'
</xsl:if>
<xsl:if test="$Title != ''">
AND Title Like '%@Title%'
</xsl:if>
<xsl:if test="$Content != ''">
AND Content Like '%@Content%'
</xsl:if>
<xsl:if test="$StartDate != ''">
AND PublicTime &gt;= '@StartDate'
</xsl:if>
<xsl:if test="$EndDate != ''">
AND PublicTime &lt;= '@EndDate'
</xsl:if>
<xsl:if test="$Keyword != ''">
AND Keyword Like '%@Keyword%'
</xsl:if>
ORDER BY PublicTime DESC
) ORDER BY PublicTime DESC
</sql>
<sqlpage>
<!--请在这里编写你的SQL分页查询语句,只有下面启用了分页SQL的XSLT编程支持这里才有效-->
</sqlpage>
<countsql>
<!--请在这里编写你的分页SQL语句,只有下面启用了分页SQL的XSLT编程支持这里才有效-->
SELECT Count(ID) FROM PE_GV_PublicInformation WHERE Status = 2 AND IsExpired = 0
<xsl:if test="$IndexNumber != ''">
AND IndexNumber = '@IndexNumber'
</xsl:if>
<xsl:if test="$Title != ''">
AND Title Like '%@Title%'
</xsl:if>
<xsl:if test="$Content != ''">
AND Content Like '%@Content%'
</xsl:if>
<xsl:if test="$StartDate != ''">
AND PublicTime &gt;= '@StartDate'
</xsl:if>
<xsl:if test="$EndDate != ''">
AND PublicTime &lt;= '@EndDate'
</xsl:if>
<xsl:if test="$Keyword != ''">
AND Keyword Like '%@Keyword%'
</xsl:if>
</countsql>
</root>
</xsl:template>
</xsl:transform>]]></LabelSqlString>
<LabelSqlCount><![CDATA[请在上面的<countsql></countsql>标记之间写分页SQL查询语句
select count(id) from PE_GV_PublicInformation ]]></LabelSqlCount>
<LabelSqlPage>请先建立SQL分页语句</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>
@@ -0,0 +1,82 @@
<?xml version="1.0"?>
<root>
<LabelType>政务公开</LabelType>
<LabelIntro>政府标签</LabelIntro>
<OutType>txt</OutType>
<LabelDataType>static</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<LabelTemplate>
<![CDATA[<script type="text/javascript" language="javascript">
function Search()
{
var indexNumber = document.getElementById("txtIndexNumber").value;
var title = document.getElementById("txtTitle").value;
var content = document.getElementById("txtContent").value;
var startDate = document.getElementById("txtStartDate").value;
var endDate = document.getElementById("txtEndDate").value;
var keyword = document.getElementById("txtKeyword").value;
if(!isDate(startDate) && startDate != "")
{
alert("起始日期格式错误,请重新输入!");
return;
}
if(!isDate(endDate) && endDate != "")
{
alert("结束日期格式错误,请重新输入!");
return;
}
var url = "{PE.SiteConfig.ApplicationPath /}Government/Search.aspx";
url += "?IndexNumber=" + indexNumber+ "&Title=" + title + "&Content=" + content + "&StartDate=" + startDate + "&EndDate=" + endDate + "&Keyword=" + keyword;
window.location.href = url;
}
function isDate(dateString)
{
if(dateString=="")
return true;
//年月日时正则表达式
var r=dateString.match(/^(\d{1,4})\-(\d{1,2})\-(\d{1,2})$/);
if(r==null)
{
return false;
}
var d=new Date(r[1],r[2]-1,r[3]);
var num = (d.getFullYear()==r[1]&&(d.getMonth()+1)==r[2]&&d.getDate()==r[3]);
return (num!=0);
}
</script>
<div class="OpenSearch">
<table width="100%" border="0">
<tr>
<td class="tdlab">索引号<span>文档的索引号包含指定内容</span></td>
<td><input id="txtIndexNumber" name="txtIndexNumber" type="text" style="width:260px;" /></td>
</tr>
<tr>
<td class="tdlab">名称<span>文档标题名称中包括指定的自由词</span></td>
<td><input id="txtTitle" name="txtTitle" type="text" style="width:260px;" /></td>
</tr>
<tr>
<td class="tdlab">正文<span>文档的索引号包含指定内容</span></td>
<td><input id="txtContent" name="txtContent" type="text" class="inputtext" style="font-size:9pt;height:15px;"/></td>
</tr>
<tr>
<td class="tdlab">开始日期<span>文档发文日期起始于</span></td>
<td><input name="txtStartDate" type="text" id="txtStartDate" class="inputtext" style="font-size:9pt;height:15px;"/><img onclick="return showCalendar('txtStartDate', 'yyyy-MM-dd');" src="{PE.SiteConfig.SkinPath/}Images/Calendar.gif" style="border-width:0px;cursor:pointer;vertical-align:middle;" />
</td>
</tr>
<tr>
<td class="tdlab">结束日期<span>文档发文日期结束于</span></td>
<td><input name="txtEndDate" type="text" id="txtEndDate" style="font-size:9pt;height:15px;" /><img onclick="return showCalendar('txtEndDate', 'yyyy-MM-dd');" src="{PE.SiteConfig.SkinPath/}Images/Calendar.gif" style="border-width:0px;cursor:pointer;vertical-align:middle;" />
</td>
</tr>
<tr>
<td class="tdlab">主题词<span>文档主题词包含指定的词<br>(多个主题词以空格分开)</span></td>
<td><input id="txtKeyword" name="txtKeyword" type="text" style="width:260px;" /></td>
</tr>
<tr>
<td colspan="2" class="bottombt"><a href="javascript:Search();">检索文件</a></td>
</tr>
</table>
</div>]]></LabelTemplate>
</root>
@@ -0,0 +1,204 @@
<?xml version="1.0"?>
<root>
<LabelType>政务公开</LabelType>
<LabelIntro>申请进度信息</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<attributes>
<name>Type</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>类型</intro>
</attributes>
<attributes>
<name>Name</name>
<datatype>supersql</datatype>
<default>
</default>
<intro>名称</intro>
</attributes>
<attributes>
<name>ApplicationFormNumber</name>
<datatype>supersql</datatype>
<default>
</default>
<intro>查询码</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString><![CDATA[SELECT TOP 1 PE_GV_ApplicationForm.* FROM PE_GV_ApplicationForm WHERE ApplicationFormNumber = '@ApplicationFormNumber' AND (ApplyerName = '@Name' OR CompanyName = '@Name') AND ApplyerType = @Type]]></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">
<!--params-->
<xsl:param name="Type" />
<xsl:output method="html" />
<xsl:template match="/">
<xsl:choose>
<xsl:when test="count(/NewDataSet/Table) = 0">
<div class="AppForm">
<table width="100%" border="0">
<tbody>
<tr>
<td>查询码或者名称错误,请重新查询!</td>
</tr>
</tbody>
</table>
</div>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="/NewDataSet/Table">
<div class="AppForm">
<table width="100%" border="0">
<xsl:choose>
<xsl:when test="$Type=0">
<tbody>
<tr>
<td><span>申请类型:</span>个人</td>
<td><span>申请人:</span><xsl:value-of select="ApplyerName"/></td>
</tr>
<tr>
<td><span>联系电话:</span><xsl:value-of select="TelePhone"/></td>
<td><span>证件号码:</span><xsl:value-of select="IdentityNumber"/></td>
</tr>
<tr>
<td><span>证件名称:</span><xsl:value-of select="CertificateName"/></td>
<td><span>电子信箱:</span><xsl:value-of select="Email"/></td>
</tr>
<tr>
<td><span>联系地址:</span><xsl:value-of select="Address"/></td>
<td><span>邮编:</span><xsl:value-of select="ZipCode"/></td>
</tr>
<tr>
<td><span>信息提供方式:</span>
<xsl:if test="ProvideMode mod 2 = 1">
纸面
</xsl:if>
<xsl:if test="floor((ProvideMode div 2)) mod 2 = 1">
电子邮件
</xsl:if>
<xsl:if test="floor((ProvideMode div 4)) mod 2 = 1">
光盘
</xsl:if>
<xsl:if test="floor((ProvideMode div 8)) mod 2 = 1">
磁盘
</xsl:if>
</td>
<td><span>获取信息方式:</span>
<xsl:if test="GetMode mod 2 = 1">
通过邮寄
</xsl:if>
<xsl:if test="floor((GetMode div 2)) mod 2 = 1">
通过快递
</xsl:if>
<xsl:if test="floor((GetMode div 4)) mod 2 = 1">
电子邮件
</xsl:if>
<xsl:if test="floor((GetMode div 8)) mod 2 = 1">
通过传真
</xsl:if>
<xsl:if test="floor((GetMode div 16)) mod 2 = 1">
自行领取
</xsl:if>
</td>
</tr>
<tr>
<td colspan="2"><span>所需内容描述:</span><xsl:value-of select="Description"/></td>
</tr>
</tbody>
</xsl:when>
<xsl:otherwise>
<tbody>
<tr>
<td><span>申请类型:</span>单位/公司</td>
<td><span>公司名称:</span><xsl:value-of select="CompanyName"/></td>
</tr>
<tr>
<td><span>联系电话:</span><xsl:value-of select="TelePhone"/></td>
<td><span>组织机构代码:</span><xsl:value-of select="OrganizationNumber"/></td>
</tr>
<tr>
<td><span>法定代表人:</span><xsl:value-of select="LegalRepresentative"/></td>
<td><span>传真:</span><xsl:value-of select="Fax"/></td>
</tr>
<tr>
<td><span>联系地址:</span><xsl:value-of select="Address"/></td>
<td><span>邮编:</span><xsl:value-of select="ZipCode"/></td>
</tr>
<tr>
<td><span>信息提供方式:</span>
<xsl:if test="ProvideMode mod 2 = 1">
纸面
</xsl:if>
<xsl:if test="floor(ProvideMode div 2) mod 2 = 1">
电子邮件
</xsl:if>
<xsl:if test="floor(ProvideMode div 4) mod 2 = 1">
光盘
</xsl:if>
<xsl:if test="floor((ProvideMode div 8)) mod 2 = 1">
磁盘
</xsl:if>
</td>
<td><span>获取信息方式:</span>
<xsl:if test="GetMode mod 2 = 1">
通过邮寄
</xsl:if>
<xsl:if test="floor(GetMode div 2) mod 2 = 1">
通过快递
</xsl:if>
<xsl:if test="floor(GetMode div 4) mod 2 = 1">
电子邮件
</xsl:if>
<xsl:if test="floor(GetMode div 8) mod 2 = 1">
通过传真
</xsl:if>
<xsl:if test="floor(GetMode div 16) mod 2 = 1">
自行领取
</xsl:if>
</td>
</tr>
<tr>
<td colspan="2"><span>所需内容描述:</span><xsl:value-of select="Description"/></td>
</tr>
</tbody>
</xsl:otherwise>
</xsl:choose>
</table>
</div>
<!-- 申请状态 开始 -->
<div class="clearbox">
</div>
<div class="c_spacing">
</div>
<div class="ResultsBox">
<div class="State">
<span>申请表当前状态:</span>
<xsl:choose>
<xsl:when test="Status=0">
待处理
</xsl:when>
<xsl:when test="Status=1">
已转交
</xsl:when>
<xsl:when test="Status=2">
处理中
</xsl:when>
<xsl:otherwise>
已处理完
</xsl:otherwise>
</xsl:choose>
</div>
<div class="Resul">
<span>处理结果:</span>
<xsl:value-of select="Results"/>
</div>
</div>
</xsl:for-each>
<!-- 申请状态 结束 -->
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
</root>
@@ -0,0 +1,57 @@
<?xml version="1.0"?>
<root>
<LabelType>政务公开</LabelType>
<LabelIntro>申请进度结果信息</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>static</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<attributes>
<name>Type</name>
<datatype>supersql</datatype>
<default>0</default>
<intro>类型</intro>
</attributes>
<attributes>
<name>Name</name>
<datatype>string</datatype>
<default>
</default>
<intro>名称</intro>
</attributes>
<attributes>
<name>ApplicationFormNumber</name>
<datatype>string</datatype>
<default>
</default>
<intro>查询码</intro>
</attributes>
<UsePage>False</UsePage>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<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:param name="Type"/>
<xsl:param name="Name"/>
<xsl:param name="ApplicationFormNumber"/>
<xsl:output method="html" />
<xsl:template match="/">
<div class="govDir_box">
<dl>
<dt>
<a href="#" class="titlechg">
<span>依申请进度</span>
</a>
</dt>
</dl>
</div>
<div class="c_spacing">
</div>
{PE.Label id="申请进度信息" Type="<xsl:value-of select="$Type"/>" Name="<xsl:value-of select="$Name"/>" ApplicationFormNumber="<xsl:value-of select="$ApplicationFormNumber"/>"/}
<div class="App_bottom">
<a href="javascript:history.back();">返回</a>
</div>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
</root>
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<LabelType>政务公开</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT * FROM PE_Department WHERE CategoryName=@CategoryName ORDER BY Priority DESC</LabelSqlString>
<attributes>
<name>CategoryName</name>
<datatype>sql.string</datatype>
<default>市政府</default>
<intro>部门所属分类</intro>
</attributes>
<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="/NewDataSet/Table">
<li class="spa">
<a class="bt">
<xsl:attribute name="href">
{PE.SiteConfig.ApplicationPath/}Government/ApplyForm.aspx?DepartmentId=<xsl:value-of select="DepartmentId"/>
</xsl:attribute>
依申请公开
</a>
<a class="bt">
<xsl:attribute name="href">
{PE.SiteConfig.ApplicationPath/}Government/PublicInfoList.aspx?DepartmentId=<xsl:value-of select="DepartmentId"/>
</xsl:attribute>
目录内容
</a>
<a>
<xsl:attribute name="href">
{PE.SiteConfig.ApplicationPath/}Government/Department.aspx?DepartmentId=<xsl:value-of select="DepartmentId"/>
</xsl:attribute>
<xsl:attribute name="title">
<xsl:value-of select="DepartmentName"/>
</xsl:attribute>
<xsl:value-of select="DepartmentName"/>
</a>
</li>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
<Version officialVersion="" modifiedVersions="3500" compatibleVersion="" />
</root>
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<LabelType>政务公开</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT CName FROM PE_DepartmentCategory ORDER BY CSort ASC </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">
<!--params-->
<xsl:output method="html" />
<xsl:template match="/">
<xsl:for-each select="NewDataSet/Table">
<div class="govDir_1Box govDir_box">
<dl>
<dt>
<a href="#">
<span>
<xsl:value-of select="CName"/>
</span></a>
</dt>
<dd>
<ul>
{PE.Label id="部门列表" CategoryName="<xsl:value-of select="CName" />" /}
</ul>
</dd>
</dl>
</div>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
</root>