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

📄 system.htm

📁 ASP.NET构建的笑傲江湖社区(C#,全源码提供)
💻 HTM
📖 第 1 页 / 共 5 页
字号:
"<option value=\"赠送|物品名称/数量\">赠送物品</option>" +
"<option value=\"偷盗\">偷盗物品</option>" +
"<option value=\"送钱|送钱数额\">赠送银两</option>" +
"<option value=\"转账|转账数额\">银行转账</option>" +
"<option value=\"偷钱|偷钱数额\">偷取钱财</option>" +
"<option value=\"传授|传授数值\">传授内力</option>" +
"<option value=\"吸取|吸取数值\">吸星大法</option>" +
"<option value=\"拜师\">拜师习武</option>" +
"<option value=\"收徒\">招收徒弟</option>" +
"<option value=\"练功\">打坐练功</option>" +
"<option value=\"小歇\">就地小歇</option>" +
"<option value=\"习武\">武馆习武</option>" +
"<option value=\"鉴定\">来源鉴定</option>" +
"<option value=\"查看\">查看信息</option>";
if (mypai != "(无)")
{
ih += "<option value=\"出招|招式名称\">出招攻击</option>";
}
else
{
ih += "<option value=\"\" style=\"color:#CCCCCC\">出招攻击</option>";
}
ih += "</select>";
parent.send.sel.innerHTML = ih;
}

function byts_quickcommand(v)
{
if (v == "")
{
parent.send.bird3.value = "";
}
else if (v.indexOf("|") == -1)
{
parent.send.bird3.value = "//" + v;
}
else
{
txt = parent.send.bird3.createTextRange();
var vs = v.split("|");
parent.send.bird3.value = "//" + vs[0] + " " + vs[1];
txt.findText(vs[1]);
txt.select();
}
parent.send.bird3.focus();
}

function byts_showietitle()
{
parent.document.title = parent.byts_xajh_chat_roomname + " --- " + parent.byts_xajh_name;
}

function byts_setoptions()
{
if (setoptionsed == true)
{
alert("此设置程序已经有另外一个副本正在运行,请不要重复打开!");
}
else
{
window.showModelessDialog("setoptions.htm", window, "dialogHeight: 280px; dialogWidth: 420px; center: Yes; help: No; resizable: No; scroll: No; status: No;");
}
}

function byts_openpic()
{
if (parent.byts_grade < parent.byts_xajh_chat_image)
{
alert("你没有使用UBB代码的权限,\r因此你不能使用帖图!\r(要求 " + parent.byts_xajh_chat_image + " 级)");
}
else
{
window.open('../chat/pic.aspx','list');
}
parent.send.bird3.focus();
}

function byts_checkusetitle()
{
if (parent.byts_grade < parent.byts_xajh_chat_title)
{
parent.send.bird12.disabled = true;
parent.send.forbird12.disabled = true;
}
else
{
parent.send.bird12.disabled = false;
parent.send.forbird12.disabled = false;
}
}

function byts_closedoor()
{
document.upinfo.action = "../chat/closedoor.aspx";
document.upinfo.submit();
return false;
}

function byts_leave()
{
document.upinfo.action = "../chat/leave.aspx";
document.upinfo.submit();
return false;
}

var whamsg = new Array(10);
var base = 0;
var zp = 0;
var j;
for (j = 0; j <= 10; j ++)
{
	whamsg[j] = "";
}
function byts_wordback()
{
	if (zp > 0)
	{
		zp --;
		parent.send.bird3.value = whamsg[zp];
		parent.send.bird3.focus();
	}
}

function byts_wordgo()
{
	if (zp < base)
	{
		zp ++;
		parent.send.bird3.value = whamsg[zp];
		parent.send.bird3.focus();
	}
}

function byts_addhis(v)
{
	if (base < 10)
	{
		whamsg[base] = v;
		base ++;
	}
	else
	{
		for (i = 0; i < 9; i ++)
		{
			whamsg[i] = whamsg[i+1];
		}
		whamsg[i] = v;
	}
	zp = base;
}

function byts_changeshowmode(v)
{
	if (v != system8)
	{
		system8 = v;
	}
	byts_load_list();
	byts_changeshowmenu(v);
}

function byts_changeicomode(v)
{
	if (v != system2)
	{
		system2 = v;
	}
	byts_load_list();
	byts_changeicomenu(v);
}

function byts_changeicomenu(v)
{
	if (v == true)
	{
		parent.title.xajhmenu.changeItem("1_8", "√显示头像", "javascript:parent.h0.byts_changeicomode(false)", "_");
	}
	else
	{
		parent.title.xajhmenu.changeItem("1_8", "  显示头像", "javascript:parent.h0.byts_changeicomode(true)", "_");
	}
}

function byts_changeshowmenu(v)
{
	var showstr = new Array(4)
	showstr[0] = "  显示所有人";
	showstr[1] = "  只显示帅哥";
	showstr[2] = "  只显示美女";
	showstr[3] = "  只显示本派";
	showstr[v - 1] = showstr[v - 1].replace("  ", "●");
	parent.title.xajhmenu.changeItem("1_3", showstr[0], "javascript:parent.h0.byts_changeshowmode(1)", "_");
	parent.title.xajhmenu.changeItem("1_4", showstr[1], "javascript:parent.h0.byts_changeshowmode(2)", "_");
	parent.title.xajhmenu.changeItem("1_5", showstr[2], "javascript:parent.h0.byts_changeshowmode(3)", "_");
	parent.title.xajhmenu.changeItem("1_6", showstr[3], "javascript:parent.h0.byts_changeshowmode(4)", "_");
}

