<% grp_id = request("grp_id") band_id = request("band_id") %>
<% 'Display band sql = "select band_name from bands where band_id = "& band_id &"" set rsB = conn.execute(sql) if not rsB.eof then b_name = rsB("band_name") end if set rsB = nothing %>
" width="433" height="30">
:: Product : <%=b_name%>
 
<% 'From menu sql = "select * from products where band_id = "& band_id &" ORDER BY prod_id DESC" set rs = conn.execute(sql) overall = rs.recordcount if not rs.eof then if request("no") ="" then pageno =1 else pageno=request("no") end if total = rs.recordcount pagesize= 20 totalpage = total\pagesize if (total mod pagesize) <> "0" then totalpage= totalpage+1 else totalpage = 0 end if rs.Move pagesize*(pageno-1) a=1 if trim(pageno) <> trim(totalpage) then endrecord = pagesize else endrecord=(total mod pagesize) end if For a=1 to endrecord %>
<%=imgsrcfull(rs("prod_picture"), rs("prod_picturex"), rs("prod_picturey"), 80, 5, 5, 1)%> <%=rs("prod_code")%>
<%=rs("prod_describe")%>

&grp_id=<%=grp_id%>&band_id=<%=band_id%>">view detail
<% rs.movenext next set rs = nothing end if %>
 Found : <%=overall%> item(s)
<%for ppp = 1 to totalpage%> <%=ppp%>  <%next%>