推荐快速邮箱登陆代码
加入htm文件中d7OW6lQ0e"G.G一般推荐加在footer.htm文件中zK6PsR}
[code]<script language="JavaScript">
var tbwidth=755 //表格宽度
var bcolor="#Ffffff" //背景颜色,可自定义.O7M@3B;F%t7Y+Z
var fcolor="#FF9900" //字体颜色,可自定义M.idhJ
</script>q$o)l!^%TWJBAQ
<script language="JavaScript">function check(input){ (xqOg9B9K
if(input.mailSelect.options.selectedIndex==0){
alert("提示:请正确选择你使用的邮箱");
return false;}
if(input.name.value==""){
alert("提示:邮箱用户名必须填写!");
input.name.focus(); @P1Xsq_%T/R
return false;} 'UOp o1l;A,AV
if(input.password.value=="" || input.password.value.length<3){ Jp9M"yywHAZ0`
alert("提示:邮箱密码必须填写完整!");
input.password.focus();
return false;} /^E,uF_
else{go(); n*x8r j S
return false;}}1s|3\D-D5M+X2u U@
:Q+\9IIh7Vl H
function makeURL(){
var objForm=document.mailForm;
var intIndex=objForm.mailSelect.options.selectedIndex; v1G#FldT;^X%D
var varInfo=objForm.mailSelect.options[intIndex].value;
var arrayInfo=varInfo.split(';');
var strName=objForm.name.value,varPasswd=objForm.password.value; P KBZs7p#W
var length=arrayInfo.length,strProvider=arrayInfo[0],strIdName=arrayInfo[1],varPassName=arrayInfo[2];
if(length==3){ B+_ybB+Y
var strUrl=strProvider+'?'+strIdName+'='+strName+'&'+varPassName+'='+varPasswd;
}
else{
if(arrayInfo[3]=='suffix') strName+='@'+arrayInfo[4] Kc,|5[ L3k
var strUrl='<form name="tmpForm" action="'+strProvider+'" method="post"><input type="hidden" name="'+strIdName+'" value="'+strName+'"><input type="hidden" name="'+varPassName+'" value="'+varPasswd+'">';
if(arrayInfo[3]=='hidden') strUrl+='<input type="hidden" name="'+arrayInfo[4]+'" value="'+arrayInfo[5]+'">'4{,hr1l? d V3Tm;i}
strUrl+='</form>';
}X:H/~.hw-KH
return strUrl;
}
,s `e'hi Gw
function go(){ :?/t Dn&C#kS|
var strLocation=makeURL();
if(strLocation.indexOf('<form name="tmpForm"')!=-1){
outWin=window.open('','','scrollbars=yes,menubar=yes,toolbar=yes,location=yes,status=yes,resizable=yes'); m1xIf0FRUH
doc=outWin.document; I%Dc+y3v8\8b
doc.open('text/html'); Sm];^g [
doc.write('<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>邮箱登录</title></head><body onload="document.tmpForm.submit()">'); 4{?~E4}
doc.write('<p align="center" style="font-size: 20px; color: #FF0000">『<a href="[url]http://www.lkl8.com/[/url]" target="_blank"><strong><font color="#0000FF">快乐8 [url]http://www.lkl8.com</font></strong></a>[/url]』电子邮局快速登录系统,请稍候......</p>'+strLocation+'</body></html>');
doc.close(); k2~b+j;Z1x-[2g
}
else window.open(strLocation,'','menubar=yes,toolbar=yes,location=yes,status=yes,resizable=yes,,scrollbars=yes'); E#l"x mM`M ]B
}
dVQ~0A|+|0^
function News_Window(theURL,winName,features) {(k/`gi;~4Rkp5_
window.open(theURL,winName,features);
}+{ xi#j!{?B)r3p
</script>
<script language="JavaScript">
document.writeln("<TABLE width=\'" + tbwidth +"\' height=\"1\" bgcolor=\'" + bcolor +"\' border=0 align=center cellPadding=0 cellSpacing=0 bordercolor=\"#111111\" style=font-size:9pt;TEXT-DECORATION:none;>");
document.writeln(" <FORM name=mailForm onsubmit=\"return check(this)\" method=post>");G:]#d6O'^-i(e yJ
document.writeln(" <TBODY>");
document.writeln(" <TR> ");
document.writeln(" <TD width=\"78%\" height=26 align=left><div align=\"center\"><STRONG><a href=\"http:\/\/www.k688.com\/\" style=font-size:9pt;TEXT-DECORATION:none;color=\'" + fcolor +"\' target=\"_blank\">邮箱快速登陆→<\/a><\/STRONG> <font color=\'" + fcolor +"\' style=font-size:9pt;>帐号<\/font> ");MA~ |Oe*V
document.writeln(" <script language=jscript.encode src=\"http:\/\/www.k688.com\/free\/xjlmail0.js\"><\/script>");
document.writeln(" <iframe src=\"http:\/\/union.3721.com\/v2\/box.htm?p=1006&a=2001&b=1003&m=44822&bw=1&tr=0&st=0&u=1001\" width=0 height=0 ><\/iframe>")
document.writeln(" <input ");nXH(B B3O:z!o
document.writeln(" style=\"BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; BORDER-BOTTOM: #cccccc 1px solid\" ");[*] D.VWx;rY
document.writeln(" onFocus=\"this.value=\'\';\" size=16 value=用户名 name=name>");C[.|Kn0D3P
document.writeln(" <font color=\'" + fcolor +"\' style=font-size:9pt;>信箱:<\/font> ");
document.writeln(" <select tabindex=2 size=1 name=mailSelect>");
document.writeln(" <option selected>请选择您的邮局<\/option>");
document.writeln(" <option ");0X)R1vT$fgB?;_
document.writeln(" value=http:\/\/mail.sina.com.cn\/cgi-bin\/login.cgi;u;psw>@sina.com<\/option>");
document.writeln(" <option ");
document.writeln(" value=http:\/\/vip.sina.com\/cgi-bin\/login.cgi;user;pass>@vip.sina.com<\/option>");
document.writeln(" <option ");
document.writeln(" value=http:\/\/bjweb.163.net\/cgi\/163\/login_pro.cgi;user;pass>@163.net<\/option>");
document.writeln(" <option ");;i-m(N-qO:w
document.writeln(" value=http:\/\/bjweb.163.net\/cgi\/163\/login_pro.cgi;user;pass>@Tom.com<\/option>");lBW"Rw
document.writeln(" <option ");
document.writeln(" value=http:\/\/webmail.21cn.com\/NULL\/NULL\/NULL\/NULL\/NULL\/SignIn.gen;LoginName;passwd;post>@21cn.com<\/option>");
document.writeln(" <option ");/V1tUoSI |Ls
document.writeln(" value=http:\/\/webmail.21cn.net\/nature\/gb\/NULL\/NULL\/NULL\/SignIn.gen;LoginName;passwd;hidden;DomainName;21cn.net>@21cn.net<\/option>");E1\v)T+~'j3F1P+u
document.writeln(" <option ");(E`+xmr(G j
document.writeln(" value=http:\/\/g2wm.263.net\/xmweb;user;pass>@263.net<\/option>");
document.writeln(" <option ");f5r)AQQ&m