在线用户列表显示文件list.asp、出错信息文件error.asp

发表于:2007-06-30来源:作者:点击数: 标签:
在线用户列表显示文件list.asp % dim onliuser,onlinum onliuser=application(onliuser) onlinum=(len(onliuser)-len(replace(onliuser,‘’,‘’,)))/3+1 %htmlheadtitle在线名单/title meta http-equiv=Content-Type content=text/html; charset=gb2312 sty
在线用户列表显示文件list.asp

<%
dim onliuser,onlinum
onliuser=application("onliuser")
onlinum=(len(onliuser)-len(replace(onliuser,"‘’,‘’","")))/3+1
%><html><head><title>在线名单</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.p9 {  font-size: 9pt}
a:visited {color: #0000FF; text-decoration: none}
a:link {  color: #0000FF; text-decoration: none}
a:hover{  color: #ff0000;}
-->
</style>
</head><body bgcolor=ffebd9><p align=center>在线名单[<% =onlinum %>人]
<p class=‘’p9‘’>
<a href="javascript:parent.cs(‘’所有人‘’)">所有人</a><br>
<script>
for (var i=0;i<parent.list.length;i++) delete parent.list[i]
parent.list=new Array(<% =mid(onliuser,2) %>);
luser();
function luser(){
parent.list.sort();
for (var i=0;i<parent.list.length;i++){
   document.write("<a href=\"javascript:parent.cs(‘’"+parent.list[i]+"‘’)\">["+parent.list][i]+"]</a><br>");
}
}
document.write ("<br><br><a href=‘’http://swuse.yeah.net‘’ target=_blak>软件使用主页</a><br>温馨情缘聊天");
</script>



出错信息文件error.asp
<%
mess=request("mess")
response.write "<center>"&mess&"<br><br><a href=‘’login.asp‘’>返回</a></center>" %>

原文转自:http://www.ltesting.net