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

📄 system.htm

📁 ASP.NET构建的笑傲江湖社区(C#,全源码提供)
💻 HTM
📖 第 1 页 / 共 5 页
字号:
"<body topmargin=\"6\" leftmargin=\"6\" style=\"word-break:break-all\" onclick=\"byts_hidden()\" oncontextmenu=\"return false\">\r" +
"<DIV style=\"FILTER:alpha(opacity=0);POSITION:absolute;VISIBILITY:hidden;border:0px;width:90px\" id=\"byts_menu\"></DIV>\r" +
"<div><font style=\"color:#FF0000\">[<img border=\"0\" src=\"../xajhimg/welcome.gif\" width=\"16\" height=\"16\" />浏览器刷新]</font>热烈欢迎" + sex + " <font style=\"color:#FF0000\">" + myname + "</font> 闯荡江湖!</div>");
parent.show2.document.open();
parent.show2.document.writeln("<html>\r" +
"<head>\r" +
"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r" +
"<title>byts</title>\r" +
"<link rel=\"stylesheet\" type=\"text/css\" href=\"../css/chat_show.css\">\r" +
"<style type=\"text/css\">\r" +
"body{font-family:宋体}\r" +
"</style>");
byts_load_javascript(parent.show2);
parent.show2.document.writeln("<base target=\"send\">");
parent.show2.document.writeln("</head>\r" +
"<body topmargin=\"6\" leftmargin=\"6\" style=\"word-break:break-all\" onclick=\"byts_hidden()\" oncontextmenu=\"return false\">\r" +
"<DIV style=\"FILTER:alpha(opacity=0);POSITION:absolute;VISIBILITY:hidden;border:0px;width:90px\" id=\"byts_menu\"></DIV>\r" +
"<div><font style=\"color:#FF0000\">[<img border=\"0\" src=\"../xajhimg/welcome.gif\" width=\"16\" height=\"16\" />浏览器刷新]</font>热烈欢迎" + sex + " <font style=\"color:#FF0000\">" + myname + "</font> 闯荡江湖!</div>");
}

function byts_close_show()
{
parent.show1.document.close();
parent.show2.document.close();
}

function byts_show_title(v1, v2, v3, v4, v5)//名,话,名色,话色,时间
{
parent.titleword.document.open();
parent.titleword.document.writeln("<html>\r" +
"<head>\r" +
"<title>title</title>\r" +
"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r" +
"<link rel=\"stylesheet\" type=\"text/css\" href=\"../css/chat_show.css\">\r" +
"<style type=\"text/css\">\r" +
"body{font-family:宋体}\r" +
"</style>\r" +
"</head>\r" +
"<body oncontextmenu=\"return false\" leftmargin=\"0\" topmargin=\"0\" style=\"word-break:break-all\">\r" +
"<div align=\"center\"><font style=\"color:" + v3 + "\">(" + v1 + ")</font> <font style=\"color:" + v4 + "\">" + v2 + "</font> <font style=\"font-size: 8pt; color: #6885D9\">(" + v5 + ")</font></div>\r" +
"</body></html>");
parent.titleword.document.close();
}

