|
|
<%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
%>
|
|
浪漫长裙
|
|
|
|
| 编 号:B0434 |
|
优惠价:¥180 订 购 |
|
|
|
|
|
|
| 编 号:B0433 |
|
优惠价:¥289 订 购 |
|
|
|
|
|
|
| 编 号:B0432 |
|
优惠价:¥178 订 购 |
|
|
|
|
|
|
| 编 号:B0431 |
|
优惠价:¥195 订 购 |
|
|
|
|
|
|
| 编 号:B0430 |
|
优惠价:¥190 订 购 |
|
|
|
|
|
|
| 编 号:B0429 |
|
优惠价:¥180 订 购 |
|
|
|
|
|
|
| 编 号:B0428 |
|
优惠价:¥188 订 购 |
|
|
|
|
|
|
| 编 号:B0427 |
|
优惠价:¥185 订 购 |
|
|
|
|
|
|
| 编 号:B0426 |
|
优惠价:¥176 订 购 |
|
|
|
|
|
|
| 编 号:B0425 |
|
优惠价:¥199 订 购 |
|
|
|
|
|
|
| 编 号:B0424 |
|
优惠价:¥188 订 购 |
|
|
|
|
|
|
| 编 号:B0423 |
|
优惠价:¥138 订 购 |
|
|
|
|
|
|
| 编 号:B0422 |
|
优惠价:¥129 订 购 |
|
|
|
|
|
|
| 编 号:B0058 |
|
优惠价:¥116 订 购 |
|
|
|
|
|