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

📄 loginmenu.js

📁 本软件系统可以实现预定酒店的多方位查询、预订酒店的功能。可以方便人们入住酒店,增加酒店的收入
💻 JS
字号:
function WM_readCookie(name)
{
	if(document.cookie == "")
		return "";
	else
		return WM_getCookieValue(name);
}
function WM_getCookieValue(name)
{
	var firstChar,lastChar;
	var theBigCookie = document.cookie;
	firstChar = theBigCookie.indexOf(name);
	if(firstChar != -1)
	{
		firstChar +=name.length + 1;
		lastChar = theBigCookie.indexOf(';', firstChar);
		if(lastChar == -1) lastChar = theBigCookie.length;
			return theBigCookie.substring(firstChar, lastChar);
	}
	else
	{
		return "";
	}
}
function DecodeCookie(str)
{
	var strArr;
	var strRtn="";
	strArr=str.split("a");
	for (var i=strArr.length-1;i>=0;i--) 
		strRtn+=String.fromCharCode(eval(strArr[i]));
	return strRtn;
}
var t1;
var t2;
var t3;
var t4;
t1= WM_readCookie("member");
t4=WM_readCookie("mem_name");
t3=WM_readCookie("agent");
if (t4!="")
{
	t2=unescape(t4)
}
document.write("<center><table width=760 height=32 border=0 cellpadding=0 cellspacing=0 bgcolor=#227E95><tr>");
if ( t1 == "")
{
document.write("<td align=right><img src=./img/newtopsys_2.gif width=11 height=11 hspace=6 align=absmiddle>");
document.write("<a href=/abc/customer/Login.jsp target=_self style=color:white;text-decoration:none;font-size:12px>会员登录</a>");
document.write("<img src=./img/newtopsys_1.gif width=11 height=11 hspace=6 align=absmiddle>");
document.write("<a href=/abc/customer/Register.jsp style=color:white;text-decoration:none;font-size:12px>新用户注册</a> <img src=./img/newtopsys_3.gif width=11");
document.write(" height=11 hspace=6 align=absmiddle><a href=/abc/manager/Manlogin.jsp style=color:white;text-decoration:none;font-size:12px>管理员登陆</a> <img");
document.write(" src=./img/newtopsys_4.gif width=11 height=11 hspace=6 align=absmiddle><a href=/abc/CustomerServlet/?a=getone");
document.write(" style=color:white;text-decoration:none;font-size:12px>修改信息</a> <img src=./img/newtopsys_5.gif width=11 height=11 hspace=6 align=absmiddle><a");
document.write(" href=/abc/customer/Mima.jsp  style=color:white;text-decoration:none;font-size:12px>查询密码</a><img src=./img/newtopsys_5.gif width=11 height=11 hspace=6 align=absmiddle><a");
document.write(" href=/abc/order/ShowOrder.jsp  style=color:white;text-decoration:none;font-size:12px>我的定单</a>&nbsp;&nbsp;</td>");
}
else
{
document.write("<td align=right><font color=#FFFFFF style=font-size:12px>欢迎您,"+t2+"!</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
document.write("<img src=./img/newtopsys_2.gif width=11 height=11 hspace=7 align=absmiddle>");
document.write("<a href=../customer/Logout.jsp  target=_self style=color:white;text-decoration:none;font-size:12px>退出登录</a>");
document.write(" <img src=./img/newtopsys_1.gif width=11 height=11 hspace=7 align=absmiddle>");
document.write("<a href=http://www.elong.com/member/order_modify.asp style=color:white;text-decoration:none;font-size:12px>修改资料</a> <img src=.//img/newtopsys_3.gif width=11");
document.write("height=11 hspace=7 align=absmiddle><a href=http://www.elong.com/member/order_management.asp style=color:white;text-decoration:none;font-size:12px>预订记录</a> <img");
document.write(" src=./img/newtopsys_4.gif width=11 height=11 hspace=7 align=absmiddle><a href=http://www.elong.com/member/order_query.asp ");
document.write(" style=color:white;text-decoration:none;font-size:12px>积分查询</a> <img");
document.write(" src=./img/newtopsys_4.gif width=11 height=11 hspace=7 align=absmiddle><a href=http://www.elong.com/member/elstraser.asp");
document.write(" style=color:white;text-decoration:none;font-size:12px>客户服务</a> <img src=.//img/newtopsys_5.gif width=11 height=11 hspace=7 align=absmiddle><a");
document.write(" href=http://faq.elong.com style=color:white;text-decoration:none;font-size:12px>常见问题</a>&nbsp;&nbsp;</td>");
}
document.write("</tr></table></center>");
//-->

⌨️ 快捷键说明

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