TA的每日心情 | 开心 2019-4-22 20:33 |
---|
签到天数: 3 天 [LV.2]偶尔看看I
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?注册
x
上次我贴出来没人看,只能再贴一次,这是play.asp的文件内容
<html>
<head>
<script language="JavaScript">
if (window.name!='mainFrame')
{top.location.href="../index.asp"
}
</script>
<title>播放</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="../css.css">
<script>
//加入页面保护
function stopmouse(e) {
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2))
return false;
else if
(navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) {
alert("::欢迎观赏::我们将给你最完美的服务::");
return false;
}
return true;
}
document.onmousedown=stopmouse;
if (document.layers)
window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=stopmouse;
</script>
<script language="JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
<SCRIPT language="javascript">
<!--
function showmenuie5(){
var rightedge=document.body.clientWidth-event.clientX
var bottomedge=document.body.clientHeight-event.clientY
if (rightedge<ie5menu.offsetWidth)
ie5menu.style.left=document.body.scrollLeft+event.clientX-ie5menu.offsetWidth
else
ie5menu.style.left=document.body.scrollLeft+event.clientX
if (bottomedge<ie5menu.offsetHeight)
ie5menu.style.top=document.body.scrollTop+event.clientY-ie5menu.offsetHeight
else
ie5menu.style.top=document.body.scrollTop+event.clientY
ie5menu.style.visibility="visible"
return false
}
function hidemenuie5(){
ie5menu.style.visibility="hidden"
}
function highlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor="highlight"
event.srcElement.style.color="white"
}
}
function lowlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor=""
event.srcElement.style.color="black"
}
}
function jumptoie5()
{
if (event.srcElement.className=="menuitems")
{
if (event.srcElement.url != '')
{
if (event.srcElement.getAttribute("target")!=null)
window.open(event.srcElement.url,event.srcElement.getAttribute("target"))
else
window.location=event.srcElement.url
}
}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</SCRIPT>
<STYLE type=text/css>
.cMenu {
BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; FONT-WEIGHT: normal; FONT-SIZE: 14px; VISIBILITY: hidden; BORDER-LEFT: #000000 1px solid; WIDTH: 80px; CURSOR: default; COLOR: #000000; LINE-HEIGHT: 20px; BORDER-BOTTOM: #000000 1px solid; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; POSITION: absolute; BACKGROUND-COLOR: #ffffff
}
.menuitems {
PADDING-RIGHT: 5px; PADDING-LEFT: 5px
}
</STYLE>
</head>
<script language="javascript">
<!--
m=4;
movestep=10;movetime=5;movestop=true;movestart=false;curmenu=-1;leftshow=false;rightshow=false;bothstar=false;var moveobj;var nnnn;
moveon=false;movelen=308;timesnum=100;rmstart=false;rm_tollen=0;timelen=0;volumlen=48;volon=false;ChangeSizeRate=1;balance=0
document.onmouseup=Total_Up
document.ondragstart=doDragStart
function doDragStart() {event.returnValue=false}
var Living=true
var AutoPlay=true
var IsVidio
var HSFileName=''
var LSFileName=''
var Button_Num=0;
var Real
Real='document.MPlayer.'
var CanPlay=true;
var CanStop=false;
var CanPause=false;
var Mute=false;
var CanSetPos=false;
var SetPosStart=false;
var GetLenStart=false
var CanSetVol=true;
var SetVolStart=false
var bigwin=false;
var PlayState=0;//0-无(停止);1-connecting;2-buffuring;3-playing;4-pause
var CurrentEntry=1;
function DoPlay()
{
eval(Real+'Play()');
//eval(Real+'ShowControls=false')
}
function DoStop()
{
eval(Real+'Stop()');
eval(Real+'CurrentPosition=0');
}
function DoPlayPause()
{
eval(Real+'Pause()');
}
function SetPosition(Pos)
{
eval(Real+'CurrentPosition='+Pos);
}
function SetVolume(Pos)
{
eval(Real+'Volume=Pos');
}
function SetMute(Status)
{
if (Status)
eval(Real+'Mute=true')
else
eval(Real+'Mute=false');
}
function GetLength()
{
return eval(Real+'Duration');
}
function GetPosition()
{
tt=eval(Real+'CurrentPosition')
return tt*1000;
}
function SetSource(srcname)
{
eval(Real+'FileName=srcname')
}
function SetWH(widthpx,heightpx)
{
eval(Real+'width=widthpx')
eval(Real+'height=heightpx')
}
function SetFullScreen()
{
if (eval(Real+'playState')==2) {eval(Real+'DisplaySize=3')}
}
function vols()
{
if(event.button!=2)
{
orix=event.x
orileft=vblock.style.pixelLeft
SetVolStart=true
}
}
function volgo()
{
if(SetVolStart)
{
newx=event.x
disx=newx-orix
newleft=orileft+disx
if(newleft>-1&&newleft<volumlen) vblock.style.left=newleft
}
}
function setvol()
{
SetVolStart=false
newleft=vblock.style.pixelLeft
newvol=Math.round((volumlen-newleft)/volumlen*(-2000))
SetVolume(newvol)
}
function moves()
{
if(CanSetPos&&event.button!=2)
{
DoPlayPause()
orix=event.x
orileft=mblock.style.pixelLeft
if(moveon) clearTimeout(mfollow)
SetPosStart=true
}
else
return false
}
function gonext()
{
MPlayer.Next()
}
function movego()
{
if(SetPosStart)
{
newx=event.x
disx=newx-orix
newleft=orileft+disx
if(newleft>-1&&newleft<movelen) mblock.style.left=newleft
}
}
function setpos()
{
SetPosStart=false
newleft=mblock.style.pixelLeft
rcp=Math.round((newleft/movelen)*rm_tollen/1000)
SetPosition(rcp)
setTimeout('moveshow()',8000)
DoPlay()
}
function getlen()
{
rm_tollen=GetLength()*1000
//document.timeform.time_all.value=formattime(Math.floor(rm_tollen/1000));
if(rm_tollen==0) {reget=setTimeout('getlen()',50);GetLenStart=true}
else
{
CanSetPos=true;
if(GetLenStart) clearTimeout(reget)
timelen=Math.floor(rm_tollen/timesnum)
moveshow()
}
}
function moveshow()
{
rm_curpos=GetPosition()
resttime=rm_tollen-rm_curpos
//if(resttime<timelen) {mblock.style.left=movelen;setTimeout('MM_Down(3,CanStop,stopimg,st_stop02);ClickStop();MM_Up(3,CanStop,stopimg,st_stop01,st_stop03)',resttime);moveon=false}
if (CurrentEntry!=eval(Real+'GetCurrentEntry()')) {CurrentEntry=eval(Real+'GetCurrentEntry()');
// document.infoform.number[CurrentEntry-1].selected=1;
getlen();
}
else if (eval(Real+'playState')==0) {clearTimeout(mfollow);ClickStop()}
else if(rm_curpos<rm_tollen)
{
blockpos=Math.floor((movelen/rm_tollen)*rm_curpos)
mblock.style.left=blockpos
//window.status=Math.floor(blockpos/movelen*100)
//document.timeform.time_now.value=formattime(Math.floor(rm_curpos/1000));
//document.timeform.time_per.value=Math.floor(blockpos/movelen*100);
moveon=true
mfollow=setTimeout('moveshow()',1000)
//eval(Real+'SendKeyboardEvents=false');
}
}
function ClickPlay()
{
if (CanPlay)
{
CanPlay=false;
CanPause=true;
CanSetPos=true;
PlayState=1;
if (!CanStop)
{
CanStop=true;
}
if(!Mute) SetMute(false)
setvol();
DoPlay();
if(Living) {setTimeout('getlen()',100)}
}
}
function ClickPause()
{
if (CanPause)
{
CanPause=false;
CanPlay=true;
PlayState=4
CanSetPos=false;
if(moveon) clearTimeout(mfollow)
DoPlayPause();
}
}
function ClickStop()
{
if (CanStop)
{
CanStop=false;
CanPlay=true;
PlayState=0
if (CanPause)
{
CanPause=false;
}
if(CanSetPos) {CanSetPos=false;}
if(moveon) clearTimeout(mfollow)
mblock.style.left=0
DoStop();
}
}
function ClickSound()
{
if (Mute)
{
Mute=false;
SetMute(Mute);
}
else
{
Mute=true;
SetMute(Mute);
}
}
function Total_Up()
{
if(SetPosStart)
setpos();
if(SetVolStart) setvol();
}
function formattime(second)
{
var t_hour,t_minute,t_second,t_temp;
t_temp=Math.floor(second/60);
t_second=''+Math.floor(second-t_temp*60);
if (t_second.length==1) {t_second='0'+t_second}
t_minute=t_temp;
t_temp=Math.floor(t_temp/60);
t_minute=''+(t_minute-t_temp*60);
if (t_minute.length==1) {t_minute='0'+t_minute}
t_hour=t_temp;
return t_hour+':'+t_minute+':'+t_second;
}
function ChangeBalance(newbalance)
{
if (newbalance==0)
{
balance=0;
}
else if (newbalance==-10000)
{
balance=newbalance;
}
else if (newbalance==10000)
{
balance=newbalance;
}
eval(Real+'Balance=balance');
}
function SetSrc(File)
{
if (CanStop)
ClickStop();
SetSource(File);
if (AutoPlay)
ClickPlay();
}
//-->
</script>
<body text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<RIGHTCLICK>
<!--[if IE]>
<DIV class=cMenu id=ie5menu onmouseover=highlightie5() onclick=jumptoie5() onmouseout=lowlightie5()>
<DIV class=menuitems target="_blank" url="http://www.5959ltys.com">联通影视</DIV>
</DIV>
<![endif]-->
<SCRIPT language=JavaScript>
<!--
if (document.all&&window.print){
ie5menu.className="cMenu"
document.oncontextmenu=showmenuie5
document.body.onclick=hidemenuie5
}
//-->
</SCRIPT>
</RIGHTCLICK>
<div id="Layer1" style="position:absolute; left:0px; top:262px; width:100%; height:24px; z-index:1">
<div align="center"><img src="images/mask.gif" height="24"></div>
</div>
<div align="center">
<table width="400" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="9" bgcolor="#000000"><img src="images/mplay2_02.gif" width="9" height="286"></td>
<td>
<div align="center"><object id="MPlayer" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701width="616" height="286" width="382" >
<param name="FileName" value="">
<param name="AutoStart" value="1">
<param name="AnimationAtStart" value="1">
<param name="ShowControls" value="0">
<param name="ClickToPlay" value="0">
<param name="EnableContextMenu" value="0">
<param name="ShowStatusBar" value="1">
</object></div>
</td>
<td width="9" bgcolor="#000000"><img src="images/mplay2_04.gif" width="9" height="286"></td>
</tr>
</table>
<table width="400" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#000000"><img src="images/mplay2_05.gif" width="400" height="21"></td>
</tr>
</table>
<table width="400" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="9"><img src="images/mplay2_06.gif" width="9" height="90"></td>
<td bgcolor="#FBF2E1">
<div align="center">
<table border=0 cellspacing=3 cellpadding=0 align=center width=314>
<tr>
<td class=p9 height="15" background="images/playbg.gif">
<div id=movie onmousemove=movego() onmouseup=Total_Up() style="HEIGHT: 16px; LEFT: 0px; POSITION: relative; TOP: 0px; WIDTH: 320px">
<div id=mblock style="HEIGHT: 10px; LEFT: 0px; POSITION: absolute; TOP: 0px">
<img alt=播放位置 onmousedown=moves() border=0 src="images/timecontrol.gif" style="CURSOR:hand;">
</div>
</div>
</td>
</tr>
<tr>
<td class=p9 height="17" valign="top">
<table border=0 cellspacing=2 cellpadding=0 align=center width=100% height="16">
<tr height=16>
<td class=p9 background="images/playerbg.gif" width="100">
<div id=volume onmousemove=volgo() onmouseup=Total_Up() style=" HEIGHT: 16px; LEFT: 0px; POSITION: relative; TOP: 0px; WIDTH: 100px;">
<div id=vblock style="HEIGHT: 16px; LEFT: 28px; POSITION: absolute; TOP: 0px">
<img alt="小←音量→大" border=0 src="images/volcontrol.gif" onMouseDown=vols() style="CURSOR:hand;" width="48"></div>
</div>
</td>
<td align=right class=p9 width="240">
<div align="center">:: <font face="宋体" size=2>
<p>ADODB.Field</font> <font face="宋体" size=2 > 错误 '80020009'</font>
<p>
<font face="宋体" size=2>BOF 或 EOF 中有一个是“真”,或者当前的记录已被删除,所需的操作要求一个当前的记录。</font>
<p>
<font face="宋体" size=2>/play/play.asp</font><font face="宋体" size=2>,行0</font> <head><title>Object moved</title></head>
<body><h1>Object Moved</h1>This object may be found <a HREF="play.asp?movieid=">here</a>.</body>
|
|
|
|
|
|
|