<%@ page language="C#" autoeventwireup="true" inherits="SystemManagement_UserManagement, App_Web_wrcbq7tn" %>


<%--<!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>
     <link href="../CssHtml.css" rel="stylesheet" type="text/css" />
    
<script type="text/javascript">
function tj()
{
     window.open( 'addUser.aspx','','width=552,height=320,top=200,left=300,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no');
}
function sg(op)
        {
            var wy ="updateUsers.aspx?id=" + op;
            window.open( wy,'','width=552,height=310,top=200,left=300,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no');
        }
</script>
</head>
<body style="font-size: 9pt">
    <form id="form1" runat="server">

    <div style="position:relative">
      <table style="width:100%;" cellpadding="0" cellspacing="0">
            <tr>
                <td style="width:50%; height: 20px; text-align :left;">
                 <span >目前位置：系统管理 - 权限设置 - 用户管理</span>
                </td>
                
                <td style="width:50%; height: 22px;" align="right">
                 <img src="../Images/19.gif" id="Img1" onclick="tj()"  style="cursor:pointer;" alt ="创建新用户" height="18" width="50" />
                 <asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="~/Images/17.gif" OnClick="ImageButton3_Click" />
                  <a href="../OnlineHelp/OnlineHelp.aspx"  target ="_blank" > 
                      <img src="../Images/8.gif" alt ="在线帮助" style="border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none;" /> </a></td>
            </tr>
            </table>
          
              
                    <table style="width:100%;  text-align:center" cellpadding="0" cellspacing="0">
                        <tr style="font-weight: bold; color: white; background-color: inactivecaption;height:25px">
                         
                          <td style="width:8%; font-weight: bold; color: white; height: 25px; background-color: #1471b0; border-left: white 1px solid;">
                          <strong>操作</strong>
                          </td>
                          <td style="width:14% ; font-weight: bold; color: white; height: 25px; background-color: #1471b0; border-left: white 1px solid;">
                               用户名
                          </td>              
                          <td  style="width:14% ; font-weight: bold; color: white; height: 25px; background-color: #1471b0; border-left: white 1px solid;">
                               实际名
                          </td>
                          <td  style="width:14% ; font-weight: bold; color: white; height: 25px; background-color: #1471b0; border-left: white 1px solid;">
                               部门
                          </td>
                          <td  style="width:14% ; font-weight: bold; color: white; height: 25px; background-color: #1471b0; border-left: white 1px solid;">
                               职务
                          </td>
                          <td  style="width:14% ; font-weight: bold; color: white; height: 25px; background-color: #1471b0; border-left: white 1px solid;">
                               角色
                          </td>
                          <td  style="width:15% ; font-weight: bold; color: white; height: 25px; background-color: #1471b0; border-left: white 1px solid;">
                               邮箱
                          </td>
                          <td align="center"  style="width:7% ; font-weight: bold; color: white; height: 25px; background-color: #1471b0; border-left: white 1px solid;">
                               状态
                          </td>
                      </tr>
                    </table>
             
                    <asp:DataList ID="DataList1" runat="server" Width="100%" OnDeleteCommand="DataList1_DeleteCommand" OnItemDataBound="DataList1_ItemDataBound" OnSelectedIndexChanged="DataList1_SelectedIndexChanged" Font-Size="9">
                    <ItemTemplate>
                   <table style="border-bottom: #83bbd9 1px solid; text-align:center" width="100%" cellpadding="0" cellspacing="0">
                   <tr>
               
                   <td style="width:8%"> 
                  <asp:Label ID="Label1" runat="server"
                         Text='<%#DataBinder.Eval(Container.DataItem,"UID")%>' Visible="false"></asp:Label>
                         
      <%--   //---------------------------------------------------------------------------------------//
            //   试用版代码                                                                         //
            //--------------------------------------------------------------------------------------//--%>
                       <img src="../Images/13.gif" onclick='sg(<%#Eval("UID")%>)' id="IMG2"  alt ="修改用户信息" />&nbsp; &nbsp;<asp:ImageButton ID="ImageButton5" runat="server"   OnClientClick ="return confirm('删除用户同时将删除其个人文件，确认继续吗？')"  ImageUrl="~/Images/DEL2.gif" CommandName="delete"   />
                   </td>
                   <td style="width:14%">
                
                    <%#DataBinder.Eval(Container.DataItem, "LoginID")%>
                   </td>
                   <td  style="width:14%">
                   <%#DataBinder.Eval(Container.DataItem,"UName")%>
                   </td>
                   <td  style="width:14%">
                   <%#DataBinder.Eval(Container.DataItem,"dept")%>
                   </td>
                    <td  style="width:14%">
                   <%#DataBinder.Eval(Container.DataItem,"Duty")%>
                   </td>
                    <td  style="width:14%">
                   <%#DataBinder.Eval(Container.DataItem,"RoleName")%>
                   </td>
                    <td  style="width:15%">
                   <%#DataBinder.Eval(Container.DataItem, "Email")%>
                   </td>
                    <td  style="width:7%"> 
                    <%--CheckBox5 根据数据传递过来的 true，false 值 自动显示选中和未选中--%>        
                   <asp:CheckBox Enabled="false" ID="CheckBox5" runat="server" Checked=' <%#DataBinder.Eval(Container.DataItem, "State")%>' /> 
                   </td>
                   </tr>
                    </table>
                    </ItemTemplate>
                    </asp:DataList>             
            
        
            <table style="width:100%; text-align:center" >
        <tr >
          <td>
              <asp:LinkButton ID="LinkButton1" runat="server" OnClick="ImageButton7_Click">上一页</asp:LinkButton>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              <asp:Label ID="Label1" runat="server" Text="当前第"></asp:Label>
              <asp:Label ID="Label2" runat="server" style="color:Red" Text="1"></asp:Label>
              <asp:Label ID="Label3" runat="server" Text="页"></asp:Label>&nbsp;&nbsp;&nbsp;/&nbsp;&nbsp;&nbsp;
              <asp:Label ID="Label4" runat="server" Text="共"></asp:Label>
              <asp:Label ID="Label5" runat="server" style="color:Red" Text="Label"></asp:Label>
              <asp:Label ID="Label6" runat="server" Text="页"></asp:Label>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:LinkButton ID="LinkButton2" runat="server" OnClick="ImageButton8_Click">下一页</asp:LinkButton>
              <asp:Label ID="Label7" runat="server" Visible="False"></asp:Label>
              <asp:TextBox ID="TextBox1" runat="server" Enabled="False" Visible="False"></asp:TextBox></td>
         </tr>
          </table>
    </div>
    </form>
</body>
</html>
