www.gusucode.com > cso中国seo优化html整站源码程序 > index/links.asp
<div class="box" id="links"> <% sql = "select * from so_article where typestr = 'links' and reg = 1 order by reg_top = 1,orderid desc,id desc" rs.open sql,conn,1,1 if not rs.eof then do while not rs.eof if rs("pic_min") & "*" = "*" then %> <a href="<%=rs("url")%>" title="<%=rs("page_description")%>"><%=rs("title")%></a> <% else %> <a href="<%=rs("url")%>" title="<%=rs("page_description")%>"><img src="<%=rs("pic_min")%>" alt="<%=rs("title")%>" /></a> <% end if rs.movenext loop end if rs.close %> </div>