⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ask_buchong.asp

📁 类似于baidu的百度知道
💻 ASP
字号:
<!--#include file=conn.asp-->
<!--#include file=Code_Html.asp-->
<!--#include file=Post_Ubb.asp-->
<!--#include file="Config.asp"-->
<title>问题补充</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<%
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>问题结果:</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
  %>
<body style="background-color: #FFFFFF">

<form action=Ask_BuChong.asp?id=<%=request("id")%> method=post name=fdetail>
<table width="400" border="0" cellpadding="0" cellspacing="0" align="center" class="t1">
  <tr> 
    <td height="25" class="t11">
	<p align="center"><b>请对您的问题进行补充</b></td>
  </tr>
  <tr> 
    <td class="bgcntLn">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="110">
			<p align="center"><textarea name="co" cols="50" rows="6"><%=rs("bu")%></textarea></td>
        </tr>
        <tr> 
          <td height="30" valign="bottom">
			<p align="center"><input type="submit" name="Submit" value="提交"  class="bnsrh"></td>
        </tr>
      </table></td>
  </tr>
</table>
<p align="center">
<textarea id="co" style="display:none" rows="1" cols="20">谁教我使用知道</textarea>  
</p>
</form>
</body>
</html>
<%rs.close
end if%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -