<%@ Page Language="C#" MasterPageFile="BloggerAdmin.master" AutoEventWireup="true" Inherits="Ruiao.WebSite.Blogger.Admin.Default" Title="博客管理中心" Codebehind="Default.aspx.cs" %>
<asp:Content ID="MyContent" ContentPlaceHolderID="cphMainAdmin" Runat="Server">
<div id="ContentTitle"><%=MyTitle %></div>
<div id="ContentBody">
    <div id="SiteNewsList" style="float:left; width:700px;"><%=Config["BloggerNotify"] %></div>
    <div id="MySidebar" style="float:right; width:200px; height:300px; border:solid 1px #999999; padding:3px;">
    <div style="margin-bottom:10px;">提示：有<%=CommentNum %>条评论等待您审核。</div>
    <div>
    <%if (ShowCommentNum > 0)
      {%>
    最新<%=ShowCommentNum%>条评论：<br>
    <asp:Repeater ID="rpComment" runat="server">
    <ItemTemplate>
    <a href="<%=MyBloggerUrl %>/CommentRedirect<%=ExtensionName %>?CommentID=<%# DataBinder.Eval(Container, "DataItem.ID")%>">
    <%# DataBinder.Eval(Container, "DataItem.Title") %>
    </a>
    </ItemTemplate>
    <SeparatorTemplate><br /></SeparatorTemplate>
    </asp:Repeater>
    <%}else{ %>
    暂无评论
    <%}%>
    </div>
    </div>
</div>
<div id="ContentBottom"></div>
</asp:Content>

