main.htm

来自「Net-Sky ChatServer不同于其他的用PHP」· HTM 代码 · 共 49 行

HTM
49
字号
<script>
var list;
var count;
function write()
{
if(this.l.document==null)return;this.l.document.open();
this.l.document.writeln("<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">");
this.l.document.writeln("<style type=text/css>");
this.l.document.writeln("<!--");
this.l.document.writeln(".p9 {  font-size: 9pt}");
this.l.document.writeln("a:visited {  color: #0000FF; text-decoration: none}");
this.l.document.writeln("a:link {  color: #0000FF; text-decoration: none}");
this.l.document.writeln("a:hover {  color: #FF0000}");
this.l.document.writeln("-->");
this.l.document.writeln("</style>");
this.l.document.writeln("</head><body bgcolor=#CECEFF>");
this.l.document.writeln("<p class='p9'>")
this.l.document.writeln("<font color=#ff0000><big>%s</big></font>");
this.l.document.writeln('<br>[在线人数 <font color=red>'+count+'</font>]<br>')
this.l.document.writeln("[<a href=\"javascript:parent.cs('所有人')\">所有人</a>]<br>");
	for(var i=1;i<list.length;i++)
	if(list[i]!=null)this.l.document.writeln("[<a target=t href=\"javascript:parent.cs('"+list[i]+"')\" >"+list[i]+"</a>]<br>");
this.l.document.writeln('<hr></body></html>');
this.l.document.close();
}
function cs(name)
{
	this.t.document.form1.t.value=name;
	this.t.document.form1.ss1.focus();
	return;
}
</script>
<html>
<head>
<title>%s</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<frameset cols="634,154" rows="*"> 
  <frameset rows="*,101" frameborder="NO" border="0" framespacing="0" cols="*"> 
    <frame name=d src="/d?u=%s&pass=none">
    <frameset rows="*,80" frameborder="NO" border="0" framespacing="0"> 
      <frame name=b scrolling="NO" noresize src="about:blank">
      <frame name=t scrolling="NO" noresize src="/B?u=%s&pass=none">
    </frameset>
  </frameset>
  <frame name=l src="about:blank">
</frameset>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?