<%@ Page Language="C#" AutoEventWireup="true" Inherits="Ruiao.WebSite.Public.Files.FilesViewInline" Codebehind="FilesViewInline.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>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="imagetoolbar" content="no" />
<style type="text/css">
body {
    font: 13px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana;
    font: 13px;
	border: none;
	margin: 0px;
	background: #dfe8f1;
}
#upload-menu {
	background: #fff;
	margin: 0px;
	padding: 0;
	list-style: none;
	height: 2em;
	border-bottom: 1px solid #448abd;
}
#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;
}
.tip {
	color: rgb(68, 138, 189);
	padding: 2px 1em;
}
.FileItem
{
    margin:auto;
    
}
</style>
<script type="text/javascript">
function Page_Load()
{
    try
    {
        if('<%=SendFileHtml %>' != '')
        {
            parent.InsertHtml('<%=SendFileHtml %>');
        }
    }
    catch(e){}
}
</script>
</head>
<body>
<ul id="upload-menu">
<li><a href="UploadInline<%=ExtensionName %>?ParentID=<%=ParentID %>&CategoryID=<%=CategoryID %>">上传</a></li>
<li class="current"><a href="FilesViewInline<%=ExtensionName %>?ParentID=<%=ParentID %>&CategoryID=<%=CategoryID %>">浏览全部</a></li>
<li> </li>
</ul>
    <asp:Repeater ID="rpFilesList" runat="server" OnItemCreated="rpFilesList_ItemCreated">
    <ItemTemplate>
    <div style="float:left; width:80px; height:80px; padding:auto; background-color:#D1E2EF; margin:5px; text-align:center; vertical-align:middle">
    <%#FileHtml %>
    </div>
    </ItemTemplate>
    </asp:Repeater>
<script type="text/javascript">Page_Load();</script>
</body>
</html>
