<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" >
<title>用户认证</title>
<style>
#formwrapper {
width:500px;
margin:0 auto 0 auto;
padding:20px;
color:#ffffff;
FONT-WEIGHT: bold;
}
INPUT {
FONT-SIZE: 11pt;FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
}
fieldset {
padding:10px;
margin-top:5px;
border:1px solid #ffffff;
color:#ffffff;
text-align:left;
}
fieldset legend {
color:#000001;
FONT-SIZE: 12px;
font-weight:bold;
padding:3px 16px 3px 16px;
border:1px solid #000001;
background:#dbcde7;
}
fieldset label {
float:left;
width:140px;
text-align:left;
margin:1px;
padding-left:6px;
}
fieldset div {
clear:left;
margin-top:13px;
margin-bottom:2px;
}
BODY
{
FONT-SIZE: 14px;
COLOR: #ffffff;
LINE-HEIGHT: 150%;
FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
text-align:center;
}
fieldset a {
color:#ffffff;
}
fieldset a:hover {
color:#ffffff;
}
</style>
<SCRIPT language=javascript>
function GetByteLen(obj)
{
var s = obj.value;
var l= s.length;
var i=0;
var c=0;
var actLength=l;
while(i<l)
{
c=s.charCodeAt(i);
if(c>255)
actLength++;
i++;
}
return(actLength);
}
function CheckMaxlen(obj,errmsg)
{
var byteLen,maxLen;
byteLen = GetByteLen(obj);
maxLen = obj.maxLength;
if((maxLen > 0) && (maxLen < byteLen))
{
alert(errmsg);
return(false);
}
return(true);
}
function test()
{
document.forms[0].user.value=document.forms[0].user.value.replace(/\</g,""); document.forms[0].user.value=document.forms[0].user.value.replace(/\>/g,""); var user_name = document.forms[0].user;
if (document.forms[0].user.value=="")
{
alert("Username cannot be empty!");
document.forms[0].user.focus();
return false;
}
if (CheckMaxlen(user_name,"Username too long!") ==false)
{
user_name.select();
return false;
}
if (document.forms[0].pass.value=="")
{
alert("Password cannot be empty!");
document.forms[0].pass.focus();
return false;
}
document.getElementById('submit').disabled = true;
return true;
}
function display()
{
var theusr = document.forms[0].user;
theusr.focus();
if(0)
{
document.forms[0].modify_password.style.display="";
}
}
</SCRIPT>
</head>
<BODY bgcolor=#3300ff onload=display()>
<div id="formwrapper">
<div style="width:460px;margin-top:30px; font-size:16px;TEXT-ALIGN: left;word-wrap:break-word;word-break:break-all ">
西科大网络中心:1.
http://172.16.2.20注销。2.用户注册及修改密码
http://chaxunlt.xust.edu.cn QQ支持(非营业厅):1072151148(空间日志有常见故障解决方法) 营业厅电话:83856222
</div>
<form name="login_form" id="login_form" target="_self" method="post" action="
http://172.16.2.20/goform/eumLogin" onSubmit="test();">
<div align="center"></div>
<fieldset>
<legend>用户认证</legend>
<div>
<label for="name">用户名</label>
<STRONG>
<INPUT id=user
onmouseover="javascript: this.style.backgroundColor = '#E5F0FF'"
style="BORDER-RIGHT: #b4b4b4 1px ; BORDER-TOP: #b4b4b4 1px ; BORDER-LEFT: #b4b4b4 1px ; BORDER-BOTTOM: #b4b4b4 1px ; BACKGROUND-COLOR: #ffffff"
onMouseOut="javascript: this.style.backgroundColor = '#FFFFFF'"
maxLength=30 size=32 name=user >
</STRONG> <br>
</div>
<div>
<label for="password">密码 </label>
<STRONG>
<INPUT onMouseOver="javascript: this.style.backgroundColor = '#E5F0FF'"
style="BORDER-RIGHT: #b4b4b4 1px ; BORDER-TOP: #b4b4b4 1px ; BORDER-LEFT: #b4b4b4 1px ; BORDER-BOTTOM: #b4b4b4 1px ; BACKGROUND-COLOR: #ffffff"
onMouseOut="javascript: this.style.backgroundColor = '#FFFFFF'"
type=password maxLength=30 size=32 name=pass>
</STRONG><br>
</div>
<div style="margin-top:15px">
<label for="login"></label>
<input name="Submit" type="submit" class="button" id="submit" value=" 登 录 " onMouseOver="javascript: this.style.backgroundColor='#ffffff';this.style.color='#000000' " style="padding:1px 8px;FONT-WEIGHT: bold;font-size:12px;border:1px #000001 solid;background:#D0FEFE;cursor:hand;" onMouseOut="javascript: this.style.backgroundColor='#D0FEFE';this.style.color='#000000' " >
<input name="modify_password" type="button" class="button" value="修改密码" id="modify_password" onmouseover="javascript: this.style.backgroundColor='#ffffff';this.style.color='#000000' " style="padding:1px 8px;FONT-WEIGHT: bold;font-size:12px;border:1px #000001 solid;background:#D0FEFE;cursor:hand;display:none" onMouseOut="javascript: this.style.backgroundColor='#D0FEFE';this.style.color='#000000' " onClick="javascript:window.location='/eum/change_pwd_new_gb.asp';">
</div>
</fieldset>
<input type='hidden' name='url' value='172.16.2.20'>
<input type='hidden' name='authtype' value='0'>
<input type='hidden' name='authid' value='0'>
</form>
</div>
</body>
</html>