⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 showdown.asp

📁 图文管理。1,新闻动态 2,网址导航(含有60个著名设计网址) 3,图片展示 4,会员注册管理等
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="sub/config.asp"-->
<!--#include file="sub/conn.asp"-->
<!--#include file="sub/inc.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=SiteName%>--设计下载</title>
<link href="img/dex.css" rel="stylesheet" type="text/css" />
<link href="img/dex2.css" rel="stylesheet" type="text/css" />

</head>
<body>
<!--TOP-->
<!--#include file="top.asp"-->
<!--TOP END-->
<div  id="box">
    <div id="boxleft">
    <div id="dclass">
	<ul><%
	Set RS = Server.CreateObject("ADODB.Recordset")
	SQL = "Select * from downclass"
	RS.Open SQL, cn, 1,1,1
	Do while not RS.EOF%>
	    <li><a href="down.asp?class=<%=RS("class")%>"><%=RS("classname")%></a></li>
<% RS.movenext
	Loop
	set RS = nothing%>
	</ul>
	</div>
<!--新闻分类结束-->
<div id="wsearch">
	<% call websearch() %>
	</div>
	<!--全站搜索结束-->
	<div id="newstop">
		<ul>
					<%Set rs = Server.CreateObject("ADODB.Recordset")
		SQL = "Select top 10 * from down order by click desc"
		rs.Open SQL, cn, 1,3
		   do while not rs.eof
			Response.Write "<li><a href='showdown.asp?id="&rs("id")&"'>"&left(rs("title"),13)&"...</a></li>"
			rs.movenext
            loop
          rs.close
           set rs=nothing%>
	    </ul>
	</div>
	</div>
<!--点击排行结束-->
    <div id="boxright">
    <div id="ad1">
	<%=ad3%>
	</div>
<!--广告结束-->
    <div id="unions">
          <div id="showuun">
		  <%
	if Request.QueryString("id")<>"" then
		Set rs = Server.CreateObject("ADODB.Recordset")
		SQL = "Select * from down where id=" & Request.QueryString("id")
		rs.Open SQL, cn, 1,3
    %>
		  <img src="<%=rs("pic")%>" width="100" height="100" />
		  <ul>
		  <li><b>名称:</b><%=rs("title")%></li>
		  <li><b>大小:</b><%=rs("size")%></li>
		  <li><b>推荐指数:</b><%=rs("commend")%></li>
		  <li><b>更新日期:</b><%=rs("date")%></li>
		  <li><b>本地下载:</b>点击次数:&nbsp;<%=rs("click")%>&nbsp;&nbsp;<a href="<%=rs("url1")%>">点击下载</a></li> 
		  </ul>
		 </div>
	 </div>	
	 <div id="unions">
		  <hr/>
		  &nbsp;&nbsp;<%=rs("content")%>
		  <% 
		  rs("click")=rs("click")+1
	rs.update
	rs.close
    set rs=nothing
	end if%>
	</div>
</div></div>
<!--#include file="bottom.asp"-->
 </body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -