<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>孙国良?康艺伟</title>
</head>
<body>
</body>
</html>
<html>
<head>
<title>用户登录</title>
<script language="javascript">
function myFunction(){
try{
if(document.myForm.ID.value!="admin"){
throw "idError"
}else if(document.myForm.psw.value!="heidi"){
throw "pswError"
}else
{
window.location="ABC.html";
}
}catch(showError){
if(showError=="idError")alert("屌丝,知道账号密码么?")
if(showError=="pswError")alert("屌丝,知道账号密码么?")
}
}</script>
</head>
<body bgcolor="#666666">
<table border="1" align="center" height="50" width="30%">
<tr>
<td>
<form name="myForm">
<p align="center">请输入账号:<input type="text" name="ID" width="15" size="15" /><br /></p>
<p align="center">请输入密码:<input type="password" width=" 15" name="psw" size="15" /><br /></p>
<p align="center"><input type="button" value="登录" onClick="myFunction()" /><input type="button" value="退出" onClick="window.close()" /></p>
</form>
</td>
</tr>
</table>
</body>
</html>