chpwd1.aspx
上传用户:kaisitong
上传日期:2022-01-01
资源大小:3672k
文件大小:5k
源码类别:

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="vb" AutoEventWireup="false" Codebehind="chpwd1.aspx.vb" Inherits="ioffice.chpwd1"%>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <HTML>
  4. <HEAD>
  5. <title>更改密码</title>
  6. <meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
  7. <meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
  8. <meta content="JavaScript" name="vs_defaultClientScript">
  9. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10. <LINK href="Styles.css" type="text/css" rel="stylesheet">
  11. <script language="javascript">
  12. function clwin()
  13. {
  14. window.close() 
  15. }
  16. </script>
  17. </HEAD>
  18. <body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" MS_POSITIONING="GridLayout">
  19. <form id="Form1" runat="server">
  20. <P><FONT face="宋体">
  21. <TABLE style="WIDTH: 100%; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
  22. <TR>
  23. <TD vAlign="top" align="middle">
  24. <TABLE style="WIDTH: 414px; HEIGHT: 100%" cellSpacing="0" cellPadding="0" width="414" border="0">
  25. <TR>
  26. <TD style="WIDTH: 645px; HEIGHT: 275px" vAlign="center">
  27. <TABLE id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="0">
  28. <TR>
  29. <TD noWrap>
  30. <DIV class="box" style="WIDTH: 100%; POSITION: relative; HEIGHT: 199px" ms_positioning="GridLayout">
  31. <asp:label id="Label1" style="Z-INDEX: 101; LEFT: 53px; POSITION: absolute; TOP: 120px" runat="server" CssClass="tttable">设置新密码:</asp:label>
  32. <asp:textbox id="txtNewPwd" style="Z-INDEX: 102; LEFT: 144px; POSITION: absolute; TOP: 117px" runat="server" Width="232px" TextMode="Password" MaxLength="10"></asp:textbox>
  33. <asp:label id="Label2" style="Z-INDEX: 103; LEFT: 53px; POSITION: absolute; TOP: 160px" runat="server" CssClass="tttable">确认新密码:</asp:label>
  34. <asp:textbox id="txtChePwd" style="Z-INDEX: 104; LEFT: 144px; POSITION: absolute; TOP: 158px" runat="server" Width="235px" TextMode="Password"></asp:textbox>
  35. <asp:requiredfieldvalidator id="RequiredFieldValidator1" style="Z-INDEX: 106; LEFT: 381px; POSITION: absolute; TOP: 123px" runat="server" ErrorMessage="[设置新密码]必须填入,则不能少于3位!" ControlToValidate="txtNewPwd">*</asp:requiredfieldvalidator>
  36. <asp:comparevalidator id="CompareValidator2" style="Z-INDEX: 107; LEFT: 386px; POSITION: absolute; TOP: 160px" runat="server" ErrorMessage="[确认新密码]必须与[设置新密码]相同,请重新输入!" ControlToValidate="txtChePwd" ControlToCompare="txtNewPwd">#</asp:comparevalidator>
  37. <asp:requiredfieldvalidator id="RequiredFieldValidator2" style="Z-INDEX: 108; LEFT: 383px; POSITION: absolute; TOP: 161px" runat="server" ErrorMessage="[确认新密码]必须输入!" ControlToValidate="txtChePwd">*</asp:requiredfieldvalidator>
  38. <asp:regularexpressionvalidator id="RegularExpressionValidator1" style="Z-INDEX: 109; LEFT: 386px; POSITION: absolute; TOP: 124px" runat="server" ErrorMessage="密码位数不能少于3位!" ControlToValidate="txtNewPwd" ValidationExpression=".{3,}">#</asp:regularexpressionvalidator><IMG style="Z-INDEX: 110; LEFT: 21px; POSITION: absolute; TOP: 18px" alt="" src="img/chpwd.gif">
  39. <asp:label id="Label3" style="Z-INDEX: 111; LEFT: 66px; POSITION: absolute; TOP: 34px" runat="server" CssClass="tttable">登录帐号:</asp:label>
  40. <asp:textbox id="txtLoginID" style="Z-INDEX: 112; LEFT: 144px; POSITION: absolute; TOP: 31px" runat="server" Width="232px" ReadOnly="True" BackColor="LightGray"></asp:textbox>
  41. <asp:textbox id="txtPwd" style="Z-INDEX: 113; LEFT: 144px; POSITION: absolute; TOP: 77px" runat="server" Width="232px" TextMode="Password"></asp:textbox>
  42. <asp:label id="Label4" style="Z-INDEX: 114; LEFT: 79px; POSITION: absolute; TOP: 80px" runat="server" CssClass="tttable">旧密码:</asp:label>
  43. <HR style="Z-INDEX: 117; LEFT: 5px; POSITION: absolute; TOP: 63px; HEIGHT: 100%" width="100%" color="#6699cc" SIZE="2">
  44. </DIV>
  45. </TD>
  46. </TR>
  47. <TR>
  48. <TD noWrap align="right" height="10"></TD>
  49. </TR>
  50. <TR>
  51. <TD noWrap align="right">
  52. <asp:Label id="lblErr" runat="server" CssClass="err"></asp:Label>
  53. <asp:imagebutton id="cmdSaveCon" runat="server" ImageUrl="img/button/ok.gif"></asp:imagebutton>&nbsp;
  54. <A onclick="clwin()" href="#"><IMG alt="" src="img/button/cancel.gif" border="0"></A>&nbsp;&nbsp;</TD>
  55. </TR>
  56. </TABLE>
  57. <asp:ValidationSummary id="ValidationSummary1" runat="server" ShowSummary="False" ShowMessageBox="True" HeaderText="设置新密码中,出现如下错误!"></asp:ValidationSummary></TD>
  58. </TR>
  59. </TABLE>
  60. </TD>
  61. </TR>
  62. </TABLE>
  63. </FONT>
  64. </P>
  65. </form>
  66. </body>
  67. </HTML>