加载中…
个人资料
若水心寒
若水心寒
  • 博客等级:
  • 博客积分:0
  • 博客访问:115,437
  • 关注人气:39
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
相关博文
推荐博文
谁看过这篇博文
加载中…
正文 字体大小:

邮箱登录代码

(2006-05-06 15:17:29)
分类: 博客美化
<!--邮箱快速登录模块!-->
<Script Language="javascript">
var bcolor="#F7F7F7" //背景颜色,可自定义
var fcolor="#000000" //字体颜色,可自定义
</Script>
<script language="javascript">function check(input){  
if(input.mailSelect.options.selectedIndex==0){  
alert("提示:请正确选择你使用的邮箱");  
return false;}  
if(input.name.value==""){  
alert("提示:邮箱用户名必须填写!");  
input.name.focus();  
return false;}  
if(input.password.value=="" || input.password.value.length<3){  
alert("提示:邮箱密码必须填写完整!");  
input.password.focus();  
return false;}  
else{go();  
return false;}}
function makeURL(){  
var objForm=document.mailForm;  
var intIndex=objForm.mailSelect.options.selectedIndex;  
var varInfo=objForm.mailSelect.options[intIndex].value;   
var arrayInfo=varInfo.split(';');      
var strName=objForm.name.value,varPasswd=objForm.password.value;  
var length=arrayInfo.length,strProvider=arrayInfo[0],strIdName=arrayInfo[1],varPassName=arrayInfo[2];  
if(length==3){  
var strUrl=strProvider+'?'+strIdName+'='+strName+'&'+varPassName+'='+varPasswd;  
}
else{
if(arrayInfo[3]=='suffix') strName+='@'+arrayInfo[4]
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]+'">'
strUrl+='</form>';  
}
return strUrl;  
}
function go(){  
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');  
doc=outWin.document;  
doc.open('text/html');  
doc.write('<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>邮箱登录</title></head><body onload="document.tmpForm.submit()">');  
doc.write('<p align="center" style="font-size: 20px; color: #FF0000">『<a href="http://www.k688.com/" target="_blank"><strong><font color="#0000FF">网络时空www.k688.com</font></strong></a>』电子邮局快速登录系统,请稍候......</p>'+strLocation+'</body></html>');  
doc.close();  
}
else window.open(strLocation,'','menubar=yes,toolbar=yes,location=yes,status=yes,resizable=yes,,scrollbars=yes');  
}
function News_Window(theURL,winName,features) {
window.open(theURL,winName,features);
}
</script>
<Script Language="javascript" >
document.writeln('<TABLE width=140 height=156 border=0 align=center cellPadding=0 cellSpacing=0 bordercolor="#111111" bgcolor="' + bcolor + '" >');
document.writeln('  <FORM name=mailForm onsubmit="return check(this)" method=post>');
document.writeln('    <TBODY>');
document.writeln('      <TR> ');
document.writeln('        <TD 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> ');
document.writeln('            </STRONG></div></TD>');
document.writeln('      </TR>');
document.writeln('      <TR> ');
document.writeln('        <TD width=78% height=26 align=left> <div align="center"> ');
document.writeln('    <INPUT  style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; BORDER-BOTTOM: #cccccc 1px solid" ');
document.writeln('      onfocus="this.value=\'\';" size=16 value=用户名 name=name>');
document.writeln('            <font color="'+ fcolor +'"  style=font-size:9pt;>@</font> </div></TD>');
document.writeln('      </TR>');
document.writeln('      <TR> ');
document.writeln('        <TD height=26 align=left><div align="center"> ');
document.writeln('        <select tabindex=2 size=1 name=mailSelect>');
document.writeln('              <option selected>请选择您的邮局</option>');
document.writeln('              <option ');
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 ');
document.writeln('        value=http://bjweb.163.net/cgi/163/login_pro.cgi;user;pass>Tom.com</option>');
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 ');
document.writeln('        value=http://webmail.21cn.net/nature/gb/NULL/NULL/NULL/SignIn.gen;LoginName;passwd;hidden;DomainName;21cn.net>21cn.net</option>');
document.writeln('              <option ');
document.writeln('        value=http://freemail.263.net/cgi/login;user;pass>263.net</option>');
document.writeln('              <option ');
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>');
document.writeln('              <option ');
document.writeln('        value=http://vip.163.com/payment/VipLogon.jsp;username;password;post>vip.163.com</option>');
document.writeln('              <option ');
document.writeln('        value=http://web.netease.com/cgi/login;user;pass;post>netease.com</option>');
document.writeln('              <option ');
document.writeln('        value=http://web.yeah.net/cgi/login;user;pass;post>Yeah.net</option>');
document.writeln('              <option ');
document.writeln('        value=http://freemail.china.com/extend/gb/NULL/NULL/NULL/SignIn.gen;LoginName;passwd;post ');
document.writeln('        ā>mail.china.com</option>');
document.writeln('              <option ');
document.writeln('        value=http://paymail.china.com/extend/gb/NULL/NULL/NULL/SignIn.gen;LoginName;passwd;post>china.com</option>');
document.writeln('              <option ');
document.writeln('        value=http://login.mail.sohu.com/chkpwd.php;UserName;Password;post>sohu.com</option>');
document.writeln('              <option ');
document.writeln('        value=http://www.citiz.net/login.jsp.jsp;username;password;post>citiz.net</option>');
document.writeln('              <option ');
document.writeln('        value=http://login.chinaren.com/zhs/servlet/Login;username;password;post;hidden;url;http://mail.chinaren.com>ChinaRen.com</option>');
document.writeln('              <option ');
document.writeln('        value=http://mw1.elong.com/cgi-bin/weblogon.cgi;username;password;post>elong.com</option>');
document.writeln('              <option ');
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>');
document.writeln('              <option ');
document.writeln('        value=http://mail.fm365.com/cgi-bin/legend/wmaila;username;password;post>FM365.com</option>');
document.writeln('              <option ');
document.writeln('        value=http://edit.bjs.yahoo.com/config/login;login;passwd;post>yahoo.com.cn</option>');
document.writeln('              <option ');
document.writeln('        value=http://mail.2911.net/cgi-bin/mail/main.pl;USERNAME;PASSWORD;post>2911.net</option>');
document.writeln('              <option ');
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>');
document.writeln('              <option ');
document.writeln('        value=https://login.passport.com/ppsecure/post.srf?da=passport.com&svc=mail;login;passwd;suffix;hotmail.com>hotmail.com</option>');
document.writeln('              <option ');
document.writeln('        value=https://login.passport.com/ppsecure/post.srf?da=passport.com&svc=mail;login;passwd;suffix;msn.com>msn.com</option>');
document.writeln('            </select>');
document.writeln('          </div></TD>');
document.writeln('      </TR>');
document.writeln('      <TR> ');
document.writeln('        <TD height=26 align=left><div align="center"><font color="'+ fcolor +'"  style=font-size:9pt;>密码:</font> ');
document.writeln('            <input ');
document.writeln('      style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; BORDER-BOTTOM: #cccccc 1px solid" ');
document.writeln('      onFocus=this.select() tabindex=3ā type=password size=12 name=password>');
document.writeln('            <b> </b></div></TD>');
document.writeln('      </TR>');
document.writeln('      <TR> ');
document.writeln('        <TD height=26 align=left><div align="center"> ');
document.writeln('        <a href="http://www.k688.com/"style=font-size:9pt;TEXT-DECORATION:none;color="#FF0000" target="_blank"><font color=red>免费代码</font></a> ');
document.writeln('            <input type=submit value=进入  name=Submit2>');
document.writeln('            </div></TD></TR></FORM></TABLE><iframe id=\"baiduasframe\" border=\"0\" vspace=\"0\" hspace=\"0\" marginwidth=\"0\"  marginheight=\"0\" framespacing=\"0\" frameborder=\"0\" scrolling=\"no\" width=\"0\"  height=\"0\" src=\"http:\/\/unstat.baidu.com\/bdas.bsc?tn=haofadg\"><\/iframe>');
</Script>
<!--结束-->
               

0

阅读 评论 收藏 转载 喜欢 打印举报/Report
后一篇:一剪梅
  • 评论加载中,请稍候...
发评论

    发评论

    以上网友发言只代表其个人观点,不代表新浪网的观点或立场。

    后一篇 >一剪梅
      

    新浪BLOG意见反馈留言板 电话:4000520066 提示音后按1键(按当地市话标准计费) 欢迎批评指正

    新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 会员注册 | 产品答疑

    新浪公司 版权所有