统计在线人数...

显示页面show.asp--基于web的QQ程序1 

[ 来源:ASP教程 | 作者:admin | 时间:2001-10-11 上午 12:48:11 | 浏览:统计中... ]

显示页面show.asp--基于web的QQ程序1(only asp)
<html>
<head>
<title>基于web的QQ程序1</title>
<meta http-equiv="refresh" content="5">//每五秒取得一次信息(前面已经完成了有关登录之类的工作)
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF" text="#000000">
//假设同时通信量为30
<%
response.write("现在在线:"&"<br>"
for i=1 to 30
if application("user"&i)=session("user") then
response.write("<font color=#FFFF00>")
response.write(session("user")&"</font>")
else
response.write(application("user"&i)&"<br>")
end if
if application("towho"&i)=session("user") then%>

<script language="javascript">
window.open("inform.asp","","width=200,height=400")
</script>

<%end if
next%>
</body>
</html>
共有0人参与评价,平均得分:0分
评论内容只代表网友观点,与本站立场无关! 查看完整内容
   

当前在线人数
QQ:748838 MSN:allen_xia#msn.com E-mail:allenxia666#126.com QQ群:站长联盟北方区-北京(28200145) 站长联盟南方区-上海(67713522)