function byts_showwebicq(v1, v2, v3, v4, v5, v6)//内容,谁,时间,允许回复,自动关秒,歌曲地址
{
var web_title;
var web_type;
var web_button;
var web_songname = "";
v1 = v1.replace(/\$br;/g,"\r");
if (v6 == "")
{
web_type = "呼叫";
web_title = "江湖呼叫 - 接收";
web_button = "value=\"回复(S)\" ";
if (v4 == true)
{
web_button += "onclick=\"javascript:top.location.href='../chat/webicq.aspx?name=" + v2 + "';\"";
}
else
{
web_button += "disabled";
}
}
else
{
web_type = "点歌";
web_title = "Web Media Player";
web_songname = v6.slice(v6.lastIndexOf("/") + 1);
web_button = "value=\"收听(S)\" onclick=\"javascript:opener.byts_playmsg('" + web_songname + "','只听一次');opener.byts_play('" + v6 + "',1);window.close()\"";
v1 = v1.replace(/$$/g,web_songname);
}
byts_xajh_chat_call = window.open("about:blank","","width=350,height=155,top=120,left=200,status=no,scrollbars=no,resizable=no,fullscreen=no");
byts_xajh_chat_call.document.open();
byts_xajh_chat_call.document.writeln("<HTML><HEAD><title>" + web_title + "</title>" +
"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">" +
"<LINK href=\"../css/window.css\" type=\"text/css\" rel=\"stylesheet\">" +
"<style type=\"text/css\">" +
"body{font-family:宋体}" +
".in{font-family:宋体}" +
".but{font-family:宋体}" +
"table{font-family:宋体}" +
"</style>" +
"</HEAD><body leftMargin=\"3\" topMargin=\"3\" style=\"border-style: solid; border-width: 0\">" +
"<table cellPadding=\"2\" width=\"100%\" border=\"0\">" +
"<tr><td align=\"middle\" width=\"22%\">" + web_type + "人:</td><td width=\"78%\">" +
"<input readonly name=\"callname\" type=\"text\" id=\"callname\" class=\"in\" value=\"" + v2 + "\" style=\"width:90px\" /> " +
"[" + web_type + "于" + v3 + "]" +
"</td></tr><tr><td align=\"middle\" width=\"22%\">" + web_type + "内容:</td><td width=\"78%\">" +
"<textarea readonly name=\"callword\" id=\"callword\" class=\"in\" style=\"height:85px;width:255px;\">" + v1 + "</textarea>" +
"</td></tr><tr><td align=\"middle\" width=\"100%\" colSpan=\"2\">" +
"<INPUT class=\"but\" accesskey=\"s\" type=\"submit\" " + web_button + " /> " +
"<INPUT class=\"but\" accessKey=\"r\" type=\"reset\" value=\"重写(R)\" disabled /> " +
"<INPUT class=\"but\" accessKey=\"c\" type=\"button\" value=\"关闭(C)\" onclick=\"javascript:window.close()\" />" +
"</td></tr></table></form>" +
"<\script language=\"javascript\" type=\"text/javascript\">" +
"this.focus();");
if (v5 != 0)
{
byts_xajh_chat_call.document.writeln("setTimeout(\"window.close()\"," + v5 + "000);");
}
byts_xajh_chat_call.document.writeln("<\/script></body></HTML>");
byts_xajh_chat_call.document.close();
byts_xajh_chat_call.focus();
}

function byts_getmenu(v)
{
var str = "<table border=\"1\" cellspacing=\"1\" width=\"100%\" style=\"background-color:#FCFCF9;font-size:10pt;color:#000000;cursor:default\">";
if (v != "大家" && v != parent.byts_xajh_chat_roomautoman && v != myname)
{
str += "<tr><td width=\"100%\" height=\"20\" style=\"border:1px double #FCFCF9;color:#000000\" onmouseover=\"byts_rollin(this)\" onmouseout=\"byts_rollout(this)\" onclick=\"parent.h0.byts_webicq('" + v + "')\"><img border=\"0\" src=\"../xajhimg/msg.gif\" width=\"15\" height=\"15\" /> 呼叫该人</td></tr>";
}
else
{
str += "<tr><td width=\"100%\" height=\"20\" style=\"border:1px double #FCFCF9;color:#C0C0C0\"><img border=\"0\" src=\"../xajhimg/msg.gif\" width=\"15\" height=\"15\" /> 呼叫该人</td></tr>";
}

str += "<tr><td width=\"100%\" height=\"20\" style=\"border:1px double #FCFCF9\" onmouseover=\"byts_rollin(this)\" onmouseout=\"byts_rollout(this)\"><img border=\"0\" src=\"../xajhimg/music.gif\" width=\"15\" height=\"15\" /> 赠送点歌</td></tr>";
str += "<tr><td width=\"100%\" height=\"20\" style=\"border:1px double #FCFCF9\" onmouseover=\"byts_rollin(this)\" onmouseout=\"byts_rollout(this)\">测试!</td></tr>";
str += "<tr><td width=\"100%\" height=\"20\" style=\"border:1px double #FCFCF9\" onmouseover=\"byts_rollin(this)\" onmouseout=\"byts_rollout(this)\">测试!</td></tr>";
str += "<tr><td width=\"100%\" height=\"20\" style=\"border:1px double #FCFCF9\" onmouseover=\"byts_rollin(this)\" onmouseout=\"byts_rollout(this)\">测试!</td></tr>";
str += "<tr><td width=\"100%\" height=\"20\" style=\"border:1px double #FCFCF9\" onmouseover=\"byts_rollin(this)\" onmouseout=\"byts_rollout(this)\">测试!</td></tr>";
str += "<tr><td width=\"100%\" height=\"20\" style=\"border:1px double #FCFCF9\" onmouseover=\"byts_rollin(this)\" onmouseout=\"byts_rollout(this)\">测试!</td></tr>";
str += "<tr><td width=\"100%\" height=\"20\" style=\"border:1px double #FCFCF9\" onmouseover=\"byts_rollin(this)\" onmouseout=\"byts_rollout(this)\">测试!</td></tr>";
str += "</table>";
return str;
}

