<!--#include file="mdb.asp"-->
<!--#Include File="Check_hx.asp"-->
<!--#include file="inc/inc.asp"-->
<!--#include file="inc/md5.asp"-->
<%
dim RS,sql,strSQL,rss,id,ddd,vidGrade,vidpoints
id=Request.QueryString("id")
if Trim(id) <> "" and IsNumeric(id) then
Set RS = Server.CreateObject("ADODB.RecordSet")
sql = "select filmid from vidurl where id = " & id
RS.Open sql, Conn, 1, 1
ddd=rs("filmid")
RS.Close
Set RS = nothing
wma=replace(request("id")," ","")
else
  Response.Write "<script language=javascript>alert('参数非法！');JavaScript:window.close();</script>"
  Response.End
end if
Set rss = Server.CreateObject("ADODB.Recordset")
strSQL ="SELECT * FROM vid where vid_id=" & ddd
rss.open strSQL,Conn,1,3
vidname=rss("title")
vidGrade=rss("Grade")
vidpoints=rss("points")
rss("hits")=rss("hits")+1
rss.update
rss.Close
Set rss = nothing
if UserLogined<>True then 
    Grade=0
else 
    Grade=Hx66_Grade+1
end if
if Grade<vidGrade then
  Response.Write "<script language=javascript>alert('对不起，你的权限不够，不能观看此影片!');JavaScript:window.close();</script>"
  Response.End
elseif Hx66_points<vidpoints then
  Response.Write "<script language=javascript>alert('你的点数不足(你当前点数为：" &Hx66_points& ")，无法观看此影片。\n\n请与我们联系进行充值。');JavaScript:window.close();</script>"
  Response.End
elseif vidGrade>0 and vidpoints>0 then
    vidid=md5(wma+123)
    if Request.Cookies("hx66")("pay_vid" & vidid)<>"yes" then
        sql="UPDATE [user] SET points = points - "&vidpoints&" where userid="&Hx66_uid
        conn.execute (sql)
        response.Cookies("hx66")("Pay_vid" & vidid)="yes"
        Response.Cookies("hx66").Expires=date+365
    end if
end if
Conn.Close
Set Conn = nothing
%>
<noscript><iframe src=*.html></iframe></noscript>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>www.17vd.com影片播放器</title>
<meta http-equiv="imagetoolbar" content="no"> 
<link href="img/play_dj/Hxcms.css" rel="stylesheet" type="text/css">
<div id="loading" style="height:22" align="center">数据载入中....</div>
<SCRIPT LANGUAGE="JavaScript">
document.onkeydown = function() {
	if (event.keyCode == 116) {
		event.keyCode = 505;
	}
	if (event.keyCode == 505) { 
		return false;
	}
}
</SCRIPT>
<script language="JavaScript">
   document.oncontextmenu=new Function("event.returnValue=false;"); //禁止
   document.onselectstart=new Function("event.returnValue=false;"); //禁止
   document.ondragstart=new Function("event.returnValue=false;"); //禁止
   document.oncontextmenu=new Function("event.returnValue=false;"); //禁止
   document.oncontrolselect=new Function("event.returnValue=false;"); //禁止
   document.onmousemove=new Function("event.returnValue=false;"); //禁止
   document.onmousedown=new Function("event.returnValue=false;"); //禁止
</script>
<SCRIPT LANGUAGE="JavaScript">
function killErrors() {
return true;
}
window.onerror = killErrors;
</SCRIPT>
<script language="JavaScript1.2">
scores = new Array(20);
var numTotal=0;
NS4 = (document.layers) ? 1 : 0;
IE4 = (document.all) ? 1 : 0;
ver4 = (NS4 || IE4) ? 1 : 0;

if (ver4) {
    with (document) {
        write("<STYLE TYPE='text/css'>");
        if (NS4) {
            write(".parent {position:absolute; visibility:visible}");
            write(".child {position:absolute; visibility:visible}");
            write(".regular {position:absolute; visibility:visible}")
        }
        else {
            write(".child {display:none}")
        }
        write("</STYLE>");
    }
}

function getIndex(el) {
    ind = null;
    for (i=0; i<document.layers.length; i++) {
        whichEl = document.layers[i];
        if (whichEl.id == el) {
            ind = i;
            break;
        }
    }
    return ind;
}

