⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 7045c378149e001c14389a293f743050

📁 源代码
💻
字号:
<%@ page contentType="text/html;charset=gb2312" %>
<%@ include file="incoming/Common.jsp"%>
<%@ include file="CheckIndex.jsp"%>


<script language="javascript">
function check_input(theForm)
{
  if (theForm.oldpassword.value == "")
  {
    alert("请输入旧密码.");
    theForm.oldpassword.focus();
    return (false);
  }
  if (theForm.newpassword.value != theForm.confirmpassword.value)
  {
    alert("两次输入密码不一致.");
    theForm.confirmpassword.focus();
    return (false);
  }
}
</script>

<%@include file="inc/Header.inc"%>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td width="120" background="images/in_left_bg.gif"><%@ include file="Left.jsp"%></td>
    <td width="648" align="center" valign="top">	
    	<form name="form1" method="post" action="ModifyPasswordStep2.jsp" onsubmit="return check_input(this)">
      <br>
      <p class="title1">修改密码</p>
      <table width="389" height="177" border="1" align="center" cellpadding="3" cellspacing="0" bordercolor="#CCCCCC">
        <tr>
          <td width="135" height="29"><div align="right">用户名: </div></td>
          <td width="236"><%String username = (String)session.getValue("UserName");out.println(username);%></td>
        </tr>
        <tr>
          <td height="29"><div align="right">旧密码: 
            </div>
            <div align="right"></div></td>
          <td height="29"><input name="oldpassword" type="password"  class="data" id="oldpassword2" size="25" maxlength="16" ></td>
        </tr>
        <tr>
          <td height="29"><div align="right">新密码: 
            </div>
            <div align="right"></div></td>
          <td height="29"><input name="newpassword" type="password"  class="data" id="newpassword2" size="25" maxlength="16" ></td>
        </tr>
        <tr>
          <td height="44"><div align="right">确认密码: 
            </div></td>
          <td height="44"><input name="confirmpassword" type="password"  class="data" id="confirmpassword2" size="25" maxlength="16" ></td>
        </tr>
        <tr>
          <td height="44" colspan="2"><div align="center">
            <input type="submit" name="Submit" value="修改">
            <input type="reset" name="Submit2" value="取消">
</div></td>
        </tr>
      </table>
    </form></td>
  </tr>
</table>
<%@include file="inc/Footer.inc"%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -