<%@ 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>3鸟设社--www.3niao.com--图片资源</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="1.css" type="text/css">
<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; background-image: URL(images/bg3.gif);
background-position: center;
background-attachment: fixed;}
.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: #999999 1px dashed; BORDER-LEFT: #999999 1px dashed; BORDER-RIGHT: #999999 1px dashed; BORDER-TOP: #999999 1px dashed
-->
</style>
</head>

<body bgcolor="<%=bgcolor%>" text="#000000" LEFTMARGIN="0" TOPMARGIN="0">
<!--#include file="top.asp" -->
<div align="center"> <center> <table border="0" cellpadding="0" cellspacing="0" width="753" height="459" BGCOLOR="#FFFFFF"> 
<tr> <td width="20" height="445" align="center" rowspan="3" BACKGROUND="images/bg.gif"> 
<p align="center"></td><td height="9" align="center" WIDTH="713"><DIV ALIGN="LEFT">　站内导航：<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
%> </DIV></td><td width="27" height="445" align="center" rowspan="3" BACKGROUND="images/bg.gif"></td></tr><tr><td height="9" align="LEFT" WIDTH="713"> 
&nbsp; <%Response.Write "您当前的位置：<a href='"&homeurl&"'>"&title&"</a> - <a href='index.asp'>"&desktoptitle&"</a> - <a href='type.asp?typeid="&typeid&"'>"&typename&"</a> - "&filename%></td></tr> 
<tr> <td width="713" height="427" align="LEFT" VALIGN="TOP"><%
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='#e9e9e9' 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='760' border='0' cellspacing='0' cellpadding='3' 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> <tr> <td height="38" align="center" colspan="3" BACKGROUND="images/footbg.gif"></td></tr><tr><td height="25" align="center" colspan="3"><%=cy%></td></tr><tr><td height="65" align="center" colspan="3"><TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0" HEIGHT="70"><TR><TD BACKGROUND="images/footgb1.gif" HEIGHT="24" WIDTH="53%">&nbsp;</TD><TD HEIGHT="24" WIDTH="47%"><DIV ALIGN="RIGHT"><IMG SRC="images/foot.gif" WIDTH="269" HEIGHT="65"></DIV></TD></TR></TABLE></td></tr> 
</table></center></div> 
</body>
</html>
