<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserAdd.aspx.cs" Inherits="InfoPath.Admin.UserAdd" %>
<%@ Register src="../Include/Css.ascx" tagname="Css" tagprefix="uc1" %>

<%@ Register src="../Include/UserSelect.ascx" tagname="UserSelect" tagprefix="uc2" %>

<!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 runat="server">
    <title></title>
    <script src="../js/jscalendar.js" type="text/javascript"></script>
<script src="../JS/JS.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div>
    <uc1:Css ID="Css1" runat="server" />
    <TABLE width="100%">
  <TR class="WsdnOrgInfo1">
	<TD>
	<asp:Button class="buttons" ID="btnSubmit" runat="server" Text="" onclick="btnSubmit_Click" />
    &nbsp;<asp:Button class="buttons" ID="btnDelete" runat="server" onclick="btnDelete_Click" 
            Text="Delete" Visible="False" />
&nbsp;<asp:Button class="buttons" ID="btnBack" runat="server" Text="Button" onclick="btnBack_Click" />
    &nbsp;<asp:Label ID="lblMsg" runat="server" Text="" ForeColor=Red></asp:Label>
	</TD>
  </TR>
  <TR class="WsdnOrgTitle">
	<TD><b>
        <asp:Label ID="titAddUser" runat="server" Text=""></asp:Label></b>
    </TD>
  </TR>
  <TR>
	<TD>
	<TABLE width="100%">
  <TR class="WsdnOrgInfo1">
	<TD>
        <asp:Label ID="lblUserCode" runat="server" Text="Label"></asp:Label>
        </TD>
	<TD>
        <asp:TextBox ID="UserCode" runat="server"></asp:TextBox></TD>
        	<TD>
	        <asp:Label ID="lblUserName" runat="server" Text="Label"></asp:Label>
	</TD>
	<TD><asp:TextBox ID="UserName" runat="server"></asp:TextBox></TD>

  </TR>
  <TR class="WsdnOrgInfo">
  <TD>
	        <asp:Label ID="lblSex" runat="server" Text="性别"></asp:Label>
	</TD>
	<TD>
        <asp:DropDownList ID="Sex" runat="server">
            <asp:ListItem>男</asp:ListItem>
            <asp:ListItem>女</asp:ListItem>
            <asp:ListItem></asp:ListItem>
        </asp:DropDownList>
        </TD>
	<TD>
	        <asp:Label ID="lblPosition" runat="server" Text="职位"></asp:Label>
	</TD>
	<TD><asp:TextBox ID="Position" runat="server"></asp:TextBox></TD>
	
  </TR>
  <TR class="WsdnOrgInfo1">
  <TD >
	        <asp:Label ID="lblDept" runat="server" Text="所在机构"></asp:Label>
	</TD>
	<TD > 
        <asp:DropDownList ID="CorpID" runat="server" AutoPostBack="True" 
            onselectedindexchanged="CorpID_SelectedIndexChanged">
        </asp:DropDownList>
        <asp:DropDownList ID="BranchID" runat="server" AutoPostBack="True" 
            onselectedindexchanged="BranchID_SelectedIndexChanged">
        </asp:DropDownList>
        <asp:DropDownList ID="DeptID1" runat="server">
        </asp:DropDownList>
      </TD>
	<TD>
	        <asp:Label ID="lblUpLeveler" runat="server" Text="上级"></asp:Label>
	</TD>
	<TD>
        <uc2:UserSelect ID="UserSelect1" runat="server" />
      </TD>
  </TR>
    <TR class="WsdnOrgInfo">
  <TD>
	        <asp:Label ID="lblMobile" runat="server" Text="手机号码"></asp:Label>
	</TD>
	<TD><asp:TextBox ID="Mobile" runat="server" ></asp:TextBox></TD>
	<TD>
	        <asp:Label ID="lblEmail" runat="server" Text="电子邮件"></asp:Label>
	</TD>
	<TD><asp:TextBox ID="Email" runat="server"></asp:TextBox></TD>
	
  </TR>
    <TR class="WsdnOrgInfo1">
  <TD>
	        <asp:Label ID="lblPhoneBuz" runat="server" Text="工作电话"></asp:Label>
	</TD>
	<TD><asp:TextBox ID="PhoneBuz" runat="server" ></asp:TextBox></TD>
	<TD>
	        <asp:Label ID="lblPhoneHome" runat="server" Text="家庭电话"></asp:Label>
	</TD>
	<TD><asp:TextBox ID="PhoneHome" runat="server"></asp:TextBox></TD>
	
  </TR>
    <TR class="WsdnOrgInfo">
  <TD>
	        <asp:Label ID="lblBirthDay" runat="server" Text="生日"></asp:Label>
	</TD>
	<TD><asp:TextBox ID="BirthDay" runat="server"  onclick="new Calendar().show(this);"></asp:TextBox></TD>
	<TD>
	        <asp:Label ID="lblJionDate" runat="server" Text="加入公司日期"></asp:Label>
	</TD>
	<TD><asp:TextBox ID="JionDate" runat="server"  onclick="new Calendar().show(this);"></asp:TextBox></TD>
	
  </TR>
  <TR class="WsdnOrgInfo1">
  <TD >
	        <asp:Label ID="lblAccess" runat="server" Text="访问级别"></asp:Label>
	</TD>
	<TD colspan=3> 
        <asp:CheckBox ID="IsAdmin" runat="server" Text="系统管理员" />
        <asp:CheckBox ID="IsBrachMNG" runat="server" Text="公司经理" Visible=false />
        <asp:CheckBox ID="IsDetpMNG" runat="server" Text="部门经理"  Visible=false />
      </TD>
	
  </TR>
  <TR class="WsdnOrgInfo">
  <TD >
	        <asp:Label ID="lblFile" runat="server" Text="文件级别"></asp:Label>
	</TD>
	<TD colspan=3> 
        <asp:CheckBox ID="pic" runat="server" Text="图片访问" />
        <asp:CheckBox ID="picDel" runat="server" Text="图片删除" />
        <asp:CheckBox ID="fileUpload" runat="server" Text="文件上传" />
        <asp:CheckBox ID="fileDownload" runat="server" Text="文件下载" />
        <asp:CheckBox ID="fileDel" runat="server" Text="文件删除" />
      </TD>
  </TR>
  <TR class="WsdnOrgInfo1">
  <TD >
	        <asp:Label ID="lblOther" runat="server" Text="其他"></asp:Label>
	</TD>
	<TD colspan=3> 
        <asp:CheckBox ID="chart" runat="server" Text="图表访问" />
        <asp:CheckBox ID="report" runat="server" Text="报表访问" />
        <asp:CheckBox ID="import" runat="server" Text="导入文件" />
        <asp:CheckBox ID="export" runat="server" Text="导出文件" />
        <asp:CheckBox ID="notes" runat="server" Text="公告管理" />
        <asp:CheckBox ID="search" runat="server" Text="搜索" />
      </TD>
  </TR>
  <TR class="WsdnOrgInfo">
  <TD>
	        <asp:Label ID="lblRole" runat="server" Text="角色规则"></asp:Label>
	</TD>
	<TD colspan=3> 
        <asp:CheckBoxList ID="cblRoleList" runat="server" RepeatColumns="5">
      </asp:CheckBoxList>
      </TD>
  </TR>
  <TR class="WsdnOrgInfo1">
  <TD >
	        <asp:Label ID="lblApp" runat="server"  Text="应用程序权限"></asp:Label>
	</TD>
	<TD colspan=3> 
                <asp:CheckBoxList ID="cblAppList" runat="server" RepeatColumns="7">
      </asp:CheckBoxList>
      </TD>
  </TR>


  </TABLE>
	</TD>
  </TR>
  <TR >
	<TD>	
	

</TD>
  </TR>
  <TR class="WsdnOrgInfo1">
	<TD>	<asp:Button class="buttons" ID="btnSubmit1" runat="server" Text="" 
            onclick="btnSubmit1_Click" />
                &nbsp;<asp:Button class="buttons" ID="btnDelete0" runat="server" Text="Delete" 
            Visible="False" />
&nbsp;<asp:Button class="buttons" ID="btnBack1" runat="server" Text="Button" 
            onclick="btnBack1_Click" />

&nbsp;</TD>
  </TR>
  </TABLE>
    </div>
    </form>
</body>
</html>
