<%@ Page Language="C#" AutoEventWireup="true" Inherits="Ruiao.WebSite.Public.Files.UploadInline" Codebehind="UploadInline.aspx.cs" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style type="text/css">
* html { overflow-y: hidden; }
body {
	font: 13px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana;
	border: none;
	margin: 0px;
	height: 150px;
	background: #dfe8f1;
}
form {
	margin: 3px 2px 0px 6px;
}
.tip {
	color: rgb(68, 138, 189);
	padding: 2px 1em;
}
#upload-menu {
	background: #fff;
	margin: 0px;
	padding: 0;
	list-style: none;
	height: 2em;
	border-bottom: 1px solid #448abd;
	width: 100%;
}
#upload-menu li {
	float: left;
	margin: 0 0 0 .75em;
}
#upload-menu a {
	display: block;
	padding: 5px;
	text-decoration: none;
	color: #000;
	border-top: 3px solid #fff;
}
#upload-menu .current a {
	background: #dfe8f1;
	border-right: 2px solid #448abd;
}
#upload-menu a:hover {
	background: #dfe8f1;
	color: #000;
}
#upload-menu li.spacer {
	margin-left: 40px;
}
#Tag, #Description {
	width: 99%;
	margin-top: 1px;
}
th {
	width: 4.5em;
}
#Description {
	height: 36px;
}
#buttons {
	margin-top: 2px;
	text-align: right;
}
#submit {
	margin: 1px;
	width: 99%;
}
#submit input, #submit input:focus {
	background: url( images/fade-butt.png );
	border: 3px double #999;
	border-left-color: #ccc;
	border-top-color: #ccc;
	color: #333;
	padding: 0.25em;
}
#submit input:active {
	background: #f4f4f4;
	border: 3px double #ccc;
	border-left-color: #999;
	border-top-color: #999;
}
</style>
</head>
<body>
<ul id="upload-menu">
<li class="current"><a href="UploadInline<%=ExtensionName %>?ParentID=<%=ParentID %>&CategoryID=<%=CategoryID %>">上传</a></li>
<li><a href="FilesViewInline<%=ExtensionName %>?ParentID=<%=ParentID %>&CategoryID=<%=CategoryID %>">浏览全部</a></li>
<li> </li>
</ul>
<div class="tip"></div>
<form enctype="multipart/form-data" id="UploadForm" method="POST" runat="server">
<table style="width:400px;">
<tr>
<th scope="row" align="right"><label for="upload">文件：</label></th>
<td><input type="file" id="upload" name="file1" /></td>
</tr>
<tr>
<th scope="row" align="right"><label for="title">Tag：</label></th>
<td><input id="Tag" name="Tag" type="text" /></td>
</tr>
<tr>
<th scope="row" align="right"><label for="descr">描述：</label></th>
<td><textarea id="Description" cols="20" name="Description" rows="2"></textarea></td>
</tr>
<tr id="buttons">
<th></th>
<td>
<div id="submit">
<asp:Button ID="btn_upload" Text="上传" runat="server" OnClick="btn_upload_Click" />
</div>
</td>
</tr>
</table>
</form>
</body>
</html>