|
|
<%set rs=server.createobject("adodb.recordset")
btype_id=trim(request("btype_id"))
if btype_id=empty then
response.redirect "index.asp"
end if
page=request.querystring("page")
if page="" then page=1
if not(isnumeric(page)) then page=1
if page<1 then page=1
page=int(page)
if stype_id<>0 then
sql="select * from shop_product where stype_id="+cstr(stype_id)+" and btype_id="+cstr(btype_id)+" and kucun>0 order by productid desc"
elseif btype_id<>0 then
sql="select * from shop_product where btype_id="+cstr(btype_id)+" and kucun>0 order by productid desc"
else
sql="select * from shop_product and kucun>0 order by productid desc"
end if
if order="time" then
sql="select * from shop_product where btype_id="+cstr(btype_id)+" and kucun>0 order by productid desc"
elseif order="price1" then
sql="select * from shop_product where btype_id="+cstr(btype_id)+" and kucun>0 order by huiyuanjia desc , productid desc"
elseif order="price2" then
sql="select * from shop_product where btype_id="+cstr(btype_id)+" and kucun>0 order by huiyuanjia asc , productid desc"
end if
rs.open sql,conn,3,3
if rs.eof then
response.write "| 产品数据正在收集当中...... | "
else
rs.pagesize=20
totalrec=rs.recordcount
totalpage=rs.pagecount
if page>totalpage then page=totalpage
rs.absolutepage=page
rs.cachesize=rs.pagesize
%>
|
|
极品香水
|
|
|
|
| 编 号:B0863 |
|
优惠价:¥218 订 购 |
|
|
|
|
|
|
| 编 号:B0862 |
|
优惠价:¥218 订 购 |
|
|
|
|
|
|
| 编 号:B0857 |
|
优惠价:¥280 订 购 |
|
|
|
|
|
|
| 编 号:B0856 |
|
优惠价:¥280 订 购 |
|
|
|
|
|
|
| 编 号:B0847 |
|
优惠价:¥228 订 购 |
|
|
|
|
|
|
| 编 号:B0846 |
|
优惠价:¥88 订 购 |
|
|
|
|
|
|
| 编 号:B0845 |
|
优惠价:¥275 订 购 |
|
|
|
|
|
|
| 编 号:B0216 |
|
优惠价:¥225 订 购 |
|
|
|
|
|
|
| 编 号:B0094 |
|
优惠价:¥206 订 购 |
|
|
|
|
|
|
| 编 号:B0093 |
|
优惠价:¥259 订 购 |
|
|
|
|
|
|
| 编 号:B0027 |
|
优惠价:¥180 订 购 |
|
|
|
|
|