⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hqtchat.asp

📁 此程序为网上下载
💻 ASP
📖 第 1 页 / 共 2 页
字号:
this.f1.document.writeln("autoScrollOn=0;");
this.f1.document.writeln("sc();");
this.f1.document.writeln("}");
this.f1.document.writeln("scrollWindow();");
this.f1.document.writeln("</script\>");
this.f1.document.writeln("<style type='text/css'>BODY{background-position:'top right';background-repeat: no-repeat;background-attachment: fixed;});</style>");
this.f1.document.writeln("<body bgcolor=" + bgc + " text=660099 >");
this.f1.document.writeln("<span class=l><font color=red>【浏览器刷新】</font>热烈欢迎")
this.f1.document.writeln("<font color=red>〖"+myn+"〗</font>来到《"+crm+"》!")
this.f1.document.writeln("<font class=t>("+time+")</font></span><br>")
//-----------------------------------------分屏窗口-------------------------------------------------------
this.f0.document.open();
this.f0.document.writeln("<html><head><title>分屏显示</title><meta http-equiv=Content-Type content=\"text/html; charset=gb2312\">");this.f0.document.writeln("<style type=text/css>.p{font-size:20pt}.l{line-height:" + lheight + "%}.t{color:FF00FF;font-size:9pt;}body{font-family:\"宋体\";font-size:" + fsize + "pt;}A{text-decoration:none}A:Hover{text-decoration:underline}A:visited{color:blue}</style></head>");this.f0.document.writeln("<body bgcolor=" + bgc + " text=660099 >");
this.f0.document.writeln("<span class=l>")
this.f0.document.writeln("<font color=red>【分屏显示区】</font>")
this.f0.document.writeln("启用分屏功能时,此区域用于显示与你有关的发言。</font></span>")
this.f0.document.writeln("<font class=t>("+time+")</font></span><br>")
//--------------------------------------------标题窗口------------------------------------------------------
this.t.location.href="t.asp";
}
//---------------------------------------------对话内容----------------------------------------------------
function sh(ac,mm,n1,n2,y1,y2,bq,ll){
var show,v1,v2;
if(ac==1){
 if(mm==1){
   show="<span class=l>【私聊】"+ll+"</span><br>";
   }
   else{
   show="<span class=l>"+ll+"</span><br>";
   }
   }else{
    if(mm==1){show="<span class=l>【私聊】";
    }else{show="<span class=l>";
   }
   if(n1==myn){
   show=show+"<a href=javascript:parent.sw('["+n1+"]'); target=f2><font color="+y1+"><b>"+n1+"</b></font></a>"+bq;
  }else{
    show=show+"<a href=javascript:parent.sw('["+n1+"]'); target=f2><font color="+y1+">"+n1+"</font></a>"+bq;
    }if(n2==myn){show=show+"<font color=red>【<a href=javascript:parent.sw('["+n2+"]'); target=f2><font color=red>"+n2+"</font></a>】</font>";
   }else{
     show=show+"<a href=javascript:parent.sw('["+n2+"]'); target=f2><font color=660099>"+n2+"</font></a>";
 }
     show=show+"说:"+"<font color="+y2+">"+ll+"</font></span><br>";
}

if (mode == 1 && (myn==n1 || myn==n2)){
this.f0.document.writeln(show);
}
 else{
 this.f1.document.writeln(show);
 }
 if(likai == 1){
  if( n2 == myn && n1 != myn ){
  this.f2.document.af.towho.value=n1
  parent.f2.zslk();
  likai=1
  }
 }
}
function lk(v){
 if(this.f2.document.af.lk.checked){likai = 1}else{likai = 0}
 if(v == 0){
  this.f2.document.af.lk.checked = false;
  likai = 0;
 }
}



function stopas(){
 if(autospeaktimerRunning){clearTimeout(autospeaktimerID);}
 autospeaktimerRunning = false;
}

function startas(){
 stopas();
 asnlsz = autospeaknl.split("|");
 asnlszdx = asnlsz.length;
 asnljs = 0;
 autospeaktimerRunning = true;
 autospeak();
}

function autospeak(){
 this.f2.document.af.towho.value = "大家";
 this.f2.document.af.sytemp.value = asnlsz[asnljs];
 checksays();
 this.f2.document.af.submit();
 this.f2.document.af.action="say.asp";
 asnljs++;
 if(asnljs >= asnlszdx){asnljs = 0;}
 if(autospeaktimerRunning){autospeaktimerID = setTimeout("autospeak()", autospeakjg * 1000);}
}
function relist(){
if(this.m.location.href=="about:blank"){
this.m.location.href="f3.asp";
}else{
this.m.location.reload();
}
return false;}
//------------------------------------------------------del\add---------------------------------------------

function add(v1)
{
	var l=list.length;
	for(var i=0;i<list.length;i=i+1)
	if(list[i]==v1)return;
	list[l]=v1;
	count++;
}

function del(v)
{
for(var i=0;i<list.length;i=i+1)
		if(list[i]==v)
			{
				var name=list[i];
				delete list[i];
				count--;
			}
	f0.location.href="exitchat.asp";
}

