<%@ Page Language="C#" MasterPageFile="~/Master/Default/Page.master" AutoEventWireup="true" CodeBehind="News.aspx.cs" Inherits="EasySion.ERP.Web.News" Title="ÎÞ±êÌâÒ³" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="~/Controls/MemberLogin.ascx" TagPrefix="UC" TagName="MemberLogin" %>
<%@ Register Src="~/Controls/ArticleModule.ascx" TagPrefix="UC" TagName="ArticleModule" %>
<asp:Content ID="SideContent" ContentPlaceHolderID="Side" runat="Server">
  <div class="sideMenu" id="ClassList" runat="server">
    <div class="tl"> </div>
    <div class="tr"> </div>
    <div class="tm">
      <h2 class="tt">
        <asp:Label ID="SideMenuTitle" runat="server" Text="" CssClass="sideMenuTitle"></asp:Label>
      </h2>
    </div>
    <div class="pack">
      <div class="ml"> </div>
      <div class="mr"> </div>
      <div class="mm">
        <div id="sideMenuBox">
          <asp:TreeView ID="TreeView2" runat="server" NodeIndent="10" ShowLines="false">
            <NodeStyle Height="20" />
          </asp:TreeView>
        </div>
      </div>
    </div>
    <div class="bl"> </div>
    <div class="br"> </div>
    <div class="bm"> </div>
  </div>
  </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>
      <UC:MemberLogin ID="MemberLogin1" runat="server" EnableViewState="false" />
      <asp:HiddenField ID="hidden" runat="server" Value="" />
      </asp:Panel>
    <asp:Panel ID="LoginPanel" runat="server" EnableViewState="False">
      <asp:Repeater ID="ArticleList" runat="server" EnableViewState="False">
        <HeaderTemplate>
          <div class="tl"> </div>
          <div class="tr"> </div>
          <div class="tm">
            <h2 class="tt">
              <asp:Literal ID="ArticleListTitle" runat="server" Text='<%#articleListTitle%>'></asp:Literal>
            </h2>
          </div>
          <div class="pack">
          <div class="ml"> </div>
          <div class="mr"> </div>
          <div class="mm">
          <ul class="nl">
        </HeaderTemplate>
        <ItemTemplate>
          <li>
            <asp:Label ID="AddTime" CssClass="addTime" runat="server" Text='<%# Convert.ToDateTime(Eval("AddTime")).ToString(dateTimeFormat) %>'></asp:Label>
            <asp:Label ID="ClassName" CssClass="className" runat="server" Text='<%# String.Format("[{0}]",Eval("className")) %>'></asp:Label>
            <a href='<%# EasySion.ERP.WebsiteData.Website.IsURLRewriter() ? String.Format("{1}-D1-{0}-{2}"+EasySion.ERP.WebsiteData.Function.GetPostfixName(),Eval("ArticleId"),Eval("FileName"),EasySion.ERP.WebsiteData.Website.GetLanguage()) :String.Format("NewsDetail.aspx?Id={0}&FileName={1}&Language={2}",Eval("ArticleId"),Eval("FileName"),EasySion.ERP.WebsiteData.Website.GetLanguage())%>' class='<%# Eval("IsNew").ToString()=="1"?"ArticleTitle highlight":"ArticleTitle" %>'> <%# Eval("Title") %></a><%# Eval("IsTop").ToString() == "1" ? "<img src='images/up.gif' class='articletop' alt='top' />" : ""%> </li>
          <li class="newsLine"></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" FirstPageText="<%$ Resources:WebResourcesGlobal, FirstPageText %>" LastPageText="<%$ Resources:WebResourcesGlobal, LastPageText %>" NextPageText="<%$ Resources:WebResourcesGlobal, NextPageText %>" PrevPageText="<%$ Resources:WebResourcesGlobal, PrevPageText %>"> </webdiyer:AspNetPager>
      </div>
    </div>
  </div>
  <div class="bl"> </div>
  <div class="br"> </div>
  <div class="bm"> </div>
  </asp:Panel>
  </div>
</asp:Content>