<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="attchmentsearch.aspx.cs" Inherits="FangPage.Admin.attchmentsearch" %>
<%@ Register TagPrefix="cc1" Namespace="FangPage.Control" Assembly="FangPage.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/bmsmanager.css" type="text/css" rel="stylesheet" />        
    </head>

	<body>
		<form id="Form1" method="post" runat="server">
		<div class="ManagerForm">
        <fieldset>
		<legend style="background:url(images/icon32/GroupEditing.gif) no-repeat 3px; padding-left:40px;">上传文件搜索</legend>
			<table class="table1" cellspacing="0" cellpadding="4" width="100%" align="center">
				<tr>
					<td class="td2" width="16%" align="right">所在栏目：</td>
					<td class="td2">
				        <cc1:dropdowntreelist id="sortid" runat="server"></cc1:dropdowntreelist>
				    </td>
				    <td class="td2" align="right">发布者：</td>
					<td class="td2"><cc1:TextBox id="poster" runat="server" RequiredFieldType="暂无校验" Width="100"></cc1:TextBox></td>
				</tr>
				<tr>
					<td class="td2" align="right">文件名：</td>
					<td class="td2"><cc1:TextBox id="attachment" runat="server" RequiredFieldType="暂无校验" Width="150"></cc1:TextBox></td>
					<td class="td1" align="right">文件类型：</td>
					<td class="td1"><cc1:TextBox id="filetype" runat="server" RequiredFieldType="暂无校验" Width="150"></cc1:TextBox></td>
				</tr>
				<tr>
					<td class="td1" width="16%" align="right">文件件尺寸小于：</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%" align="right">文件尺寸大于：</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" align="right">上传于多少天前：</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?action=1';">
                                    <img src="images/arrow_undo.gif" /> 返 回 </button>
                </div>
		</div>
		</form>
	</body>
</html>