function arrange() {
    nextY = document.layers[firstInd].pageY +document.layers[firstInd].document.height;
    for (i=firstInd+1; i<document.layers.length; i++) {
        whichEl = document.layers[i];
        if (whichEl.visibility != "hide") {
            whichEl.pageY = nextY;
            nextY += whichEl.document.height;
        }
    }
}

function initIt(){
    if (!ver4) return;
    if (NS4) {
        for (i=0; i<document.layers.length; i++) {
            whichEl = document.layers[i];
            if (whichEl.id.indexOf("Child") != -1) whichEl.visibility = "hide";
       }
        arrange();
    }
    else {
        divColl = document.all.tags("DIV");
        for (i=0; i<divColl.length; i++) {
            whichEl = divColl(i);
            if (whichEl.className == "child") whichEl.style.display = "none";
        }
    }
}

function expandIt(el) {
	if (!ver4) return;
    if (IE4) {
        whichEl1 = eval(el + "Child");
		for(i=1;i<=numTotal;i++){
			whichEl = eval(scores[i] + "Child");
			if(whichEl!=whichEl1) {
				whichEl.style.display = "none";
			}
		}
        whichEl1 = eval(el + "Child");
        if (whichEl1.style.display == "none") {
            whichEl1.style.display = "block";
        }
        else {
            whichEl1.style.display = "none";
        }
    }
    else {
        whichEl = eval("document." + el + "Child");
		for(i=1;i<=numTotal;i++){
			whichEl = eval("document." + scores[i] + "Child");
			if(whichEl!=whichEl1) {
				whichEl.visibility = "hide";
			}
		}
        if (whichEl.visibility == "hide") {
            whichEl.visibility = "show";
        }
        else {
            whichEl.visibility = "hide";
        }
        arrange();
    }
}
onload = initIt;
</script>
<script language="JavaScript">
var bb_jy0 = new Image(); bb_jy0.src="img/play_dj/chattingroom2_13.gif";
var bb_jy1 = new Image(); bb_jy1.src="img/play_dj/chattingroom2_21.gif";
</script>
<script language="JavaScript" src="img/play_dj/Hxcms_Tban.js"></script>
<script language="JavaScript" src="img/play_dj/Hxcms_Set.js"></script>
<script language="JavaScript" src="img/play_dj/vid_Com.asp?id=<%=wma%>"></script>
<script language="JavaScript" src="img/play_dj/Hxcms_Class.js"></script>
<script language="JavaScript" src="img/play_dj/Hxcms_Poerror.js"></script>
<script language="JavaScript" id="lodapl"></script>
<script language="JavaScript" for="mediaPlayerObj" event="playStateChange(rStatus)">
try {  mdip_tt(rStatus);  } catch(hh){}
</script>
<script language="JavaScript" for="mediaPlayerObj" event="error">
try {  miderror();  } catch(hh){}
</script>
<script language="VBScript">
On Error Resume Next
sub realPlayerObj_OnShowStatus(rStatus)
  call reap_tt(rStatus)
end sub
sub realPlayerObj_OnErrorMessage(uSeverity, uRMACode, uUserCode, pUserString, pMoreInfoURL, pErrorString)
  call reaerror()
end sub
</script>
</head>
<body topmargin="0" leftmargin="0" oncontextmenu="return false" onmouseover="window.status='';return true;" onmouseout="window.status='';return true;" bgColor=#FFFFFF>
<div id="Layermain" style="position:absolute; left:-50px;top:0px;width:500px; height:300px; z-index:-0;visibility:visible">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="100%" height="300">
 <param name="movie" value="play.swf">
 <param name="quality" value="high">
 <param name="wmode" value="transparent">
 <embed src="play.swf" width="100%" height="300" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"> 
 </embed> </object></div>
<div id="Layermain" style="position:absolute;left:-50px;top:0px; width:1200px;height:300px; z-index:0;visibility:visible">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="100%" height="300">
 <param name="movie" value="play.swf">
 <param name="quality" value="high">
 <param name="wmode" value="transparent">
 <embed src="play.swf" width="100%" height="300" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"> 
 </embed> </object></div>
<script>
function show(c_Str)
{if(document.all(c_Str).style.display=='none')
{document.all(c_Str).style.display='block';}
else{document.all(c_Str).style.display='none';}}
function high(){
}
function low(){
}
</script>
<SCRIPT language=JavaScript type="">
function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",100)}
function low(which2){clearInterval(highlighting)
which2.filters.alpha.opacity=0}
function highlightit(cur2){
if (cur2.filters.alpha.opacity<500)
cur2.filters.alpha.opacity+=100
else if (window.highlighting)
clearInterval(highlighting)}
</SCRIPT>
<SCRIPT LANGUAGE='JavaScript'>
	var tID = null;
	var getObj = null;
	var mq = new classMQ();
	function classMQ(){
	}
	classMQ.prototype.set = function(obj){
	getObj = obj;
	this.BLANK = '                 ';
	this.CONTENT = getObj.value;
	this.SCROLL = this.BLANK + this.CONTENT + this.BLANK + this.CONTENT;
	}
	classMQ.prototype.scroll = function( )
	{
	if (!getObj)	return;
	var value = getObj.value;
	getObj.value = value.substring(1);
	if ('' == getObj.value.length){
		getObj.value = this.SCROLL;
	}
	}
	classMQ.prototype.init = function(  ) 
	{
	if (!getObj)	return;
	getObj.value = this.CONTENT;
	}
</SCRIPT>
<table align='center' width='350' border='0' cellspacing='0' cellpadding='0'>
  <tr>
    <td width='15' height='22' background='img/play_dj/chattingroom2_01.gif'></td>
    <td width='320' background='img/play_dj/chattingroom2_01.jpg'></td>
    <td width='15' background='img/play_dj/chattingroom2_02.gif'></td>
  </tr>
  <tr>
    <td height='' background='img/play_dj/chattingroom2_04.gif'></td>
    <td>
      <div>
<span id="Jts11" style="display:none;">
<object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" id="realPlayerObj" width="320" height="240" onerror="ronerror()" align="center" name="Player">
	<PARAM NAME="_ExtentX" VALUE="6879">
	<PARAM NAME="_ExtentY" VALUE="2646">
	<PARAM NAME="AUTOSTART" VALUE="-1">
	<PARAM NAME="SHUFFLE" VALUE="0">
	<PARAM NAME="PREFETCH" VALUE="0">
	<PARAM NAME="NOLABELS" VALUE="-1">
	<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">
     </object></span>
<script language="vbscript">
player.SetWantMouseEvents(True)
Sub player_OnRButtonDown(MK_RBUTTON,xx,yy) 
	window.alert("右键禁止-http://www.eove.cn") 
End Sub 
</script>
<script language="javascript">
try { 
  realPlayerObj.SetEnableContextMenu(false);
  realPlayerObj.SetWantErrors(true);
} catch(hh){}
</script>
<span id="Jts22" style="display:none;">
<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="mediaPlayerObj" width="320" type="application/x-oleobject" height="240" onerror="monerror()" align="center">
        <param name="rate" value="1">
        <param name="autoStart" value="-1">
	<param name="enableContextMenu" value="0">
	<param name="enableErrorDialogs" value="0">
	<param name="playCount" value="1">
	<param name="windowlessVideo" value="0">
	<param name="fullScreen" value="0">
	<param name="rate" value="1">
	<param name="uiMode" value="none">
	<param name="volume" value="0">
	<param name="URL" value>
	<param name="balance" value="0">
	<param name="currentPosition" value="0">
	<param name="defaultFrame" value>
	<param name="currentMarker" value="0">
	<param name="invokeURLs" value="-1">
	<param name="baseURL" value>
	<param name="mute" value="0">
	<param name="stretchToFit" value="0">
	<param name="enabled" value="-1">
	<param name="SAMIStyle" value>
	<param name="SAMILang" value>
	<param name="SAMIFilename" value>
	<param name="captioningID" value>
	</object></span>
        </div>
    </td>
    <td background='img/play_dj/chattingroom2_03.gif'></td>
  </tr>
  <tr>
    <td height='' background='img/play_dj/chattingroom2_04.gif'></td>
    <td bgColor=#000000><div align='center'><iframe src="img/play_dj/Lyrics1.html" width="0" height="0" scrollbar="no" scrolling="no" name="WebLrc" border="0" frameborder="0"></iframe></div>
      <div align='center'>
        <table border="0" width="100%" cellspacing="2" cellpadding="0">
	  <tr>
	    <td height='18'><span id="rtxt1"></span>&nbsp;<span id="dtut" style="height:10;align: center;">0:00</span></td>
	    <td align="right"><span id="Jts1" style="display:none;"></span><span id="Jts2" style="display:block;"><span id="rtxt2">www.eove.cn</span>&nbsp;<span id="rtxt4"></span></span></td>
          </tr>
       </table></div></td>
    <td background='img/play_dj/chattingroom2_03.gif'></td>
  </tr>
  <tr>
    <td height='54' background='img/play_dj/chattingroom2_05.gif'></td>
    <td><table width='320' border='0' cellspacing='0' cellpadding='0'>
      <tr>
	  <td height='19' background='img/play_dj/chattingroom2_07.gif'><span style="position: relative; width: 320;  height: 16; font-size: 1px; vertical-align: bottom;  background : repeat-x 0% 50%;"><span style="position: relative; width: 100%;  height: 100%; background :url('img/play_dj/chattingroom2_07.gif') no-repeat 9999 0;" id="jdhkl"><span style="position: relative; width: 100%;  height: 100%; background :url('img/play_dj/chattingroom2_07.gif') no-repeat 9999 0;" id="jdhk" stopgo="oop==null || zslen==0" ollend="ylyydxx()"><span style="position: relative; left:5px;top:5px;width:23px;"><img src="img/play_dj/chattingroom2_17.gif" border="0"></span></span></span></span></td>
      </tr>
      <tr>
        <td><table width='320' border='0' cellspacing='0' cellpadding='0'>
          <tr>
            <td width='59' height='21' background='img/play_dj/chattingroom2_08.gif'></td>
            <td width='31'><script language="JavaScript">ann_cbo("chattingroom2_09",31,21,"播放","aabf()","bf");</script></td>
            <td width='28'><script language="JavaScript">ann_stop("chattingroom2_10",28,21,"停止","aatz()","bf");</script></td>
            <td width='28'><script language="JavaScript">ann_pauz("chattingroom2_220",28,21,"暂停","aazt()","zt");</script></td>
            <td width='28'><script language="JavaScript">ann_list("chattingroom2_11",28,21,"全屏播放","fullscreen()","xdd");</script></td>
            <td width='3' background='img/play_dj/chattingroom2_12.gif'></td>
            <td width='32'><img src="img/play_dj/chattingroom2_13.gif" alt="静音开关" style="cursor: hand" onClick="jingbb()" id="jingyin"></td>
            <td id="apxt" valign='middle' width='58' background='img/play_dj/chattingroom2_140.gif'><span style="position: relative; left:2px; width: 51; background :url('img/play_dj/chattingroom2_1400.gif') repeat-x 0% 50%;" id="ylhk" olling="ylyyd();if(mute) jingbb()"><span style="position: relative; left:58px;top:0px;width:5px;"><img src="img/play_dj/chattingroom2_18.gif" border="0" width=5 height=13 alt='移动滑块控制音量大小' /></span></span></td>
           <td width='58' background='img/play_dj/chattingroom2_15.gif'></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height='14' background='img/play_dj/chattingroom2_16.gif'></td>
      </tr>
    </table></td>
    <td background='img/play_dj/chattingroom2_06.gif'></td>
  </tr>
</table>
<table align='center' width='350' border='0' cellspacing='0' cellpadding='0'>
  <tr>
    <td height='21' align='center' background='img/play_dj/chattingroom2_19.gif'><div align='right'><font color="#FFFFFF"><span id="rtxt3" style="visibility: hidden">[<span id="rtxt3a" style="display:none">-</span>共<span id="rtxt3b">-</span>片]</span></font>&nbsp;&nbsp;<select NAME="loplist" size="1" class="selectobj" onChange="lhhgo();"></select></div></td>
 </tr>
</table>
<SCRIPT>numTotal=3;scores[1]='KB1';scores[2]='KB1';scores[3]='KB2';</SCRIPT>
<script language="JavaScript">
jdhk.style.behavior = "url(img/play_dj/Hxcms_Soll.htc)";
ylhk.style.behavior = "url(img/play_dj/Hxcms_Soll.htc)";
</script>
</body>
</html>

