<%@ Control Language="c#" AutoEventWireup="true" Codebehind="BuyLimited.ascx.cs" Inherits="XpShop.WebUI.Modules.BuyLimited" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<div class="lframe">
    <div class="tl"></div>
    <div class="tr"></div>
    <div class="tm"><%=GetCategoryName( int.Parse(this.Request.QueryString["CatID"].ToString())%>限时抢购</div>
    <div class="ml"></div>
    <div class="mr"></div>
    <div class="mm">
        <div id="time1" class="rank_subcat">
			<script type="text/javascript">
				var t='t1';
				var tt='time1';
				t=new calculagraph();
				t._id=tt;
				t._cT='<%=DateTime.Now%>';
				t._eT='<%=GetBuyLimitedTime(1)%>'.split('^')[1];
				t._interval();
				var _xT= '<%=GetLimitedDay(1)%>';
            </script>
        </div><%--调出时间--%>
		<%GetBuyLimitTable( int.Parse(this.Request.QueryString["CatID"].ToString()), 2);%>
        <ul class="clear">
            <asp:Repeater Runat="server" ID="BuyLimit">
                <ItemTemplate>
                    <li>
                        <div style="position:relative; text-align:center;" >
                            <div class="xp-pdt-img">
                                <a href='<%=webSite %>products/product-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%>' target="_blank" >
                                    <img width="144" height="108" src="<%=webSite %>upload/ProductImg/<%# DataBinder.Eval(Container.DataItem,"ImgFolder")%><%#DataBinder.Eval(Container.DataItem,"ThumbnailImg")%>" alt='' />
                                </a>
                            </div>
                            <div style="position:absolute;left:0px !important;top:20px;left:-40px;"><img src="<%=webSite %><%=config.Path%>Images/qiang.gif"/></div>
                        </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-marketprice">
                            <%=GetCurrencySign()%><%#DataBinder.Eval(Container.DataItem,"MarketPrice","{0:f}")%><%--&nbsp;&nbsp;&nbsp;&nbsp;<span><%#int.Parse(DataBinder.Eval(Container.DataItem,"Quantity").ToString()) > 20 ? "" : ("仅剩<font color=red><b>" + DataBinder.Eval(Container.DataItem,"Quantity") + "</b></font>件")%></span>--%>
                        </div>
                        <div class="xp-memberprice">
                            <%=GetCurrencySign()%><%#DataBinder.Eval(Container.DataItem,"LimitPrice","{0:f}")%>
                        </div>
                    </li>
                </ItemTemplate>
            </asp:Repeater>
        </ul>
    </div>
    <div class="bl"></div>
    <div class="br"></div>
    <div class="bm"></div>
</div>

