![]() |
||||||||||||||||||||||||
|
|
<% ' #### INKLUDERAR PRODUKTHÄMTNING IFRÅN DATABAS #### %> <% response.expires = -1000 response.expiresabsolute = #1980-01-01 12:00# response.addheader "cache-control", "private" response.addheader "pragma", "no-cache" session.lcid = 1053 %> <% ID = request.querystring("ID") CatID = request.querystring("CatID") if CatID <> "" then set rs = conn.execute("SELECT mnu_name FROM mega_menu WHERE ID = " & CatID) if not rs.eof then Title = rs("mnu_name") rs.close set rs = nothing end if %> <% showScript = false if CatID = 11 and ID = 20 then showScript = true if showScript then %> <% end if %>
<%if Eng = "" and Ger = "" and Jap = "" then response.write " " else%>
Requires Adobe Acrobat Reader
<%end if
else
'visa alla produkter
SQL = "SELECT ID, Subcat FROM SubCat WHERE Cat = " & CatID
set rsSubc = conn.execute(SQL)
if not rsSubc.eof then
do while not rsSubc.eof
SQL = "SELECT ID, Name, PicS FROM Product WHERE SubCatID = " & rsSubc("ID") & " ORDER BY ID ASC"
set rs = conn.execute(SQL)
i=0
response.write(" | " & trim(rsSubc("SubCat")) & ": | ||||||||||||||||||||||
| " & PicS & Name & " | ") if i >= 2 then response.write("||||||||||||||||||||||||
| " & PicS & Name & " | ") if i >= 2 then response.write("||||||||||||||||||||||||
![]()
