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,93 @@
<?xml version="1.0"?>
<root>
<LabelType>问答类</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<attributes>
<name>type</name>
<datatype>int</datatype>
<default>0</default>
<intro>显示类型</intro>
</attributes>
<attributes>
<name>questionID</name>
<datatype>supersql</datatype>
<default>1</default>
<intro>问题ID</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">
<xsl:param name="type" />
<xsl:param name="questionID" />
<xsl:output method="html" />
<xsl:template match="/NewDataSet/Table">
<div class="ask_title">
<div class="rr-1">
</div>
<div class="rr-2-1">
</div>
<div class="rr-3-1">
</div>
<div class="best_answerTit" >
<h3>答案提交</h3>
</div>
<div class="best_answer">
<div class="quiz">
<div id="spanMsg" class="Submitted-successfully">
<xsl:choose>
<xsl:when test="$type = 0">
<p>答案提交失败,请您重新提交!</p>
</xsl:when>
<xsl:when test="$type = 1">
<p>非常感谢您帮助提问者解决难题</p> <br />
<p>您可以通过以下链接查看您的回答情况。</p>
</xsl:when>
<xsl:when test="$type = 2">
<p>答案提交成功,请等待管理员审核。</p>
</xsl:when>
<xsl:when test="$type = 3">
<p>提交答案不能使用匿名</p>
</xsl:when>
<xsl:when test="$type = 4">
<p>答案提交失败,请您重新提交!</p>
</xsl:when>
<xsl:otherwise>
<p>参数错误</p>
</xsl:otherwise>
</xsl:choose>
</div>
<div style="text-align:center;">
<xsl:choose>
<xsl:when test="$type = 0">
<a><xsl:attribute name="href">javascript:history.back();</xsl:attribute>返回</a>
</xsl:when>
<xsl:otherwise>
<a><xsl:attribute name="href">ShowQuestion.aspx?Id=<xsl:value-of select="$questionID"/></xsl:attribute>查看该问题</a>
</xsl:otherwise>
</xsl:choose>
<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
<a href="MyReply.aspx">查看我的回答</a>
<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
<a><xsl:attribute name="href">QuestionList.aspx?Id=<xsl:value-of select="CategoryID"/>&amp;ShowType=1</xsl:attribute>查看问题相关分类</a>
<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
<a href="Index.aspx">问答首页</a>
</div>
</div>
<div class="rr-3">
</div>
<div class="rr-2">
</div>
<div class="rr-1">
</div>
</div>
</div>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>SELECT CategoryID FROM PE_QA_Question WHERE QuestionID = @questionID</LabelSqlString>
</root>