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

📄 dayi_reply.asp

📁 网络答疑系统 界面简单 功能少有欠缺
💻 ASP
字号:
<%if session("iamcoming")<>"" then%>
<!--#include file="conn.asp"-->
<%
dim id
id=cstr(request("id"))
if id="" then Response.Redirect "index.asp"
%>

<HTML><HEAD><TITLE>:::网上答疑:::</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="css.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<SCRIPT language=JavaScript>
function CheckForm()
{
    msg = "回复的资料都正确无误,可以送出了吗!?"
    if (document.form1.reply.value.length == 0) 
	{
		alert("请输入您回复的信息!");
		document.form1.reply.focus();   
		return false;
	}
	
	
	return confirm(msg)
	return true;
}
</SCRIPT>

</HEAD>
<%
on error resume next
set rs=server.createobject("adodb.recordset")
sql="select * from table_dayi where id="&id
rs.open sql,conn,1,1
	if rs.eof and rs.bof  then 
		response.write "<script>alert('对不起,该信息并不存在,请返回!');window.close();</Script>"
		response.end
	else

%>


<BODY  leftMargin=0 topMargin=0 
marginheight="0" marginwidth="0">
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>
  <TBODY>
  <TR>
      <TD vAlign=top width=778 background=images/02.jpg height=138>&nbsp; 
      </TD>
    </TR>
  <TR>
    <TD vAlign=top>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR vAlign=top>
          <TD width="18%">
            <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR>
                <TD background=images/07.jpg>
                  <TABLE cellSpacing=0 cellPadding=0 width=184 border=0>
                    <TBODY>
                    <TR>
                              <TD><IMG height=353 src="images/03.jpg" 
                        width=183 useMap=#Map border=0 href="bmwd.htm"> </TD>
                            </TR>
                    <TR>
                      <TD>
                        <TABLE cellSpacing=0 cellPadding=0 width=182 border=0>
                          <TBODY>
                          <TR>
                            <TD><IMG height=6 src="images/04.jpg" 
                              width=183></TD></TR>
                          <TR>
                            <TD background=images/05.jpg>
                              <TABLE cellSpacing=0 cellPadding=0 width="100%" 
                              border=0>
                                <TBODY>
                                <TR>
                                <TD width=10>&nbsp;</TD>
                                <TD>
                                <TABLE cellSpacing=0 cellPadding=0 width="100%" 
                                border=0>
                                <TBODY>
                                <TR>
                                                      <TD vAlign=top height=252>&nbsp; </TD>
                                                    </TR></TBODY></TABLE></TD>
                                <TD 
width=10>&nbsp;</TD></TR></TBODY></TABLE></TD></TR>
                          <TR>
                            <TD><IMG height=9 src="images/06.jpg" 
                              width=183></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
              <TD width="82%"><FORM name=form1  method="post" onsubmit="return CheckForm();" action=dayi_reply_save.asp?id=<%=rs("id")%>>
          <TABLE width="539" border=0 align="center" cellPadding=2 cellSpacing=0 class=css>
            <TBODY>
              <TR> 
                <TD width="13%">询问人:</TD>
                <TD width="21%"><%=rs("dayi_who")%>&nbsp; </TD>
                <TD width="12%">填写日期:</TD>
                <TD width="54%"><%=rs("dayi_date")%></TD>
              </TR>
              <TR> 
                <TD vAlign=top>标题:</TD>
                <TD colspan="3"><%=rs("dayi_title")%> </TD>
              </TR>
              <TR> 
                <TD vAlign=top>问题:</TD>
                <TD colspan="3" vAlign=center><FONT color=#ff0000> <%=rs("dayi_question")%></FONT></TD>
              </TR>
              <TR> 
                <TD vAlign=top>IP地址:</TD>
                <TD colspan="3" vAlign=center><FONT color=#ff0000> <%=rs("dayi_ip")%></FONT></TD>
              </TR>
              <TR> 
                <TD vAlign=top>回复:</TD>
                <TD colspan="3" vAlign=center><FONT color=#ff0000>
                  <TEXTAREA id=reply name=reply rows=10 cols=45></TEXTAREA>
                  </FONT></TD>
              </TR>
              <TR> 
                <TD>&nbsp;</TD>
                <TD colspan="3"><INPUT type=submit value="提 交" name=Submit> &nbsp;&nbsp;&nbsp;&nbsp; 
                  <INPUT type=reset value="重 写" name=reset> </TD>
              </TR>
            </TBODY>
          </TABLE>
        </FORM>&nbsp; </TD>
            </TR></TBODY></TABLE></TD></TR>
  <TR>
      <TD background=images/bg2003.jpg height=90> 
        <DIV 
      align=center><BR>
          <BR>
          推荐用IE5.0或NS6.0以上版本浏览,最佳显示800*600<BR>
          COPYRIGHT@ 2004 <BR>
          <BR>
          <BR>
        </DIV></TD></TR></TBODY></TABLE></BODY></HTML>
<%
set rs=Nothing
end if
%>
<%
else
 response.write "<script language=javascript>"
 response.write "alert('管理员操作超 时..........');"
 response.write "javascript:history.go(-1)"
 response.write "</script>"
end if%>

⌨️ 快捷键说明

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