<%@ Control Language="c#" AutoEventWireup="true" Codebehind="BuyLimited.ascx.cs" Inherits="XpShop.WebUI.Modules.BuyLimited" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<script type="text/javascript" src="<%=webSite %>inc/pngpic.js"></script>
<script type="text/javascript">
    $(document).ready(function(){
		correctPNG();
	});
	</script>
<div class="xp-buyLimited" id="BuyLimited1">
    <div class="tl"></div>
    <div class="tm">
        <div class="more"><a href="<%=webSite %>xianshi/products.<%=config.html%>" target="_blank">更多</a></div>
    </div>
    <div class="mm">
		<%GetBuyLimitTable(0, 6);%>
        <ul class="clear">
            <asp:Repeater Runat="server" ID="BuyLimit">
                <ItemTemplate>
                    <li>
                        <div id="time<%#Container.ItemIndex %>" class="rank_subcat"></div>
                        <div class="xp-buyLimited-img">
                            <a href='<%=webSite %>products/product-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%>' target="_blank" ><img width="100" height="100" src="<%=webSite %>upload/ProductImg/<%# DataBinder.Eval(Container.DataItem,"ImgFolder")%><%#DataBinder.Eval(Container.DataItem,"Img5")%>" alt='' /></a>
                        </div>
                        <div class="heightoverflow">
                            <a href='<%=webSite %>products/product-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%>' target="_blank" ><%#DataBinder.Eval(Container.DataItem,"ProductName")%></a>
                        </div>
                        <%--<div class="xp-buylimit-decs"><%#DataBinder.Eval(Container.DataItem, "ShortDesc")%></div>--%>
                        <div class="xp-limitedprice">
                            ￥<%#DataBinder.Eval(Container.DataItem,"PmtPrice","{0:f}")%>
                        </div>
                        <div style="text-align:center;"><%#DataBinder.Eval(Container.DataItem, "Balance").ToString() == "0" ? "<img src='" + webSite + "Images/qg_end_btn.gif' height=18 width=63 />" : "<a href='" + webSite + "products/product-" + DataBinder.Eval(Container.DataItem, "ProductID") + "." + config.html + "' target=_blank ><img src='" + webSite + "Images/qg_btn.gif' height=18 width=63 /></a>"%></div>
                    </li>
                    <script type="text/javascript">t=new calculagraph();t._id='time<%#Container.ItemIndex %>';t._cT='<%=DateTime.Now%>';t._eT='<%#DataBinder.Eval(Container.DataItem,"EndTime")%>';t._interval();</script>
                </ItemTemplate>
            </asp:Repeater>
        </ul>
    </div>
</div>
