<%@ page language="C#" autoeventwireup="true" inherits="general_MyOffice_UserInfo, CrmCommand" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
   <script src="../../Javascript/formCheck.js" language=javascript></script>
            <script src="../../Javascript/Trim.js" type="text/javascript"></script>
    	<script>
function CheckForm()
{
	
   
   if(TrimStr(document.Form1.txtUserName.value) == "")
   {
	 alert("真实姓名不能为空！");
	 document.Form1.txtUserName.focus();
	 return (false);
   }
   
   if(document.Form1.txtMobile.value != "")
   {
        if(!isPhone(document.Form1.txtMobile.value))
       {
	     alert("手机号码格式不正确！");
	     document.Form1.txtMobile.focus();
	     return (false);
       }
   }
   
   if(document.Form1.TxtEmail.value != "")
   {
        if(!isEMail(document.Form1.TxtEmail.value))
       {
	     alert("E-Mail格式不正确！");
	     document.Form1.TxtEmail.focus();
	     return (false);
       }
   }
   
  
   
   return true;
}


</script>
	<style type="text/css">
.style1 {
	background-color: #000000;
}
.style2 {
	background-color: #FFFFFF;
}
</style>
</head>
<body class="bodycolor" topmargin="5">
    <form id="Form1" runat="server">
   <TABLE class="small" cellSpacing="0" cellPadding="3" width="100%" border="0">
					<TR>
						<TD class="Big">
						<IMG height="18" src="../images/notify_new.gif" width="18" align="absMiddle"><SPAN class="big3">
								个人信息修改</SPAN>
						</TD>
					</TR>
				</TABLE>
				<TABLE class="style1" cellSpacing="1" width="60%" align="center"
					border="0">
										<TR>
						<TD class="style2" noWrap>用户名：</TD>
						<TD class="style2" noWrap>
							<font size=4 color=red> <b > <asp:Label ID="LblLoginName" runat="server" Text=""></asp:Label></b></font>
						</TD>
					</TR>
					<TR>
						<TD class="style2" noWrap>真实姓名：</TD>
						<TD class="style2" noWrap>
							<asp:TextBox id="txtUserName" runat="server" Columns="15" MaxLength="20" CssClass="BigInput"></asp:TextBox>
						</TD>
					</TR>
						<TR>
						<TD class="style2" noWrap>性别：</TD>
						<TD class="style2" noWrap>
							<asp:DropDownList id="ddlSex" runat="server" CssClass="BigSelect">
								<asp:ListItem Value="男">男</asp:ListItem>
								<asp:ListItem Value="女">女</asp:ListItem>
							</asp:DropDownList>
						</TD>
					</TR>
				
					
					<TR>
						<TD class="style2" noWrap>部门：</TD>
						<TD class="style2" noWrap>
                          <font size=4> <asp:Label ID="LblDept" runat="server"    Text=""></asp:Label></font>
						
						</TD>
					</TR>
				
					<TR>
						<TD class="style2" noWrap>角色：</TD>
						<TD class="style2" noWrap>
							<asp:Label ID="LblInfo" runat="server" Text=""></asp:Label></TD>
					</TR>

					
					
				   <TR>
						<TD class="style2" noWrap>E-mail：</TD>
						<TD class="style2" noWrap>
							<asp:TextBox id="TxtEmail" runat="server" MaxLength="50" CssClass="BigInput" Width="200px"></asp:TextBox>
							
							</TD>
					</TR>
					
				
					<TR>
						<TD class="style2" noWrap>手机：</TD>
						<TD class="style2" noWrap>
							<asp:TextBox id="txtMobile" runat="server" MaxLength="50" CssClass="BigInput" Width="200px"></asp:TextBox>
							
							</TD>
					</TR>
					<TR>
						<TD class="style2" noWrap align="center" colSpan="2">
                            <asp:Button  class="BigButton" OnClientClick="return CheckForm();" ID="BtnUpdate" runat="server" Text="修改" OnClick="BtnUpdate_Click" Width="90px" />
                            &nbsp;&nbsp;&nbsp;
						</TD>
					</TR>
				</TABLE>
        <input id="HidValue" runat=server  type="hidden" />
    </form>
</body>
</html>
