<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="attchmentsearch.aspx.cs" Inherits="Focus.Admin.attchmentsearch" %>
<%@ Register TagPrefix="cc1" Namespace="Focus.Control" Assembly="Focus.Control" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<title>上传文件搜索</title>		
		<script type="text/javascript" src="js/common.js"></script>
		<link href="styles/fntmanager.css" type="text/css" rel="stylesheet" />        
    </head>

	<body>
		<form id="Form1" method="post" runat="server">
		<div class="ManagerForm">
        <fieldset>
		<legend style="background:url(images/icons/GroupEditing.gif) no-repeat 3px 20%;">上传文件搜索</legend>
			<table class="table1" cellspacing="0" cellpadding="4" width="100%" align="center">
				<tr>
					<td class="td2" width="16%">所在栏目：</td>
					<td class="td2">
				        <cc1:dropdowntreelist id="sortid" runat="server"></cc1:dropdowntreelist>
				    </td>
				    <td class="td2">发布者：</td>
					<td class="td2"><cc1:TextBox id="poster" runat="server" RequiredFieldType="暂无校验" Width="100"></cc1:TextBox></td>
				</tr>
				<tr>
					<td class="td2">存储文件名：</td>
					<td class="td2"><cc1:TextBox id="filename" runat="server" RequiredFieldType="暂无校验" Width="200"></cc1:TextBox></td>
					<td class="td1">文件类型：</td>
					<td class="td1"><cc1:TextBox id="filetype" runat="server" RequiredFieldType="暂无校验" Width="200"></cc1:TextBox></td>
				</tr>
				<tr>
					<td class="td1" width="16%">文件件尺寸小于：</td>
					<td class="td1" width="34%">
				          <cc1:TextBox id="filesizemin" runat="server" RequiredFieldType="数据校验" Size="10"></cc1:TextBox>(单位:字节)
				          <select onchange="document.getElementById('filesizemin').value=this.value">
								<option value="">请选择</option>
								<option value="51200">50K</option>
								<option value="102400">100K</option>
								<option value="153600">150K</option>
								<option value="204800">200K</option>
								<option value="256000">250K</option>
								<option value="307200">300K</option>
								<option value="358400">350K</option>
								<option value="409600">400K</option>
								<option value="512000">500K</option>
								<option value="614400">600K</option>
								<option value="716800">700K</option>
								<option value="819200">800K</option>
								<option value="921600">900K</option>
								<option value="1024000">1M</option>
								<option value="2048000">2M</option>
								<option value="4096000">4M</option>								
						    </select>
				    </td>
					<td class="td2" width="15%">文件尺寸大于：</td>
					<td class="td2" width="35%">
				          <cc1:TextBox ID="filesizemax" runat="server" RequiredFieldType="数据校验" Size="10" />(单位:字节)
				          <select onchange="document.getElementById('filesizemax').value=this.value">
							    <option value="">请选择</option>
							    <option value="51200">50K</option>
							    <option value="102400">100K</option>
							    <option value="153600">150K</option>
							    <option value="204800">200K</option>
							    <option value="256000">250K</option>
							    <option value="307200">300K</option>
							    <option value="358400">350K</option>
							    <option value="409600">400K</option>
							    <option value="512000">500K</option>
							    <option value="614400">600K</option>
							    <option value="716800">700K</option>
							    <option value="819200">800K</option>
							    <option value="921600">900K</option>
							    <option value="1024000">1M</option>
							    <option value="2048000">2M</option>
							    <option value="4096000">4M</option>									
							</select>
				    </td>
				</tr>
				<tr>
					<td class="td1">上传于多少天前：</td>
					<td class="td1" colspan="3"><cc1:TextBox id="postdatetime" runat="server" Size="4" RequiredFieldType="数据校验"></cc1:TextBox></td>
				</tr>
		    </table>
		</fieldset>
		<div class="Navbutton"><cc1:Button id="SaveSearchCondition" runat="server" 
                Text=" 搜索文件" ButtonImgUrl="images/search.gif" 
                onclick="SaveSearchCondition_Click"></cc1:Button>
                &nbsp;&nbsp;
                    <button class="ManagerButton" type="button" onclick="javascript:window.location.href='attchemntmanage.aspx';">
                                    <img src="images/arrow_undo.gif" />返 回</button>
                </div>
		</div>
		</form>
	</body>
</html>