企业邮箱登录代码集锦
2010-09-14 13:33:10 来源:WEB开发网一、尚易企业邮箱登录代码(顺序一次为:网通C2服务器Webmail用户、Webmail管理员登录代码;电信Webmail用户、Webmail管理员登录代码):
1、尚易网通C2服务器用户Webmail用户登录代码如下
style type="text/css">
<!--
.border {
border: 1px solid #999999;
}
input {
font-family: "Arial";
font-size: 9pt;
color: #333333;
background-color: #F5F5F5;
border: 1px solid #666666;
}
select {
font-family: "Arial";
font-size: 9pt;
color: #333333;
background-color: #F5F5F5;
border: 1px solid #666666;
}
option{
font-family: "Arial";
font-size: 9pt;
color: #333333;
background-color: #F5F5F5;
border: 1px solid #666666;
}
TD {
FONT-FAMILY: "宋体"; FONT-SIZE: 9pt
}
BODY {
FONT-FAMILY: "宋体"; FONT-SIZE: 9pt
}
-->
</style>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<script language="JavaScript">
function getCookieVal (offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}
function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}
function SetCookie (name, value) {
var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}
function check_ssl(){
if (document.form2.usessl.checked == true){
document.form2.usessl.value = 1;
}else{
document.form2.usessl.value = 0;
}
}
function ssl(){
if (document.form2.usessl.checked == true){
SetCookie('ssl', 1, exp);
}else{
SetCookie('ssl', 0, exp);
}
}
var expDays = 30;
var exp = new Date();
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
</script>
<SCRIPT language=JavaScript>
function merge() {
with (document.form3) {
account.value = temp_account.value + "@" + domain.value;
}
}
</SCRIPT>
</HEAD>
<BODY leftMargin=0 topMargin=0 marginheight="0" marginwidth="0"><center>
<TABLE style="FONT-FAMILY: Times New Roman" cellSpacing=0 cellPadding=0 width=603 border=0>
<TBODY>
<TR>
<TD colSpan=3 bgcolor="#ED5A0C"> </TD>
</TR>
<TR>
<TD> </TD>
<TD class=text12> </TD>
<TD class=text12><a href="http://help.corpease.net/service_6_help.htm"></a></TD>
</TR>
<TR>
<TD width=17> </TD>
<TD class=text12 width=515> <P> <strong>企业邮箱用户<br>
<font face="Arial, Helvetica, sans-serif">Enterprise Email Users</font></strong>
<FORM name=form2 action=http://mail.c2.corpease.net/cgi/login method=post>
<input type="hidden" name="verifycookie" />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="105">用户名<br> <font face="Arial, Helvetica, sans-serif">User
Name</font></td>
<td width="19"> </td>
<td width="44"> </td>
<td width="198">密码<br>
<font face="Arial, Helvetica, sans-serif">Password</font></td>
</tr>
<tr>
<td><input class=normal-font maxlength=100 size=30 name=user style="width: 100px"></td>
<td><font face=Arial color=black> </font></td>
<td><font face=Arial color=black>
<input maxlength=100 name=domain style="width: 100px" value="企业邮箱域名" type="hidden">
</font></td>
<td><INPUT class=normal-font type=password maxLength=100 size=30 name=pass style="width: 100px"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td width="157">语言<br> <font face="Arial, Helvetica, sans-serif">Language</font></td>
<td width="149"> 风格<br> <font face="Arial, Helvetica, sans-serif">Style</font></td>
<td width="59" valign="bottom">SSL</td>
<td width="59"> </td>
</tr>
<tr>
<td><select id="language" name="language" style="width: 120px" onChange="SetCookie('lang1', this.value, exp);">
<option value="-1">Default</option>
<option value="0" selected>Simplified Chinese</option>
<option value="1">English</option>
<option value="2">Traditional Chinese</option>
</select></td>
<td><select name="style" style="width: 120px" onChange="SetCookie('style', this.value, exp);">
<option value="-1" selected>Default</option>
<option value="0" selected>Simple</option>
<option value="1" selected>CorpEase</option>
</select></td>
<td><input type="checkbox" name="usessl" value="0" border="0" onClick="ssl();"></td>
<td><input name="submit" type=submit value=Login onClick="check_ssl();"></td>
</tr>
</table>
</FORM></P>
<br> <br> <P><BR>
<P></P></TD>
<TD class=text12 width=80></TD>
</TR>
<TR>
<TD height=15 colSpan=3 bgcolor="#ED5A0C"> </TD>
</TR>
</TBODY>
</TABLE>
<script language="JavaScript">
switch (GetCookie('lang1')){
case "-1":
document.form2.language[0].selected = true;
break;
case "0":
document.form2.language[1].selected = true;
break;
case "1":
document.form2.language[2].selected = true;
break;
case "2":
document.form2.language[3].selected = true;
break;
default: document.form2.language[0].selected = true;
}
switch (GetCookie('style')){
case "-1":
document.form2.style[0].selected = true;
break;
case "0":
document.form2.style[1].selected = true;
break;
case "1":
document.form2.style[2].selected = true;
break;
case "2":
document.form2.style[3].selected = true;
break;
case "3":
document.form2.style[4].selected = true;
break;
default: document.form2.style[0].selected = true;
}
switch (GetCookie('lang2')){
case "0":
document.form3.styleidx[0].selected = true;
break;
case "1":
document.form3.styleidx[1].selected = true;
break;
}
switch (GetCookie('ssl')){
case "0":
document.form2.usessl.checked = false;
break;
case "1":
document.form2.usessl.checked = true;
break;
default: document.form2.usessl.checked = false;
}
</script>
更多精彩
赞助商链接