<!-- #include file="include/config.asp" -->
<%
dim id:id=trim(request.querystring("id"))
if not(isnumeric(id)) then
  server.transfer "down.asp"
  reponse.end
end if
%>
<!-- #include file="include/safety.asp" -->
<!-- #include file="include/functions.asp" -->
<!-- #include file="include/jk_ubb.asp" -->
<!-- #include file="include/format.asp" -->
<!-- #include file="include/nsort_config.asp" -->
<!-- #include file="include/functions.asp" -->
<!-- #include file="include/jk_ubb.asp" -->
<%
dim tit,tit_fir,n_sort,rs,sql,index_url,cid,sid,cname,sname,du,movie,play,pimg,zuozhe,url1,url2,name,dl,xl,idd,url,bgpic,biaoge,fmoney
dim fatie,huifu,wenyuan,xueyuan,ruanjian,wangzhan,jingcai,shanchu,maivip,maihuiyuan
dim xzhuafei,tjhuafei
dim mainlogo,web_hezuo1,web_hezuo2,web_hezuo3,web_hezuo4,guanshui,web_hezuo1_url,web_hezuo2_url,web_hezuo3_url,web_hezuo4_url,mrhuaqian
'-------------------------------------------------------------------------
index_url="down":n_sort="down"
set rs=server.createobject("ADODB.recordset")
'sql="select * from down where id="&id
sql="select jk_class.c_name,jk_sort.s_name,down.movie,down.c_id,down.s_id,down.name,down.sizes,down.homepage,down.remark,down.types,down.counter,down.tim,down.pic,down.url,down.url2 " & _
    "from jk_class,jk_sort,down where jk_class.c_id=down.c_id and jk_sort.s_id=down.s_id and down.id="&id&" and down.types<>-1"
rs.open sql,conn,1,1
if rs.eof and rs.bof then
  rs.close:set rs=nothing
  close_conn
  server.transfer "down.asp"
  response.end
end if
cid=rs("c_id")
sid=rs("s_id")
cname=rs("c_name")
sname=rs("s_name")

tit=cname&"（"&sname&"）"
tit_fir="校园联盟"

call user_login(1,0,0,0,0)
'--------------------------------download---------------------------------

if trim(request.querystring("action"))="download" then
  rs.close:set rs=nothing
  sql="update down set counter=counter+1 where id="&id
  conn.execute(sql)
  close_conn
  end if
%>
<html>
<head>
<title><%=request.querystring("name")%>-------------[校园联盟]娱乐中心-----精彩FLASH</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

</head>

<body leftmargin="0" topmargin="0">
<table width="530" height="454" border="0" align="left" cellpadding="0" cellspacing="0">
  <tr><% 
if mid(request.querystring("url"),1,7)="http://" then
    url=request.querystring("url")
  else
     url=request.querystring("url")
  end if 
%> 
    <td valign="top"> 
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="640" height="480">
        <param name="movie" value=<% =url %>>
                              <param name="quality" value="high">
                              <embed src=<% =url %> quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="640" height="480"></embed></object>
    </td>
              </tr>
            </table>
</body>
</html>
