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

📄 display.asp

📁 主要版块有:日记
💻 ASP
字号:
<%@ ENABLESESSIONSTATE = FALSE %>
<!--#include file="config.asp" -->
<!--#include file="mdb/conn.asp" -->
<html>
<head>
<%
dim classname,typeid,typename
if IsNumeric(Request.QueryString("id"))=False then
Response.Redirect"info.asp?info=错误的参数"
else
id=cint(Request.QueryString("id"))
end if
set temprs=conn.execute("select typeid,classid,name from desktop where id="&id)
typeid=temprs(0)
filename=temprs(2)
classname=temprs(0)
set temprs=nothing
set temprs=conn.execute("select name from type where id="&typeid)
typename=temprs(0)
set temprs=nothing
%>
<title><%=title%> >> <%=desktoptitle%> >> <%=classname%> >> <%=typename%> >> <%=filename%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
a {  font-family: "宋体"; font-size: 9pt; font-style: normal; line-height: 13pt; font-weight: normal; font-variant: normal; text-transform: none; color: <%=fontcolor%>; text-decoration: none}
a:hover {  font-family: "宋体"; font-size: 9pt; font-style: normal; line-height: 13pt; font-weight: normal; font-variant: normal; text-transform: none; color: <%=fontcolor%>; text-decoration: underline}
td {  font-family: "宋体"; font-size: 9pt; font-style: normal; line-height: 13pt; font-weight: normal; font-variant: normal; text-transform: none; color: <%=fontcolor%>}
br {  font-family: "宋体"; font-size: 9pt; font-style: normal; line-height: 13pt; font-weight: normal; font-variant: normal; text-transform: none; color: <%=fontcolor%>}
.bk { font-size: 9pt; border: 1px <%=xcolor%> solid}
body {  font-family: "宋体"; font-size: 9pt; font-style: normal; line-height: 13pt; font-weight: normal; font-variant: normal; text-transform: none}
.an {  font-family: "宋体"; font-size: 9pt; background-color: <%=bgcolor%>; border: 1px <%=xcolor%> solid; color: <%=fontcolor%>}
.xzy {  border: <%=xcolor%> solid; border-width: 0px 1px 1px}
.zx {  border: <%=xcolor%> solid; border-width: 0px 0px 1px 1px}
.sxz {  border: <%=xcolor%> solid; border-width: 1px 0px 1px 1px}
.s {  border: <%=xcolor%>; border-style: solid; border-top-width: 1px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px}
.y {  border: <%=xcolor%>; border-style: solid; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 0px; border-left-width: 0px}
.font {  font-family: "Arial Black"; font-size: 14pt; color: <%=fontcolor%>}
.x {  border: <%=xcolor%>; border-style: solid; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px}
.z {  border: <%=xcolor%>; border-style: solid; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 1px}
.sx {  border: <%=xcolor%>; border-style: solid; border-top-width: 1px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px}
.bk1 {
	BORDER-BOTTOM: #86540c 1px dashed; BORDER-LEFT: #86540c 1px dashed; BORDER-RIGHT: #86540c 1px dashed; BORDER-TOP: #86540c 1px dashed
-->
</style>
</head>

<body text="#471b0a" vlink="#ffffff" link="#ffffff" bgcolor="#67331f" background="../img/dnacebg2.jpg" topmargin="0">

<div align="center">
  <center>
  <table height="312" cellspacing="10" cellpadding="0" width="601" background="../img/dnacebg3.jpg" border="0">
    <tbody>
      <tr>
        <td valign="center" width="699" background="../img/dnacebg.jpg" height="312">
          <div align="center">
            <table cellspacing="0" cellpadding="0" width="600" border="0" height="178" bgcolor="#E4C59A">
              <tbody>
                <tr>
                  <td width="605" height="99">
                    <p align="center">
      <img border="0" src="../img/bgtop.jpg" width="580" height="100"></p>
                  </td>
                </tr>
                <center></center>
                <center>
                <tr>
                  <td width="605" height="37">
                    <table border="0" width="100%" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="12%" align="center"></td>
                        <td width="12%" align="center"><a href="../index.htm"><img border="0" src="../img/index.gif" align="left" width="50" height="20"></a></td>
                        <td width="12%" align="center"><a href="./"><img border="0" src="../img/xc.gif" align="left" width="50" height="20"></a></td>
                        <td width="12%" align="center"><a href="../music/"><img border="0" src="../img/y.gif" align="left" width="50" height="20"></a></td>
                        <td width="13%" align="center"><a href="../diary/"><img border="0" src="../img/rj.gif" align="left" width="50" height="20"></a></td>
                        <td width="13%" align="center"><a href="../guestbook/"><img border="0" src="../img/gb.gif" align="left" width="50" height="20"></a></td>
                        <td width="13%" align="center"><a href="http://www.moudu.com/123" target="_blank" target="_blank"><img border="0" src="../img/bbs.gif" align="left" width="50" height="20"></a></td>
                        <td width="13%" align="center"><a href="../link/"><img border="0" src="../img/link.gif" align="left" width="50" height="20"></a></td>
                      </tr>
                    </table>
                  </td>
                </tr>
                <tr>
                  <td width="605" height="21">
                    <div align="center">
                      <center>
                    <table border="0" width="100%" cellspacing="0" cellpadding="0">
                      <tr>
      <td width="600" bgcolor="#e4c59a">
       <table width="580" height="25" border="0" align="center" cellpadding="3" cellspacing="0" class="xzy" style="border-top: 1 solid #cea772">
  <tr> 
<td bgcolor="#e4c59a"> 站内导航:<a href="index.asp">返回首页</a> 
<%
sql = "SELECT * FROM type ORDER BY id DESC" 
Set rs = Server.CreateObject("ADODB.Recordset")
rs.OPEN sql,Conn,0,1
if rs.eof and rs.bof then
Response.Write"还没有分类"
else
do while not rs.eof
Response.Write"| <a href='type.asp?typeid="&rs("id")&"'>"&rs("name")&"</a>"
rs.movenext
loop
end if
rs.close
Set rs=Nothing
%>
</td>
</tr>
</table>
<table width="580" border="0" align="center" cellpadding="3" cellspacing="0" class="xzy">
  <tr>
    <td bgcolor="#e4c59a"> 
      <%Response.Write "您当前的位置:<a href='"&homeurl&"'>"&title&"</a> - <a href='index.asp'>"&desktoptitle&"</a> - <a href='type.asp?typeid="&typeid&"'>"&typename&"</a> - "&filename%>
    </td>
</tr>
</table>
<table width="580" border="0" cellspacing="00" cellpadding="0" align="center">
  <tr>
    <td> 
      <%
sql = "SELECT * FROM desktop where id="&id
Set rs = Server.CreateObject("ADODB.Recordset")
rs.OPEN sql,Conn,1,3
rs("ck")=rs("ck")+1
rs.update
if rs("lx")=1 then
Response.Write"<table width='100%' border='0' cellspacing='0' cellpadding='5' align='center'><tr><td align='center'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='550' height='400'><param name=movie value='"&rs("pic")&"'><param name=quality value=high><embed src='"&rs("pic")&"' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='550' height='400'></embed></object></td></tr></table>"
elseif rs("lx")=0 then
Response.Write"<table width='100%' border='0' cellspacing='0' cellpadding='5' align='center'><tr><td align='center'><table align=center bgcolor='#cea772' border=0 cellpadding=5 cellspacing=0 class='bk1'><tbody><td><img src='"&rs("pic")&"' align='center'></td></tbody></table></td></tr></table>"
end if

Response.Write"<table width='580' border='0' cellspacing='0' cellpadding='3' class='bk' align='center'><tr><td width='720'>文件名称:"&rs("name")&" | 察看次数:"&rS("ck")&" | 添加时间:"&rs("time")&"<br>文件简介:"&rs("jj")&"</td>"
if rs("url")<>"" then
Response.Write"<td width='30' class='z'><a href='"&rs("url")&"'>打 包<br>下 载</a>"
end if
Response.Write"</tr></table>"
rs.close
Set rs=Nothing
conn.close
Set conn=Nothing
%>
    </td>
  </tr>
</table>
<table width="580" height="25" border="0" align="center" cellpadding="3" cellspacing="0" class="xzy">
  <tr> 
<td colspan="2" bgcolor="#e4c59a" align="center"><%=cy%></td>
</tr>
</table></td>
                      </tr>
                    </table>
                      </center>
                    </div>
                  </td>
                </tr>
                <tr>
                  <td width="605" height="21">
                    <table border="0" width="103%" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="100%" align="center">某度工作室 
                          创意设计</td>
                      </tr>
                      <tr>
                        <td width="100%" align="center"></td>
                      </tr>
                      <tr>
                        <td width="100%" align="center"></td>
                      </tr>
                    </table>
                  </td>
                </tr>
                </tbody>
              </table>
            </div>
          </center></td>
      </tr>
    </tbody>
  </table>
  </center>
</div>

</body>

</html>

⌨️ 快捷键说明

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