<!--#include file=conn.asp-->
<!--#include file="config.asp"-->
<%
if session("person")="" then
	  response.redirect "login.asp"
	  end if
if not IsNumeric(request("id")) or 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
%>
<html>
<head>
<title>处理问题—无满意回答</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
 <link href="iknow.css" rel="stylesheet" type="text/css">
</head>
<body class="bgbdy" topmargin="0">
<!--#include file=top.asp-->
<center>
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td height="25"><a href="<%=weburl%>"><%=webname%></a> &gt; 处理问题<a href="#"></a></td>          
  </tr>
</table>
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td class="bgtle">无满意回答</td>
  </tr>
  <tr> 
    <td class="bgcntBor3" align=center>
    <%
if request("submit")="确 认" then
	  if session("person")="" then
	  response.redirect "login.asp"
	  end if
	  if not IsNumeric(request("id")) then
		Response.Write ("<script>alert('友情提示!\n\参数错误!');history.back();</script>")
		Response.end
	end if
	  if request("id")="" then
	  response.write"<script>alert('友情提示!\n\参数错误!');history.back();</script>"
	  end if
	  rs3.open"select * from question where id="&id&" and sender='"&session("person")&"'",conn,1,3
	  if rs3.eof then
	  response.write"<script>alert('友情提示!\n\参数错误!');history.back();</script>"
	  else
	  rs3("jie")=2
		  rs3.update
		  rs3.close
	  response.write"<script>alert('您的问题已关闭!');window.navigate('showquestion.asp?id="&id&"');</script>"	  
	  end if
	  end if
%>
 <table width="60%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td align=center><br><span class="f14B">如果没有满意的回答，请点击下面的“确定”按钮直接结束提问！ 
        </span><br><br><br><img src="img/tips.gif" width="16" height="16">出于保护回答者利益的考虑，问题的悬赏分将不再返还。<br> 如果因此造成您的积分损失，我们希望能得到您的理解。<br> 
      <FORM action=wudaan.asp>
      <p align="center"><span class="f14"><input type="submit" name="submit" value="确 认"  class="bnsrh">　<a href="javascript:history.go(-1);">返回</a> 
        </span><br><input type=hidden name=id value=<%=id%>>
</form>
          </td>
        </tr>
      </table></td>
  </tr>
</table>
<br>
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0" style="clear:both;">  <tr>    <td height="30" align=center><!--#include file=end.asp--></td> 
  </tr>
</table>
</center>
</body>
</html>