chpwd1.aspx
资源名称:ioffice-e.rar [点击查看]
上传用户:kaisitong
上传日期:2022-01-01
资源大小:3672k
文件大小:5k
源码类别:
OA系统
开发平台:
ASP/ASPX
- <%@ Page Language="vb" AutoEventWireup="false" Codebehind="chpwd1.aspx.vb" Inherits="ioffice.chpwd1"%>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML>
- <HEAD>
- <title>更改密码</title>
- <meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
- <meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
- <meta content="JavaScript" name="vs_defaultClientScript">
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <LINK href="Styles.css" type="text/css" rel="stylesheet">
- <script language="javascript">
- function clwin()
- {
- window.close()
- }
- </script>
- </HEAD>
- <body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" MS_POSITIONING="GridLayout">
- <form id="Form1" runat="server">
- <P><FONT face="宋体">
- <TABLE style="WIDTH: 100%; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
- <TR>
- <TD vAlign="top" align="middle">
- <TABLE style="WIDTH: 414px; HEIGHT: 100%" cellSpacing="0" cellPadding="0" width="414" border="0">
- <TR>
- <TD style="WIDTH: 645px; HEIGHT: 275px" vAlign="center">
- <TABLE id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="0">
- <TR>
- <TD noWrap>
- <DIV class="box" style="WIDTH: 100%; POSITION: relative; HEIGHT: 199px" ms_positioning="GridLayout">
- <asp:label id="Label1" style="Z-INDEX: 101; LEFT: 53px; POSITION: absolute; TOP: 120px" runat="server" CssClass="tttable">设置新密码:</asp:label>
- <asp:textbox id="txtNewPwd" style="Z-INDEX: 102; LEFT: 144px; POSITION: absolute; TOP: 117px" runat="server" Width="232px" TextMode="Password" MaxLength="10"></asp:textbox>
- <asp:label id="Label2" style="Z-INDEX: 103; LEFT: 53px; POSITION: absolute; TOP: 160px" runat="server" CssClass="tttable">确认新密码:</asp:label>
- <asp:textbox id="txtChePwd" style="Z-INDEX: 104; LEFT: 144px; POSITION: absolute; TOP: 158px" runat="server" Width="235px" TextMode="Password"></asp:textbox>
- <asp:requiredfieldvalidator id="RequiredFieldValidator1" style="Z-INDEX: 106; LEFT: 381px; POSITION: absolute; TOP: 123px" runat="server" ErrorMessage="[设置新密码]必须填入,则不能少于3位!" ControlToValidate="txtNewPwd">*</asp:requiredfieldvalidator>
- <asp:comparevalidator id="CompareValidator2" style="Z-INDEX: 107; LEFT: 386px; POSITION: absolute; TOP: 160px" runat="server" ErrorMessage="[确认新密码]必须与[设置新密码]相同,请重新输入!" ControlToValidate="txtChePwd" ControlToCompare="txtNewPwd">#</asp:comparevalidator>
- <asp:requiredfieldvalidator id="RequiredFieldValidator2" style="Z-INDEX: 108; LEFT: 383px; POSITION: absolute; TOP: 161px" runat="server" ErrorMessage="[确认新密码]必须输入!" ControlToValidate="txtChePwd">*</asp:requiredfieldvalidator>
- <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">
- <asp:label id="Label3" style="Z-INDEX: 111; LEFT: 66px; POSITION: absolute; TOP: 34px" runat="server" CssClass="tttable">登录帐号:</asp:label>
- <asp:textbox id="txtLoginID" style="Z-INDEX: 112; LEFT: 144px; POSITION: absolute; TOP: 31px" runat="server" Width="232px" ReadOnly="True" BackColor="LightGray"></asp:textbox>
- <asp:textbox id="txtPwd" style="Z-INDEX: 113; LEFT: 144px; POSITION: absolute; TOP: 77px" runat="server" Width="232px" TextMode="Password"></asp:textbox>
- <asp:label id="Label4" style="Z-INDEX: 114; LEFT: 79px; POSITION: absolute; TOP: 80px" runat="server" CssClass="tttable">旧密码:</asp:label>
- <HR style="Z-INDEX: 117; LEFT: 5px; POSITION: absolute; TOP: 63px; HEIGHT: 100%" width="100%" color="#6699cc" SIZE="2">
- </DIV>
- </TD>
- </TR>
- <TR>
- <TD noWrap align="right" height="10"></TD>
- </TR>
- <TR>
- <TD noWrap align="right">
- <asp:Label id="lblErr" runat="server" CssClass="err"></asp:Label>
- <asp:imagebutton id="cmdSaveCon" runat="server" ImageUrl="img/button/ok.gif"></asp:imagebutton>
- <A onclick="clwin()" href="#"><IMG alt="" src="img/button/cancel.gif" border="0"></A> </TD>
- </TR>
- </TABLE>
- <asp:ValidationSummary id="ValidationSummary1" runat="server" ShowSummary="False" ShowMessageBox="True" HeaderText="设置新密码中,出现如下错误!"></asp:ValidationSummary></TD>
- </TR>
- </TABLE>
- </TD>
- </TR>
- </TABLE>
- </FONT>
- </P>
- </form>
- </body>
- </HTML>