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

    
	<div class="box" id="header">
		<h1>cso小游戏休闲健康!</h1>
		<div id="banner">
		<a href="http://www.cso123.com/yx" target="_blank"><img src="/bbs/gg/ggz.gif">
		</div>
	</div>
	<div class="box" id="menu">
		<a href="<%=config_url%>" title="cso中国首页">cso中国首页</a>
		<%
		bigid = ""
		sql = "select * from so_class where typestr = 'fei886' and reg = 1 order by orderid desc,id asc"
		rs.open sql,conn,1,1
		if not rs.eof then
		do while not rs.eof
			bigid = bigid & rs("id") & ","
		rs.movenext
		loop
		end if
		rs.close
		
		bstr = split(bigid,",")
		for i = 0 to ubound(bstr) - 1
			btitle = id2formstr(bstr(i),"so_class","title")
			burl = id2formstr(bstr(i),"so_class","url_html")
		%>
		|
		<a href="<%=burl%>" title="<%=btitle%>"><%=btitle%></a>
			<%
			sql = "select * from so_class where classid = "&bstr(i)&" and reg = 1 order by orderid desc,id asc"
			rs.open sql,conn,1,1
			if not rs.eof then
			do while not rs.eof
			%>
			<span><a href="<%=rs("url_html")%>" title="<%=rs("title")%>"><%=rs("title")%></a></span>
		<%
			rs.movenext
			loop
			end if
			rs.close
		next
		%>
	</div>