<%@ Page Language="C#" MasterPageFile="../Admin.master" AutoEventWireup="true" Inherits="Ruiao.WebSite.Public.Admin.FilesOperation" Codebehind="FilesOperation.aspx.cs" %>
<asp:Content ID="MyHead" ContentPlaceHolderID="cphHead" Runat="Server">
<script type="text/javascript">
//<![CDATA[
function addLoadEvent(func)
{
    if ( typeof MyOnload!='function')
    {
        MyOnload=func;
    }
    else
    {
        var Oldonload=MyOnload;MyOnload=function(){Oldonload();func();}
    }
}
//]]>
</script>
<script type="text/javascript" src="<%=AppUrl %>/Common/Script/fat.js"></script>
</asp:Content>
<asp:Content ID="MyContent" ContentPlaceHolderID="cphMain" Runat="Server">
	
	<div id="message" class="NoticeMessage fade"><p><strong>以下文件将被<strong><%=ActionText %></strong>，请在确认无误后，再进行操作。</strong></p></div>
	
    <asp:Repeater ID="rpFilesList" runat="server" OnItemCreated="rpMemberList_ItemCreated">
    <HeaderTemplate>
    <table id="FilesList" class="MainContentTable" cellpadding="3" cellspacing="1">
	<tr class="HeadTR">
	    <td class="HeadTD" style="width:20px;">ID</td>
		<td class="HeadTD" style="width:400px;">文件名</td>
		<td class="HeadTD" style="width:80px;">文件大小</td>
		<td class="HeadTD" style="width:120px;">上传时间</td>
		<td class="HeadTD" style="width:80px;">上传会员</td>
		<td class="HeadTD" style="width:40px;">操作</td>
	</tr>
    </HeaderTemplate>
    <ItemTemplate>
    <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
        <td class="ItemTD"><asp:Label ID="lbID" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.ID")%>' /></td>
		<td class="ItemTD" style="text-align:left"><%# DataBinder.Eval(Container, "DataItem.FileName")%></td>
		<td class="ItemTD"><%# DataBinder.Eval(Container, "DataItem.FileSize")%></td>
		<td class="ItemTD"><%# DataBinder.Eval(Container, "DataItem.AddTime")%></td>
		<td class="ItemTD"><%# MyMember.DisplayName %></td>
		<td class="ItemTD"><asp:CheckBox ID="cbxSelect" runat="server" Checked="true" /></td>
	</tr>
    </ItemTemplate>
    <FooterTemplate>
    </table>
    </FooterTemplate>
    </asp:Repeater>
    
    <div style="text-align:right; padding:5px;"><asp:Button ID="btEnter" runat="server" Text='确认操作' OnClick="btEnter_Click" CssClass="SubmitButton" /></div>
    <script type="text/javascript">if(typeof MyOnload=='function')MyOnload();</script>
</asp:Content>
