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

📄 reguestbook.asp

📁 很好的
💻 ASP
字号:
<!--===============================================================-->
<!--Mfkiqpl旅行社旅游线路预订程序源代码仅供学习或部分旅行社网站用---->
<!--任何单位或个人不得随意修改、截取其中代码或做不法用途------------->
<!--版权归属:mfkiqpl   http://www.zjjnet.com 所有-------------------->
<!--请务必保留以下版权信息------------------------------------------->
<!--作者:mfkiqpl----------------------------------------------------->
<!--QQ:31827726 mail:mfkiqpl@126.com--------------------------------->
<!--主页地址:http://www.zjjnet.com----------------------------------->
<!----------------欢迎各位站长与本人小站进行友情链接----------------->
<!--===============================================================-->
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="config.asp"--><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title><%=title%>-版主回复</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
}
-->
</style></head>

<body onload="javascript:form1.tt.focus();">
<%if session("admin")="mfkiqpl" then
%>
<script>
function check(){
if(form1.tt.value==""){
alert("检查输入!");
form1.tt.focus();
return false;
}
}
</script>
<%dim action
action=request("action")
if action<>"ok" then
%>
<table width="400" border="0" cellpadding="0" cellspacing="1" bgcolor="<%=color1%>">
<form name="form1" method="post" action="?action=ok&id=<%=request("id")%>" onsubmit="return check();">
  <tr>
    <td height="170" bgcolor="<%=color3%>"><textarea name="tt" cols="53" rows="10" id="tt"></textarea></td>
  </tr>
  <tr>
    <td height="30" align="center" bgcolor="<%=color3%>"><input type="submit" name="Submit" value="回 复">   
      <input type="button" name="Submit2" value="取 消" onclick="javascript:window.close();"></td>
  </tr>
</form>
</table>
<%else
dim id,t1
t1=replace(request("tt"),"'","’")
id=trim(request("id"))
sql="update guestbook set re='"&t1&"' where id="&id
conn.execute (sql)
connclose
response.Write("<script>window.opener.location.reload();</script>")
response.Write("<script>window.close();</script>")
end if
else
response.Write("<script>window.close();</script>")
end if
%>
</body>
</html>

⌨️ 快捷键说明

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