<%@ Page CodeBehind="downcount.aspx.cs" Language="c#" AutoEventWireup="True" Inherits="Webdisk.downcount" %>
<%@ Register TagPrefix="webdiyer" Namespace="Wuqi.Webdiyer" Assembly="AspNetPager" %>
<%@ Register Src="~/userleft.ascx" TagPrefix="uc1" TagName="userleft" %>
<%@ Register Src="~/usertop.ascx" TagPrefix="uc1" TagName="usertop" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>下载统计</title>
   <link rel="stylesheet" href="css/bootstrap.min.css">
	<link rel="stylesheet" href="css/atlantis.css">
</head>
<body>
<div class="wrapper">
    <!-- begin::navigation -->
         <uc1:usertop runat="server" ID="usertop" />
    <uc1:userleft runat="server" ID="userleft" />
    <!-- end::navigation -->

   <div class="main-panel">

        <div class="content">
            <div class="page-inner">

        <div >

           <div class="card">
			    <div class="card-body">
							<div class="row">&nbsp;&nbsp;&nbsp;&nbsp;<img src="pics/tj.gif" width="16" height="16" align="absMiddle">&nbsp;&nbsp;&nbsp;&nbsp;<h5><b>下载统计（仅统计其它用户下载的记录，只保留前<asp:Label ID="lblcount" runat="server"></asp:Label>天记录）<%=loginfo %></b></h5></div>
					<form id="Form1" method="post" runat="server">
						 <div class="<%=Webdisk.DAL.Config.IsMobile %>">
									<asp:datagrid id="DataGrid" runat="server" PageSize="20" Width="100%" AutoGenerateColumns="False"
										CssClass="table-hover" AllowSorting="True" EnableViewState="False" BorderStyle="None" BorderWidth="0px" GridLines="None" AlternatingItemStyle-CssClass="GridMove">
<ItemStyle CssClass="GridItem"></ItemStyle>
                                    <HeaderStyle CssClass="GridHead"></HeaderStyle>

<Columns>
<asp:TemplateColumn HeaderText="文件路径">
<HeaderStyle HorizontalAlign="Center">
</HeaderStyle>

<HeaderTemplate>
<%=FileURL%>
</HeaderTemplate>

<ItemTemplate>
<asp:Label id=Label1 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.FileURL") %>'></asp:Label>
</ItemTemplate>

<EditItemTemplate>
<asp:TextBox id=TextBox1 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.FileURL") %>'></asp:TextBox>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="下载时间">
<HeaderStyle HorizontalAlign="Center" Width="20%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>

<HeaderTemplate>
<%=DownTime%>
</HeaderTemplate>

<ItemTemplate>
<asp:Label id=Label2 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.DownTime") %>'></asp:Label>
</ItemTemplate>

<EditItemTemplate>
<asp:TextBox id=TextBox2 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.DownTime") %>'></asp:TextBox>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="下载用户">
<HeaderStyle HorizontalAlign="Center" Width="10%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>

<HeaderTemplate>
<%=DownUser%>
</HeaderTemplate>

<ItemTemplate>
<asp:HyperLink id=HyperLink1 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.DownUser") %>' NavigateUrl='<%# DataBinder.Eval(Container, "DataItem.DownUser", "userinfo.aspx?username={0}") %>'></asp:HyperLink>
</ItemTemplate>
</asp:TemplateColumn>
    <asp:BoundColumn DataField="ip" HeaderText="IP">
        <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" 
            Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" 
            Width="10%" />
        <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" 
            Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" />
    </asp:BoundColumn>
</Columns>

<PagerStyle PageButtonCount="20" Mode="NumericPages">
</PagerStyle>
									</asp:datagrid><br></div>
								  <div class="hidden-sm hidden-md hidden-lg text-center"><%=sjinfo %><p></div>
                        <webdiyer:AspNetPager CssClass="paginator"  CurrentPageButtonClass="cpb" PagingButtonSpacing="0" id="Pager" runat="server" PageSize="20" HorizontalAlign="Right"
										NumericButtonCount="5" ShowCustomInfoSection="Left" AlwaysShow="True" UrlPaging="True" FirstPageText="|<" PrevPageText="<" NextPageText=">" LastPageText=">|" Height="20px" CustomInfoTextAlign="Left"></webdiyer:AspNetPager><br>
							</form>
			    </div>
        </div>

     </div> </div> </div>
    <!-- end::main content -->
</body>
</html>			
   <script type="text/javascript" src="js/calendar.js"></script>
<script src="js/jquery.3.2.1.min.js"></script>
	<script src="js/popper.min.js"></script>
	<script src="js/bootstrap.min.js"></script>
	<!-- jQuery UI -->
	<script src="js/jquery-ui.min.js"></script>
	<script src="js/jquery.ui.touch-punch.min.js"></script>
	
	<!-- jQuery Scrollbar -->
	<script src="js/jquery.scrollbar.min.js"></script>
	<!-- Atlantis JS -->
	<script src="js/webfont.min.js"></script>
	<script src="js/atlantis.js"></script>