<%@ 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" style=" padding:0px 5px 6px;">
        <%--<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 class="clear">
                        <div id="time<%#Container.ItemIndex %>" class="rank_subcat" style=" padding:6px 0px;"></div>
                        <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="160" height="160" src="<%=webSite %>upload/ProductImg/<%# DataBinder.Eval(Container.DataItem,"ImgFolder")%><%#DataBinder.Eval(Container.DataItem,"ThumbnailImg")%>" alt='' />
                                </a>
                            </div>
                            <div style="position:absolute;right:10px;top:20px;"><img src="<%=webSite %><%=config.Path%>Images/qiang.gif"/></div>
                        </div>
                        <div style="text-align:center; line-height:20px; height:40px; overflow:hidden; margin-top:6px;">
                            <a href='<%=webSite %>products/product-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%>' target="_blank" ><%#DataBinder.Eval(Container.DataItem,"ProductName")%></a>
                        </div>
                        
                        <div style="color:#989898; text-align:center;">
                            抢购价：<span style="color:#ff6600; font-weight:bold;"><%=GetCurrencySign()%><%#DataBinder.Eval(Container.DataItem, "PmtPrice", "{0:f}")%></span>(<%#string.Format("{0:f1}", (decimal)DataBinder.Eval(Container.DataItem, "PmtPrice") * 10 / (decimal)DataBinder.Eval(Container.DataItem, "MemberPrice"))%>折)
                        </div>
                    </li>
                    <script type="text/javascript">var t='t<%#Container.ItemIndex %>';var tt='time<%#Container.ItemIndex %>';t=new calculagraph();t._id=tt;t._cT='<%=DateTime.Now%>';t._eT='<%#DataBinder.Eval(Container.DataItem,"EndTime")%>';t._interval();var _xT= '<%#DataBinder.Eval(Container.DataItem,"leavingday")%>';</script>
                </ItemTemplate>
            </asp:Repeater>
        </ul>
    </div>
    <div class="bl"></div>
    <div class="br"></div>
    <div class="bm"></div>
</div>

