<%@ Control Language="C#"  %>
<%@ Import Namespace="ShopNum1.Common"%>
 
<div class="mod2" id="OrganizBuyList">
    <div class="title clearfix "> <span class="left "></span> <span class="right "></span></div>
    <asp:DataList ID="DataListOrganizBuyInfo" runat="server" RepeatColumns="1" Width="100%" BorderWidth="0">
      <ItemTemplate>
        <div class="Organization clearfix">
          <div class="OrganizationImage" style="padding-top:10px">
          <a href='OrganizBuyDetail.aspx?guid=<%# Eval("Guid") %>&&ProductGuid=<%# Eval("ProductGuid") %>' target="_blank">
            <asp:Image ID="ImageProduct" runat="server" Height="100px" 
                    ImageUrl='<%# Globals.ImagePath+"s_"+Eval("OriginalImgeProduct") %>' 
                    Width="100px" />
                    </a>
            <span style="display:none">
            <asp:HiddenField ID="HiddenFieldGuid" runat="server"  Value='<%# Eval("Guid")%>'/>
            </span> </div>
          <div class="OrganizationList"> 团购商品：<a href='OrganizBuyDetail.aspx?guid=<%# Eval("Guid") %>&&ProductGuid=<%# Eval("ProductGuid") %>' target="_blank"><font class="f4"> <%# Eval("ProductName")%></font></a><br />
            起止时间：<font class="f1"><%# Eval("StartTime")%>--<%# Eval("EndTime")%></font><br />
            价格阶梯：<br />
            <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#f3f3f3">
              <tr align="center">
                <td width="50%" ><strong>数量</strong></td>
                <td width="50%"><strong>价格</strong></td>
              </tr>
              <tr>
                <td colspan="2">
                <asp:DataList ID="DataListOrganizBuyPrice" runat="server" 
                                       RepeatColumns="1" Width="100%" RepeatDirection="Horizontal" 
                                    GridLines="None" cellpadding="0" cellspacing="0" BorderWidth="0">
                    <ItemTemplate>
                      <table width="100%" border="0" cellspacing="1" cellpadding="0">
                        <tr align="center">
                          <td bgcolor="#ffffff" width="50%"><%# Eval("Amount")%></td>
                          <td bgcolor="#ffffff" width="50%"><%# Globals.MoneySymbol%><%# Eval("Price")%></td>
                        </tr>
                      </table>
                    </ItemTemplate>
                  </asp:DataList>
                </td>
              </tr>
            </table>
          </div>
        </div>
      </ItemTemplate>
    </asp:DataList>
  </div>
 
    <div class="pager" >
<asp:Label ID="LabelPageMessage" runat="server"></asp:Label>

&nbsp;<asp:HyperLink ID="lnkFirst" runat="server"><span class="fpager">[ 首页</span></asp:HyperLink>
<asp:HyperLink ID="lnkPrev" runat="server"><span class="fpager">| 上一页</span></asp:HyperLink>
<asp:HyperLink ID="lnkNext" runat="server"><span class="fpager">| 下一页</span></asp:HyperLink>
<asp:HyperLink ID="lnkLast" runat="server"><span class="fpager">| 末页 ]</span></asp:HyperLink>
&nbsp;<span class="fpager">转到 <asp:Literal ID="lnkTo" runat="server" /> 页</span>

</div>  