<%
do while not rs1448.eof
capa = "Sim"
usadoselec = RS1448("cd_USADO_BORTOLOTTO")
Sqltext2252 = "SELECT * FROM TB_FOTOS_BORTOLOTTO WHERE cd_USADO_BORTOLOTTO = "&usadoselec&" AND CAPA_USADO_BORTOLOTTO = '"&capa&"' "
Set rs2252 = conn.Execute(sqlText2252)
Sqltext2253 = "SELECT * FROM TB_MARCAS_BORTOLOTTO WHERE CD_MARCA_BORTOLOTTO = "&rs1448("cd_marca_bortolotto")&" "
Set rs2253 = conn.Execute(sqlText2253)
if j<3 then
%>
<% if rs1448("ST_USADO_BORTOLOTTO") = 0 then %>
<% end if%>
|
<%=rs1448("NM_USADO_BORTOLOTTO")%> |
Marca: <%=rs2253("nm_marca_bortolotto")%> |
Ano/Mod: <%=rs1448("anofab_usado_bortolotto")%>/<%=rs1448("anomod_usado_bortolotto")%> |
<% if rs1448("consult_usado_bortolotto") = 1 then %>
Consulte-nos
<%else%>
Valor: R$ <%=formatnumber(rs1448("valor_usado_bortolotto"),2)%>
<% end if%> |
&click=1"> |
|
|
|
|
<%
else
%>
<% if rs1448("ST_USADO_BORTOLOTTO") = 0 then %>
<% end if%>
|
<%=rs1448("NM_USADO_BORTOLOTTO")%> |
Marca: <%=rs2253("nm_marca_bortolotto")%> |
Ano/Mod: <%=rs1448("anofab_usado_bortolotto")%>/<%=rs1448("anomod_usado_bortolotto")%> |
<% if rs1448("consult_usado_bortolotto") = 1 then %>
Consulte-nos
<%else%>
Valor: R$ <%=formatnumber(rs1448("valor_usado_bortolotto"),2)%>
<% end if%> |
&click=1"> |
|
|
|
|
<%
j=0
end if
j=j+1
i=i+1
rs1448.movenext
loop%>