%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%> <% sortid=request("sortid") if sortid="" then rs.open "product",conn,1,1 else if not isnumeric(sortid) then rs.open "product",conn,1,1 else rs.open "select * from product where sortname=(select smallname_cn from sort_small where small_id="&cint(sortid)&")",conn,1,1 end if end if %>