function byts_showwelcome()
{
byts_show_title(parent.byts_xajh_chat_roomautoman,"欢迎来到<font style=\"color:#008000\">『</font><font style=\"color:#0000FF\">" + parent.byts_xajh_chat_roomname + "</font><font style=\"color:#008000\">』</font>闯荡江湖!","#FF00FF","#008080", "--:--:--");
}

function byts_selecttalker(v)
{
parent.send.bird2.value = v;
parent.send.bird3.focus();
}

function byts_changecoolword()
{
parent.send.bird3.value = parent.send.bird13.value;
parent.send.bird3.focus();
}

function byts_getchecked()
{
parent.send.bird16.checked = parent.byts_leave;
parent.send.bird17.checked = parent.byts_bg;
}

function byts_getwindowmode()
{
if (system1 == true)
{
if (system6 == true)
{
parent.shows.rows = "*";
parent.shows.cols = "*,*";
}
else
{
parent.shows.rows = "*,*";
parent.shows.cols = "*";
}
}
else
{
parent.shows.rows = "*";
parent.shows.cols = "*,0";
}
parent.send.bird3.focus();
}

function byts_checkbadword(v)
{
for (var i = 0; i < badword.length; i ++)
{
if (v.indexOf(badword[i]) != -1)
{
return true;
}
}
return false;
}

function byts_getmyface(v)
{
var myfacenumber = parseInt(v);
return myface[myfacenumber];
}

function byts_getmycolor(v)
{
var mycolornumber = parseInt(v);
return mycolor[mycolornumber];
}

function byts_getnamestring()
{
var byts_xajh_chat_namelist = parent.byts_xajh_chat_namelist;
var listcount = byts_xajh_chat_namelist.length;
namestring = "|";
for (var i = 0; i < listcount; i ++)
{
info = byts_xajh_chat_namelist[i].split("|");
namestring += info[0] + "|";
}
}

function byts_addonline(v1, v2)
{
if (namestring.indexOf("|" + v1 + "|") == -1)
{
parent.byts_xajh_chat_namelist[parent.byts_xajh_chat_namelist.length] = v2;
namestring += v1 + "|";
byts_shownamelist();
}
}

function byts_delonline(v)
{
if (namestring.indexOf("|" + v + "|") != -1)
{
var byts_xajh_chat_namelist = parent.byts_xajh_chat_namelist;
var listcount = byts_xajh_chat_namelist.length;
for (var i = 0; i < listcount; i ++)
{
if (byts_xajh_chat_namelist[i].indexOf(v + "|") == 0)
{
 for (var j = i;j < listcount;j ++)
{
byts_xajh_chat_namelist[j] = byts_xajh_chat_namelist[j + 1];
}
delete byts_xajh_chat_namelist[listcount - 1];
byts_xajh_chat_namelist.length--;
namestring = namestring.replace("|" + v + "|","|");
byts_shownamelist();
break;
}
}
}
}

