📄 guest_reply.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%option explicit%>
<!--#include file="../../Conn.asp"-->
<!--#include file="../../SysCls/KS_CommonCls.asp"-->
<!--#include file="../Inc/Session.asp"-->
<%
'===================================================================================================================
'软件名称:科汛网站管理系统
'当前版本:科汛网站管理系统 V2.2 SP2 Free
'Copyright (C) 2006-2008 Kesion.Com All rights reserved.
'产品咨询QQ:9537636,41904294
'技术支持QQ:111394,54004407
'程序版权:科汛网络
'程序开发:科汛网络开发组(总策划:林文仲)
'E-Mail :kesioncms@hotmail.com webmaster@kesion.com
'官方网站:http://www.kesion.com
'演示站点:http://test.kesion.com
'郑重声明:
' ①、免费版本请在程序首页保留版权信息,并做上本站LOGO友情连接,商业版本无此要求;
' ②、任何个人或组织不得在授权允许的情况下删除、修改、拷贝本软件及其他副本上一切关于版权的信息;
' ③、科汛网络保留此软件的法律追究权利
'===================================================================================================================
Dim KSCls
Set KSCls = New Convention_Left
KSCls.Execute()
Set KSCls = Nothing
Class Convention_Left
Private KSCMS,SqlStr,RSObj
Private Sub Class_Initialize()
Set KSCMS=New CommonCls
End Sub
Private Sub Class_Terminate()
Call KSCMS.CloseConn()
Set KSCMS=Nothing
End Sub
Public Sub Execute()
Dim action, pagetxt, useridtxt, ssubject, sanser, sadminhead, scheckbox, sansertime
Dim DomainStr:DomainStr= KSCMS.GetDomain
action =KSCMS.G("action")
pagetxt = Request("cpage")
useridtxt = Request("userid")
if action="ok" then
ssubject =KSCMS.G("txtcontop")
sanser = KSCMS.G("txtanser")
sadminhead = KSCMS.G("adminhead")
scheckbox = KSCMS.G("htmlok")
sansertime = Now()
SqlStr=" UPDATE KS_GuestBook SET AnserTime='" & sansertime & "',AdminHead='" & sadminhead & "',Anser='" & sanser &"',Verific=1 WHERE ID=" & useridtxt
Conn.Execute SqlStr
set Conn = nothing
Response.Redirect "Guest_Manage.asp?page=" & pagetxt
End If
Set RSObj=Server.CreateObject("Adodb.Recordset")
SqlStr="SELECT * FROM KS_GuestBook WHERE ID="&useridtxt
RSObj.Open SqlStr,Conn,1,1
%>
<html>
<head>
<title>雁过留声</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../inc/admin_Style.css" type="text/css">
<br>
<table width="540" border="0" cellspacing="0" cellpadding="0" align="center">
<form method="POST" action="Guest_reply.asp?userid=<%Response.Write useridtxt%>&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="18%" align="center" height="32"><img src="<%=DomainStr%>Skin/face/<%=RSObj("Face")%>"><br><%=RSObj("Name")%></td>
<td><img src="<%=DomainStr%>Skin/face1/<%=RSObj("TxTHead")%>" align="absmiddle" > <%=RSObj("Memo")%></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="150" class="font" align="center">
<tr>
<td > </td>
</tr>
<tr>
<td nowrap align="center">:::::::::::::::::::::::::::::::::::: 站 长 回 复 ::::::::::::::::::::::::::::::::::::</td>
</tr>
<tr>
<td nowrap align="center" height="135" valign="middle">
<p>
<textarea rows="8" name="txtanser" cols="70" class="inputmultiline"><%=KSCMS.HTMLCode(RSObj("Anser"))%></textarea>
</td>
</tr>
</table>
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr valign="bottom">
<td nowrap="nowrap" colspan="16" class="font"><div align="center">::::::::::::::::::::::::::::::::::::: 选 择
表 情 :::::::::::::::::::::::::::::::::::::</div></td>
</tr>
<tr height="25" align="center">
<td colspan="16"><%Dim I
For I=1 To 30
Response.Write "<input type=""radio"" name=""Adminhead"" value=""face" & I & ".gif"""
IF "face"&I&".gif"=RSObj("AdminHead") Then Response.Write(" Checked")
Response.Write" ><img src=""" & DomainStr & "Skin/Face1/Face" & I & ".gif"" border=""0"">"
IF I Mod 15=0 Then Response.Write("<BR>")
Next
%></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="font">
<tr>
<td align="center"><font color="#400040">......................................................................................</font></td>
</tr>
</table>
<table width="530" border="0" cellspacing="0" cellpadding="0" class="font">
<tr>
<td height="35" align="center">
<input type="submit" value=" 确 定 " name="cmdOk" class="inputbutton">
<input type="reset" value=" 恢 复 " name="cmdReset" class="inputbutton">
<input type="button" value=" 返 回 " name="cmdExit" class="inputbutton" onClick=" history.back()">
<input type="hidden" name="action" value="ok"></td>
</tr>
</table>
</div>
</td>
</tr>
</form>
</table>
<p> </p>
<%
End Sub
End Class
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -