<%@ Page CodeBehind="downcount.aspx.cs" Language="c#" AutoEventWireup="True" Inherits="Webdisk.downcount" %>
<%@ Register TagPrefix="webdiyer" Namespace="Wuqi.Webdiyer" Assembly="AspNetPager" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
  <HEAD>
<% @ Import Namespace="Webdisk" %>
		<link href="<%=xml.GetStyle()%>" rel="stylesheet" type="text/css">
		<script language="JAVASCRIPT">
			function over(obj){
			obj.className=(obj.className == "GridMove" ? "GridItem" : "GridMove")
			}
		</script>
</SCRIPT>
  </HEAD>
	<body topmargin="0">
		<form id="Form1" method="post">
			<br>
			<TABLE cellSpacing="0" cellPadding="0" width="98%" align="center">
				<TR>
					<TD width="5" background="pics/wenbenkuan_02.gif"><IMG height="5" src="pics/wenbenkuan_01.gif" width="5"></TD>
					<TD width="874" background="pics/wenbenkuan_02.gif"><IMG height="5" src="pics/wenbenkuan_02.gif" width="5"></TD>
					<TD><IMG height="5" src="pics/wenbenkuan_03.gif" width="5"></TD>
				</TR>
				<TR>
					<TD background="pics/wenbenkuan_04.gif">&nbsp;</TD>
					<TD background="pics/wenbenkuan_05.gif" bgColor="#ffffff"><TABLE width="100%">
							<TR>
								<TD class="tabletop"><img src="pics/tj.gif" width="18" height="18" align="absmiddle"> 下载统计（仅统计其它用户下载的记录，只保留前
		  <asp:Label ID="lblcount" runat="server"></asp:Label>天记录）&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:history.go(-1);"><img src="pics/link_back.gif" border="0" align="absmiddle"></a>
								</TD>
							<TR class="tablebg">
								<TD>
                                    <asp:DataGrid ID="DataGrid" runat="server" PageSize="20" Width="100%" AutoGenerateColumns="False"
                                        CssClass="GridBody" AllowSorting="True" EnableViewState="False">
                                        <AlternatingItemStyle CssClass="GridLine"></AlternatingItemStyle>
                                        <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="20%"></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="20%" />
                                                <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>
									<webdiyer:AspNetPager id="Pager" runat="server" PageSize="20" HorizontalAlign="Right" ShowBoxThreshold="21"
										NumericButtonCount="15" ShowCustomInfoSection="Left" AlwaysShow="True" UrlPaging="True" FirstPageText="<font face=webdings>9</font>" PrevPageText="<font face=webdings>3</font>" NextPageText="<font face=webdings>4</font>" LastPageText="<font face=webdings>:</font>" Height="20px"></webdiyer:AspNetPager></TD>
							</TR>
						</TABLE>
					</TD>
					<TD width="5" background="pics/wenbenkuan_06.gif"><IMG height="5" src="pics/wenbenkuan_06.gif" width="5"></TD>
				</TR>
				<TR>
					<TD background="pics/wenbenkuan_08.gif"><IMG height="5" src="pics/wenbenkuan_07.gif" width="5"></TD>
					<TD background="pics/wenbenkuan_08.gif"><IMG height="5" src="pics/wenbenkuan_08.gif" width="5"></TD>
					<TD><IMG height="5" src="pics/wenbenkuan_09.gif" width="5"></TD>
				</TR>
			</TABLE>
			<DIV></DIV>
		</form>
	</body>
</HTML>
