<%@ Page Language="C#" MasterPageFile="../Blogger.master" AutoEventWireup="true" EnableViewState="false" Inherits="Ruiao.WebSite.Blogger.Display.Article" Codebehind="Article.aspx.cs" %>

<%@ Register Src="../Module/CommentAdd.ascx" TagName="CommentAdd" TagPrefix="uc1" %>
<asp:Content ID="MyContent" ContentPlaceHolderID="cphMain" Runat="Server">

<!--RDF信息-->
<%= Ruiao.Common.Helper.Trackback.RDF.Get(ArticleData.Title, "", MyBloggerUrl + "/Trackback" + ExtensionName + "?tbID=" + ArticleData.ID)%>

<!--主体容器-->
<div id="BodyContainer">

    <!--主要内容部分-->
    <div id="ContentContainer">
    <div id="innerContentContainer">
    
        <!--主表单-->
        <form id='MainForm' runat="server">
    
            <!--顶部内容容器-->
            <div id="TopContent">
                <div id="TopContent_Left"></div>
                <div id="MyInfo" class="TopContent_Middle">
                    <div id="Params"><%=CategoryHtml %></div>
                    <div id="Feed">
                        <a href="<%=MyBloggerUrl %>/RSS2<%=ExtensionName %>?Category=<%=ArticleData.CategoryID %>"><img src="<%=AppUrl %>/Skins/<%=SkinInfo.SkinPath%>/icon_rss.png" alt="订阅该分类的日志(RSS 2.0)" /></a>
                        <a href="<%=MyBloggerUrl %>/Atom<%=ExtensionName %>?Category=<%=ArticleData.CategoryID %>"><img src="<%=AppUrl %>/Skins/<%=SkinInfo.SkinPath%>/icon_atom.png" alt="订阅该分类的日志(Atom 1.0)" /></a>
                    </div>
                </div>
                <div id="TopContent_Right"></div>
            </div>
                
            <!--日志内容-->
            <div id="ArticleList" class="ContentBox_Normal">
                <div class="BoxTitle">
                    <div class="BoxTitle_Left"><a><span>我的日志</span></a></div>
                </div>
                <div class="BoxBody">
                    <div class="ArticleTop">
                        <div class="ArticleTop_Left"></div>
                        <h3 class="ArticleTop_Title"><span><%=ArticleData.Title %></span></h3>
                        <div class="Body_Limit" onclick="ContentBodyShow(this,'ArticleContent_<%=ArticleData.ID %>')"></div>
                        <div class="ArticleTop_Right"></div>
                    </div>
                    <div id="ArticleContent_<%=ArticleData.ID %>" class="ArticleContent">
		                <div class="ArticleContent_InfoBox">
		                    <div class="ArticleContent_AuthorInfo"><span class="ArticleContent_AuthorName">作者:<%=ArticleData.AuthorName %></span><span class="ArticleContent_PostTime">日期:<%=ArticleData.PostTime.ToString(DateFormat) %></span></div>
			                <div class="ArticleContent_OtherInfo"><span>字体大小:</span><a href="javascript:SetFont('ArticleContent_Body','12px')" accesskey="1"><span>小</span></a> <a href="javascript:SetFont('ArticleContent_Body','14px')" accesskey="2"><span>中</span></a> <a href="javascript:SetFont('ArticleContent_Body','16px')" accesskey="3"><span>大</span></a></div>
			            </div>
			            <%if (!String.IsNullOrEmpty(ArticleData.Excerpt)) {%><dl id="ArticleContent_Excerpt" class="ArticleContent_Excerpt"><dt>摘要:</dt><dd><%=ArticleData.Excerpt %></dd></dl><%}%>
                        <div id="ArticleContent_Body" class="ArticleContent_Body"><%=ArticleData.Body %></div>
                        <ul class="ArticleContent_Other">
                            <li class="ArticleContent_Other_Source"><img src="<%=AppUrl %>/Skins/<%=SkinInfo.SkinPath %>/icon_from.gif" alt="" /><span>文章来自:<%=Source %></span></li>
                            <li class="ArticleContent_Other_Trackback"><img src="<%=AppUrl %>/Skins/<%=SkinInfo.SkinPath %>/icon_trackback.gif" alt="" /><span>引用通告:<a href="<%=MyBloggerUrl %>/Trackback<%=ExtensionName %>?tbID=<%=ArticleData.ID %>"><span><%=MyBloggerUrl %>/Trackback<%=ExtensionName %>?tbID=<%=ArticleData.ID %></span></a></span></li>
                            <li class="ArticleContent_Other_Tags"><%=TagHtml%></li>
                        </ul>
                        <div class="ArticleContent_Bottom">
                            <div class="ArticleContent_Bottom_Left"></div>
                            <div class="ArticleContent_Bottom_Body">
                            <span class="ArticleContent_Bottom_Body_Posted">Posted @<%=ArticleData.PostTime.ToString(DateTimeFormat) %></span>
                            <span class="ArticleContent_Bottom_Body_ViewCount">阅读(<%=ArticleData.ViewCount%>)</span>
                            <span class="ArticleContent_Bottom_Body_CommentCount">评论(<%=ArticleData.CommentCount %>)</span>
                            <span class="ArticleContent_Bottom_Body_TrackbackCount">TrackBack(<%=ArticleData.TrackbackCount %>)</span></div>
                            <div class="ArticleContent_Bottom_Right"></div>
                        </div>
                    </div>
			    </div>
			    <div class="BoxBottom"></div>
            </div>
            
            <!--评论列表-->
            <asp:PlaceHolder ID="phCommentList" runat="server"></asp:PlaceHolder>
            
            <!--发表评论-->
            <asp:PlaceHolder ID="phCommentAdd" runat="server"></asp:PlaceHolder>
            
        </form>
    
    </div>
    </div>
    
    <!--侧边栏-->
    <div id="Sidebar">
        <div id="Sidebar_Top"></div>
        <div id="Sidebar_Body"><asp:PlaceHolder ID="phSidebar" runat="server"></asp:PlaceHolder></div>
        <div id="Sidebar_Bottom"></div>
    </div>
    
</div>

</asp:Content>