www.gusucode.com > cso中国seo优化html整站源码程序 > index/lv3.asp

    
	<div class="box" id="lv3">
		<div class="mainbar">
			<div class="title">
				<h2>减肥产品</h2>
				<a href="/article/chanpin/" title="减肥产品"><img src="/images/more.png" alt="更多减肥产品" /></a>
			</div>
			<div id="product">
				<%
				sql = "select top 10 * from so_article where classid = 7 order by orderid desc,id desc"
				rs.open sql,conn,1,1
				if not rs.eof then
				do while not rs.eof
				pro_title = rs("title")
				if xlen(pro_title) > 20 then pro_title = xleft(pro_title,16)
				%>
				<div class="pro_box">
					<div class="pro_img"><a href="<%=rs("url_html")%>" title="<%=rs("page_title")%>"><img src="<%=rs("pic_min")%>" alt="<%=rs("title")%>" /></a></div>
					<div class="pro_txt"><a href="<%=rs("url_html")%>" title="<%=rs("page_title")%>"><%=pro_title%></a></div>
				</div>
				<%
				rs.movenext
				loop
				end if
				rs.close
				%>
			</div>
			<div class="ggad">
				<script type="text/javascript"><!--
google_ad_client = "pub-0706359865789870";
/* 468x15, 创建于 08-10-13 */
google_ad_slot = "0928819971";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
			</div>
		</div>
		<div class="sidebar">
			<div class="title">
				<h2>减肥方法</h2>
				<a href="/article/fangfa/" title="更多减肥方法"><img src="/images/more.png" alt="更多减肥方法" /></a>
			</div>
			<div class="list_side">
				<ul>
					<%
					sql = "select top 12 * from so_article where classid = 8 order by orderid desc,id desc"
					rs.open sql,conn,1,1
					if not rs.eof then
					do while not rs.eof
					%>
					<li><%if rs("smallid") <> 0 then%>[<a href="<%=id2formstr(rs("smallid"),"so_class","url_html")%>"><em><%=id2formstr(rs("smallid"),"so_class","title")%></em></a>] <%end if%><a href="<%=rs("url_html")%>" title="<%=rs("page_title")%>"><%=rs("title")%></a></li>
					<%
					rs.movenext
					loop
					end if
					rs.close
					%>
				</ul>
			</div>
		</div>
	</div>