📄 talkface.htm.bak
字号:
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="web,26 Feb 1960 08:21:57 GMT">
<title>快狗信息窗--合川市人口与计划生育委员会办公自动化系统快狗通信工具</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="../qqprg/style.css">
<script language="javascript">
<!--hide
var randnumber,y,mainwin,facenum;
var listtimeid=null;
randtime=0;
mainwin=0;
y=0;
function close_win()
{
opener.dispinfoflag.value="0";
opener.moveTo(600,70);
}
function listonlinehead()
{
window("userlist").document.open();
window("userlist").document.write("<html>");
window("userlist").document.write("<head>");
window("userlist").document.write("<meta http-equiv=\"pragma\" content=\"no-cache\">");
window("userlist").document.write("<meta http-equiv=\"expires\" content=\"web,26 Feb 1960 08:21:57 GMT\">");
window("userlist").document.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">");
window("userlist").document.write("<style type=\"text/css\">");
window("userlist").document.write("<!--");
window("userlist").document.write("body { font-family: \"宋体\"; font-size: 9pt;}");
window("userlist").document.write("td {font-family:\"宋体\";font-size:9pt;}");
window("userlist").document.write("-->");
window("userlist").document.write("</style>");
window("userlist").document.write("</head>");
window("userlist").document.write("<body bgcolor=\"#8484c6\" text=\"#000000\" leftmargin=\"1\" topmargin=\"1\">");
window("userlist").document.write("<table border='0' bgcolor='#8484c6' width='100%'>");
}
function listonlineuser()
{
window("userlist").document.open();
listonlinehead();
var userinfostr,userinfodim,i,dimsums,infstr,onlineflag,onlinedate,onlineflag,okcode;
onlineflag=0;
userinfostr=onlineuser.value;
if (userinfostr.length==0)
{
refflag.value="0";
}
else
{
window("userlist").document.write("<table border='0' bgcolor='#8484c6' width='100%'>");
userinfodim=userinfostr.split("|");
for (i in userinfodim)
{
if(userinfodim[i]!="")
{
infstr=userinfodim[i].split("$");
window("userlist").document.write("<tr>");
if (infstr[0]==opener.usersessionid.value && infstr[2]=="0")
{
window("userlist").document.write("<td width='100%' height='20' ONMOUSEOVER=\"this.bgColor='#716fbd';this.style.cursor='hand';\" ONMOUSEOUT=\"this.bgColor='#8484c6';\" ONCLICK=\"parent.click_disp_history('"+infstr[0]+"','"+infstr[1]+"');\" title=\""+infstr[3]+"上线\"><img src='../qqpic/face/face"+infstr[5]+".gif' height=16 width=16> <b>"+infstr[1]+"</b></td>");
onlineflag=1;
}
else if (infstr[0]==opener.usersessionid.value && infstr[2]=="2")
{
window("userlist").document.write("<td width='100%' height='20' ONMOUSEOVER=\"this.bgColor='#716fbd';this.style.cursor='hand';\" ONMOUSEOUT=\"this.bgColor='#8484c6';\" ONCLICK=\"parent.click_disp_history('"+infstr[0]+"','"+infstr[1]+"');\" title=\""+infstr[3]+"上线(注册用户)\"><img src='../qqpic/face/face"+infstr[5]+".gif' height=16 width=16> <font color=#e8e8e8><b>"+infstr[1]+"</b></font></td>");
onlineflag=1;
}
else if (infstr[2]=="2")
{
window("userlist").document.write("<td width='100%' height='20' ONMOUSEOVER=\"this.bgColor='#716fbd';this.style.cursor='hand';\" ONMOUSEOUT=\"this.bgColor='#8484c6';\" ONCLICK=\"parent.click_disp_history('"+infstr[0]+"','"+infstr[1]+"');\" title=\""+infstr[3]+"上线(注册用户)\"><img src='../qqpic/face/face"+infstr[5]+".gif' height=16 width=16> <font color=#e8e8e8>"+infstr[1]+"</b></td>");
}
else if (infstr[2]=="0")
window("userlist").document.write("<td width='100%' height='20' ONMOUSEOVER=\"this.bgColor='#716fbd';this.style.cursor='hand';\" ONMOUSEOUT=\"this.bgColor='#8484c6';\" ONCLICK=\"parent.click_disp_history('"+infstr[0]+"','"+infstr[1]+"');\" title=\"于"+infstr[3]+"上线\"><img src='../qqpic/face/face"+infstr[5]+".gif' height=16 width=16> "+infstr[1]+"</td>");
else
{
window("userlist").document.write("<td width='100%' height='20' ONMOUSEOVER=\"this.bgColor='#716fbd';this.style.cursor='hand';\" ONMOUSEOUT=\"this.bgColor='#8484c6';\" ONCLICK=\"parent.click_disp_history('"+infstr[0]+"','"+infstr[1]+"');\" title=\"于"+infstr[3]+"上线(站长)\"><img src='../qqpic/face/face"+infstr[5]+".gif' height=16 width=16> <font color=#ffff00>"+infstr[1]+"</font></td>");
if (infstr[0]==opener.usersessionid.value)
onlineflag=1;
}
window("userlist").document.write("</tr>");
}
}
window("userlist").document.write("</table>");
refflag.value=onlineflag;
opener.refflag.value=onlineflag;
}
window("userlist").document.write("</body></html>");
window("userlist").document.close();
//reset_win_site();
}
function sx()
{
if (refflag.value=="1" || opener.refflag.value=="1")
{
if (pageflag.value=="1")
{
listflag.value="0";
window("userlist").location.href="disp_online_user.asp?sitenumber="+opener.sitenumber.value;
}
listtime();
}
ok=setTimeout("sx()",15000+randtime*1000);
randtime=parseInt(Math.random() * 10);
}
function window_onload()
{
opener.dispinfoflag.value="1";
sx();
window("infowin").document.open();
window("infowin").document.write("<html>");
window("infowin").document.write("<head>");
window("infowin").document.write("<meta http-equiv=\"pragma\" content=\"no-cache\">");
window("infowin").document.write("<meta http-equiv=\"expires\" content=\"web,26 Feb 1960 08:21:57 GMT\">");
window("infowin").document.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">");
window("infowin").document.write("<style type=\"text/css\">");
window("infowin").document.write("<!--");
window("infowin").document.write("body { font-family: \"宋体\"; font-size: 9pt;}");
window("infowin").document.write("td {font-family:\"宋体\";font-size:9pt;}");
window("infowin").document.write("A:link {COLOR: #aa0000; TEXT-DECORATION: none}");
window("infowin").document.write("A:active {COLOR: #aa0000; TEXT-DECORATION: none}");
window("infowin").document.write("A:visited {COLOR: #aa0000; TEXT-DECORATION: none}");
window("infowin").document.write("A {COLOR: #aa0000; TEXT-DECORATION: underline}");
window("infowin").document.write("A:hover {COLOR: #aa0000; TEXT-DECORATION: underline}");
window("infowin").document.write("-->");
window("infowin").document.write("</style>");
window("infowin").document.write("</head>");
window("infowin").document.write("<body bgcolor=\"#ffffff\" text=\"#000000\" leftmargin=\"1\" topmargin=\"1\">");
window("infowin").document.write("<center><font color=\"#aa0000\">>>>>>>>>>>系统说明<<<<<<<<<<</font></center>");
window("infowin").document.write("1.单击显/隐主窗口按钮可以显示或隐藏快狗主窗口。<br>");
window("infowin").document.write("2.在该模式中的对话仍是一对一,相当于私聊,即对话框中所有对话都是与自己有关的,别人无法看见。<br>");
window("infowin").document.write("3.对话模式与弹出窗口模式是互通的,相互之间都能接收和发送信息。<br><hr>");
}
function reset_win_site()
{
screeny=window("userlist").document.body.scrollHeight;
y=removewin.value;
if (screeny<y)
{
y=0;
removewin.value=y;
}
window("userlist").scroll(1,y);
}
function reset_win_site()
{
screeny=window("userlist").document.body.scrollHeight;
y=removewin.value;
if (screeny<y)
{
y=0;
removewin.value=y;
}
window("userlist").scroll(1,y);
}
function change_color(colorstr)
{
color.value=colorstr;
}
function click_disp_history(number,namestr)
{
userid.value=number;
sendname.value=namestr;
talkinfo.value="对"+namestr+"说:";
info.focus();
}
function disp_history()
{
var i,infodim,infstr,number,infostr,re,info;
infostr=getinfo.value;
getinfo.value="";
opener.getinfo.value="";
if (infostr.length>0)
{
parent.window.focus();
infodim=infostr.split("|");
for (i in infodim)
{
if (infodim[i]!="")
{
opener.history.value=infodim[i]+"|"+opener.history.value;
infstr=infodim[i].split("$");
info=unescape(infstr[5]);
re=/</g;
info=info.replace(re,"<");
re=/>/g;
info=info.replace(re,">");
re=/\r\n/g;
info=info.replace(re,"<br>");
window("infowin").document.writeln("<div align=\"left\"><img src=\"images/dog3.gif\" border=0><font color=\"#aa0000\">"+infstr[2]+"--<label onmouseover=\"this.style.cursor='hand';\" onclick=\"parent.click_disp_history('"+infstr[1]+"','"+infstr[4]+"');\">"+infstr[4]+"</label></font><br><font color="+color.value+">"+info+"</font></div>");
}
}
}
window("infowin").scroll(1,window("infowin").document.body.scrollHeight);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -