<%@ Page Language="C#" MasterPageFile="~/Master/Default/Page.master" AutoEventWireup="true" CodeBehind="AllProduct.aspx.cs" Inherits="EasySion.ERP.Web.AllProduct" Title="无标题页" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="~/Controls/MemberLogin.ascx" TagPrefix="UC" TagName="MemberLogin" %>
<asp:Content ID="Content1" 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>
  <div class="cartBox" style="display: none">
    <div class="tl"> </div>
    <div class="tr"> </div>
    <div class="tm">
      <h2 class="tt">
        <asp:Label ID="lbCart" runat="server" meta:resourcekey="Cart" Text=""></asp:Label>
      </h2>
    </div>
    <div class="pack">
      <div class="ml"> </div>
      <div class="mr"> </div>
      <div class="mm">
        <div class="goodsCountBox">
          <asp:Label ID="GoodsCountLabel" meta:resourcekey="GoodsCountLabel" CssClass="goodsCountLabel" runat="server" Text="Label"></asp:Label>
          <asp:Label ID="GoodsCount" CssClass="goodsCount" runat="server" Text="Label"></asp:Label>
          <asp:Label ID="GoodsCountUnit" meta:resourcekey="GoodsCountUnit" CssClass="goodsCountUnit" runat="server" Text="Label"></asp:Label>
        </div>
        <div class="grossBox">
          <asp:Label ID="GrossLabel" meta:resourcekey="GrossLabel" CssClass="grossLabel" runat="server" Text=""></asp:Label>
          <asp:Label ID="Gross" CssClass="gross" runat="server" Text=""></asp:Label>
        </div>
        <div class="showCartBox">
          <asp:Button ID="ShowCartBt" meta:resourcekey="ShowCartBt" CssClass="showCartBt" runat="server" Text="Button" />
        </div>
      </div>
    </div>
    <div class="bl"> </div>
    <div class="br"> </div>
    <div class="bm"> </div>
  </div>
  </div>
</asp:Content>
<asp:Content ID="Content2" 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">
      <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">
          <asp:DataList ID="ProductList" runat="server" EnableViewState="False" CssClass="productList">
            <HeaderTemplate>
              <asp:Label ID="ProductListTitle" runat="server" CssClass="productListTitle"></asp:Label>
            </HeaderTemplate>
            <ItemTemplate> <a href='<%#EasySion.ERP.WebsiteData. Website.IsURLRewriter() ? String.Format("/D3-{0}-{2}/{1}"+EasySion.ERP.WebsiteData.Function.GetPostfixName(),Eval("ProductId").ToString(),Eval("FileName").ToString(),EasySion.ERP.WebsiteData. Website.GetLanguage()) : String.Format("ProductDetail.aspx?id={0}&fileName={1}&Language={2}",Eval("ProductId").ToString(),Eval("FileName").ToString(),EasySion.ERP.WebsiteData. Website.GetLanguage()) %>'>
              <asp:Image ID="SmallImage" CssClass="productImage" Width="<%# new Unit(_width)%>" Height="<%# new Unit(_height)%>" runat="server" ImageUrl='<%# Bind("PicPathSmall") %>' AlternateText='<%# Bind("ProductName") %>' />
              </a>
              <div class="productText">
                <div class="productNameBox">
                  <asp:Label ID="ClassName" CssClass="productClassName" runat="server" Text='<%# String.Format("[{0}]",Eval("ClassName").ToString()) %>'></asp:Label>
                  <asp:HyperLink ID="ProductName" CssClass="productName" runat="server" NavigateUrl='<%#EasySion.ERP.WebsiteData. Website.IsURLRewriter() ? String.Format("D3-{0}-{2}/{1}"+EasySion.ERP.WebsiteData.Function.GetPostfixName(),Eval("ProductId").ToString(),Eval("FileName").ToString(),EasySion.ERP.WebsiteData. Website.GetLanguage()) : String.Format("~/ProductDetail.aspx?id={0}&fileName={1}&Language={2}",Eval("ProductId").ToString(),Eval("FileName").ToString(),EasySion.ERP.WebsiteData. Website.GetLanguage()) %>' Text='<%# EasySion.ERP.WebsiteData.Strings.CutLenStr(Eval("ProductName").ToString(),_titleLength) %>' ToolTip='<%# Eval("ProductName") %>'></asp:HyperLink>
                </div>
                <div class="productNumberBox">
                  <asp:Label ID="ProductNumberLabel" meta:resourcekey="ProductNumberLabel" CssClass="productNumberLabel" EnableViewState="False" runat="server" Text=""></asp:Label>
                  <asp:Label ID="ProductNumber" runat="server" Text='<%# Eval("ProductNumber") %>' CssClass="productNumber"></asp:Label>
                </div>
                <div class="priceBox">
                  <asp:Label ID="PriceLabel" meta:resourcekey="PriceLabel" CssClass="priceLabel" EnableViewState="False" runat="server" Text="" Visible='<%#_isshowprice%>'></asp:Label>
                  <asp:Label ID="Price" runat="server" Text='<%# _moneyUnit+Convert.ToSingle(Eval("Price")).ToString(".00") %>' CssClass="price" Visible='<%#_isshowprice%>'></asp:Label>
                </div>
                <div class="productShortContentBox">
                  <asp:Label ID="ProductShortContent" CssClass="productShortContent" runat="server" Text='<%# EasySion.ERP.WebsiteData.Strings.CutLenStr(Eval("ProductShortContent").ToString(),_shortContentLength) %>'></asp:Label>
                </div>
                <div class="cartButtonBox" style="display: none">
                  <asp:Button ID="CartButton" OnClientClick='<%# String.Format("return CartOpen({0},{1});",Eval("ProductId").ToString(),EasySion.ERP.WebsiteData. Website.GetLanguage()) %>' meta:resourcekey="CartButton" CssClass="cartButton" runat="server" EnableViewState="False" CausesValidation="False" UseSubmitBehavior="False" Visible='<%#_isshowbuybutton%>' />
                </div>
              </div>
            </ItemTemplate>
            <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" CssClass="productItem" />
            <AlternatingItemStyle CssClass="productAlternating" />
            <SeparatorStyle CssClass="productSeparator" />
            <HeaderStyle CssClass="productHeader" />
          </asp:DataList>
        </div>
      </div>
      <div class="pageMenu">
        <webdiyer:AspNetPager ID="ProductListPager" runat="server" AlwaysShow="True" UrlPaging="true" EnableUrlRewriting="false" OnPageChanged="ProductListPager_PageChanged" ShowBoxThreshold="20" EnableViewState="False" InputBoxClass="pagerInputBox" OnPageChanging="ProductListPager_PageChanging" SubmitButtonClass="pagerSubmitButton" CurrentPageButtonClass="pagerCurrentPageButton"> </webdiyer:AspNetPager>
      </div>
      <div class="bl"> </div>
      <div class="br"> </div>
      <div class="bm"> </div>
      </asp:Panel>
  </div>
</asp:Content>