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

 %>

<!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>被访问页面统计(前20位)</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" />
    <link href="Counter.css" rel="stylesheet" type="text/css">
    <script language="javascript" src="../../Images/skysoft.js" type="text/javascript"></script>
 

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

</head>
<body>
    <form id="form1" runat="server">
    <table id="NavigationPath" border="0" cellpadding="4" cellspacing="0" width="100%">
        <tr>
            <td>
                <img src='../../Images/arrow.gif' alt="" />
                您现在的位置：<asp:Label ID="LB_Path" runat="server"></asp:Label>
            </td>
        </tr>
    </table>
    <asp:GridView ID="GV_List" runat="server" AutoGenerateColumns="False" OnRowDataBound="GridView1_RowDataBound"
        Width="786px">
        <Columns>
            <asp:HyperLinkField HeaderText="访问页(前20位)" DataTextField="Page" />
            <asp:BoundField HeaderText="访问时间 " DataField="NewTime" DataFormatString="{0:s}">
                <ItemStyle Width="120px" />
            </asp:BoundField>
            <asp:TemplateField HeaderText="访问统计">
                <ItemStyle Width="180px" />
                <ItemTemplate>
                         <div class="Counter_Column1"><div class="Counter_Column2" id="Bar<%# DataBinder.Eval(Container,"RowIndex")%>"></div></div>
                        <script> PercentChange(<%# Eval("PageCount")%>,<%=AllCount%>,'Bar<%# DataBinder.Eval(Container,"RowIndex")%>'); </script>
                    </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <HeaderStyle CssClass="HeaderStyle" />
    </asp:GridView>
    </form>
</body>
</html>
