<%@ Page Language="C#" MasterPageFile="~/Master/Default/Page.master" AutoEventWireup="true" CodeBehind="Pictrue.aspx.cs" Inherits="EasySion.ERP.Web.Pictrue" Title="无标题页" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="~/Controls/MemberLogin.ascx" TagPrefix="UC" TagName="MemberLogin" %>
<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="5" ShowLines="false" Width="70%">
            <NodeStyle Height="20px" />
          </asp:TreeView>
        </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>
      <asp:HiddenField ID="hidden" runat="server" Value="" />
      <UC:MemberLogin ID="MemberLogin1" runat="server" EnableViewState="false" />
      </asp:Panel>
    <asp:Panel ID="LoginPanel" runat="server" EnableViewState="False">
      <div class="tl"> </div>
      <div class="tr"> </div>
      <div class="tm">
        <h2 class="tt">
          <asp:Literal ID="PageMainContentTitle" runat="server" EnableViewState="False"></asp:Literal>
        </h2>
      </div>
      <div class="pack">
        <div class="ml"> </div>
        <div class="mr"> </div>
        <div class="mm" style="padding: 0">
          <div class="picList">
            <ul>
              <%
			  for (int i = 0; i < picListDataTable.Rows.Count; i++)
			  {
			  %>
              <li style='width: <%=ColSpanCount %>%'>
                <div class="picImg"> <a href='<%=EasySion.ERP.WebsiteData.Website.IsURLRewriter() ? String.Format("/{1}-D2-{0}-{2}"+EasySion.ERP.WebsiteData.Function.GetPostfixName(),picListDataTable.Rows[i]["PicId"].ToString(),picListDataTable.Rows[i]["FileName"].ToString(),EasySion.ERP.WebsiteData.Website.GetLanguage()) : String.Format("PicDetail.aspx?id={0}&fileName={1}&Language={2}",picListDataTable.Rows[i]["PicId"].ToString(),picListDataTable.Rows[i]["FileName"].ToString(),EasySion.ERP.WebsiteData.Website.GetLanguage()) %>'> <%=picListDataTable.Rows[i]["PicPathSmall"].ToString().Trim() == "" ? "" : "<img src='" + picListDataTable.Rows[i]["PicPathSmall"].ToString() + "' Alt='" + picListDataTable.Rows[i]["Title"].ToString() + "' style='width:" + _width + "px" + (_height == 100 ? "" : ";height:" + _height + "px") + "'/>"%></a></div>
                <div class="picTitle"><span class="picClassName"> <%= String.Format("[{0}]",picListDataTable.Rows[i]["ClassName"].ToString()) %></span><a href='<%= EasySion.ERP.WebsiteData.Website.IsURLRewriter() ? String.Format("{1}-D2-{0}-{2}"+EasySion.ERP.WebsiteData.Function.GetPostfixName(),picListDataTable.Rows[i]["PicId"].ToString(),picListDataTable.Rows[i]["FileName"].ToString(),EasySion.ERP.WebsiteData.Website.GetLanguage()) : String.Format("PicDetail.aspx?id={0}&fileName={1}&Language={2}",picListDataTable.Rows[i]["PicId"].ToString(),picListDataTable.Rows[i]["FileName"].ToString(),EasySion.ERP.WebsiteData.Website.GetLanguage()) %>'><%=EasySion.ERP.WebsiteData.Strings.CutLenStr(picListDataTable.Rows[i]["Title"].ToString(), _titleLength)%></a></div>
                <div class="picShortContent"> <%= EasySion.ERP.WebsiteData.Strings.CutLenStr(picListDataTable.Rows[i]["PicShortContent"].ToString(),_shortContentLength) %></div>
              </li>
              <%}%>
            </ul>
          </div>
          <div class="pageMenu">
            <webdiyer:AspNetPager ID="PicListPager" runat="server" AlwaysShow="true" UrlPaging="true" EnableUrlRewriting="false" OnPageChanged="PicListPager_PageChanged" ShowBoxThreshold="20" EnableViewState="False" InputBoxClass="pagerInputBox" OnPageChanging="PicListPager_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>