www.gusucode.com > cso中国seo优化html整站源码程序 > index/lv1.asp
<div class="box" id="lv1"> <div class="box_main"> <div id="focus"> <div id="focus_img"> <ul> <% sql = "select top 5 * from so_article where typestr = 'focus' order by reg_top = 1,orderid desc,id asc" rs.open sql,conn,1,1 if not rs.eof then for i = 1 to 5 %> <li id="focus_<%=i%>"<%if i = 1 then response.write " class=""curli"""%>><a href="<%=rs("url")%>" title="<%=rs("title")%>"><img src="<%=rs("pic_min")%>" alt="<%=rs("title")%>" /></a></li> <% rs.movenext if rs.eof then exit for next end if rs.close %> </ul> </div> <div id="focus_btn"> <ul> <%for i = 1 to 5%> <li id="f_<%=i%>"<%if i = 1 then response.write " class=""curli"""%>><a href="javascript:focus_play(<%=i%>);"><%=i%></a></li> <%next%> </ul> </div> </div> <div id="hot"> <% sql = "select top 3 * from so_article where typestr = 'fei886' and reg_top = 1 order by id desc" rs.open sql,conn,1,1 if not rs.eof then for i = 1 to 3 page_description = rs("page_description") if xlen(page_description) > 126 then page_description = xleft(page_description,124) %> <div id="hot_<%=i%>"> <h2><a href="<%=rs("url_html")%>" title="<%=rs("page_title")%>"><%=rs("title")%></a></h2> <p><%=page_description%></p> </div> <% rs.movenext if rs.eof then exit for next end if rs.close %> </div> </div> <div class="box_side"> <div class="ggad"> <a href="http://www.cso123.com/yx" title="cso游戏 主页"><img src="/bbs/gg/ggz9.gif"> </div> </div> </div>