FileSearch.aspx
上传用户:autodoor
上传日期:2022-08-04
资源大小:9973k
文件大小:13k
源码类别:

.net编程

开发平台:

Others

  1. <%@ Page language="c#" Codebehind="FileSearch.aspx.cs" AutoEventWireup="false" Inherits="qminoa.Webs.FM.FileSearch" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <title></title>
  6. <meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
  7. <meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
  8. <meta content="JavaScript" name="vs_defaultClientScript">
  9. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10. <LINK href="../lynn.css" type="text/css" rel="stylesheet">
  11. </HEAD>
  12. <body bottomMargin="0" leftMargin="20" topMargin="0" rightMargin="20" MS_POSITIONING="GridLayout">
  13. <form id="Form1" method="post" runat="server">
  14. <TABLE align="center" style="WIDTH: 95%; POSITION: absolute; HEIGHT: 100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
  15. <TR>
  16. <TD style="WIDTH: 100%; HEIGHT: 10px" vAlign="top" noWrap align="left"><FONT face="宋体"></FONT></TD>
  17. </TR>
  18. <TR>
  19. <TD vAlign="top" noWrap align="middle">
  20. <P>
  21. <asp:label id="lblID" runat="server" Visible="False" Font-Size="X-Small"></asp:label><asp:label id="lblFID" runat="server" Visible="False" Font-Size="X-Small"></asp:label><asp:label id="lblBID" runat="server" Visible="False" Font-Size="X-Small"></asp:label></P>
  22. <P>
  23. <TABLE id="Table1" style="HEIGHT: 17px" cellSpacing="0" cellPadding="1" width="100%" bgColor="black" border="0">
  24. <TR>
  25. <TD><FONT face="宋体">
  26. <TABLE class="boxform" id="Table8" style="HEIGHT: 100%" cellSpacing="0" cellPadding="0" width="100%" bgColor="white" border="0">
  27. <TR>
  28. <TD vAlign="top" noWrap align="left">
  29. <TABLE class="headcenter" id="Table2" style="WIDTH: 100%; HEIGHT: 10px">
  30. <TR>
  31. <TD align="left">
  32. <asp:image id="Image1" runat="server" ImageUrl="img/search.gif" ImageAlign="AbsBottom"></asp:image>网络文件搜索
  33. </TD>
  34. <TD class="uname" align="right">
  35. <asp:imagebutton id="cmdClose" runat="server" ImageUrl="img/button/closewin.gif" ImageAlign="AbsBottom" ToolTip="关闭"></asp:imagebutton></TD>
  36. </TR>
  37. </TABLE>
  38. <TABLE id="Table3" style="HEIGHT: 100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
  39. <TR>
  40. <TD style="WIDTH: 184px" vAlign="top" noWrap><FONT face="宋体">
  41. <TABLE id="Table4" borderColor="silver" cellSpacing="0" cellPadding="0" width="100%" bgColor="#d4d0c8" border="1">
  42. <TR>
  43. <TD class="td" noWrap>搜索
  44. </TD>
  45. <TD noWrap align="right">
  46. <asp:imagebutton id="cmdCloseSeach" runat="server" ImageUrl="img/button/closewin1.gif" ImageAlign="AbsBottom" ToolTip="关闭"></asp:imagebutton></TD>
  47. </TR>
  48. </TABLE>
  49. <DIV id="div1" style="WIDTH: 100%; POSITION: relative; HEIGHT: 255px" runat="server" ms_positioning="GridLayout">
  50. <asp:label id="Label1" style="Z-INDEX: 101; LEFT: 4px; POSITION: absolute; TOP: 0px" runat="server" CssClass="td" Height="22px" Font-Size="X-Small">要搜索的文件名</asp:label>
  51. <asp:textbox id="txtKeyword" style="Z-INDEX: 106; LEFT: 5px; POSITION: absolute; TOP: 71px" runat="server" Width="172px"></asp:textbox>
  52. <asp:textbox id="txtFileFolder" style="Z-INDEX: 105; LEFT: 4px; POSITION: absolute; TOP: 23px" runat="server" Width="172px"></asp:textbox>
  53. <asp:imagebutton id="imgSearch" style="Z-INDEX: 103; LEFT: 3px; POSITION: absolute; TOP: 200px" runat="server" ImageUrl="img/button/bseach.gif"></asp:imagebutton>
  54. <asp:label id="Label2" style="Z-INDEX: 102; LEFT: 4px; POSITION: absolute; TOP: 49px" runat="server" CssClass="td" Height="22" Font-Size="X-Small">文件中关键字</asp:label>
  55. <asp:imagebutton id="cmdExit" style="Z-INDEX: 104; LEFT: 76px; POSITION: absolute; TOP: 200px" runat="server" ImageUrl="img/button/exit.gif"></asp:imagebutton>
  56. <asp:linkbutton id="cmdOption" style="Z-INDEX: 107; LEFT: 4px; POSITION: absolute; TOP: 226px" runat="server" CssClass="td" Width="100%" Font-Size="X-Small">搜索选项 >></asp:linkbutton>
  57. <asp:textbox id="txtOwner" style="Z-INDEX: 108; LEFT: 4px; POSITION: absolute; TOP: 167px" runat="server" Width="172px"></asp:textbox>
  58. <asp:label id="Label4" style="Z-INDEX: 109; LEFT: 5px; POSITION: absolute; TOP: 142px" runat="server" CssClass="td" Font-Size="X-Small">所有者姓名/帐号</asp:label>
  59. <HR style="Z-INDEX: 110; LEFT: 2px; WIDTH: 96.98%; POSITION: absolute; TOP: 251px; HEIGHT: 1px" width="96.98%" SIZE="1">
  60. <asp:label id="Label3" style="Z-INDEX: 111; LEFT: 5px; POSITION: absolute; TOP: 95px" runat="server" CssClass="td" Font-Size="X-Small">附件包含文字</asp:label>
  61. <asp:textbox id="txtContent" style="Z-INDEX: 112; LEFT: 4px; POSITION: absolute; TOP: 118px" runat="server" Width="172px"></asp:textbox>
  62. <asp:label id="Label5" style="Z-INDEX: 113; LEFT: 84px; POSITION: absolute; TOP: 96px" runat="server" CssClass="td" Font-Bold="True" Font-Size="X-Small">(<img src="img/button/fullseach.gif" align="absbottom">全文检索)</asp:label></DIV>
  63. </FONT>
  64. <TABLE id="Table5" cellSpacing="0" cellPadding="0" width="100%" border="0">
  65. <TR>
  66. <TD noWrap>
  67. <asp:checkbox id="chkDate" runat="server" CssClass="td" Height="12px" Width="52px" Visible="False" AutoPostBack="True" Text="日期" Font-Size="X-Small"></asp:checkbox></TD>
  68. </TR>
  69. </TABLE>
  70. <DIV language="C#" class="box" id="divDate" dataFormatAs="" style="WIDTH: 100%; POSITION: relative; HEIGHT: 146px" runat="server" ms_positioning="GridLayout" Visible="False">
  71. <asp:radiobutton id="rdoMonth" style="Z-INDEX: 101; LEFT: 0px; POSITION: absolute; TOP: 32px" runat="server" CssClass="td" AutoPostBack="True" Text="前" GroupName="Date" Font-Size="X-Small"></asp:radiobutton>
  72. <asp:label id="Label12" style="Z-INDEX: 110; LEFT: 154px; POSITION: absolute; TOP: 64px" runat="server" Font-Size="X-Small">天</asp:label>
  73. <asp:label id="lblMaxDate" style="Z-INDEX: 108; LEFT: 32px; POSITION: absolute; TOP: 116px" runat="server" CssClass="td" Font-Size="X-Small">和</asp:label>
  74. <asp:radiobutton id="rdoDay" style="Z-INDEX: 102; LEFT: 0px; POSITION: absolute; TOP: 61px" runat="server" CssClass="td" AutoPostBack="True" Text="前" GroupName="Date" Font-Size="X-Small"></asp:radiobutton>
  75. <asp:textbox id="txtMaxDate" style="Z-INDEX: 103; LEFT: 52px; POSITION: absolute; TOP: 116px" runat="server" Width="108px"></asp:textbox>
  76. <asp:textbox id="txtMinDate" style="Z-INDEX: 104; LEFT: 52px; POSITION: absolute; TOP: 88px" runat="server" Width="108px"></asp:textbox>
  77. <asp:textbox id="txtMonth" style="Z-INDEX: 105; LEFT: 40px; POSITION: absolute; TOP: 31px" runat="server" Height="22px" Width="105px" Enabled="False">1</asp:textbox>
  78. <asp:textbox id="txtDay" style="Z-INDEX: 107; LEFT: 38px; POSITION: absolute; TOP: 58px" runat="server" Width="108px" Enabled="False">1</asp:textbox>
  79. <asp:radiobutton id="rdoBetween" style="Z-INDEX: 106; LEFT: 1px; POSITION: absolute; TOP: 87px" runat="server" CssClass="td" AutoPostBack="True" Text="介于" GroupName="Date" Checked="True" Font-Size="X-Small"></asp:radiobutton>
  80. <asp:label id="Label11" style="Z-INDEX: 109; LEFT: 148px; POSITION: absolute; TOP: 37px" runat="server" Font-Size="X-Small">个月</asp:label>
  81. <asp:dropdownlist id="dropDate" style="Z-INDEX: 111; LEFT: 16px; POSITION: absolute; TOP: 4px" runat="server" Height="23px" Width="148px" DataTextField="name" DataValueField="folderid">
  82. <asp:ListItem Value="0">创建的文件</asp:ListItem>
  83. <asp:ListItem Value="1">修改过的文件</asp:ListItem>
  84. </asp:dropdownlist></DIV>
  85. <TABLE id="Table6" cellSpacing="0" cellPadding="0" width="100%" border="0">
  86. <TR>
  87. <TD noWrap>
  88. <asp:checkbox id="chkType" runat="server" CssClass="td" Height="22px" Width="57px" Visible="False" AutoPostBack="True" Text="类型" Font-Size="X-Small"></asp:checkbox></TD>
  89. </TR>
  90. </TABLE>
  91. <DIV class="box" id="divType" style="WIDTH: 100%; POSITION: relative; HEIGHT: 34px" runat="server" ms_positioning="GridLayout" Visible="False">
  92. <asp:dropdownlist id="dropType" style="Z-INDEX: 101; LEFT: 17px; POSITION: absolute; TOP: 6px" runat="server" Height="23px" Width="146px" AutoPostBack="True" DataTextField="name" DataValueField="type"></asp:dropdownlist></DIV>
  93. </TD>
  94. <TD class="" vAlign="top" noWrap><FONT face="宋体">
  95. <TABLE class="box" id="Table7" height="100%" cellSpacing="1" cellPadding="1" width="100%" border="1">
  96. <TR>
  97. <TD vAlign="top" noWrap>
  98. <asp:datagrid id="dgdFolder" runat="server" CssClass="table" Width="100%" BorderWidth="1px" AutoGenerateColumns="False" AllowSorting="True" BorderColor="#F7F7F7" BackColor="#F7F7F7" CellPadding="2" GridLines="None" ForeColor="Black" BorderStyle="Solid">
  99. <SelectedItemStyle BackColor="Transparent"></SelectedItemStyle>
  100. <EditItemStyle ForeColor="Black" BackColor="Black"></EditItemStyle>
  101. <AlternatingItemStyle BorderColor="White" BackColor="White"></AlternatingItemStyle>
  102. <ItemStyle CssClass="textcenter" BackColor="#DEDFDE"></ItemStyle>
  103. <HeaderStyle CssClass="headcenter"></HeaderStyle>
  104. <FooterStyle CssClass="headcenter"></FooterStyle>
  105. <Columns>
  106. <asp:BoundColumn Visible="False" DataField="folderid" HeaderText="DocID"></asp:BoundColumn>
  107. <asp:BoundColumn Visible="False" DataField="hifolderid" HeaderText="folderid"></asp:BoundColumn>
  108. <asp:BoundColumn DataField="name" SortExpression="name" HeaderText="名称">
  109. <HeaderStyle Wrap="False"></HeaderStyle>
  110. <ItemStyle Wrap="False" VerticalAlign="Top"></ItemStyle>
  111. </asp:BoundColumn>
  112. <asp:BoundColumn DataField="path" SortExpression="path" ReadOnly="True" HeaderText="所在文件夹">
  113. <HeaderStyle Wrap="False" HorizontalAlign="Left"></HeaderStyle>
  114. <ItemStyle Wrap="False" HorizontalAlign="Left" VerticalAlign="Top"></ItemStyle>
  115. </asp:BoundColumn>
  116. <asp:BoundColumn DataField="type" SortExpression="type" HeaderText="类型">
  117. <HeaderStyle Wrap="False"></HeaderStyle>
  118. <ItemStyle Wrap="False" VerticalAlign="Top"></ItemStyle>
  119. </asp:BoundColumn>
  120. <asp:BoundColumn DataField="empid" SortExpression="empname" ReadOnly="True" HeaderText="所有者">
  121. <HeaderStyle Wrap="False" HorizontalAlign="Left" VerticalAlign="Top"></HeaderStyle>
  122. <ItemStyle Wrap="False" HorizontalAlign="Left" VerticalAlign="Top"></ItemStyle>
  123. </asp:BoundColumn>
  124. <asp:BoundColumn DataField="cdate" SortExpression="cdate" ReadOnly="True" HeaderText="创建日期">
  125. <HeaderStyle Wrap="False" HorizontalAlign="Left" VerticalAlign="Top"></HeaderStyle>
  126. <ItemStyle Wrap="False" HorizontalAlign="Left" VerticalAlign="Top"></ItemStyle>
  127. </asp:BoundColumn>
  128. </Columns>
  129. <PagerStyle HorizontalAlign="Center" ForeColor="DarkSlateBlue" BackColor="PaleGoldenrod"></PagerStyle>
  130. </asp:datagrid></TD>
  131. </TR>
  132. </TABLE>
  133. </FONT>
  134. </TD>
  135. </TR>
  136. </TABLE>
  137. </TD>
  138. </TR>
  139. <TR>
  140. <TD style="HEIGHT: 14px" vAlign="top" noWrap align="left" bgColor="#d4d0c8">
  141. <asp:label id="lblObjNum" runat="server" CssClass="td" Height="22px" Font-Size="X-Small"></asp:label><FONT face="宋体">&nbsp;
  142. <asp:label id="lblErr" runat="server" CssClass="err" DESIGNTIMEDRAGDROP="232" Font-Size="X-Small"></asp:label></FONT></TD>
  143. </TR>
  144. </TABLE>
  145. </FONT>
  146. </TD>
  147. </TR>
  148. </TABLE>
  149. </P>
  150. </TD>
  151. </TR>
  152. </TABLE>
  153. </form>
  154. </body>
  155. </HTML>