first commit
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<LabelType>其他类</LabelType>
|
||||
<LabelIntro>
|
||||
</LabelIntro>
|
||||
<OutType>sin</OutType>
|
||||
<LabelDataType>sql_sysquery</LabelDataType>
|
||||
<LabelSqlString>
|
||||
<![CDATA[SELECT TOP 1
|
||||
CM.GeneralID
|
||||
FROM PE_CommonModel CM
|
||||
INNER JOIN PE_U_Announce UT ON ( CM.GeneralID = UT.ID )
|
||||
WHERE UT.ShowType IN ('弹出','全部')
|
||||
AND UT.IsSelected = 1
|
||||
AND (
|
||||
DATEDIFF(d, UT.DateAndTime, GETDATE()) <= UT.OutTime
|
||||
OR UT.OutTime = 0
|
||||
)
|
||||
AND CM.status = 99]]></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:if test="NewDataSet/Table">
|
||||
<script type="text/javascript">
|
||||
window.open ("<xsl:value-of select="pe:InstallDir()" />Category_5/index.aspx", "newwindow", "height=440, width=400, toolbar=no, menubar=no, scrollbars=auto, resizable=yes, location=no, status=no")
|
||||
</script>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
</xsl:transform>]]></LabelTemplate>
|
||||
<EnabelAjax>False</EnabelAjax>
|
||||
<IsXsltSql>false</IsXsltSql>
|
||||
<IsXsltCountSql>false</IsXsltCountSql>
|
||||
<Version officialVersion="" modifiedVersions="3001" compatibleVersion="" />
|
||||
</root>
|
||||
Reference in New Issue
Block a user