?? xiugaimima.jsp
字號:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>修改密碼</title>
<style type="text/css">
<!--
.style1 {font-size: 36px}
.STYLE2 {font-size: 18px}
body {
background-color: #FFCC99;
}
-->
</style>
</head>
<SCRIPT language=JavaScript>
<!--
function chkForm()
{
if(form1.code.value==""){
alert("請輸入舊密碼");
form1.code.focus();
return false;
}
if(form1.code1.value==""){
alert("請輸入密碼");
form1.code1.focus();
return false;
}
if(form1.code2.value==""){
alert("請輸入確認密碼");
form1.code2.focus();
return false;
}
if(form1.code1.value!=form1.code2.value){
alert("你的兩個密碼不一樣");
form1.code1.focus();
return false;
}
return true;
}
//-->
</SCRIPT>
<body onload="document.form1.id.focus()">
<%
Object Tid=session.getAttribute("Tid");
if (Tid==null){
out.print("對不起,你還沒登陸,請先登陸<a href=denglu.jsp>首頁</a>");
}
else
{ %>
<table width="800" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="272" height="24"><a href="jiaoshijiemian.jsp" class="STYLE2">返回</a></td>
<td width="19"> </td>
<td width="329"> </td>
<td width="26"> </td>
<td width="154"> </td>
</tr>
<tr>
<td height="107"> </td>
<td> </td>
<td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="330" height="107" align="center"><span class="style1">修改密碼</span></td>
</tr>
</table></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="70"> </td>
<td> </td>
<td>輸入您的舊密碼及新密碼:</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="344"> </td>
<td colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="374" height="344" align="center">
<form name="form1" method="post" action="xiugaimima_confirm.jsp" onSubmit="return chkForm()" >
<p>舊密碼
<input type="password" name="code">
</p>
<p>新密碼
<input type="password" name="code1">
</p>
<p>確認密碼
<input type="password" name="code2">
</p>
<p>
<input type="submit" name="Submit" value="提交">
</p>
</form></td>
</tr>
</table> </td>
<td> </td>
</tr>
<tr>
<td height="109"> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</html>
<%
}
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -