<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Counter_All.aspx.cs" Inherits="TopWinCMS.WebUI.Admin.Counter.Counter_All" %>

<%@ Register Src="../UC_AjaxLoading.ascx" TagName="UC_AjaxLoading" TagPrefix="uc1" %>
<%@ Register Assembly="TopWinCMS.WebControls" Namespace="TopWinCMS.WebControls" TagPrefix="cc1" %>
<!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>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    <meta content="no-cache" http-equiv="Pragma" />

    <script language="javascript" type="text/javascript" src="../TopWin.js"></script>

    <link href="../Style.css" rel="stylesheet" type="text/css" />

    <script language="javascript" src="../../Images/skysoft.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <table id="NavigationPath" border="0" cellpadding="4" cellspacing="0" width="100%">
        <tr>
            <td width="50%">
                <img src='../../Images/arrow.gif' alt="" />
                您现在的位置：<asp:Label ID="LB_Path" runat="server"></asp:Label>
            </td>
            <td width="50%">
            </td>
        </tr>
    </table>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
        <ProgressTemplate>
            <uc1:UC_AjaxLoading ID="UC_AjaxLoading1" runat="server" />
        </ProgressTemplate>
    </asp:UpdateProgress>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:GridView ID="GV_List" runat="server" AutoGenerateColumns="False" DataKeyNames="ID">
                <HeaderStyle CssClass="HeaderStyle"></HeaderStyle>
                <Columns>
                    <asp:BoundField DataField="time" HeaderText="时间" DataFormatString="{0:yyyy-MM-dd HH:mm:ss}">
                        <ItemStyle Width="109px" HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:BoundField DataField="ip" HeaderText="来访地址">
                        <ItemStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Browser" HeaderText="浏览器">
                        <ItemStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="OS" HeaderText="操作系统">
                        <ItemStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Resolution" HeaderText="分辨率">
                        <ItemStyle Width="70px" />
                    </asp:BoundField>
                    <asp:HyperLinkField DataNavigateUrlFields="come" DataTextField="come" HeaderText="来源"
                        Target="_blank" />
                </Columns>
            </asp:GridView>
            <asp:Label ID="LB_NoShow" runat="server"></asp:Label><br />
            &nbsp;删除：<cc1:Calendar ID="CD_DateTime" runat="server" CalendarResource="../../images/CalendarResource/" />
            &nbsp; 之前的访问日志
            <asp:Button ID="BT_Delete" runat="server" Text="删除" OnClick="BT_Delete_Click" CssClass="btn" />
            |
            <asp:Button ID="BT_DeleteAll" runat="server" Text="清空日志" OnClick="BT_DeleteAll_Click"
                CssClass="btn" />
            <div class="pagefield">
                <cc1:PageNavigation ID="PageNavigation1" runat="server" Width="98%" OnPageChanging="PageNavigation1_PageChanging"
                    PageSize="15" CustomInfoSectionWidth="240px" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
