%
sql = "SELECT nome FROM linee WHERE id=" & request("linea")
set rs=conn.execute(CleanSQL(sql))
linea=rs("nome")
sql = "SELECT * FROM categorie WHERE linea=" & request("linea")
if request("categoria")<>"" then sql=sql+" AND id=" + request("categoria")
sql=sql + " ORDER BY ordine"
set rs=conn.execute(CleanSQL(sql))
id_categoria=rs("id")
categoria=rs("nome")
d_categoria=rs("descrizione")
foto=rs("foto")
pdf=rs("pdf")
%>
CATALOGO
Linea: <%=linea%>
<%=categoria%>
<%=d_categoria%>
<%if pdf<>"" then%>
Scarica la scheda tecnica della serie in formato
PDF
<%end if%>
<%if foto<>"" then%>
<%end if%>
MODELLI
<%
sql = "SELECT * FROM categorie WHERE linea=" & request("linea") & " ORDER BY ordine"
set rs=conn.execute(CleanSQL(sql))
do while Not rs.eof
%>