<%@ page language="C#" autoeventwireup="true" inherits="useredit, putonggan_deploy" %>

<!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></title>
        <style type="text/css">

.STYLE1 {font-size: 12px}
.STYLE3 {font-size: 12px; font-weight: bold; }
.STYLE4 {
	color: #03515d;
	font-size: 12px;
}
    .style6 {font-size: 12px; color: #FF0000; }
.style7 {font-size: small}
            .style8
            {
                border: thin solid #E8F6FF;
            }
            .style9
            {
                font-size: 12px;
                line-height: 15px;
                font-family: 宋体;
            }
    </style>
    <link href="../css/common.css" rel="stylesheet" type="text/css" />
    <script language="javascript" src="../js/calc.js" charset="gb2312"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td background="../images/tab_05.gif" height="30">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td height="30" width="12">
                                <img height="30" src="../images/tab_03.gif" width="12" /></td>
                            <td>
                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                    <tr>
                                        <td valign="middle" width="46%">
                                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                <tr>
                                                    <td width="5%">
                                                        <div align="center">
                                                            <img height="16" src="../images/tb.gif" width="16" /></div>
                                                    </td>
                                                    <td class="STYLE1" width="95%">
                                                        <span class="STYLE3">你当前的位置</span>：<asp:SiteMapPath 
                        ID="SiteMapPath1" runat="server">
                    </asp:SiteMapPath>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td width="54%">&nbsp;
                                            </td>
                                    </tr>
                                </table>
                            </td>
                            <td width="16">
                                <img height="30" src="../images/tab_07.gif" width="16" /></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td>
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td background="../images/tab_12.gif" width="8">&nbsp;
                                </td>
                            <td>
         <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate> <table width="99%" 
border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#E0F3FF" class="style8">
            <tbody>
              <tr>
                <td class="style9" width="81">用户名</td>
                <td width="299"><label>
                  &nbsp;<asp:TextBox ID="xm" runat="server"></asp:TextBox>
                    <span class="left_title_1"><span class="style6">*</span></span> </label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="xm" CssClass="STYLE1" ErrorMessage="用户名不能为空">必填字段</asp:RequiredFieldValidator>
                  </td>
                <td class="style9" width="82"><span class="left_title_2">性别</span></td>
                <td width="140" class="style9">                  
                    <asp:RadioButtonList ID="xb" runat="server" 
                        RepeatDirection="Horizontal">
                        <asp:ListItem Selected="True">男</asp:ListItem>
                        <asp:ListItem>女</asp:ListItem>
                    </asp:RadioButtonList>
                  </td>
                <td width="140" rowspan="6"><div align="center"><img src="" alt="照片" name="pho" width="116" height="166" id="pho" runat="server"/>
                      <span class="style7">
                      <input type="button" name="Submit23" value="上传照片" 
                        onclick="javascript:window.open('../upphoto.aspx?action=user','上传照片','width=600,height=300')"/>
                    </span>
                    <asp:HiddenField ID="photo" runat="server" />
                    </div></td>
              </tr>
              <tr>
                <td class="style9" width="81">姓名</td>
                <td width="299">&nbsp;<asp:TextBox ID="userxm" runat="server"></asp:TextBox>
                    <span class="left_title_1"><span class="style6">*</span></span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="userxm" CssClass="STYLE1" ErrorMessage="姓名不能为空">必填</asp:RequiredFieldValidator>
                  </td>
                <td class="style9" width="82"><span class="left_title_1">密码提示问题</span></td>
                <td>
                    <asp:DropDownList ID="mimawenti" runat="server">
                    </asp:DropDownList>
                  </td>
                </tr>
              <tr>
                <td class="style9" width="81"><span class="left_title_2">密码</span></td>
                <td width="299">&nbsp;<asp:TextBox ID="pwd1" runat="server" TextMode="Password">123456</asp:TextBox>
                    <span class="toptext style7">（默认密码为“123456”）</span></td>
                <td class="style9" width="82">提示问题答案</td>
                <td>
                    <asp:TextBox ID="mimadaan" runat="server"></asp:TextBox>
                  </td>
                </tr>
              <tr>
                <td class="style9" width="81"><span class="left_title_1">确认密码</span></td>
                <td width="299" class="STYLE1">
                    <asp:TextBox ID="pwd2" runat="server" TextMode="Password">123456</asp:TextBox>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ControlToCompare="pwd1" ControlToValidate="pwd2" ErrorMessage="两次密码不一致！"></asp:CompareValidator>
                  </td>
                <td class="style9" width="82"><span class="left_title_1">电话号码</span></td>
                <td>
                    <asp:TextBox ID="tel" runat="server"></asp:TextBox>
                  </td>
                </tr>
              <tr>
                <td class="style9" width="81"><span class="left_title_2">身份证号码</span></td>
                <td class="STYLE1">
                    <asp:TextBox ID="card" runat="server" Width="174px"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                        ControlToValidate="card" ErrorMessage="身份证号错误" 
                        ValidationExpression="\d{17}[\d|X]|\d{15}"></asp:RegularExpressionValidator>
                  </td>
                <td class="style9"><span class="left_title_2">出生年月</span></td>
                <td>&nbsp;<div id="sdate1" style="DISPLAY: none">格式为：YYYY-MM-DD</div>
                    <asp:TextBox ID="csny" runat="server"  onfocus="HS_setDate(this)"></asp:TextBox>
                  </td>
                </tr>
              <tr>
                <td class="style9"><span class="left_title_2">部门</span></td>
                <td>                  
                    <asp:DropDownList ID="bumen" runat="server" AppendDataBoundItems="True">
                        <asp:ListItem>选择部门</asp:ListItem>
                    </asp:DropDownList>
                  </td>
                <td class="style9">职务</td>
                <td>
                    <asp:DropDownList ID="zhiwu" runat="server" AppendDataBoundItems="True">
                        <asp:ListItem>选择职务</asp:ListItem>
                    </asp:DropDownList>
                  </td>
                </tr>
              <tr>
                <td class="style9">岗位</td>
                <td><span class="center_title_1"><span class="STYLE1">
                  &nbsp;</span><asp:DropDownList ID="gangwei" runat="server" 
                        AppendDataBoundItems="True">
                        <asp:ListItem>选择岗位</asp:ListItem>
                    </asp:DropDownList>
                    </span></td>
                <td class="style9">工作地点</td>
                <td colspan="2"><span class="left_title_1">
                  &nbsp;</span><asp:TextBox ID="zhuzhi" runat="server" Width="226px"></asp:TextBox>
                  </td>
              </tr>
              <tr>
                <td class="style9">工作时间</td>
                <td>
                    <asp:TextBox ID="gzny" runat="server"  onfocus="HS_setDate(this)"></asp:TextBox>
                  </td>
                <td class="style9">联系邮箱</td>
                <td colspan="2"><span class="left_title_2">
                  &nbsp;</span><asp:TextBox ID="email" runat="server"></asp:TextBox>
                  </td>
              </tr>
              <tr>
                <td class="style9" width="81">备注</td>
                <td colspan="4">
                    <asp:TextBox ID="beizhu" runat="server" Height="96px" TextMode="MultiLine" 
                        Width="527px"></asp:TextBox>
                  </td>
              </tr>
              <tr align="center">
                <td  height="29" colspan="5">
                    <asp:Button ID="Button1" runat="server" Text="修 改" onclick="Button1_Click" />
                    <label>
                  &nbsp;<input type="reset" value="重 填" name="Submit2" />
                  <input onclick="javascript:history.go(-1)" type="button" value="取 消" name="Submit22" />
                </label>
                    <asp:Label ID="labmsg" runat="server"></asp:Label>
                    <asp:HiddenField ID="tempid" runat="server" />
                    <asp:HiddenField ID="oldxm" runat="server" />
                    <asp:UpdateProgress ID="UpdateProgress1" runat="server" 
                        AssociatedUpdatePanelID="UpdatePanel1">
                        <ProgressTemplate>
                            <asp:Image ID="images1" runat="server" ImageUrl="~/images/loading.gif" />
                        </ProgressTemplate>
                    </asp:UpdateProgress>
                  </td>
              </tr>
            </tbody>
          </table>        </ContentTemplate>
            </asp:UpdatePanel>
                            </td>
                            <td background="../images/tab_15.gif" width="8">&nbsp;
                                </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td background="../images/tab_19.gif" height="35">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td height="35" width="12">
                                <img height="35" src="../images/tab_18.gif" width="12" /></td>
                            <td>&nbsp;
                                </td>
                            <td width="16">
                                <img height="35" src="../images/tab_20.gif" width="16" /></td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
