<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="search.aspx.cs" Inherits="Webdisk.search" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>全文检索</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="main.css" type="text/css" rel="stylesheet">
	    <style type="text/css">
<!--
body {
	font-size: 14px;
}
td {
	font-size: 12px;
}
-->
        </style>
</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table1" cellSpacing="0" cellPadding="2" border="0">
				<TR>
					<TD><asp:textbox id=TextBoxQuery runat="server" Width="312px" Text="<%# Query %>"></asp:textbox>&nbsp;
						<asp:button id="ButtonSearch" runat="server" Text="搜索一下"></asp:button></TD>
				</TR>
				<tr>
					<td><p></p>					</td>
				</tr>
			</TABLE>
			<br>
		  <table width="100%" align="right" cellPadding="0" cellSpacing="0">
<tr>
					<td align="right" bgcolor="#D9E1F7" style="padding:3px">
						找到相关文件：<%# Summary %></td>
		    </tr>
		  </table><br><br><table width="100%" border="0">
                      <tr>
                        <td><asp:repeater id=Repeater1 runat="server" DataSource="<%# myDataTable %>">
					<ItemTemplate>
						<p><a href='ContentPane.aspx?down=ok&filepath=<%# DataBinder.Eval(Container.DataItem, "path")  %>' style="font-size:16px"><%# DataBinder.Eval(Container.DataItem, "title")  %></a><br>
							<span style="line-height:20px; font-size:13px">
								<%# DataBinder.Eval(Container.DataItem, "sample")  %>							</span>
							<br>
							<span style="color:#009F00; font-size:12px">
								文件路径：<%# DataBinder.Eval(Container.DataItem, "path")  %>&nbsp;创建者：<%# DataBinder.Eval(Container.DataItem, "username")  %>&nbsp;文件大小：<%# DataBinder.Eval(Container.DataItem, "size")  %>&nbsp;修改时间：<%# DataBinder.Eval(Container.DataItem, "date")  %>							</span>						</p>
					</ItemTemplate>
				</asp:repeater></td>
                      </tr>
                    </table>

</P>
			    <table width="100%" border="0" bgcolor="#D9E1F7">
                  <tr>
                    <td style="font-size:14px">页号：
				<asp:repeater id="Repeater2" runat="server" DataSource="<%# Paging %>">
					<ItemTemplate>
						<%# DataBinder.Eval(Container.DataItem, "html") %>					</ItemTemplate>
				</asp:repeater></td>
                  </tr>
                </table>
          </form>
	</body>
</HTML>
