<%@ Page Language="C#" MasterPageFile="~/Blogger/Blogger.master" AutoEventWireup="true" EnableViewState="false" Inherits="Ruiao.WebSite.Blogger.Plugins.RuiaoLink.Default" Codebehind="Default.aspx.cs" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="cc1" %>
<asp:Content ID="MyContent" ContentPlaceHolderID="cphMain" Runat="Server">

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

    <!--主要内容部分-->
    <div id="ContentContainer">
    
        <!--主表单-->
        <form id='MainForm' runat="server">
            
            <!--顶部内容容器-->
            <div id="TopContent">
                <div id="TopContent_Left"></div>
                <div id="MyInfo">
                    <div id="Params"><%=MyCategoryNameHtml %></div>
                    <div id="Feed"></div>
                </div>
                <div id="TopContent_Right"></div>
            </div>
        
            <!--链接分类-->
            <div id="LinkCategoryMenu" class="ListBox_Normal">
                <div class="BoxTitle">
                    <div class="BoxTitle_Left"><a><span></span></a></div>
                    <div class="BoxTitle_Right"></div>
                </div>
                <div class="BoxBody">
                    <ol>
                    <asp:Repeater ID="rpLinkCategory" runat="server">
                    <HeaderTemplate>
                        <li id="LinkCategoryItem_All" class="LinkCategoryItem"><a href="<%=MyBloggerUrl %>/Plugins/RuiaoLink/Default<%=ExtensionName %>"><span>所有链接</span></a></li>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <li id="LinkCategoryItem_<%# DataBinder.Eval(Container, "ItemIndex") %>" class="LinkCategoryItem_<%# ((int)DataBinder.Eval(Container, "ItemIndex")%2==0)?"A":"B" %>"><a href="<%=MyBloggerUrl %>/Plugins/RuiaoLink/Default<%=ExtensionName %>?CategoryID=<%# DataBinder.Eval(Container, "DataItem.ID")%>"><span><%# DataBinder.Eval(Container, "DataItem.Name")%></span></a></li>
                    </ItemTemplate>
                    <SeparatorTemplate><li class="LinkCategoryItem_Separator"><div /></li></SeparatorTemplate>
                    </asp:Repeater>
                    </ol>
                </div>
		        <div class="BoxBottom"></div>
            </div>
        
            <!--链接列表-->
            <div id="MyLink" class="ListBox_Normal">
                <div class="BoxTitle">
                    <div class="BoxTitle_Left"><a><span>链接列表</span></a></div>
                    <div class="BoxTitle_Right"></div>
                </div>
                <div class="BoxBody">
                    <ol>
                    <asp:Repeater ID="rpLink" runat="server">
                    <ItemTemplate>
                        <li id="MyLink_<%# DataBinder.Eval(Container, "ItemIndex") %>" class="MyLink_<%# ((int)DataBinder.Eval(Container, "ItemIndex")%2==0)?"A":"B" %>">
                            <span class="MyLinkItem_Name"><a target="<%# DataBinder.Eval(Container, "DataItem.Target")%>" rel="<%# DataBinder.Eval(Container, "DataItem.Rel")%>" href="<%# DataBinder.Eval(Container, "DataItem.Url")%>" title="<%# DataBinder.Eval(Container, "DataItem.Description")%>"><%# DataBinder.Eval(Container, "DataItem.Name")%></a></span>
                            <span class="MyLinkItem_Notes"><%# DataBinder.Eval(Container, "DataItem.Notes")%></span>
                            <span class="MyLinkItem_Url"><%# DataBinder.Eval(Container, "DataItem.Url")%></span>
                        </li>
                    </ItemTemplate>
                    <SeparatorTemplate><li class="MyLinkItem_Separator"><div /></li></SeparatorTemplate>
                    </asp:Repeater>
                    </ol>
                    <div id="MyLinkPager" class="Pager"><cc1:aspnetpager id="Pager" runat="server" AlwaysShow="True" UrlPaging="True" ></cc1:aspnetpager></div>
                </div>
		        <div class="BoxBottom"></div>
            </div>
        
        </form>
    
    </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>