📄 youkemsg.asp
字号:
<!--#include file="include/buyok_shop_30_conn.asp" -->
<%
'如果会员已经登陆,则转入会员中心的短信页面,否则使用游客短信页面
if request.cookies("buyok")("userid")<>"" then Response.Redirect "mymsg_hand.asp"
%>
<HTML>
<HEAD>
<title>站内消息-<%=sitename%>-<%=siteurl%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="description" content="<%=sitedescription%>">
<meta name="keywords" content="<%=sitekeywords%>">
<link rel="stylesheet" href="buyok_shop.css" type="text/css">
</head>
<center>
<!--#include file="buyok_top.asp"-->
<table width="760" border=0 cellspacing=0 cellpadding=0 align=center bgcolor="#FFFFFF" class="grayline">
<tr><td bgcolor="FFFBF7" align=center valign=top width=185>
<!--#include file="buyok_login.asp" -->
<!--#include file="buyok_tree.asp" -->
</td>
<td bgcolor="#CCCCCC" width="1"></td>
<td width=569 align=center valign=top>
<TABLE border=0 width=100% cellspacing="2" cellpadding="2" align=center>
<tr><td height=30>目前位置:<a href=main.asp>首页</a> > 站内消息</td></tr>
<tr><td width="569" align="center" height="1" background="images/small/bgline.gif"></td></tr>
</table>
<%
nn=request.form("neirong")
if llen(nn)>500 then
response.write "<br> 留言太长,请分次留言! <A HREF='javascript:history.go(-1)'>点击返回</A><br> "
response.end
end if
if request("send")="ok" then
call buyok_check_path()
Set msgrs=server.createobject("adodb.recordset")
msgrs.Open "hand" ,conn,3,3
msgrs.addnew
msgrs("name")="admin"
msgrs("neirong")=request.form("neirong")
msgrs("riqi")=now()
msgrs("fname")="游客留言"
msgrs.update
msgrs.close
set msgrs=nothing
response.write "<br> 站内消息已成功发送!如果您留下了联系方式,我们会及时与您取得联系。 <br> "
response.write "<meta http-equiv=refresh content=""2;URL=main.asp"">"
else
%>
<form name="add" method="post" action="youkemsg.asp">
<table border=0 width="99%" align="center" cellpadding="5" cellspacing="1" style="border-collapse: collapse" bordercolor="#222222" border="1">
<tr><td> 请留下您的需求登记或意见、建议等,并附上<font color=red>有效的联系方式</font>以便我们能及时回复。<br><br> (内容不超过500字)<br><br>
<textarea rows="10" name="neirong" cols="65" style="BORDER-RIGHT: #CCCCCF 1px solid; BORDER-TOP: #CCCCCF 1px solid; FONT -SIZE: 10pt; BORDER-LEFT: #CCCCCF 1px solid; COLOR: #666666; BORDER-BOTTOM: #CCCCCF 1px solid; FONT-FAMILY: verdana" style="overflow:auto;"></textarea></p><p>
<input type="submit" value="发送消息" name="">
<input type="reset" value="重新填写"></p><p> </p>
<input name="send" type="hidden" value="ok"></td>
</table>
</form>
<%end if%>
</td></TR></TABLE>
<!--#include file="buyok_down.asp"-->
</center>
</body>
</html>
<%
conn.close
set conn=nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -