<!-- #include file="include/config_video.asp" -->
<!-- #include file="include/jk_ubb.asp" -->
<!-- #include file="include/config_review.asp" -->
<!-- #include file="include/conn.asp" -->
<% if login_username="" then
response.write "<font color=red><b>,你没有登陆或注册或者你的金钱不足，请登陆或注册后努力<a href=help.asp title='如何挣钱'></font><font color=blue size=5>挣钱</font></a><font color=red>呀，谢谢支持校园联盟  :-)</b></font><br>"
else
%>
<%
dim url
dim cname,sname,dsql,drs,temp1,keyes,power,pmoney,money,vrs,umoney,uuuname
dim id:id=trim(request.querystring("id"))
uuuname=request.querystring("username")
if not(isnumeric(id)) then
  call format_redirect("video.asp")
  reponse.end
end if
set drs=server.createobject("ADODB.recordset")
dsql="select jk_class.c_name,jk_sort.s_name,video.* " & _
     "from jk_class,jk_sort,video where jk_class.c_id=video.c_id and jk_sort.s_id=video.s_id and video.id="&id&" and video.hidden=1"
drs.open dsql,conn,1,1
if drs.eof and drs.bof then
  drs.close:set drs=nothing
  call close_conn()
  call format_redirect("video.asp")
  response.end
end if
cid=drs("c_id")
sid=drs("s_id")
cname=drs("c_name")
sname=drs("s_name")
keyes=drs("keyes")
pmoney=drs("money")
downtype=drs("downtype")
tit=cname&"（"&sname&"）"
call page_first(downtype)
set vrs=conn.execute("select emoney from user_data where username='"&uuuname&"'")
umoney=vrs("emoney")
%>

<html>
<head>
<title><%=drs("name")%>---------[校园联盟]娱乐中心-----精彩影视</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

</head>

<body leftmargin="2" topmargin="2"><div align="center">
<%
if pmoney>umoney or login_username=""then
response.write "<font color=red><b>,你没有登陆或注册或者你的金钱不足，请登陆或注册后努力<a href=help.asp title='如何挣钱'></font><font color=blue size=5>挣钱</font></a><font color=red>呀，谢谢支持校园联盟  :-)</b></font><br>你的金钱为："&umoney&"看本影片需要金钱"&pmoney&""
else
  sql="update video set counter=counter+1 where id="&id
  conn.execute(sql)
  	  money="update user_data set emoney=emoney-"&pmoney&" where username='"&uuuname&"'"
      conn.execute(money)
