|
|
<%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
%>
|
|
阴部倒模
|
|
|
|
| 编 号:B0968 |
|
优惠价:¥133 订 购 |
|
|
|
|
|
|
| 编 号:B0962 |
|
优惠价:¥278 订 购 |
|
|
|
|
|
|
| 编 号:B0788 |
|
优惠价:¥499 订 购 |
|
|
|
|
|
|
| 编 号:B0436 |
|
优惠价:¥1280 订 购 |
|
|
|
|
|
|
| 编 号:B0344 |
|
优惠价:¥288 订 购 |
|
|
|
|
|
|
| 编 号:B0339 |
|
优惠价:¥286 订 购 |
|
|
|
|
|
|
| 编 号:B0287 |
|
优惠价:¥499 订 购 |
|
|
|
|
|
|
| 编 号:B0277 |
|
优惠价:¥368 订 购 |
|
|
|
|
|
|
| 编 号:B0025 |
|
优惠价:¥298 订 购 |
|
|
|
|
|