<%@ Page CodeBehind="setAdSearch.aspx.cs" Language="c#" AutoEventWireup="True" Inherits="Webdisk.setAdSearch" %>
<% @ Import Namespace="Webdisk" %>
<HTML>
	<HEAD>
        <link href="<%=xml.GetStyle()%>" rel="stylesheet" type="text/css">
	    <link rel="stylesheet" type="text/css" href="themes/icon.css"/>
		<link href="css/webdialog.css" type=text/css rel=stylesheet>
	    <script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
        <script src="js/calendar.js" type="text/javascript"></script>
		<script type="text/javascript" language="javascript">
            function closeWindow() {
                if (window.top.adSearch)
                    window.top.adSearch.closeAdvanceSearch();
                else
                    history.go(-1);
            }
            $(window).load(function () {
                var strSrc = $("#ifadSearch", parent.document).attr("src");
                if (strSrc != undefined && strSrc != "")
                    $("#AdSearch").attr("action", strSrc.substr(strSrc.indexOf("=") + 1) + ".aspx");
            });
		</script>
	</HEAD>
	
<BODY style="padding:0px;">
	<form id="AdSearch" name="form" action="ResourceMng.aspx" target="_top" method="post" style="margin:0px;padding:0px;">
			<TABLE class="wfrom-table">
				<tbody>
					<tr style="display:none;"><td class="label">搜索文件夹：</td><td>/新建文件夹</td>
					</tr>
                          <TR>
                            <TD class="label">文件名或者目录名：</TD>
                            <TD >
                              <input id="txtname" class="input-text" type="text" name="txtname" value="<%if(Request["key"]!=null)Response.Write(Request["key"].ToString()); %>">
                              （多个关键字用半角空格分隔）
							  </TD>
                          </TR>
                          <TR >
                            <TD class="label">指定修改时间：</TD>
                            <TD >
                              <input id="txttime1" class="input-text" type="text" size="15" name="txttime1" style="width:131px;"  onfocus="new Calendar().show(this)">
                              到
                              <input id="txttime2" type="text" size="15" name="txttime2" style="width:131px;" class="input-text" onfocus="new Calendar().show(this)">
                            （不填为不限）
							</TD>
                          </TR>
                          <TR>
                            <TD class="label" >指定文件大小：</TD>
                            <TD>
                              <input id="txtsize1" class="input-text" type="text" size="10" style="width:131px;" name="txtsize1">
                              —
                              <input id="txtsize2" class="input-text" type="text" size="10" style="width:131px;" name="txtsize2">
                            &nbsp;KB （不填为不限）
							</TD>
                          </TR>
                          <TR>
                            <TD class="label">文件类型：</TD>
                            <TD >
                              <input id="txttype" class="input-text"	type="text" name="txttype" value="All" onclick="javascript:$('#txttype').attr('value','')">
                            （输入扩展名，用半角,分隔，不填为不限）
							</TD>
                          </TR>
                          <TR>
                            <TD class="label" >文件注释：</TD>
                            <TD ><input id="txtnote" class="input-text" type="text" name="txtnote">
                            （不填为不限）</TD>
                          </TR>
						  <tr style="display:none;">
							 <TD class="label" ></TD>
							 <td>
								<label class="input-check" ><input type="checkbox" name="" id="" value="" />搜索子目录</span>
							 </td>
						  </tr>
                          <TR>
						   <TD class="label" ></TD>
                            <TD >
                              <input class="wbtn-1" type="submit" value=" 搜 索 ">
                              &nbsp;&nbsp;&nbsp;&nbsp;
                              <input class="wbtn-2" type="button" value=" 返 回 " onclick="closeWindow()">
                             </TD>
                          </TR>
						  </tbody>
                      </TABLE>
</form>
	</BODY>
</HTML>
