来快乐吧--bbs.LKL8.com=快乐购酒吧论坛's Archiver

lkl8 发表于 2005-5-23 14:52

推荐快速邮箱登陆代码

加入htm文件中d7OW6lQ0e"G.G
一般推荐加在footer.htm文件中zK6PsR}
[code]<script language="JavaScript">
PPM k4Bw-NI)M var tbwidth=755 //表格宽度
$J1P-M{$C? t var bcolor="#Ffffff" //背景颜色,可自定义.O7M@3B;F%t7Y+Z
var fcolor="#FF9900" //字体颜色,可自定义M.id hJ
</script>q$o)l!^%TWJ BAQ
<script language="JavaScript">function check(input){   (xq Og9B9K
if(input.mailSelect.options.selectedIndex==0){  
e v2sjoH$A,m-}$sQl alert("提示:请正确选择你使用的邮箱");  
,p8L `+]$C)` c7Ev\ return false;}  
(ovO yD w if(input.name.value==""){  
TK(z Lo4l alert("提示:邮箱用户名必须填写!");  
^M/@fO-C0n i#} input.name.focus();   @P1Xsq _%T/R
return false;}   'UOpo1l;A,A V
if(input.password.value=="" || input.password.value.length<3){   Jp9M"yywHAZ0`
alert("提示:邮箱密码必须填写完整!");  
/eU({ls7y/} input.password.focus();  
R lSIU8Y return false;}   /^E,uF_
else{go();   n*x8r j S
return false;}}1s|3\D-D5M+X2u U@
:Q+\9IIh7Vl H
function makeURL(){  
){1QOE/s var objForm=document.mailForm;  
2Y'v\ G'h h var intIndex=objForm.mailSelect.options.selectedIndex;   v1G#FldT;^X%D
var varInfo=objForm.mailSelect.options[intIndex].value;  
:fl G?*dq var arrayInfo=varInfo.split(';');  
R K}Ot$|:Ely 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];  
6[ } MW~"Q if(length==3){   B+_ybB+Y
var strUrl=strProvider+'?'+strIdName+'='+strName+'&'+varPassName+'='+varPasswd;  
lT*m"Yz1c/r?x"z }
/{"Z?:qNd8[D K else{
} DbJF 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+'">';  
"aBR4N5Z7c%Y1J7P8Yc7x if(arrayInfo[3]=='hidden') strUrl+='<input type="hidden" name="'+arrayInfo[4]+'" value="'+arrayInfo[5]+'">'4{,hr1l? d V3Tm;i}
strUrl+='</form>';  
5V|,f[7bl_M }X:H/~.hw-KH
return strUrl;  
p g C+J r2{ }
B:g)Xu4P ,s `e'hi Gw
function go(){   :?/t Dn&C#kS |
var strLocation=makeURL();  
-tn-]+AN9[ if(strLocation.indexOf('<form name="tmpForm"')!=-1){
x~9\0Qwn4x*P z 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>');  
Z;{;ZH H? doc.close();   k2~b+j;Z1x-[2g
}
lD+k^,` else window.open(strLocation,'','menubar=yes,toolbar=yes,location=yes,status=yes,resizable=yes,,scrollbars=yes');   E#l"x mM`M ]B
}
Ywz#WY dVQ~0A|+|0^
function News_Window(theURL,winName,features) {(k/`gi;~4Rkp5_
window.open(theURL,winName,features);
u:Kx!ILR2U }+{ xi#j!{?B)r3p
</script>
G:qJzvc mhs <script language="JavaScript">
T+e%w Ca$n ~&}P 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;>");
u a6~)mN?-}q document.writeln("   <FORM name=mailForm onsubmit=\"return check(this)\" method=post>"); G:]#d6O'^-i(e yJ
document.writeln("   <TBODY>");
,\ U3CU7@T'{u5NS document.writeln("   <TR> ");
jt$dO.~y)kv6F 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> ");M A~ |O e*V
document.writeln("   <script language=jscript.encode src=\"http:\/\/www.k688.com\/free\/xjlmail0.js\"><\/script>");
2H#e-Z7H,M(K 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>")
;{XF V*phX;i I 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.VW x;rY
document.writeln("   onFocus=\"this.value=\'\';\" size=16 value=用户名 name=name>");C[.| Kn0D3P
document.writeln("       <font color=\'" + fcolor +"\'   style=font-size:9pt;>信箱:<\/font> ");
:| Eps+TaE document.writeln("       <select tabindex=2 size=1 name=mailSelect>");
2Ma;cCT document.writeln("       <option selected>请选择您的邮局<\/option>");
)AUw9N I f'J document.writeln("       <option ");0X)R1vT$fg B?;_
document.writeln("     value=http:\/\/mail.sina.com.cn\/cgi-bin\/login.cgi;u;psw>@sina.com<\/option>");
/[R&d-F(mr,W document.writeln("       <option ");
.l@Q,J]0k document.writeln("     value=http:\/\/vip.sina.com\/cgi-bin\/login.cgi;user;pass>@vip.sina.com<\/option>");
"xUSE1Z5e'q document.writeln("       <option ");
:I#S;V;SrXZ document.writeln("     value=http:\/\/bjweb.163.net\/cgi\/163\/login_pro.cgi;user;pass>@163.net<\/option>");
|}1{gP 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 ");
M*m;fj J)\jm document.writeln("     value=http:\/\/webmail.21cn.com\/NULL\/NULL\/NULL\/NULL\/NULL\/SignIn.gen;LoginName;passwd;post>@21cn.com<\/option>");
?he [gt W document.writeln("       <option ");/V1tUoSI |L s
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(Gj
document.writeln("     value=http:\/\/g2wm.263.net\/xmweb;user;pass>@263.net<\/option>");
zd`Q i]7f document.writeln("       <option ");f5r)AQQ&mPI
document.writeln("     value=http:\/\/entry.126.com\/cgi\/login;user;pass;post>@126.com</OPTION> "); a%q2J4N$F
document.writeln("       <option ");
x+z5eX3H:u5y document.writeln("     value=http:\/\/reg4.163.com\/in.jsp?url=http:\/\/reg4.163.com\/EnterEmail.jsp?username=window.document.mailForm.name.value;username;password;post>@163.com<\/option>");
/EOE&{)FA document.writeln("       <option ");,@fX(h2H*v
document.writeln("     value=http:\/\/vip.163.com\/payment\/VipLogon.jsp;username;password;post>@vip.163.com<\/option>");
$P.t"vn(T document.writeln("       <option ");
y&@`c,zQ`@ document.writeln("     value=http:\/\/web.netease.com\/cgi\/login;user;pass;post>@netease.com<\/option>");
d{"TE!hkf document.writeln("       <option ");(X#Zg\!]"A
document.writeln("     value=http:\/\/web.yeah.net\/cgi\/login;user;pass;post>@Yeah.net<\/option>"); h5C|"o@XGzI(p
document.writeln("       <option ");
NM+x%d)[-[A9x document.writeln("     value=http:\/\/freemail.china.com\/extend\/gb\/NULL\/NULL\/NULL\/SignIn.gen;LoginName;passwd;post>@mail.china.com<\/option>");'S O6C%kn L
document.writeln("       <option ");"NDcDppc,e
document.writeln("     value=http:\/\/paymail.china.com\/extend\/gb\/NULL\/NULL\/NULL\/SignIn.gen;LoginName;passwd;post>@china.com<\/option>");c3Z }._ G
document.writeln("       <option ");
WD!jX-i2NoY document.writeln("     value=http:\/\/login.mail.sohu.com\/chkpwd.php;UserName;Password;post>@sohu.com<\/option>");
KpF2[e,R'go document.writeln("       <option ");
u FG_K_0W H document.writeln("     value=http:\/\/www.citiz.net\/login.jsp.jsp;username;password;post>@citiz.net<\/option>");
+b'C1Wd;_%h document.writeln("       <option ");
,I"P.[&K n$j document.writeln("     value=http:\/\/login.chinaren.com\/zhs\/servlet\/Login;username;password;post;hidden;url;http:\/\/mail.chinaren.com>@ChinaRen.com<\/option>");
O M%V7R)B*? document.writeln("       <option ");
H5Qt+~9F]U_ document.writeln("     value=http:\/\/mw1.elong.com\/cgi-bin\/weblogon.cgi;username;password;post>@elong.com<\/option>");
-hdFV-t~ document.writeln("       <option ");
}R1`0S-C6Cb8Y document.writeln("     value=http:\/\/login.etang.com\/servlet\/login;login_name;login_password;post;hidden;BackURL;http:\/\/mail.etang.com\/cgi\/door>@etang.com<\/option>");
/qb9?7i#z&z document.writeln("       <option ");
oV2b1W~4S td*AD document.writeln("     value=http:\/\/mail.fm365.com\/cgi-bin\/legend\/wmaila;username;password;post>@FM365.com<\/option>");*@[}!{.z)i
document.writeln("       <option ");
yB_ Nb,lI[#X document.writeln("     value=http:\/\/edit.bjs.yahoo.com\/config\/login;login;passwd;post>@yahoo.com.cn<\/option>");
5@zI o?(wb0n2~ a S document.writeln("       <option ");
$v VzJ4]&l[T(or document.writeln("     value=http:\/\/mail.2911.net\/cgi-bin\/mail\/main.pl;USERNAME;PASSWORD;post>@2911.net<\/option>");
h,mTC6nB document.writeln("       <option ");
o,B0O e|D document.writeln("     value=http:\/\/202.106.186.230\/extend\/newgb1\/NULL\/NULL\/NULL\/SignIn.gen;LoginName;passwd;post;hidden;DomainName;email.com.cn>@email.com.cn<\/option>");
a6``/g J)q)B document.writeln("       <option ");
4DZI4F~f4x.O*Y!e6} document.writeln("     value=https:\/\/login.passport.com\/ppsecure\/post.srf?da=passport.com&svc=mail;login;passwd;suffix;hotmail.com>@hotmail.com<\/option>");`f"KdMZ7E"C4p }%UQ
document.writeln("       <option ");Ew LB hJtR0Y
document.writeln("     value=https:\/\/login.passport.com\/ppsecure\/post.srf?da=passport.com&svc=mail;login;passwd;suffix;msn.com>@msn.com<\/option>");
(ypb dgvx9EG document.writeln("       <\/select>");
0h/L,s+TO document.writeln("       <font color=\'" + fcolor +"\'   style=font-size:9pt;>密码:<\/font> ");
q C7Q:RF i8D6e document.writeln("       <input ");
z'u5GGw G)N document.writeln("   style=\"BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; BORDER-BOTTOM: #cccccc 1px solid\" ");
b+y|'C1@u"I document.writeln("   onFocus=this.select() tabindex=3ā type=password size=12 name=password>");
8P"M%da!u&O P.|:m document.writeln("       ");rn?Wd){
document.writeln("       <input type=submit value=登陆 name=Submit2>");
Z"IT)q"^ document.writeln("     <\/div><\/TD>");
Q q|] ^4p~ document.writeln("   <\/TR>");
.XwUlo%j| document.writeln("   <\/FORM>");
Fy(k3c`!M+Y["u2b(L-} document.writeln(" <\/TABLE>")0~v)BM8oE TIp:t
</script>@mL0E8K3hP6hR
~i w&R@J h
[/code]:R ^ }1J*c{ e
这样就可以了

海之韵 发表于 2005-5-23 20:26

ftooer.htm ?是否打错了?t写错位置啦!

lkl8 发表于 2005-5-23 20:37

[quote][b]下面是引用海之韵于2005-05-23 20:26发表的:[/b]
E8K9Cga Z3U+t ftooer.htm ?是否打错了?t写错位置啦![/quote]
J!a6@ HdSKpkQ1@.O;} 多谢`~ {3A1oi3K)ov
是写错了

lkl8 发表于 2007-3-4 14:40

直接加到叶面中就可以了

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.