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

📄 addcl.asp

📁 wap系统程序源码 用户名密码:admin
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%response.buffer=true%>
<%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<% LANGUAGE="VBSCRIPT" %>
<!--#include file="conn.inc"-->
<!--#include file="66hcsb.asp"-->
<%
txt=request("txt")
lid=request("lid")
tou=request("tou")
myyid=request("myid")
yc=request("yc")
agent=request.serverVariables("HTTP_USER_AGENT")
if "&myid&"="&myyid&" then
eer="自己给自己写信?<br/>"
end if
set rsc=Server.CreateObject("ADODB.Recordset")
rsplc="select * from myhm where cstr(jid)="&lid&" and cstr(bid)="&myid
rsc.open rsplc,conn,1,2
if not rsc.eof then
eer="警告:对方已经把你加为仇人,请不要骚扰对方了!"
end if
rsc.close
set rsc=nothing
set rsx=Server.CreateObject("ADODB.Recordset")
rsstrx="select id from [66hc_gr] where cstr(id)="&lid
rsx.open rsstrx,conn,1,2
if rsx.eof then
eer="没有这个会员呀。。。。<br/>"
end if
rsx.close
set rsx=Nothing

if txt="" then response.redirect "add.asp?glsb=" & glsb & ""
kword=split("fuck,他妈的,我靠,我操,去死,我叼",",")
function keyWord(s)
dim KwCount
KwCount=0
	for kwi=0 to ubound(kword)
		KwCount = KwCount + instr(s,kword(kwi))
	next
	keyWord=KwCount
end function
if keyWord(con)>0 then response.redirect "add.asp"

set rs=Server.CreateObject("ADODB.Recordset")
rsstr="select * from [tbxx] order by ID desc"
rs.open rsstr,conn,1,2

dim errr
errr=0
if rs.recordcount>0 then
	if rs("fnr")=txt then errr=1
end if

if errr=1 then eer="请不要重复发送,<br/>正在返回个人资料!<br/>"
if errr<>1 then

rs.addnew

if txt<>"" then rs("fnr")=txt

rs("sid")=lid
if tou<>"" then rs("tou")=tou
rs("fid")=myyid
rs.update

end if


if rs.recordcount=0 then
rs.addnew

if txt<>"" then rs("fnr")=txt
if tou<>"" then rs("tou")=tou
rs("sid")=lid
rs("fid")=myyid

rs.update
end if

rs.close
set rs=Nothing
%>
<wml>
<head>
<meta http-equiv="Cache-Control" content="no-Cache"/>
<meta http-equiv="Cache-Control" content="max-age=0"/>
</head>
<card title="发送消息" ontimer="index.asp?glsb=<%=glsb%>">
<timer value="15"/>
<p>
<%if eer="" then%>
<!--#INCLUDE file="xxts.asp"-->
消息发送成功,<br/>
正在返回社区首页!<br/>
<%else%>
<%=eer%>
<%end if%>
<!--#include file="w.asp"-->
</p>
</card>
</wml>

⌨️ 快捷键说明

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