<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login_List.aspx.cs" Inherits="RM.Web.RMBase.SysPersonal.Login_List" %>

<%@ Register Src="../../UserControl/PageControl.ascx" TagName="PageControl" TagPrefix="uc1" %>
<!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><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Login_List")%></title>
    <link href="/Themes/Styles/Site.css" rel="stylesheet" type="text/css" />
    <script src="/Themes/Scripts/jquery-1.8.2.min.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/FunctionJS.js" type="text/javascript"></script>
    <script type="text/javascript">
        //回车键
        document.onkeydown = function (e) {
            if (!e) e = window.event; //火狐中是 window.event
            if ((e.keyCode || e.which) == 13) {

            }
        }
        $(function () {
            divresize(90);
            FixedTableHeader("#table1", $(window).height() - 118); //固定表头
        })
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="btnbartitle">
        <div>
        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Log_List")%>
        </div>
    </div>
    <div class="btnbarcontetn">
        <div style="float: left;">
        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("SYS_LOGINLOG_TIME")%>
            <input type="text" id="BeginBuilTime" class="txt" runat="server" style="width: 115px;"
                onfocus="WdatePicker()" />
            --
            <input type="text" id="endBuilTime" class="txt" runat="server" style="width: 115px;"
                onfocus="WdatePicker()" />
            <asp:LinkButton ID="lbtSearch" runat="server" class="button green" OnClick="lbtSearch_Click"><span class="icon-botton"
            style="background: url('/Themes/images/Search.png') no-repeat scroll 0px 4px;">
        </span> <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("GetButton")%></asp:LinkButton>
        </div>
    </div>
    <div class="div-body">
        <table id="table1" class="grid">
            <thead>
                <tr>
                    <td style="width: 20px; text-align: left;">
                        <label id="checkAllOff" onclick="CheckAllLine()" title="<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Quanxuan")%>">
                            &nbsp;</label>
                    </td>
                    <td style="width: 50px; text-align: center;">
                    <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("User_code")%>
                     
                    </td> 
                    <td style="width: 100px; text-align: center;">
                    <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Business_name")%>
                       
                    </td>
                    <td style="width: 100px; text-align: center;">
                    <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("User_Accout")%>
                       
                    </td>
                    <td style="width: 100px; text-align: center;">
                    <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("SYS_LOGINLOG_IP")%>
                       
                    </td>
                    <td style="width: 150px; text-align: center;">
                    <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("SYS_LOGINLOG_TIME")%>
                    
                    </td>
                    <td style="width: 100px; text-align: center;">
                    <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("SYS_LOGINLOG_STATUS")%>
                     
                    </td>
                    <td>
                    <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("OWNER_address")%>
                       
                    </td>
                </tr>
            </thead>
            <tbody>
                <asp:Repeater ID="rp_Item" runat="server" OnItemDataBound="rp_ItemDataBound">
                    <ItemTemplate>
                        <tr>
                            <td style="width: 20px; text-align: left;">
                                <input type="checkbox" value="<%#Eval("Sys_LoginLog_ID")%>" name="checkbox" />
                            </td>
                            <td style="width: 50px; text-align: center;">
                                <%# Container.ItemIndex+1 %>
                            </td>
                            <td style="width: 100px; text-align: center;">
                                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("LoginList_htcz")%>
                            </td>
                            <td style="width: 100px; text-align: center;">
                                <%#Eval("User_Account")%>
                            </td>
                            <td style="width: 100px; text-align: center;">
                                <%#Eval("Sys_LoginLog_IP")%>
                            </td>
                            <td style="width: 150px; text-align: center;">
                                <%#Eval("SYS_LOGINLOG_TIME")%>
                            </td>
                            <td style="width: 100px; text-align: center;">
                                <asp:Label ID="lbl_Sys_LoginLog_Status" runat="server" Text='<%#Eval("Sys_LoginLog_Status")%>'></asp:Label>
                            </td>
                            <td>
                                <%#Eval("OWNER_address")%>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        <% if (rp_Item != null)
                           {
                               if (rp_Item.Items.Count == 0)
                               {
                                   Response.Write("<tr><td colspan='6' style='color:red;text-align:center'>" + RM.Common.DotNetConfig.LanguageHelper.GetKey("Null") + "</td></tr>");
                               }
                           } %>
                    </FooterTemplate>
                </asp:Repeater>
            </tbody>
        </table>
    </div>
    <uc1:PageControl ID="PageControl1" runat="server" />
    </form>
</body>
</html>
