<%codArticulo=Request.QueryString("cod") dim cn5,rs5,sSQL5 set cn5=Server.CreateObject("ADODB.Connection") 'cn5.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & dbPath cn5.Open "DSN=tabisam" sSQL5="select * from articulos where codarticulo="&codarticulo& "" set rs5=cn5.Execute(sSQL5) if not rs5.eof then sec=rs5.fields("codSeccion") subsec=rs5.fields("codSubSecc") referencia=rs5.fields("referencia") nombre=rs5.fields("nombre") descripcion=rs5.fields("descripcion") fotog=rs5.fields("fotog") altog=rs5.fields("altog") anchog=rs5.fields("anchog") foto3=rs5.fields("foto3") fotoamb=rs5.fields("fotoamb") detalles=rs5.fields("detalles") accesorios=rs5.fields("accesorios") modelos=rs5.fields("modelos") infortecnica=rs5.fields("infortecnica") info3d=rs5.fields("info3d") video=rs5.fields("video") marca=rs5.fields("marca") caracteristicas=rs5.fields("caracteristicas") if caracteristicas<>"" then caract=replace(caracteristicas, vbcrlf, "
" & bcrlf) end if dim cn6,rs6,sSQL6 set cn6=Server.CreateObject("ADODB.Connection") 'cn6.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & dbPath cn6.Open "DSN=tabisam" sSQL6="select * from partners where codPartner="&marca& "" set rs6=cn6.Execute(sSQL6) if not rs6.eof then nombremarc=Ucase(rs6.fields("nombre")) end if end if%>
<%dim cn,rs,sSQL set cn=Server.CreateObject("ADODB.Connection") 'cn.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & dbPath cn.Open "DSN=tabisam" sSQL="select * from categorias where codcategoria="&sec&"" set rs=cn.Execute(sSQL) if not rs.eof then nombreSecIni=rs.fields("categoria") foto=rs.fields("foto") end if dim cn1,rs1,sSQL1 set cn1=Server.CreateObject("ADODB.Connection") 'cn1.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & dbPath cn1.Open "DSN=tabisam" sSQL1="select * from subcategorias where codsubcategoria="&subsec&"" set rs1=cn1.Execute(sSQL1) if not rs1.eof then nombreSubIni=rs1.fields("subcategoria") end if set cn2=Server.CreateObject("ADODB.Connection") 'cn2.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & dbPath cn2.Open "DSN=tabisam" sSQL2="select * from catesubcate c, subcategorias s where c.codsubcategoria=s.codsubcategoria and codcategoria="&sec&" order by s.subcategoria" set rs2=cn2.Execute(sSQL2) set cn3=Server.CreateObject("ADODB.Connection") 'cn3.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & dbPath cn3.Open "DSN=tabisam" sSQL3="select * from categorias where codcategoria<>"&sec&" order by categoria asc" set rs3=cn3.Execute(sSQL3) %>
 
<%=nombresecini%>
<%while not rs2.eof subseccion=rs2.fields("codsubcategoria") nombreSubsec=rs2.fields("subcategoria") %> <%rs2.movenext wend%>
» <%=nombresubsec%>
<%while not rs3.eof nombreseccion=rs3.fields("categoria") seccion=rs3.fields("codcategoria")%>
<%=nombreseccion%>
<%rs3.movenext wend%>
<%set cn22=Server.CreateObject("ADODB.Connection") 'cn22.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & dbPath cn22.Open "DSN=tabisam" sSQL22="select * from banners" set rs22=cn22.Execute(sSQL22) if not rs22.eof then call buscar(aleatorio()) nombreban=rs22.fields("nombre") extension=right(nombreban,3) enlace=rs22.fields("enlace") end if %>
<%if extension="swf" then%> <%else%> <%end if%>
  Español English Deutsch
<%dim cn7,rs7,sSQL7 set cn7=Server.CreateObject("ADODB.Connection") 'cn7.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & dbPath cn7.Open "DSN=tabisam" sSQL7="select count(*)as suma from articulos" set rs7=cn7.Execute(sSQL7) %>
« Busque el producto que le interesa en nuestra tienda <%=rs7.fields("suma")%> artículos

