<%@ Page Language="C#" AutoEventWireup="true" EnableViewState="false" Inherits="Ruiao.WebSite.Blog.Blogger.Display.Music" MasterPageFile="~/Blog/Blogger/Blogger.master" Codebehind="Music.aspx.cs" %>
<%@ Register Src="CommentAdd.ascx" TagName="CommentAdd" TagPrefix="uc1" %>
<asp:Content ID="MyHead" ContentPlaceHolderID="phHead" Runat="Server">
<link href="<%=BlogUrl %>/Skins/<%=SkinInfo.SkinPath%>/UBB/editor.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="MyContent" ContentPlaceHolderID="cphMain" Runat="Server">
<!--主体部分-->
<div id="BodyContainer">

    <!--主内容容器-->
    <div id="ContentContainer">
    
        <!--主要内容部分-->
        <div id="MainContent">
        
            <!--内容顶部-->
            <div id="Top"></div>
            <div id="MyInfo">
                <div id="Params"><%=CategoryHtml %></div>
                <div id="Feed">
                <a href="<%=MyBloggerUrl %>/RSS2<%=ExtensionName %>?Category=<%=ArticleData.CategoryID %>"><img src="<%=BlogUrl %>/Skins/<%=SkinInfo.SkinPath%>/icon_rss.png" alt="订阅该分类的日志(RSS 2.0)" /></a>
                <a href="<%=MyBloggerUrl %>/Atom<%=ExtensionName %>?Category=<%=ArticleData.CategoryID %>"><img src="<%=BlogUrl %>/Skins/<%=SkinInfo.SkinPath%>/icon_atom.png" alt="订阅该分类的日志(Atom 1.0)" /></a>
                </div>
            </div>
            
            <!--日志内容-->
            <div id="PostList" class="ItemContainer">
                <div class="ContentItem">
                    <div class="Top">
                        <div class="Left"></div>
                        <div class="Body_Limit" onclick="PostBodyShow(this,'Post_<%=ArticleData.ID %>')"></div>
                        <h1 class="Title"><%=ArticleData.Title %></h1>
                        <div class="Right"></div>
                    </div>
                    <div id="Post_<%=ArticleData.ID %>">
					    <div class="ContentInfo">
					        <div class="AuthorInfo">作者:<%=ArticleData.AuthorName %> 日期:<%=ArticleData.PostTime.ToString(DateFormat) %></div>
						    <div class="OtherInfo">字体大小: <a href="javascript:SetFont('ContentItem_Body','12px')" accesskey="1">小</a> <a href="javascript:SetFont('ContentItem_Body','14px')" accesskey="2">中</a> <a href="javascript:SetFont('ContentItem_Body','16px')" accesskey="3">大</a></div>
						</div>
                        <div id="ContentItem_Body" class="Body">
                        <%= Ruiao.Blog.PostType.Music.GetHtml(MusicData) %>
                        </div>
                        <ul id="ContentItem_Other" class="OtherInfo">
                        <li><img src="<%=BlogUrl %>/Skins/<%=SkinInfo.SkinPath %>/icon_from.gif" alt="" /><strong>文章来自:<%=Source %></strong></li>
                        <li><img src="<%=BlogUrl %>/Skins/<%=SkinInfo.SkinPath %>/icon_trackback.gif" alt="" /><strong>引用通告:</strong><a href="<%=MyBloggerUrl %>/Trackback<%=ExtensionName %>?tbID=<%=ArticleData.ID %>"><span><%=MyBloggerUrl %>/Trackback<%=ExtensionName %>?tbID=<%=ArticleData.ID %></span></a></li>
                        <%=Tag %>
                        </ul>
                        <div class="Bottom">
                            <div class="Left"></div>
                            <div class="Body">Posted @<%=ArticleData.PostTime.ToString(DateTimeFormat) %>  阅读(<%=ArticleData.ViewCount%>) | 评论(<%=ArticleData.CommentCount %>)</div>
                            <div class="Right"></div>
                        </div>
                    </div>
                </div>
                <div class="ContentItem_Separator"><div></div></div>
            </div>
            
            <!--评论部分-->
            <div id="CommentContainer" class="ItemContainer">
                <asp:Repeater ID="rpComment" runat="server">
                <ItemTemplate>
                <div id="Comment_<%# DataBinder.Eval(Container, "DataItem.ID") %>" class="CommentItem">
                    <div class="Top">
                    <img class="QuoteIcon" src="<%=BlogUrl %>/Skins/<%=SkinInfo.SkinPath %>/icon_quote.gif" alt=""/>
                    <span class="CommentTitle"><%# DataBinder.Eval(Container, "DataItem.Title") %></span></a>
                    <span class="CommentAuthor"> -- <%# AuthorHtml %></span>
                    <span class="CommentPostTime">[<%# DataBinder.Eval(Container, "DataItem.AddTime").ToString() %>]</span>
                    </div>
                    <div class="Body" id="CommentBody_<%# DataBinder.Eval(Container, "DataItem.ID") %>">
                    <%# Ruiao.Common.Helper.Text.UBB2Html(DataBinder.Eval(Container, "DataItem.Body").ToString(), AppUrl, MyBlogData.CommentUBB) %>
                    </div>
                </div>
                </ItemTemplate>
                </asp:Repeater>
            </div>
            
            <!--发表评论-->
            <uc1:CommentAdd id="CommentAdd" runat="server"></uc1:CommentAdd>
            
            <div id="Bottom"></div>
    </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>