<!--#include file="htmlhead.html"-->
<!--#include file="header.html"-->

<style type="text/css">
#mssaleslist{border-bottom:2px #ff7b2f solid;}
#mssaleslist ul{margin:0; padding:0;}
#mssaleslist li{display:inline;float:left;margin-right:20px;padding:5px 10px;background:#999;border-left:2px #ddd solid;border-top:2px #eee solid;border-right:2px #eee solid;}
#mssaleslist li.cur{background:#f00;border-left:2px #ff7b2f solid;border-top:2px #eee solid;border-right:2px #eee solid;}
#mssaleslist li a{font:700 1.5em sans-serif,simsun;color:white;}
</style>

<div class="wbox">
	<img src="<%=SYS_HTTP_WEBURL%>images/miaosha_banner.jpg" alt="" />
</div>

<div class="wbox">
	<br/>
	<div id="mssaleslist">
		<ul class="fn-clear">
		<%=mssalesliststr%>
		</ul>
	</div>
</div>

<% for i=1 to 10 %>
	<% if not rs.eof then %>
		<% discounti=fix(cdbl(rs("msaucdiscount"))) %>
		<div class="wbox">
			<br/>
			<div style="height:39px;line-height:39px; font:500 23px simhei,simsun; text-align:left; border-bottom:3px #eee solid;"><%=discounti%>折专区</div>
			<br/>
			<% do while not rs.eof %>
			<% discounti=fix(cdbl(rs("msaucdiscount"))) %>
			<div style="float:left;margin-bottom:20px;width:190px;text-align:center;">
				<table width="168" height="168" style="margin:auto;border:1px #ccc solid;"><tr><td align="center" valign="middle">
					<a href="<%=SYS_HTTP_WEBURL%>item.asp?aucid=<%=rs("aucid")%>" target="_blank"><img src="<%=SYS_HTTP_WEBURL%><%=replace(rs("aucimageurl"),"_80x80.","_160x160.")%>" alt="" /></a>
				</td></tr></table>
				<div style="margin:auto;width:160px;background:#fff;">
					<div style="height:42px;line-height:21px; color:#666;"><a href="<%=SYS_HTTP_WEBURL%>item.asp?aucid=<%=rs("aucid")%>" target="_blank"><%=str_left(rs("aucitemtitle"),39,"")%></a></div>
					<div style="height:21px;line-height:21px; color:#666;"><%=formatNumber(rs("msaucdiscount"),1,-1,0,0)%>折秒杀价 <span style="font:700 1.2em verdana,simsun;color:#cc0000;">￥<%=formatNumber(rs("msaucdiscountprice"),2,-1,0,0)%></span></div>
					<div style="height:39px;line-height:39px; "><a href="<%=SYS_HTTP_WEBURL%>item.asp?aucid=<%=rs("aucid")%>" target="_blank"><span style="display:inline-block;margin:9px 2px;width:80px;height:21px;line-height:21px;color:white;background:#cc3333;">立即秒杀</span></a></div>
				</div>
			</div>
			<% rs.movenext %>
			<% if not rs.eof then %>
				<% if fix(cdbl(rs("msaucdiscount")))>discounti then exit do %>
			<% end if %>
			<% loop %>
		</div>
	<% end if %>
<% next %>

<br/>
<!--#include file="footer.html"-->