function byts_roominfo_1(v)
{
	window.showModelessDialog("../roominfo_1.aspx?roomid=" + v,"","dialogHeight: 255px; dialogWidth: 350px; center: Yes; help: No; resizable: No; scroll: No; status: No;");
}

function byts_roominfo_2(v)
{
	window.showModelessDialog("../roominfo_2.aspx?roomid=" + v,"","dialogHeight: 400px; dialogWidth: 450px; center: Yes; help: No; resizable: No; scroll: No; status: No;");
}

function byts_goroom(id)
{
	if (id == parent.byts_xajh_chat_roomid)
	{
		alert("并没有转换到其他房间!");
	}
	else
	{
		document.postroom.roomid.value = id;
		document.postroom.submit();
	}
	parent.send.bird3.focus();
}

function byts_gourl(v)
{
	document.gotourl.action = "../" + v;
	document.gotourl.submit();
	parent.send.bird3.focus();
}

function byts_openstreet(v)
{
	xajh = window.open("../street.aspx?type=" + v, parent.byts_xajh_sn + "_street", "status=no,scrollbars=yes,resizable=yes,fullscreen=no");
	xajh.moveTo(70, 70);
	xajh.resizeTo(screen.availWidth - 140, screen.availHeight - 140);
	xajh.focus();
}

function byts_openshop(v)
{
	xajh = window.open("../shop.aspx?type=" + v, parent.byts_xajh_sn + "_shop", "status=no,scrollbars=yes,resizable=yes,fullscreen=no");
	xajh.moveTo(70, 70);
	xajh.resizeTo(screen.availWidth - 140, screen.availHeight - 140);
	xajh.focus();
}

function byts_horse(v)
{
	xajh = window.open("../games/horse_" + v + ".aspx", parent.byts_xajh_sn + "_games", "status=no,scrollbars=yes,resizable=yes,fullscreen=no");
	xajh.moveTo(150, 120);
	xajh.resizeTo(screen.availWidth - 300, screen.availHeight - 240);
	xajh.focus();	
}

function byts_openwin(url, name, left, top)
{
	xajh = window.open(url, parent.byts_xajh_sn + "_" + name, "status=no,scrollbars=yes,resizable=yes,fullscreen=no");
	xajh.moveTo(left, top);
	xajh.resizeTo(screen.availWidth - left * 2, screen.availHeight - top * 2);
	xajh.focus();
}

function byts_seeinfo(v)
{
	var seename;
	var url;
	if (v == "null")
	{
		seename = prompt("查看他人状态","用户名");
		if (seename == null)
		{
			return false;
		}
	}
	else
	{
		seename = v;
	}
	if (seename == myname)
	{
		url = "../chat/myinfo.aspx?";
	}
	else
	{
		url = "../seeinfo.aspx?v=" + seename + "&";
	}
	var nowtime = new Date();
	var nohistory = escape(nowtime);
	xajh = window.open(url + "zzbird=" + nohistory, parent.byts_xajh_sn + "_seeinfo", "top=0,left=0,width=150,height=" + screen.availHeight + ",status=no,scrollbars=yes,resizable=no,fullscreen=no");
	xajh.resizeTo(150, screen.availHeight);
	xajh.focus();
}

function byts_exitchat()
{
	if (confirm("你真的要退出江湖聊天室吗?"))
	{
		var nowtime = new Date();
		var nohistory = escape(nowtime);
		parent.h2.location.href = "about:blank";
		top.location.href = "../chat/exit.aspx?exitpath=chat&byts=" + nohistory;
	}
	else
	{
		parent.send.bird3.focus();
	}
}

function byts_exitxajh()
{
	if (confirm("你真的要退出江湖社区吗?"))
	{
		var nowtime = new Date();
		var nohistory = escape(nowtime);
		parent.h2.location.href = "about:blank";
		top.location.href = "../chat/exit.aspx?exitpath=xajh&byts=" + nohistory;
	}
	else
	{
		parent.send.bird3.focus();
	}
}

function byts_setcolor()
{
parent.send.bird9.value = Math.floor(Math.random()*17);
parent.send.bird10.value = Math.floor(Math.random()*17);
}

function byts_chatstart()
{
byts_showietitle();
byts_load_send();
byts_getnamestring();
byts_load_list();
byts_load_show();
byts_getchecked()
byts_showoptions();
byts_showwelcome();
parent.title.location.href = "../html/chattitle.htm";
parent.h2.location.href = "../chat/getmsg.aspx";
byts_autogetword();
byts_getwindowmode();
byts_timeline();
byts_setcolor();
byts_checkusetitle();
parent.send.bird3.focus();
}
		</script>
	</head>
	<body language="javascript" onload="byts_chatstart()">
		<form id="postwords" name="postwords" method="post" action="../chat/addmsg.aspx" target="h1">
			<input id="v1" type="hidden" name="v1" /> <input id="v2" type="hidden" name="v2" />
			<input id="v3" type="hidden" name="v3" /> <input id="v4" type="hidden" name="v4" />
			<input id="v5" type="hidden" name="v5" /> <input id="v6" type="hidden" name="v6" />
			<input id="v7" type="hidden" name="v7" />
		</form>
		<form id="postroom" name="postroom" method="post" action="../chat/goroom.aspx" target="h7">
			<input id="roomid" type="hidden" name="roomid" />
		</form>
		<form id="gotourl" name="gotourl" method="post" action="" target="list">
		</form>
		<form id="upinfo" name="upinfo" method="post" action="" target="h6">
		</form>
	</body>
</html>

⌨️ 快捷键说明

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