📄 userkick.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>踢出用户</title>
<script language="jscript" type="text/jscript" src="../jscript/Config.js"></script>
<script language="javascript" type="text/javascript">
<!--
function xmlResponse() {
var xml = req.responseXml;
if(xml.text != "")
{
if(xml.text == 'true')
{
alert("踢出成功");
window.close();
}
else
{
alert("踢出失败,可能权限不够或用户已不在。");
}
}
else
{
alert("对不起,操作失败。");
}
}
function kick_user() {
sendRequest(serverUrl+'/ChatService/users.asmx', 'kick_us', 'Post', 'id='+QueryString("id")+'&nameid='+Name.value);
}
-->
</script>
<script language="javascript" type="text/javascript" src="../jscript/HttpQueryString.js"></script>
<script language="javascript" type="text/javascript" src="../jscript/HttpRequest.js"></script>
<style type="text/css">
<!--
.STYLE1 {
font-size: 12px;
color: #0000FF;
}
#Button1 {
color: #0000FF;
background-color: #CCCCFF;
font-weight: bold;
border-top-width: 3px;
border-right-width: 3px;
border-bottom-width: 3px;
border-left-width: 3px;
border-top-style: dotted;
border-right-style: dotted;
border-bottom-style: dotted;
border-left-style: dotted;
width: 100px;
height: 20px;
}
-->
</style>
</head>
<body onload="Name.value=QueryString('name');">
<span class="STYLE1">是否踢出用户:</span><br>
<input type="text" id="Name" maxlength="15" />
<br>
<input type="button" id="Button1" value="确定" onclick="javascript:kick_user();" />
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -