<% nivell = request.QueryString("nvl") if request.QueryString("b")<>"" then cadena=trim(request.QueryString("b")) cadena2=encriptar(cadena,"D") variables = split(trim(cadena2),"x") hab = sizero(trim(variables(0)),"") pob = sizero(trim(variables(1)),"") tall = sizero(trim(variables(2)),"") preumin = sizero(trim(variables(3)),"") preumax = sizero(trim(variables(4)),"") xpreu = sizero(trim(variables(5)),"") ubi = sizero(trim(variables(6)),"") else variables = split(trim(request.QueryString("session")),"-") ubi = trim(variables(0)) article = trim(variables(1)) ofertes = trim(variables(2)) end if if (nivell="") then nivell = 0 else nivell = cint(nivell) end if if article<>"" then SQL_T = "SELECT REFWEB " SQL_T = SQL_T & "FROM Vimmoble " SQL_T = SQL_T & "WHERE (CODIFINCA='" & article & "')" 'response.Write(sql) set rs_articlet = session("dbtor3").execute(SQL_T) titol = trim(rs_articlet("REFWEB")) & " - " & Titol_vendes else titol = Titol_vendes end if %> <%=titol%> <% if nivell=999 then %> <% else %> <% end if %> <% if nivell=0 then %> <% elseif nivell=999 then %> <% else %> <% end if %> <% if ofertes = "1" then %> <% else %> <% if nivell=999 then %> <% else %> <% end if %> <% end if%> <% if nivell=0 then %> <% elseif nivell=999 then %> <% else %> <% end if %>