function byts_updateonline(v1, v2)
{
if (namestring.indexOf("|" + v1 + "|") != -1)
{
var byts_xajh_chat_namelist = parent.byts_xajh_chat_namelist;
var listcount = byts_xajh_chat_namelist.length;
for (var i = 0; i < listcount; i ++)
{
if (byts_xajh_chat_namelist[i].indexOf(v1 + "|") == 0)
{
byts_xajh_chat_namelist[i] = v2;
byts_shownamelist();
break;
}
}
byts_shownamelist();
}
}

function byts_shownamelist()
{
var leave;
var namestr;
if (parent.byts_canshownamelist == true)
{
var byts_xajh_chat_namelist = parent.byts_xajh_chat_namelist;
var listcount = byts_xajh_chat_namelist.length;
var v = "";
for (var i = 0; i < listcount ; i ++)
{
info = byts_xajh_chat_namelist[i].split("|");
if (system8 == 1 || info[0] == myname || (system8 == 2 && info[2] == "boy") || (system8 == 3 && info[2] == "girl") || (system8 == 4 && info[8] == mypai))
{
if (info[2] == "boy")
{
namestr = "<font color=\"" + boy + "\">" + info[0] + "</font>";
}
else
{
namestr = "<font color=\"" + girl + "\">" + info[0] + "</font>";
}
if (info[6] != "0")
{
info[6] += "级会员";
}
else
{
info[6] = "(否)";
}
if (parseInt(info[3]) > 84)
{
leave = "暂离中";
info[3] = "<img height=\"16\" width=\"16\" border=\"0\" src=\"../xajhimg/ico/" + (info[3] - 85) + ".gif\" style=\"FILTER:gray\" />";
}
else
{
leave = "在线中";
info[3] = "<img height=\"16\" width=\"16\" border=\"0\" src=\"../xajhimg/ico/" + info[3] + ".gif\" />";
}
if (info[7] == "True")
{
info[7] = "闭关中";
}
else
{
info[7] = "未闭关";
}
v += "<div style=\"" + list_style_out + "\" onmouseover=\"this.style.cssText='" + list_style_in + "'\" onmouseout=\"this.style.cssText='" + list_style_out + "'\" oncontextmenu=\"byts_show('" + info[0] + "')\" onclick=\"parent.h0.byts_selecttalker('" + info[0] + "')\" title=\" ================== \r 昵称 : " + info[0] + " \r ID号 : " + info[1] + " \r 性别 : " + info[2] + " \r 等级 : " + info[4] + " \r 战级 : " + info[5] + " \r 会员 : " + info[6] + " \r 门派 : " + info[8] + " \r 身份 : " + info[9] + " \r 职业 : " + info[10] + " \r 暂离 : " + leave + " \r 闭关 : " + info[7] + " \r ================== \">";
if (system2 == true)
{
v += info[3];
}
v += namestr + "</div>";
}
}
parent.list.bird.innerHTML = listcount;
parent.list.byts.innerHTML = v;
}
}

function byts_reloadonlinelist()
{
if (parent.byts_canshownamelist == true)
{
parent.list.bird.innerHTML = "?";
parent.list.byts.innerHTML = "正在重新统计名单...";
}
parent.h3.location.href = "../chat/getonlinelist.aspx";
}

function byts_sendword()
{
//var myurl = "";
var b2 = parent.send.bird2.value;
var b3 = parent.send.bird3.value;
var b9 = parent.send.bird9.value;
var b10 = parent.send.bird10.value;
var b11;
var b12;
var usenum = 1;
var towho;

if (b2 == "")
{
alert("必须指定发言对象!");
parent.send.bird3.focus();
return false;
}
var b3_temp = b3;
b3_temp = b3_temp.replace(/ /g,"");
if (b3_temp == "")
{
alert("请输入发言!");
parent.send.bird3.value = "";
parent.send.bird3.focus();
return false;
}
if (byts_checkbadword(b3_temp))
{
alert("请不要说脏话!");
parent.send.bird3.focus();

⌨️ 快捷键说明

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