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

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

1<html>
2<head>
3<title>基于web的QQ程序1</title>
4<meta content="5" http-equiv="refresh"/>//每五秒取得一次信息(前面已经完成了有关登录之类的工作)   
5<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
6</head>
7<body bgcolor="#FFFFFF" text="#000000">   
8//假设同时通信量为30   

response.write("现在在线:"&amp;"<br/>"
for i=1 to 30
if application("user"&amp;i)=session("user") then
response.write("<font color="#FFFF00">")
response.write(session("user")&amp;"</font>")
else
response.write(application("user"&amp;i)&amp;"<br/>")
end if
if application("towho"&amp;i)=session("user") then

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

end if
next

1</body>
2</html>
Published At
Categories with Web编程
Tagged with
comments powered by Disqus