function deluser(v)
{
for(var i=0;i<list.length;i=i+1)
		if(list[i]==v)
			{
				var name=list[i];
				delete list[i];
				count--;
			}
if (show==myn){top.location.href="exitchat.asp";}
}
//------------------------------------------------------清屏操作---------------------------------------------
function qp(){
this.f0.location.href="about:blank";
this.f1.location.href="about:blank";setTimeout('parent.write(1)',500);}
function sw(username){
var usna;
usna=username.substring(1,username.length-1);
this.f2.document.af.towho.value=usna;
this.f2.document.af.towho.text=usna;
this.f2.document.af.sytemp.focus();
return;
}
//在线名单1----------------------------------------------------------------------------------------------
function md1(){
this.f3.document.writeln("<html><head><meta http-equiv='content-type' content='text/html; charset=gb2312'><title>在线用户列表</title><style type='text/css'>");
this.f3.document.writeln("body{font-family:\"song\";font-size:12pt;}td{font-family:\"song\";font-size:10.5pt;line-height:135%;}.p9{color=FFFF00;font-size:9pt;}A{color:white;text-decoration:none;}A:Hover{color:black;text-decoration:none;}A:Active {color:black}</style>");
//查找在线用户-------------------------------------------------------------------------------------------------
this.f3.document.writeln("<\script language=\"JavaScript\">var NS4=(document.layers);var IE4=(document.all);var win=window;var n=0;function findInPage(str){var txt,i,found;if(str==\"\"){return false;}if(NS4){if(!win.find(str))while(win.find(str,false,true))n++;else{n++;}if(n==0)alert(\"您要的名字没有找到!\");}if(IE4){txt=win.document.body.createTextRange();for(i=0;i<=n&&(found=txt.findText(str))!=false;i++){txt.moveStart(\"character\",1);txt.moveEnd(\"textedit\");}if(found){txt.moveStart(\"character\",-1);txt.findText(str);txt.select();txt.scrollIntoView();n++;}else{if(n>0){n=0;findInPage(str);}else{alert(\"您要的名字没有找到!\");}}}return false;}<\/script>");
this.f3.document.writeln("</head><body bgcolor="+chatbgcolor+" background="+chatimage+" bgproperties=\"fixed\">");
this.f3.document.writeln("<div align=\"center\"><font color=\"#FFFFFF\" style=\'font-size:10.5pt\'>【"+crm+"】</font><hr size=1 color=FFFF00>");}
//在线名单2----------------------------------------------------------------------------------------------
function md2(){
this.f3.document.writeln("<table width=100% border=0 cellspacing=0 cellpadding=0>");
this.f3.document.writeln("<form name='search' onSubmit='return findInPage(this.string.value);'><tr><td><br><input name='string' type='text' size=8 onChange='n=0;' style='font-family:song;font-size:9pt;background-color:008800;color:FFFFFF;border: 1 double'> <input type='submit' value='查找' style='font-size:9pt;background-color:FF9900;color:FFFFFF;border: 1 double'></td></tr></form><tr><td><br>");
this.f3.document.writeln("<a href=javascript:parent.sw('[大家]');>大家</a><br>");
this.f3.document.writeln("<a href=javascript:parent.sw('[" + amn + "]');>" + amn + "</a><br>");
}
function ma(nc,cw){
var ss;
ss="<a href=javascript:parent.sw('["+nc+"]');>"+nc+"</a>";
if(cw!="")ss=ss+" <font class=p9>"+cw+"</font>";ss=ss+"<br>";
this.f3.document.writeln(ss);}
//在线名单3----------------------------------------------------------------------------------------------
function md3(){
this.f3.document.writeln("</td></tr></table></body></html>");
this.f3.document.close();}

var timerID = null;
var timerRunning = false;
function stop(){
 if(timerRunning){clearTimeout(timerID);}
 timerRunning = false;
}
function start(){
 stop();
 if(startok == 1){md1();}
}
function sopen(){
 startok = 1;
}
function sclose(){
 startok = 0;
}
function fc(){
rn();
setTimeout('parent.write()',0);
}
function rn(){
this.f2.document.af.username.value=myn;
}
function clsay(){
if(cs==1){
setTimeout("this.f2.document.af.sytemp.value=''",0);
 }
}
function chatsay(str){
if (mode == 1){
this.f0.document.writeln(str);
this.f2.document.af.sytemp.value='';
this.f2.document.af.sytemp.focus();
}
else{
this.f1.document.writeln(str);
this.f2.document.af.sytemp.value='';
 }

}
function IsBadWord(m)
{var tmp = "" ;
for(var i=0;i<m.length; i++)
{for(var j=0;j<badstr.length;j++)
if(m.charAt(i) == badstr.charAt(j)) break;
if(j==badstr.length) tmp += m.charAt(i) ;}
for(i=0;i<badword.length;i++) if(tmp.search(badword[i]) != -1) return true;
return false;}
function Warning(){
var str="<span class=l><font color=black>【系统】</font><font color=660099>警告:请您文明聊天!</font></span> "+"<br>"
chatsay(str);
}




function checksays(){
var towho=this.f2.document.af.towho.value
var sytemp=this.f2.document.af.sytemp.value
var zl=this.f2.document.af.zl.value
//if( sytemp ==saylk || sytemp ==saylk+"

⌨️ 快捷键说明

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