<%@ page language="C#" masterpagefile="~/Master/Default/Page.master" autoeventwireup="true" inherits="Article, App_Web_besrbn5f" title="" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<asp:Content ID="SideContent" ContentPlaceHolderID="Side" runat="Server">
    <div class="sideMenu">
        <shanRui:SideMenu ID="PageSideMenu" runat="server" />
    </div>
</asp:Content>
<asp:Content ID="MainContent" ContentPlaceHolderID="MainContent" runat="Server">
    <div class="siteMapPath">
        <asp:Literal ID="SiteMapPath" runat="server" EnableViewState="False"></asp:Literal>
    </div>
    <div class="pageMainContent">
        <asp:Panel ID="NoLoginPanel" runat="server" Visible="false" EnableViewState="False">
            <asp:Label ID="PlealseLogin" runat="server" CssClass="plealseLogin" Text=""></asp:Label>
            <shanRui:MemberLogin ID="MemberLogin1" runat="server" EnableViewState="false" />
        </asp:Panel>
        <asp:Panel ID="LoginPanel" runat="server" EnableViewState="False">
            <asp:Repeater ID="ArticleList" runat="server" EnableViewState="False">
                <HeaderTemplate>
                    <h2>
                        <asp:Literal ID="ArticleListTitle" runat="server" Text='<%# articleListTitle %>'></asp:Literal></h2>
                    <ul>
                </HeaderTemplate>
                <ItemTemplate>
                    <li>
                        <asp:Label ID="ClassName" CssClass="className" runat="server" Text='<%# String.Format("[{0}]",Eval("className")) %>'></asp:Label>
                        <asp:HyperLink ID="ArticleTitle" CssClass="articleTitle" runat="server" NavigateUrl='<%# ShanRui.Web.Website.IsURLRewriter() ? String.Format("{1}-D1_{0}_{2}.{3}",Eval("ArticleId"),Eval("FileName"),ShanRui.Web.Website.GetLanguage(),ShanRui.Web.Website.HTMLExtension()) :String.Format("ArticleDetail.aspx?Id={0}&FileName={1}&Language={2}",Eval("ArticleId"),Eval("FileName"),ShanRui.Web.Website.GetLanguage()) %>'
                            Text='<%# Eval("Title") %>'></asp:HyperLink>
                        <asp:Label ID="AddTime" CssClass="addTime" runat="server" Text='<%# Convert.ToDateTime(Eval("AddTime")).ToString(dateTimeFormat) %>'></asp:Label>
                    </li>
                </ItemTemplate>
                <FooterTemplate>
                    </ul>
                </FooterTemplate>
            </asp:Repeater>
            <div class="pageMenu">
                <webdiyer:AspNetPager ID="ArticleListPager" runat="server" AlwaysShow="True" UrlPaging="true"
                    EnableUrlRewriting="false" OnPageChanged="ArticleListPager_PageChanged" ShowBoxThreshold="20"
                    EnableViewState="False" InputBoxClass="pagerInputBox" OnPageChanging="ArticleListPager_PageChanging"
                    SubmitButtonClass="pagerSubmitButton" CurrentPageButtonClass="pagerCurrentPageButton">
                </webdiyer:AspNetPager>
            </div>
        </asp:Panel>
    </div>
</asp:Content>
