<!--#include file="conn.asp"--><%order=request("order")
if request("stype")="tjindex" then
serd=" and tjindex=1"
sn="Recommended"
filename="tuijian"
seo_title="Recommended-"&sitename
elseif request("stype")="tejia" then
sere=" and tejia=1"
sn="Special Offer"
seo_title="Special Offer-"&sitename
filename="tejia"
elseif request("stype")="tjsort" then
serf=" and tjsort=1"
sn="What's Hot"
seo_title="What's Hot-"&sitename
elseif request("stype")="hot" then
order="hot"
sn="Hot Selling Goods"
seo_title="Hot Selling Goods-"&sitename
hotc=" top 100 "
filename="hot"
else
sn="New Arrivals"
seo_title="New Arrivals-"&sitename
hotc=" top 100 "
filename="new"
end if
showp="../hot.asp?stype="&request("stype")
%>
<!--#include file="WrzcNethtml_top.asp"-->
<div align="center">
<table cellpadding="0" cellspacing="0" class="all_t1">
<tr><td class="all_l_td" valign="top">
<script language="JavaScript1.1" src="../WrzcNethtml_logs.asp"></script><div class="d5"></div><!--#include file="WrzcNethtml_sort.asp"--><div class="d5"></div>
</td>
<td valign="top" class="all_c_td">
<table width="99%" border="0" cellpadding="0" cellspacing="0">
<%
page=request("page")
page=getpage(page)
orderx=getorder(order)
lookt="shu"
set rs=server.createobject("adodb.recordset")
sql="select "&hotc&" hw_id,hw_name,hw_price1,hw_price2,hw_pic,hw_content from WrzcNethtml_hw where hw_kucun>0 " &serd&sere&serf&"  order by "&orderx&""
rs.open sql,conn,1,1
if rs.eof then%>
<tr><td class="sort">&nbsp;<IMG src="../Skin/<%=WrzcNethtml_skin%>/home.gif" border=0 align="absmiddle"> <a href="../index.html">Home</a> >>&nbsp;<%=sn%>
</td></tr><tr><td align="center" height="30">No Data</td></tr>
<%else
rs.pagesize=50
totalrec=rs.recordcount
totalpage=rs.pagecount
if page>totalpage then page=totalpage
rs.absolutepage=page
rs.cachesize=rs.pagesize%>
<tr><td class="sort">&nbsp;<IMG src="../Skin/<%=WrzcNethtml_skin%>/home.gif" border=0 align="absmiddle">  
	<a href="../index.html">Home</a> >>&nbsp;<%=sn%>&nbsp;(Total:<%=totalrec%>,The page show:<%=(page-1)*rs.pagesize+1%>-<%if page+1<=totalpage then%><%=page*rs.pagesize%><%else%><%=totalrec%><%end if%>)
</td></tr>
<tr><td height=5></td></tr>
<tr><td width="100%" align="center" style="border: 1px solid #E1E1E1">
<!--#include file="WrzcNethtml_ins.asp"-->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td id="page"> 
<%
if page<=pagecc then
spage=1
else
spage=page-pagecc
end if
if page>=totalpage-pagecc then
lpage=totalpage
else
lpage=page+pagecc
end if
%>
Page:<%=page%>/Total:<%=totalpage%>&nbsp;&nbsp;
<a href="<%=filename%>-1.html" class="page_h"></a>
<%if page-1>0 then%><a href="<%=filename%>-<%=page-1%>.html" class="page_p"></a><%else%><span class="page_p0"></span><%end if%>
<%for i=spage to lpage
if i=page then%><span class="page_a0"><%=i%></span>
<%else%><a href="<%=filename%>-<%=i%>.html" class="page_a"><%=i%></a><%end if
next%>
<%if page+1<=totalpage then%> <a href="<%=filename%>-<%=page+1%>.html" class="page_n"></a><%else%><span class="page_n0"></span><%end if%>
<a href="<%=filename%>-<%=totalpage%>.html" class="page_l"></a>
</td></tr></table>

</td></tr>
<%end if
rs.close
set rs=nothing%></table>
</td></tr></table></div>
<!--#include file="WrzcNethtml_copy.asp"-->