<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="staffinfo.aspx.cs" Inherits="Web.yw.staffinfo" %>

<!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 id="Head1" runat="server">
    <title>OA标题页</title>
    <link href="../css/css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="fom" runat="server">
        <div id ="main-c-03-right" >
            <table cellpadding="0"; cellspacing ="0"; style =" width :100%;background-image: url('../css/images/right_top.png'); background-repeat :repeat-x" >
                <tr>
                    <td style ="width :720px; height :34px;  background-image: url('../css/images/atghtj.png');	background-repeat: no-repeat;
                	background-position: left top;"><div id="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	个人信息
                      	
                	</div></td>
                </tr>
            </table>
            <div id="main-c-03-right02-main">
            
<!--栏目开始 -->
            <table style ="width :100%" border="0" align="center" cellpadding="0" cellspacing="0" class="ziti04">
               <tr>
                    <td style ="font-weight:bolder;background-image: url('../css/images/asdfrsg.png'); height :33px; padding-left :20px">
                    <!--这里添加栏目标题 -->
                    个人信息
                    
                     &gt;&gt;</td>
                </tr>
                <tr>
                    <td height="10" colspan="4" style="font-weight:bolder;"></td>
                </tr>
            </table>
            <!--这里添加内容 -->
            <table  style =" width :700px" border = "1" class ="table " cellpadding ="0" cellspacing ="0" >
                <tr>
                    <td class ="tabletd_right " style ="width:100px">人员编号</td>
                    <td class ="tabletd_left ">
                               <asp:Label ID="lbEditLoginId" runat="server"></asp:Label>
                                                        </td>
                </tr>
                <tr>
                    <td class ="tabletd_right ">登录名</td>
                    <td class ="tabletd_left ">
                        <asp:TextBox ID="tbEditLoginName" runat="server" MaxLength="20" Width="130px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                            ControlToValidate="tbEditLoginName" Display="Dynamic" ErrorMessage="登录名不能为空。" 
                            ValidationGroup="Edit" ForeColor="Red"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" 
                        ControlToValidate="tbEditLoginName" Display="Dynamic" 
                        ErrorMessage="请输入2-20个合法字符。" 
                        ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{2,20}$" 
                        ValidationGroup="Edit" ForeColor="Red"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right">密码</td>
                    <td class ="tabletd_left">
                        &nbsp;<asp:Button ID="btEditPassword" runat="server" Text="重置密码" 
                            onclick="btEditPassword_Click" />
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" 
                            ControlToValidate="tbEditPassword1" Display="Dynamic" ErrorMessage="密码不能为空。" 
                            ValidationGroup="EditPassword" ForeColor="Red"></asp:RequiredFieldValidator>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator16" runat="server" 
                            ControlToValidate="tbEditPassword2" Display="Dynamic" ErrorMessage="密码不能为空。" 
                            ValidationGroup="EditPassword" ForeColor="Red"></asp:RequiredFieldValidator>
                        <asp:CompareValidator ID="CompareValidator1" runat="server" 
                            ControlToCompare="tbEditPassword1" ControlToValidate="tbEditPassword2" 
                            Display="Dynamic" ErrorMessage="两次输入密码不一致。" ValidationGroup="EditPassword" 
                            ForeColor="Red"></asp:CompareValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" 
                        ControlToValidate="tbEditPassword1" Display="Dynamic" 
                        ErrorMessage="请输入6-20个合法字符。" 
                        ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{6,20}$" 
                        ValidationGroup="EditPassword" ForeColor="Red"></asp:RegularExpressionValidator>
                        <asp:Panel ID="pnPassword" runat="server" Visible="False">
                             原密码：<asp:TextBox ID="tbOldPassword" runat="server" MaxLength="20" 
                            Width="100px" TextMode="Password"></asp:TextBox>
                             新密码：<asp:TextBox ID="tbEditPassword1" runat="server" MaxLength="20" 
                                 TextMode="Password" Width="100px"></asp:TextBox>
                             重复密码：<asp:TextBox ID="tbEditPassword2" runat="server" MaxLength="20" 
                            Width="100px" TextMode="Password"></asp:TextBox>
                        <asp:Button ID="btEditPasswordOK" runat="server" Text="提交修改" onclick="btEditPasswordOK_Click" 
                              ValidationGroup="EditPassword" />
                        </asp:Panel>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right ">姓名</td>
                    <td class ="tabletd_left ">
                        <asp:Label ID="lbEditName" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right">部门</td>
                    <td class ="tabletd_left ">
                        <asp:Label ID="lbDepartment" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right">电话</td>
                    <td class ="tabletd_left ">
                        <asp:TextBox ID="tbTel" runat="server" MaxLength="20"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator15" 
                        runat="server" ControlToValidate="tbTel" Display="Dynamic" 
                        ErrorMessage="请输入正确的电话号码。" 
                        ValidationExpression="(\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$" 
                        ValidationGroup="Edit" ForeColor="Red"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right">邮箱</td>
                    <td class ="tabletd_left "><asp:TextBox ID="tbEditEmail" runat="server" 
                            MaxLength="100" Width="130px"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator14" 
                        runat="server" ControlToValidate="tbEditEmail" Display="Dynamic" 
                        ErrorMessage="请输入正确的邮箱。" 
                        ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*.[a-zA-Z0-9]{2,7}" 
                        ValidationGroup="Edit" ForeColor="Red"></asp:RegularExpressionValidator>
                                                        </td>
                </tr>
                <tr>
                    <td class ="tabletd_right" >账号状态</td>
                    <td class ="tabletd_left">
                        <asp:Label ID="lbEditZhuangtai" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right ">
        <asp:Label ID="lbEditId" runat="server" Visible="False"></asp:Label>
                    </td>
                    <td class ="tabletd_left"><asp:Button ID="btEdit" runat="server" onclick="btEdit_Click" Text="提交修改" 
                            ValidationGroup="Edit" />
                    </td>
                </tr>
            </table>
     
<!--栏目结束 -->
               
                </div>
            </div>
        </form>
    </body>
</html>