<%end if%>
<%=nombreSecIni%>
<%=nombreSubIni%>

<%if sec=1 then set cn3=Server.CreateObject("ADODB.Connection") 'cn3.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & dbPath cn3.Open "DSN=tabisam" sSQL3="select * from ambientes where codarticulo="&codArticulo&" and pavimento='0'" set rs3=cn3.Execute(sSQL3) contprod=0 while not rs3.eof contprod=contprod+1 rs3.movenext wend divi=contprod\3 resto=contprod mod 3 if resto>0 then numtablas=divi+1 else numtablas=divi end if set rs3=cn3.Execute(sSQL3) %>
» AMBIENTES: Pulse sobre la imágen para ampliarla.

<%while numtablas>0%> <%cont1=0 while not rs3.eof and cont1<3 fotop=rs3.fields("fotop") altop=rs3.fields("altop") anchop=rs3.fields("anchop") fotog=rs3.fields("fotog") altog=rs3.fields("altog") anchog=rs3.fields("anchog")%> <%cont1=cont1+1 if not rs3.eof then rs3.movenext end if wend%>

<%numTablas=numtablas-1 wend set cn4=Server.CreateObject("ADODB.Connection") 'cn4.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & dbPath cn4.Open "DSN=tabisam" sSQL4="select * from puertas where codarticulo="&codArticulo&" and tipo='P'" set rs4=cn4.Execute(sSQL4) contprod=0 while not rs4.eof contprod=contprod+1 rs4.movenext wend if contprod>0 then%>
» PUERTAS (Acabados de Serie)
<% end if divi=contprod\5 resto=contprod mod 5 if resto>0 then numtablas=divi+1 else numtablas=divi end if set rs4=cn4.Execute(sSQL4) %>
<%while numtablas>0%> <%cont1=0 while not rs4.eof and cont1<5 foto=rs4.fields("foto") alto=rs4.fields("alto") ancho=rs4.fields("ancho") texto=rs4.fields("texto") %> <%cont1=cont1+1 if not rs4.eof then rs4.movenext end if wend%>

<%=texto%>

<%numTablas=numtablas-1 wend sSQL4="select * from puertas where codarticulo="&codArticulo&" and tipo='A'" set rs4=cn4.Execute(sSQL4) contprod=0 while not rs4.eof contprod=contprod+1 rs4.movenext wend if contprod>0 then%>
» ARMAZONES en nobilitado esp. 18 mm. con canto en ABS
<% end if divi=contprod\5 resto=contprod mod 5 if resto>0 then numtablas=divi+1 else numtablas=divi end if set rs4=cn4.Execute(sSQL4) %>
<%while numtablas>0%> <%cont1=0 while not rs4.eof and cont1<5 foto=rs4.fields("foto") alto=rs4.fields("alto") ancho=rs4.fields("ancho") texto=rs4.fields("texto") %> <%cont1=cont1+1 if not rs4.eof then rs4.movenext end if wend%>

<%=texto%>

<%numTablas=numtablas-1 wend sSQL4="select * from puertas where codarticulo="&codArticulo&" and tipo='T'" set rs4=cn4.Execute(sSQL4) contprod=0 while not rs4.eof contprod=contprod+1 rs4.movenext wend if contprod>0 then%>
» TIRADORES
<% end if divi=contprod\3 resto=contprod mod 3 if resto>0 then numtablas=divi+1 else numtablas=divi end if set rs4=cn4.Execute(sSQL4) %>
<%while numtablas>0%> <%cont1=0 while not rs4.eof and cont1<3 foto=rs4.fields("foto") alto=rs4.fields("alto") ancho=rs4.fields("ancho") texto=rs4.fields("texto") %> <%cont1=cont1+1 if not rs4.eof then rs4.movenext end if wend%> <%numTablas=numtablas-1 wend%>

<%=texto%>

