
PK 
<%rs1.open "SELECT * FROM Q_Articulos WHERE art_novedad = true AND art_publicado = true ORDER BY idarticulo",conn,3,1
if not rs1.eof then%>
<!-- Popular Posts widget -->
<div class="widget widget-popular-posts">
<h2 class="classic-title"><span>Novedades</span></h2>
<ul>
<%randomize()
dim novx
novx = cint(rs1.recordcount * rnd())
if novx = 0 then novx = 1
rs1.absoluteposition = novx%>
<%for a = 1 to 3%>
<li>
<div class="widget-thumb">
<a href="articulo.asp?idarticulo=<%=rs1("idarticulo")%>&art_nombre=<%=rs1("art_nombre")%>">
<%if rs1("art_foto") <> "" then%>
<img alt="Ver articulo" src="/database/articulos/thumbs/<%=rs1("idarticulo")%>/<%=rs1("art_foto")%>" />
<%else%>
<img alt="Ver articulo" src="images/nofoto_t1.jpg" />
<%end if%></a>
</div>
<div class="widget-content">
<h5><a href="articulo.asp?idarticulo=<%=rs1("idarticulo")%>&art_nombre=<%=rs1("art_nombre")%>"><%=rs1("art_nombre")%></a></h5>
<span><a href="articulos.asp?idcategoria=<%=rs1("idcategoria")%>&art_nombre=<%=rs1("art_nombre")%>"><%=rs1("cat_nombre")%></a></span>
</div>
<div class="clearfix"></div>
</li>
<%rs1.movenext
if rs1.EOF then exit for
next%>
</ul>
</div>
<%end if
rs1.close%>


PK 99