最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
管理用户踢人文件admin/admin.asp
时间:2022-07-02 23:34:52 编辑:袖梨 来源:一聚教程网
管理用户踢人文件admin/admin.asp
<%
user=request.form("user")
adbut=request.form("kaction")
whoto=request.form("hdish")
%>
<%
chatdata=application("chatdata")
chatcomm=application("chatcomm")
chatpoin=application("chatpoin")
sendid=finduser(user)
if sendid<51 and chatdata(sendid,1)=Request.ServerVariables("remote_addr") then
if session("admlevel")="9" then
reciid=finduser(whoto)
select case adbut
case "sip"
if reciid<51 then
dispstr=right("0"&time,8)&",系统,0,"&user&",ff0000,0,"&whoto&"的IP地址是"&chatdata(whotoid,1)
else
dispstr=right("0"&time,8)&",系统,0,"&user&",ff0000,0,"&whoto&"不在此聊天室"
end if
%><%
case "kip"
if reciid<51 and sendid<>reciid then
kicklist=application("kicklist")
if instr(kicklist,",'"&chatdata(reciid,1)&"'")<1 then
kicklist=kicklist&",'"&chatdata(reciid,1)&"'"
chatpoin=chatpoin+1 mod 50
chatcomm(chatpoin)="'"&right("0"&time,8)&",系统,0,所有人,ff0000,0,"&whoto&"所在的IP被管理员踢出了聊天室'"
<%
user=request.form("user")
adbut=request.form("kaction")
whoto=request.form("hdish")
%>
<%
chatdata=application("chatdata")
chatcomm=application("chatcomm")
chatpoin=application("chatpoin")
sendid=finduser(user)
if sendid<51 and chatdata(sendid,1)=Request.ServerVariables("remote_addr") then
if session("admlevel")="9" then
reciid=finduser(whoto)
select case adbut
case "sip"
if reciid<51 then
dispstr=right("0"&time,8)&",系统,0,"&user&",ff0000,0,"&whoto&"的IP地址是"&chatdata(whotoid,1)
else
dispstr=right("0"&time,8)&",系统,0,"&user&",ff0000,0,"&whoto&"不在此聊天室"
end if
%><%
case "kip"
if reciid<51 and sendid<>reciid then
kicklist=application("kicklist")
if instr(kicklist,",'"&chatdata(reciid,1)&"'")<1 then
kicklist=kicklist&",'"&chatdata(reciid,1)&"'"
chatpoin=chatpoin+1 mod 50
chatcomm(chatpoin)="'"&right("0"&time,8)&",系统,0,所有人,ff0000,0,"&whoto&"所在的IP被管理员踢出了聊天室'"
相关文章
- BNB价格预测2025-2030:BNB价格会很快突破1000美元吗? 08-02
- 《云顶之弈》S14赛季核弹流可酷伯阵容推荐 08-02
- SUI价格逼近5美元大关:多头能否继续主导市场? 08-02
- 《龙息神寂》龙与地下城联动英雄奥玛抽取建议 08-02
- 卡尔达诺(ADA)8月2日价格预测 08-02
- 《龙息神寂》瓦斯卡平民冰队打法攻略 08-02