kick.asp
来自「聊天室源码呵呵你好用~~~~~~2.0版本」· ASP 代码 · 共 56 行
ASP
56 行
<%@ LANGUAGE=VBScript%>
<%Server.ScriptTimeout=600
Response.Expires=0
if Session("a_c_user_name")="" then
Response.write "<b>[操作失败]</b><p>您尚未登录(或已经超时退出),不能进行此操作!"
Response.end
end if
if Session("a_c_user_level")<6 then
Response.Write "<b>[操作失败]</b><p>您没有踢人的权限!"
Response.End
end if
if NOT(Session("a_c_user_name")="聊天室管理员" or Session("a_c_user_outchat")=0) then
Response.Write "<b>[操作失败]</b><p>你不在聊天室中,不能踢人!"
Response.End
end if
username=Request.QueryString("username")%><html>
<head>
<title>踢人操作</title>
<style type="text/css">
<!--
.p12 { font-size: 12pt; line-height: 180%}
.p9 { font-size: 9pt; line-height: 150%}
a:visited { text-decoration: none}
a:link { text-decoration: none}
a:hover { text-decoration: none}
a:active { text-decoration: none}
-->
</style>
</head>
<body bgcolor="FFFFFF" link="#0000FF" vlink="#0000FF" alink="#0000FF">
<h1 align="center"><font color="0099FF">【踢人操作】</font></h1>
<hr noshade size="1" color=009900>
<form method="post" action="kickok.asp">
<table border="0" align="center">
<tr>
<td>
<p><b>[请说明踢人原因]</b></p>
<p>将被踢出的用户:<font color=FF0000><%=username%></font></p>
<p>原因:(<=100字符)</p>
<p>
<input type="text" name="kickwhy" size="50" maxlength="100">
</p>
<p align="center">
<input type="hidden" name="username" value="<%=username%>">
<input type="submit" value="踢出" name="kickok">
<input type="button" value="放弃" onclick=javascript:history.go(-1)>
</p>
</td>
</tr>
</table>
</form>
<hr noshade size="1" color=009900>
<div align="center" class="p9">
<script src="use.asp"></script> <script src="sn.asp"></script><br><script src="copyright.asp"></script></div>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?