www.gusucode.com > cso中国seo优化html整站源码程序 > article/new/index.asp
<!--#include file="../../index/head1.asp"--> <% page = int(request.querystring("page")) if page = 0 then page = 1 if page = "" then page = 1 config_title = "Apache php mysql GNU/Linux Apple iPhone iPod Windows 7 Windows Server 2003 Windows Server 2008" config_keyword = "Apache php mysql GNU/Linux Apple iPhone iPod Windows Server 2003 Windows Server 2008 Windows XP Windows 安全 Zonealarm" config_descrip = "Apache php mysql GNU/Linux Apple iPhone iPod Debian 系统工具 网络软件 Microsoft 微软 Microsoft SQL Server Microsoft Visual Studio Open Source 开源 OpenBSD Opera Oracle 甲骨文 Outpost Firewall 硬件 安全卫士 RedHat Fedora R Rising 瑞星 Symantec 赛门铁克 Tencent 腾讯 QQ Tencent Messenger Vista Windows 7 Windows Server 2003 Windows Server 2008 Windows XP Windows 安全 Zonealarm 杀毒软件 VMware " %> <!--#include file="../../index/head2.asp"--> <div id="wrap"> <!--#include file="../../index/header.asp"--> <div class="box" id="sub"> <div class="box_main"> <div class="sub_ggad"> <img src="/bbs/gg/ggz2.gif"> </div> <div class="nav"> 当前位置:<a href="http://www.cso123.com/">cso中国首页</a> >> <strong>最新技术</strong> </div> <% sql = "select * from so_article where classid = 28 order by reg_top = 1,orderid desc,id desc" rs.open sql,conn,1,1 if not rs.eof then rs.pagesize = 20 rs.AbsolutePage = page pagec = rs.pagecount if page > pagec then page = pagec for i = 1 to rs.pagesize if rs("reg_html") = 1 then urlstr = rs("url_html") else urlstr = "/article.asp?nid="&rs("id") end if %> <div class="art_box"> <%if rs("pic_min") <> "" then%><div class="art_img"><a href="<%=urlstr%>" title="<%=rs("title")%>"><img src="<%=rs("pic_min")%>" alt="<%=rs("title")%>" /></a></div><%end if%> <div class="art_txt"> <h2<%if rs("pic_min") <> "" then%> class="pro"<%end if%>><a href="<%=urlstr%>" title="<%=rs("page_title")%>"><%=rs("title")%></a></h2> <p><%=rs("page_description")%>..<a href="<%=urlstr%>" title="点击查看<%=rs("title")%>详细内容">[详细]</a></p> </div> </div> <div class="art_info"> 关键词:<strong><%=replace(rs("page_keywords"),",","</strong> <strong>")%></strong> 日期:<em><%=formatdatetime(rs("datestr"),1)%></em> 来源:<a href="<%=rs("url")%>"><%=rs("author")%></a> 点击:<em><%=rs("hits")%>次</em> </div> <% rs.movenext if rs.eof then exit for next %> <div class="art_box"><div id="dispartpage"><%=dispartpage(page,pagec,"")%></div></div> <% end if rs.close %> </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 class="title"><h2>热门最新技术排行</h2></div> <div class="list_side"> <ul> <% sql = "select top 10 * from so_article where classid = 28 order by hits desc,id desc" rs.open sql,conn,1,1 if not rs.eof then do while not rs.eof %> <li><a href="<%=rs("url_html")%>" title="<%=rs("page_title")%>"><%=rs("title")%></a></li> <% rs.movenext loop end if rs.close %> </ul> </div> <div class="title"><h2>cso中国导航</h2></div> <% sql = "select * from so_class where typestr = 'fei886' order by orderid desc,id desc" rs.open sql,conn,1,1 abig = "" do while not rs.eof abig = abig & rs("id") & "," & rs("title") & "$" rs.movenext loop rs.close bigstr = split(abig,"$") for i = 0 to ubound(bigstr) - 1 %> <dl> <dt><a href="<%=id2formstr(split(bigstr(i),",")(0),"so_class","url_html")%>"><%=split(bigstr(i),",")(1)%></a></h2></dt> <dd> <% sql = "select * from so_class where classid = "&split(bigstr(i),",")(0)&" order by orderid desc,id desc" rs.open sql,conn,1,1 if not rs.eof then do while not rs.eof %> <a href="<%=rs("url_html")%>" title="<%=rs("page_title")%>"><%=rs("title")%></a> <% rs.movenext loop end if rs.close %> </dd> </dl> <% next %> <div class="title"><h2>cso中国随机文章</h2></div> <div class="list_side"> <ul> <% randomize(timer()) sql = "select top 10 * from so_article where typestr = 'fei886' order by rnd(-(id & "& int((10000 * rnd()) + 1)& "))" rs.open sql,conn,1,1 if not rs.eof then do while not rs.eof %> <li><a href="<%=rs("url_html")%>" title="<%=rs("page_title")%>"><%=rs("title")%></a></li> <% rs.movenext loop end if rs.close %> </ul> </div> </div> </div> <!--#include file="../../index/footer.asp"--> </div> <!--#include file="../../index/foot.asp"--> <div align="center"> <script src="http://s64.cnzz.com/stat.php?id=1509670&web_id=1509670&show=pic" language="JavaScript" charset="gb2312"></script></div>