<!--#include file=conn.asp-->
<!--#include file=html.asp-->
<!--#include file=postubb.asp-->
<!--#include file="config.asp"-->
<html>
<head>
<title>问题补充</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
td		{font-size: 9pt; line-height: 18px;font-family: "Arial";}
.bgtle		{border-top: #58CB64 1px solid; background-color: #DDF1D8; padding-left: 10px; padding-right: 10px; height:24px; font-weight:bold; font-size: 14px;}
.bnsrh		{padding-top:2px;height:24px}
.bgbdy		{background-color: #FFFFFF;}
.bgcntLn		{BORDER-left: #DDF1D8 2px solid; BORDER-right: #DDF1D8 2px solid; BORDER-bottom: #DDF1D8 2px solid; background-color: #FFFFFF; padding-left: 8px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px;}
.f14{font-size:14px;line-height:20px;}
-->
</style>
</head><body class="bgbdy" >
<%
if request("submit")="提交" then
if not IsNumeric(request("id")) then
		Response.Write ("<script>alert('友情提示!\n\参数错误!');history.back();</script>")
		Response.end
	end if
	if request("id")<>"" then
	id=CLNG(request("id"))
	end if
  if request("co")="" then
  response.write"<tr><td bgcolor=ffffff colspan=7>公告标题不能为空!<a href=javascript:history.back()>返回</a></td></tr>"
  response.End()
  else
  rs.open"select * from question where id="&cint(request("id")),conn,1,3
  rs("bu")=request("co")
  rs.update
  rs.close
  %><script language="javascript">
var cmdNo = "no100002";
if (cmdNo == "no100002")
{document.write("<table width=400 border=0 cellpadding=0 cellspacing=0 align=center><tr> <td height=25 class=bgtle nowrap>问题结果：</td> </tr> <tr><td class=bgcntLn> <table width=100% border=0 cellspacing=0 cellpadding=0> <tr> <td height=100 class=f14><div align=center>问题补充成功!</div></td></tr><tr> <td height=40 align=center><input type=button value=关闭窗口 onClick=closeme(); lass=bnsrh></td></tr></table></td></tr></table>");
}
if(cmdNo == "no100015"){setTimeout("closeme()",500);}
function closeme(){
window.opener.location.reload();
self.close();}
</script>
  <%end if
 else
  rs.open"select * from question where id="&cint(request("id")),conn,1,3
  %>
<form action=buchong.asp?id=<%=request("id")%> method=post name=fdetail>
<table width="400" border="0" cellpadding="0" cellspacing="0" align="center">
  <tr> 
    <td height="25" class="bgtle" nowrap>请对您的问题进行补充：</td>
  </tr>
  <tr> 
    <td class="bgcntLn">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="110"><textarea name="co" cols="50" rows="6"><%=rs("bu")%></textarea></td>
        </tr>
        <tr> 
          <td height="30" valign="bottom"><input type="submit" name="Submit" value="提交"  class="bnsrh"></td>
        </tr>
      </table></td>
  </tr>
</table>
<textarea id="co" style="display:none" rows="1" cols="20">谁教我使用知道</textarea>  
</form>
</body>
</html>
<%rs.close
end if%>