<%@ Page Language="C#" MasterPageFile="../Admin.master" AutoEventWireup="true" Inherits="Ruiao.WebSite.Blog.Admin.BlogStarManage" Codebehind="BlogStarManage.aspx.cs" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="MyContent" ContentPlaceHolderID="cphMain" Runat="Server">

    <fieldset class="ContentBox">
    <div class="Head" onclick="BoxSwitch('mc_BloggerNotice','si_BloggerNotice')"><div class="Title"><%=MyTitle %></div><div id="si_BloggerNotice" class="SwitchIcon_Up"></div></div>
    <div class="Body" id="mc_BloggerNotice">
        <div class="ContentItem_03"><div class="ContentItem_03a" style="width:120px"><strong>注意事项：</strong></div><div class="ContentItem_03b" style="width:649px">
        <ul class="NotesMessage">
        <li>点击"修改"可以修改博客之星的申请资料，修改其状态，则可以完成对他审核以及取消审核的操作。</li>
        <li>点击"删除"则会删除该博客之星的申请，但不会删除其相关的会员博客以及相关数据。</li>
        </ul>
        </div></div>
    </div>
    <div class="Bottom"></div>
	</fieldset>
	<div class="ContentBox_Separator"></div>
	
	<fieldset class="ContentBox">
    <div class="Head" onclick="BoxSwitch('mc_DataSelect','si_DataSelect')"><div class="Title">博客之星筛选：</div><div id="si_DataSelect" class="SwitchIcon_Down"></div></div>
    <div class="Body" id="mc_DataSelect" style="display:none;">
        <div class="ContentItem_03"><div class="ContentItem_03a" style="width:120px">审查状态：</div><div class="ContentItem_03b" style="width:649px"><asp:DropDownList ID="ddlIsValid" runat="server"></asp:DropDownList></div></div>
        
        <div class="ContentItem">        
        <asp:Button ID="btSelectData" runat="server" Text="筛选博客之星" OnClick="btSelectData_Click" CssClass="LinkButton" />
        </div>
    </div>
    <div class="Bottom"></div>
	</fieldset>
	<div class="ContentBox_Separator"></div>
	
	<table id="MemberList" class="MainContentTable" cellspacing="1">
	<tr class="HeadTR">
	    <td class="HeadTD" style="width:100px;">博客名称</td>
		<td class="HeadTD" style="width:160px;">博客标题</td>
		<td class="HeadTD" style="width:auto;">备注</td>
		<td class="HeadTD" style="width:80px;">申请时间</td>
		<td class="HeadTD" style="width:80px;">操作</td>
	</tr>
    <asp:Repeater ID="rpBloggerList" runat="server" OnItemCreated="rpBloggerList_ItemCreated">
    <ItemTemplate>
    <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
        <td class="ItemTD"><%# MyBlogEntity.Name %></td>
        <td class="ItemTD"><a href="<%=AppUrl %>/<%=Config["BloggerPath"] %>/<%# MyBlogEntity.Name %>/Default<%=ExtensionName %>"><%# MyBlogEntity.Title %></a></td>
		<td class="ItemTD" style="text-align:left"><%# DataBinder.Eval(Container, "DataItem.Notes") %></a></td>
		<td class="ItemTD"><%# ((DateTime)DataBinder.Eval(Container, "DataItem.AddTime")).ToString("yyyy-MM-dd") %></td>
		<td class="ItemTD">
		<a href="BlogStarEdit<%=ExtensionName %>?BlogStarID=<%# DataBinder.Eval(Container, "DataItem.ID")%>">修改</a> | <a href="BlogStarDelete<%=ExtensionName %>?BlogStarID=<%# DataBinder.Eval(Container, "DataItem.ID")%>">删除</a>
		</td>
	</tr>
    </ItemTemplate>
    </asp:Repeater>
    
    <tr class="ItemTR">
    <td class="ItemTD" colspan="8" style="text-align:left;">
    <webdiyer:AspNetPager ID="Pager" runat="server" OnPageChanged="Pager_PageChanged" AlwaysShow="True" UrlPaging="False" />
    </td>
    </tr>
    
    </table>
</asp:Content>