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

📄 reply.asp

📁 中华软件联盟--留言系统1.0 演示地址:http://bbs.on-line.cn/UploadFile/2004115213938136.html 下载地址:http://bbs.on-line.
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--made by 中华软件联盟 http://www.downbest.net/-->
<!--#include file="../dbconnect/guestbook.admin.inc.asp" -->
<!--#include file="../inc/char.inc.asp"-->
<%
Function checkPermission()
	If Session("admin")<>"" then 
		checkPermission=TRUE
	Else
		checkPermission=FALSE
	End if
End Function

tmp=checkPermission()
If tmp=TRUE then
%>

<%
action =Request.form("action")
if action="ok" then
   ssubject = CheckStr(request.form("txtcontop"))   
   sanser = CheckStr(request.form("txtanser"))
   sadminhead = CheckStr(request.form("adminhead"))
   useridtxt = request("userid")
   pagetxt = Request("cpage")
   scheckbox=request.form("htmlok")
   sansertime=cstr(now()) 
   upsql=" UPDATE book SET ansertime='" & sansertime & "',subject='" & ssubject & "',adminhead='" & sadminhead & "',anser='" & sanser &"' WHERE id=" & useridtxt
   conn.Execute upsql
   set conn=nothing
   response.redirect "manage.asp?page=" & pagetxt
end if
%>
<%
   dim strsql
   dim rs
   dim ssubject
   dim smemo
   dim adminhead
   dim sanser
   useridtxt=request("userid")
   pagetxt=request("cpage")
   set rs=server.createobject("adodb.recordset")
   strsql="select * from book WHERE ID="&useridtxt
   rs.open strsql,conn,1,1
%>
<html>
<head>
<title>中华软件联盟-管理中心-回复留言</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../css/style.css" type="text/css">

<SCRIPT language=javascript>
<!--
  function mOvr(src,clrOver) {
    if (!src.contains(event.fromElement)) {
	  src.bgColor = clrOver;
	}
  }
  function mOut(src,clrIn) {
	if (!src.contains(event.toElement)) {
	  src.bgColor = clrIn;
	}
  }
// -->	
</SCRIPT>
</head>

<body bgcolor="#003366" leftmargin="0" marginwidth="0" topmargin="0">
<table width="777" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
  <tr>
    <td bgcolor="#FFFFFF" height="5"><!--webbot bot="HTMLMarkup" startspan --><script language=javascript src="../head.js"></script><!--webbot
      bot="HTMLMarkup" endspan -->
    </td>
  </tr>