%>
<% 
url=request.querystring("url")
select case url
  case 1
    url=drs("url")
  case 2
    url=drs("url2")
  case 3
    url=drs("url3")
  case 4
    url=drs("url4")
  end select
  drs.close:set drs=nothing
 %>
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width=450>
  <TBODY>
  <TR>
    <TD colSpan=3><IMG height=39 src="images/play/player_r1_c1.jpg" 
    width=450></TD></TR>
  <TR>
    <TD background=images/play/player_left_bg.jpg width=6><IMG height=9 
      src="images/play/player_left_bg.jpg" width=6></TD>
    <TD bgColor=#000000 height=330 vAlign=top width=438>
      <TABLE align=center border=0 cellPadding=0 cellSpacing=0 height=330 
      width="100%">
        <TBODY>
        <TR>
          <TD align=middle height=320 vAlign=center>
            <TABLE border=0 cellPadding=0 cellSpacing=0 height="100%" 
            width="100%">
              <TBODY>
              <TR>
                <TD>
                  <OBJECT classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA 
                  height="100%" id=RVOCX name=RealMedia width="100%"><PARAM NAME="_ExtentX" VALUE="7938"><PARAM NAME="_ExtentY" VALUE="4763"><PARAM NAME="AUTOSTART" VALUE="-1"><PARAM NAME="SHUFFLE" VALUE="0"><PARAM NAME="PREFETCH" VALUE="0"><PARAM NAME="NOLABELS" VALUE="0"><PARAM NAME="SRC" VALUE="<%=url%>"><PARAM NAME="CONTROLS" VALUE="ImageWindow"><PARAM NAME="CONSOLE" VALUE="Clip1"><PARAM NAME="LOOP" VALUE="0"><PARAM NAME="NUMLOOP" VALUE="0"><PARAM NAME="CENTER" VALUE="0"><PARAM NAME="MAINTAINASPECT" VALUE="0"><PARAM NAME="BACKGROUNDCOLOR" VALUE="#000000">
                    <embed 
                  src="index.smil" type="audio/x-pn-realaudio-plugin" 
                  console="Clip1" controls="ImageWindow" height="180" 
                  width="300" autostart="true" imagestatus="true" 
                  name="RealMedia"></embed></OBJECT></TD></TR>
              <TR>
                <TD height=27>
                  <OBJECT classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA 
                  height=55 id=VodPlayer1 width="100%"><PARAM NAME="_ExtentX" VALUE="11906"><PARAM NAME="_ExtentY" VALUE="1588"><PARAM NAME="AUTOSTART" VALUE="-1"><PARAM NAME="SHUFFLE" VALUE="0"><PARAM NAME="PREFETCH" VALUE="0"><PARAM NAME="NOLABELS" VALUE="0"><PARAM NAME="CONTROLS" VALUE="ControlPanel,StatusBar"><PARAM NAME="CONSOLE" VALUE="Clip1"><PARAM NAME="LOOP" VALUE="0"><PARAM NAME="NUMLOOP" VALUE="0"><PARAM NAME="CENTER" VALUE="0"><PARAM NAME="MAINTAINASPECT" VALUE="0"><PARAM NAME="BACKGROUNDCOLOR" VALUE="#000000">
                                     <embed type="audio/x-pn-realaudio-plugin" 
                  CONSOLE="Clip1" CONTROLS="ControlPanel,StatusBar" HEIGHT="55" 
                  WIDTH="230" AUTOSTART="true"></embed></OBJECT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
    <TD background=images/play/player_right_bg.jpg width=6><IMG height=9 
      src="images/play/player_right_bg.jpg" width=6></TD></TR></TBODY></TABLE>
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width=450>
  <TBODY>
  <TR>
    <TD rowSpan=3 vAlign=top width=31><IMG height=111 
      src="images/play/player_r4_c1.jpg" width=31></TD>
        <TD rowSpan=2 vAlign=top width=87><IMG border=0 height=98 name=slist src="images/play/playlist.jpg" 
    width=87></TD>
    <TD background=images/play/player_temp.jpg height=50 width=212>
      <TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="100%">
        <TBODY>
        <TR>
          <TD align=right>
            <DIV id=Image_a><IMG border=0 height=18 id=balanceimgl 
            name=balanceimgl src="images/play/volume2_left_2.gif"  width=24></DIV></TD>
          <TD align=middle width=80>
            <DIV id=Image_b><IMG border=0 height=17 id=mute name=mute 
            src="images/play/volume2_mute_1.gif" 
            width=63></DIV></TD>
          <TD>
            <DIV id=Image_c><IMG  border=0 height=18 id=balanceimgr 
            name=balanceimgr 
            src="images/play/volume2_right_2.gif" 
            width=24></DIV></TD></TR></TBODY></TABLE></TD>
    <TD rowSpan=2 width=66>
      <TABLE border=0 cellPadding=0 cellSpacing=0 width=87>
        <TBODY>
        <TR>
          <TD>
            <DIV id=Image_stop><IMG  border=0 height=65 id=stop 
               src="images/play/stop.jpg" 
         width=44></DIV></TD>
          <TD>
            <DIV id=Image_pause><IMG  border=0 height=65 id=play 
          src="images/play/pause.jpg" 
           width=43></DIV></TD>
        <TR>
          <TD colSpan=2>
            <DIV id=Image_full><IMG border=0 height=33 id=full name=full 
            src="images/play/full.jpg" 
            width=87></DIV></TD></TR></TBODY></TABLE></TD>
    <TD rowSpan=3 width=54><IMG height=111 src="images/play/player_r4_c7.jpg" 
      width=33></TD></TR>
  <TR>
        <TD background=images/play/player_volume_bg.jpg height=48 width=212>&nbsp; </TD>
      </TR>
  <TR>
    <TD colSpan=3 vAlign=top><IMG height=13 src="images/play/player_list.jpg" 
      width=386></TD></TR></TBODY></TABLE>
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width=450>
  <TBODY>
  <TR>
        <TD background=images/play/player_list_bg.jpg height=50 width=450> <TABLE align=center border=0 cellPadding=4 cellSpacing=0 width=424>
            <TBODY>
              <TR vAlign=bottom> 
                <TD align=middle width="30%"></TD>
              </TR>
            </TBODY>
          </TABLE>
          <DIV align=center><font color="#FFCC33" size="2">多谢你选择校园联盟精彩影视，我们将提供你我们最好的服务！</font> 
          </DIV></TD></TR></TBODY></TABLE>
<%end if%>
</div>
</body>
</html>
<%end if%>