<%@ Page language="c#" Codebehind="webfile.aspx.cs" AutoEventWireup="false" Inherits="baoge.webfile" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>webfile</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK href="styles.css" type="text/css" rel="stylesheet">
		<script language="javascript">
			function confirmDelete(filePath, fileName){
				if(confirm("Really delete? '" + fileName + "'"))
	   	 			document.location = filePath;
			}
		</script>
	</HEAD>
	<body>
		<form id="Form1" method="post" encType="multipart/form-data" runat="server">
			<asp:label id="Header" style="TEXT-ALIGN: center" runat="server" BackColor="#C0C0FF" Width="100%"
				ForeColor="Navy" Height="20px"></asp:label><asp:imagebutton id="UpBtn" runat="server" CommandArgument="../" CommandName="ChangePath" ImageUrl="Admin/pics/hup_one_level.gif"
				ToolTip="Up one level"></asp:imagebutton><asp:imagebutton id="GoRoot" runat="server" CommandArgument="/" CommandName="ChangePath" ImageUrl="Admin/pics/home_icon.gif"
				AlternateText="Back to Root Directory"></asp:imagebutton>
			<TABLE cellSpacing="0" cellPadding="1" width="100%" border="0">
				<tr>
					<TH width="30" bgColor="#000000">
						<FONT color="#ffffff">&nbsp;</FONT></TH>
					<TH align="left" width="450" bgColor="#000000">
						<FONT color="#ffffff" size="2">文件名</FONT></TH>
					<TH width="80" bgColor="#000000">
						<P align="left"><FONT color="#ffffff" size="2">文件大小</FONT></P>
					</TH>
					<TH width="200" bgColor="#000000">
						<P align="left"><FONT color="#ffffff" size="2">最后更新时间</FONT></P>
					</TH>
					<TH width="50" bgColor="#000000">
						<P align="left"><FONT color="#ffffff" size="2">删除</FONT></P>
					</TH>
				</tr>
				<asp:placeholder id="FilesFolders" runat="server"></asp:placeholder></TABLE>
			<P></P>
			<P align="center">
				<TABLE id="Table1" borderColor="#ccccff" cellSpacing="0" cellPadding="7" bgColor="#6699ff"
					border="1">
					<TR>
						<TD bgColor="background"><STRONG><FONT color="#ffffff">文件上传</FONT></STRONG></TD>
						<TD bgColor="highlight"><STRONG><FONT color="#ffffff">创建文件</FONT></STRONG></TD>
						<TD bgColor="background"><STRONG><FONT color="#ffffff">创建文件夹</FONT></STRONG></TD>
						<TD bgColor="background"><STRONG><FONT color="#ffffff">改变站点根目录</FONT></STRONG></TD>
					</TR>
					<TR>
						<TD bgColor="background">&nbsp;&nbsp; <INPUT id="fileToUpload" style="WIDTH: 156px; HEIGHT: 22px" type="file" size="6" name="fileToUpload"
								runat="server">&nbsp;
							<asp:button id="UploadBtn" runat="server" Width="61px" Height="22px" Text="上传文件"></asp:button></TD>
						<TD bgColor="highlight"><asp:textbox id="NewFileText" runat="server" Width="69px" Height="21px"></asp:textbox>&nbsp;
							<asp:button id="NewFileBtn" runat="server" Width="61px" Height="22px" Text="新建文件"></asp:button></TD>
						<TD bgColor="background"><asp:textbox id="NewFolderText" runat="server" Width="69px" Height="21px"></asp:textbox>&nbsp;
							<asp:button id="NewFolderBtn" runat="server" Width="76px" Height="22px" Text="新建文件夹"></asp:button></TD>
						<TD bgColor="background"><asp:textbox id="setRootTxt" runat="server" Width="69px" Height="21px"></asp:textbox><asp:button id="setRootBtn" runat="server" Width="82px" Height="22px" Text="设置根目录"></asp:button></TD>
					</TR>
				</TABLE>
			</P>
		</form>
	</body>
</HTML>