</table>
<table cellspacing=0 cellpadding=0 width=777 align=center border=0 bgcolor="#FFFFFF">
  <tbody> 
  <tr> 
    <td valign=top width=200 bgcolor=#f5f5f5> 
      <table cellspacing=0 cellpadding=0 width="100%" border=0>
        <tbody>
          <tr>
            <td align=middle background="../images/bg_2.gif" height=25>
              <div align="center"><b><font color="#cc0000">信息反馈</font></b></div></td>
          </tr>
          <tr>
            <td background="../images/line_3.gif" height=1></td>
          </tr>
          <tr>
            <td bgcolor=#f5f5f5 height=30>&nbsp;</td>
          </tr>
          <tr>
            <td height=1>
              <table cellspacing=0 cellpadding=0 width="80%" align=center border=0>
                <tbody>
                  <tr>
                    <td width="100%" background="../images/line_3.gif" height=1></td>
                  </tr>
                </tbody>
            </table></td>
          </tr>
          <tr valign=center align=middle bgcolor=#ffffff>
            <td bgcolor=#f5f5f5 height=25><div align="center"></div></td>
          </tr>
          <tr>
            <td height=1>
              <table cellspacing=0 cellpadding=0 width="80%" align=center border=0>
                <tbody>
                  <tr>
                    <td width="100%" background="../images/line_3.gif" height=1></td>
                  </tr>
                </tbody>
            </table></td>
          </tr>
          <tr valign=center align=middle bgcolor=#ffffff>
            <td onMouseOver="mOvr(this,'#ffffff');" onMouseOut="mOut(this,'#f5f5f5');" bgcolor=#f5f5f5 height=25>
              <div align="center"><font color="#0000FF"><b><font color="#FF6600"><img src="../images/gbook.gif" width="18" height="18" border="0" align="absmiddle"></font></b></font> <a href="../default.asp">查看留言</a></div></td>             
          </tr>
          <tr>
            <td height=1>
              <table cellspacing=0 cellpadding=0 width="80%" align=center border=0>
                <tbody>
                  <tr>
                    <td width="100%" background="../images/line_3.gif" height=1></td>
                  </tr>
                </tbody>
            </table></td>
          </tr>
          <tr valign=center align=middle bgcolor=#ffffff>
            <td onMouseOver="mOvr(this,'#ffffff');" onMouseOut="mOut(this,'#f5f5f5');" bgcolor=#f5f5f5 height=25>
              <div align="center"><font color="#CCCCCC"><img src="../images/write.gif" border="0" width="18" height="14"> <a href="../guestbook.asp"> 签写留言</a></font></div></td>
          </tr>
          <tr>
            <td height=1>
              <table cellspacing=0 cellpadding=0 width="80%" align=center border=0>
                <tbody>
                  <tr>
                    <td width="100%" background="../images/line_3.gif" height=1></td>
                  </tr>
                </tbody>
            </table></td>
          </tr>
          <tr valign=center align=middle bgcolor=#ffffff>
            <td onMouseOver="mOvr(this,'#ffffff');" onMouseOut="mOut(this,'#f5f5f5');" bgcolor=#f5f5f5 height=25><div align="center"><img src="../images/admin.gif" width="18" height="18" border="0" align="absmiddle"> <a href="manage.asp">留言管理</a></div></td>
          </tr>
          <tr>
            <td bgcolor=#f5f5f5>
              <table cellspacing=0 cellpadding=0 width="80%" align=center border=0>
                <tbody>
                  <tr>
                    <td width="100%" background="../images/line_3.gif" height=1></td>
                  </tr>
                </tbody>
            </table></td>
          </tr>
          <tr valign=center align=middle bgcolor=#ffffff>
            <td onMouseOver="mOvr(this,'#ffffff');" onMouseOut="mOut(this,'#f5f5f5');" bgcolor=#f5f5f5 height=25><div align="center"><img src="../images/keywords.gif" width="18" height="14" border="0" align="absmiddle"> <a href="sysuser.asp">系统管理</a></div></td>
          </tr>
          <tr>
            <td bgcolor=#f5f5f5>
              <table cellspacing=0 cellpadding=0 width="80%" align=center border=0>
                <tbody>
                  <tr>
                    <td width="100%" background="../images/line_3.gif" height=1></td>
                  </tr>
                </tbody>
            </table></td>
          </tr>
          <tr valign=center align=middle bgcolor=#ffffff>
            <td onMouseOver="mOvr(this,'#ffffff');" onMouseOut="mOut(this,'#f5f5f5');" bgcolor=#f5f5f5 height=25><div align="center"><img src="images/exit.gif" width="16" height="16" align="absmiddle"> <a href="logout.asp">退出管理</a></div></td>
          </tr>
          <tr>
            <td bgcolor=#f5f5f5>
              <table cellspacing=0 cellpadding=0 width="80%" align=center border=0>
                <tbody>
                  <tr>
                    <td width="100%" background="../images/line_3.gif" height=1></td>
                  </tr>
                </tbody>
            </table></td>
          </tr>
          <tr valign=center align=middle bgcolor=#ffffff>
            <td bgcolor=#f5f5f5 height=25><div align="center"></div></td>
          </tr>
          <tr>
            <td bgcolor=#f5f5f5>
              <table cellspacing=0 cellpadding=0 width="80%" align=center border=0>
                <tbody>
                  <tr>
                    <td width="100%" background="../images/line_3.gif" height=1></td>
                  </tr>
                </tbody>
            </table></td>
          </tr>
        </tbody>
      </table></td>
    <td valign=top style="border-left:1px #000000 dotted"> 
      <table cellspacing=0 cellpadding=0 width=596 border=0>
        <tbody> 
        <tr> 
          <td valign=top> 
            <table cellspacing=0 cellpadding=0 width="96%" align=center border=0>
              <tbody> 
              <tr> 
                <td valign="top">
                  <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr> 
                      <td width="500">
<table width="540" border="0" cellspacing="0" cellpadding="0" align="center" class="border3">
  <form method="POST" action="reply.asp?userid=<%Response.Write useridtxt%>&amp;cpage=<%Response.Write pagetxt%>" name="repleBook">
    <tr>
      <td valign="top"> <br>
          <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
            <tr> 
              <td colspan="2" align="center" height="14">::::::::::::::::::::::::::::::::::::              
                


 留 言 内 容             

 ::::::::::::::::::::::::::::::::::::</td>
            </tr>
            <tr> 
              <td width="80" align="center" class="font3" height="32"><img src="../<%=rs("face")%>"><br>
                <%=rs("name")%></td>
              
            <td width="460" class="font" ><img src="../<%=rs("txthead")%>" align="absmiddle" > 
              <%=FilterHTML(rs("memo"))%></td>

⌨️ 快捷键说明

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