» DETALLES
<% sSQL4="select * from puertas where codarticulo="&codArticulo&" and tipo='D'" set rs4=cn4.Execute(sSQL4) contprod=0 while not rs4.eof contprod=contprod+1 rs4.movenext wend divi=contprod\3 resto=contprod mod 3 if resto>0 then numtablas=divi+1 else numtablas=divi end if set rs4=cn4.Execute(sSQL4) %>
<%while numtablas>0%> <%cont1=0 while not rs4.eof and cont1<3 foto=rs4.fields("foto") alto=rs4.fields("alto") ancho=rs4.fields("ancho") texto=rs4.fields("texto") %> <%cont1=cont1+1 if not rs4.eof then rs4.movenext end if wend%> <%numTablas=numtablas-1 wend%>
     
<%end if%> <%if sec<>1 then%>
<%if sec=3 or sec=2 or (sec=13 and subsec=86)or sec=21 or sec=6 or sec=14 or sec=26 then%>

<%end if%> <%if sec=11 or sec=12 or sec=15 or (sec=13 and subsec<>86) or sec=18 or sec=19 then if detalles<>"" then%> <%end if if infortecnica<>"" then%> <%end if if modelos<>"" then%> <%end if if accesorios<>"" then%> <%end if end if if sec=6 then if info3d<>"" then%> <%end if if video<>"" then%> <%end if end if%>
REF:: <%=referencia%> <%Response.Write " "&nombremarc%>
<%=nombre%>
<%=descripcion%>
<%if (sec=2) and (foto3<>"" and isnull(fotoamb)) then%> <%else if foto3<>"" then%> <%end if end if%>

<%if caract<>"" then%> CARACTERISTICAS <%end if%>
<%=caract%>




 
<%dim cn2,rs2,sSQL2 set cn2=Server.CreateObject("ADODB.Connection") 'cn2.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & dbPath cn2.Open "DSN=tabisam" sSQL2="select distinct marca, p.nombre from articulos a,partners p where a.marca=p.codpartner and a.codseccion="&sec&" and a.codsubsecc="&subsec&" order by p.nombre" set rs2=cn2.Execute(sSQL2)%>
Ref::
Palabra ::
Marca ::
<%if sec=11 or sec=12 or (sec=13 and subsec<>86) or sec=2 or sec=19 then if fotoamb<>"" then%>
AMBIENTE
[ AMPLIAR IMAGEN ]
<%end if end if%>
<%if (sec=18 and subsec=113) or (sec=18 and subsec=114) or (sec=18 and subsec=116) or (sec=18 and subsec=115) or (sec=18 and subsec=135) then%>
<%end if%>
 
Toda una flota de camiones dispuesta a entregar su pedido a la mayor brevedad...

PARTNERS TABISAM

<%'ponemos los partners de esta sección. set cn21=Server.CreateObject("ADODB.Connection") ' cn21.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & dbPath cn21.Open "DSN=tabisam" set cn22=Server.CreateObject("ADODB.Connection") 'cn22.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & dbPath cn22.Open "DSN=tabisam" sSQL21="select * from partnercate where codcategoria="&sec&"" set rs21=cn21.Execute(sSQL21) contpart=0 while not rs21.eof contpart=contpart+1 rs21.movenext wend divi1=contpart\2 resto1=contpart mod 2 if resto1>0 then numtablas1=divi1+1 else numtablas1=divi1 end if set rs21=cn21.Execute(sSQL21) numT1=numtablas1 %> <%while numtablas1>0%> <%cont1=0 while not rs21.eof and cont1<2 codPartner=rs21.fields("codPartner") sSQL22="select * from partners where codpartner="&codpartner&"" set rs22=cn22.Execute(sSQL22) if not rs22.eof then fotopart=rs22.fields("foto") altopart=rs22.fields("alto") anchopart=rs22.fields("ancho") end if%> <%cont1=cont1+1 if not rs21.eof then rs21.movenext end if wend%> <%numTablas1=numtablas1-1 wend%>


Sobre La Empresa Registro/Usuarios Bolsa de Trabajo Atención al Cliente Información Home
Todos los derechos Reservados © 2004
OFICINA CENTRAL: C/ Patricio Pérez, s/n · Tf. 96 670 11 76 · Fax. 96 571 71 73
EXPOCERAMICA 2000: Avda. Cortes Valencianas, 1 · Tf. 96 571 52 12 · Fax. 96 570 52 16
| 03180 TORREVIEJA (Alicante) · España | Aviso Legal | Administrador Web |