<!--#include file="CommonCode.asp"-->
<link href='/Skin/DefaultSkin.css' rel='stylesheet' type='text/css'>
<%
'强制浏览器重新访问服务器下载页面，而不是从缓存读取页面
Response.Buffer = True
Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = "no-cache"

Dim DownloadUrl, FileExt
DownloadUrl = PE_Soft.GetDownloadUrl()
If DownloadUrl = "ErrorDownloadUrl" Then Response.End
Set PE_Soft = Nothing
FileExt = LCase(Mid(DownloadUrl, InStrRev(DownloadUrl, ".") + 1))
If InStr(DownloadUrl, "://") <= 0 Then
    DownloadUrl = "http://" & Trim(Request.ServerVariables("HTTP_HOST")) & DownloadUrl
End If

Select Case FileExt
Case "wmv", "mpg", "asf", "mp3", "mpeg", "avi"
    ShowMediaPlayer (DownloadUrl)
Case "rm", "ra", "ram","rmvb"
    ShowRealPlayer (DownloadUrl)
Case Else
    '方法一可以解决下载地址中的中文名在另存为对框中的乱码问题，但只能直接点击下载
    'Response.write "<meta http-equiv='refresh' content=""0;url='" & DownloadUrl & "'"">"
    
    '方法二可以使用“目标另存为”，但会有中文乱码问题
    Response.Redirect DownloadUrl
End Select


Function ShowMediaPlayer(strUrl)
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<title>八脚娱乐网--电影播放器</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<SCRIPT language=JavaScript> 
function click() { if (event.button==2) 
{alert('欢迎光临本站!(www.6554.cn)，谢谢！'); } } document.onmousedown=click // --> 
</SCRIPT>
</head>
<body leftmargin=0 topmargin=0  oncontextmenu='return false' ondragstart='return false' onselectstart ='return false' onselect='document.selection.empty()' oncopy='document.selection.empty()' onbeforecopy='return false' onmouseup='document.selection.empty()'> 
<noscript> 
<iframe src=*></iframe> 
</noscript>
<DIV align=center>
<TABLE id=table3 height=509 cellSpacing=0 cellPadding=0 width=622 border=0>
  <TBODY>
  <TR>
    <TD colSpan=3>
      <P align=center>
		<IMG height=51 alt="" 
      src="image/play_01.gif" 
      width=620></P></TD></TR>
  <TR>
    <TD width="27" rowSpan=4>
      <P align=center>
		<IMG height=509 alt="" 
      src="image/play_02.gif" 
      width=27></P></TD>
    <TD width=565 bgColor=#000000 height=386>
      <P align=center>
<object id=MediaPlayer1 codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701standby=Loading type=application/x-oleobject height=300 width=400 classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 VIEWASTEXT>
  <PARAM NAME="URL" value="<%=strUrl%>">
  <param name="AudioStream" value="-1">
  <param name="AutoSize" value="0">
  <param name="AutoStart" value="-1">
  <param name="AnimationAtStart" value="-1">
  <param name="AllowScan" value="-1">
  <param name="AllowChangeDisplaySize" value="-1">
  <param name="AutoRewind" value="0">
  <param name="Balance" value="0">
  <param name="BaseURL" value>
  <param name="BufferingTime" value="5">
  <param name="CaptioningID" value>
  <param name="ClickToPlay" value="-1">
  <param name="CursorType" value="0">
  <param name="CurrentPosition" value="-1">
  <param name="CurrentMarker" value="0">
  <param name="DefaultFrame" value>
  <param name="DisplayBackColor" value="0">
  <param name="DisplayForeColor" value="16777215">
  <param name="DisplayMode" value="0">
  <param name="DisplaySize" value="4">
  <param name="Enabled" value="-1">
  <param name="EnableContextMenu" value="-1">
  <param name="EnablePositionControls" value="0">
  <param name="EnableFullScreenControls" value="0">
  <param name="EnableTracker" value="-1">
  <param name="InvokeURLs" value="-1">
  <param name="Language" value="-1">
  <param name="Mute" value="0">
  <param name="PlayCount" value="1">
  <param name="PreviewMode" value="0">
  <param name="Rate" value="1">
  <param name="SAMILang" value>
  <param name="SAMIStyle" value>
  <param name="SAMIFileName" value>
  <param name="SelectionStart" value="-1">
  <param name="SelectionEnd" value="-1">
  <param name="SendOpenStateChangeEvents" value="-1">
  <param name="SendWarningEvents" value="-1">
  <param name="SendErrorEvents" value="-1">
  <param name="SendKeyboardEvents" value="0">
  <param name="SendMouseClickEvents" value="0">
  <param name="SendMouseMoveEvents" value="0">
  <param name="SendPlayStateChangeEvents" value="-1">
  <param name="ShowCaptioning" value="0">
  <param name="ShowControls" value="-1">
  <param name="ShowAudioControls" value="-1">
  <param name="ShowDisplay" value="0">
  <param name="ShowGotoBar" value="0">
  <param name="ShowPositionControls" value="-1">
  <param name="ShowStatusBar" value="-1">
  <param name="ShowTracker" value="-1">
  <param name="TransparentAtStart" value="-1">
  <param name="VideoBorderWidth" value="0">
  <param name="VideoBorderColor" value="0">
  <param name="VideoBorder3D" value="0">
  <param name="Volume" value="70">
  <param name="WindowlessVideo" value="0">
</object></P></TD>
    <TD width="29" height="509" rowSpan=4 align="left">
      <P align=center>
		<IMG height=509 alt="" 
      src="image/play_04.gif" 
      width=28></P></TD></TR>
  <TR>
    <TD>
      <P align=center>
		<IMG height=15 alt="" 
      src="image/play_05.gif" 
      width=565></P></TD></TR>
  <TR>
    <TD>
      <TABLE id=table4 cellSpacing=0 cellPadding=0 width="100%" align=center 
      border=0>
        <TBODY>
        <TR>
          <TD height="50" width=565 align=middle><script language='javascript' src='/AD/200604/11.js'></script><script language=JavaScript   src="http://www.paipic.com/piao.js"></script></TD>
        </TR>
</TBODY></TABLE></TD></TR>
  <TR>
        <TD vAlign=top width=565 background=image/play_07.gif height=44>

</body>
</html>
<%
End Function

Function ShowRealPlayer(strUrl)
%>
<html>
<head>
<title>八脚娱乐网--电影播放器</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body leftmargin=0 topmargin=0  oncontextmenu='return false' ondragstart='return false' onselectstart ='return false' onselect='document.selection.empty()' oncopy='document.selection.empty()' onbeforecopy='return false' onmouseup='document.selection.empty()'> 
<noscript> 
<iframe src=*></iframe> 
</noscript>
<DIV align=center>
<TABLE id=table3 height=509 cellSpacing=0 cellPadding=0 width=621 border=0>
  <TBODY>
  <TR>
    <TD colSpan=3>
      <P align=center>
		<IMG height=51 alt="" 
      src="image/play_01.gif" 
      width=620></P></TD></TR>
  <TR>
    <TD width="27" rowSpan=4>
      <P align=center>
		<IMG height=509 alt="" 
      src="image/play_02.gif" 
      width=27></P></TD>
    <TD width=565 bgColor=#000000 height=386>
      <P align=center>
<object classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' width='400' height='300'>
  <param name='CONTROLS' value='ImageWindow'>
  <param name='CONSOLE' value='Clip1'>
  <param name='AUTOSTART' value='-1'>
  <param name='src' value="<%=strUrl%>">
	<param name="SHUFFLE" value="0">
	<param name="PREFETCH" value="0">
	<param name="NOLABELS" value="0">
	<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>
<br>
<object classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' width='400' height='60'>
  <param name='CONTROLS' value='ControlPanel,StatusBar'>
  <param name='CONSOLE' value='Clip1'>
	<param name="AUTOSTART" value="0">
	<param name="SHUFFLE" value="0">
	<param name="PREFETCH" value="0">
	<param name="NOLABELS" value="0">
	<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>
      </P></TD>
    <TD width="29" rowSpan=4>
      <P align=center>
		<IMG height=509 alt="" 
      src="image/play_04.gif" 
      width=28></P></TD></TR>
  <TR>
    <TD>
      <P align=center>
		<IMG height=15 alt="" 
      src="image/play_05.gif" 
      width=565></P></TD></TR>
  <TR>
    <TD>
      <TABLE id=table4 cellSpacing=0 cellPadding=0 width="100%" align=center 
      border=0>
        <TBODY>
        <TR>
          <TD align=middle width=565 height=60 bgColor=#ffffff><script language='javascript' src='/AD/200604/11.js'></script></TD></TR>
</TBODY></TABLE></TD></TR>
  <TR>
    <TD vAlign=top width=565 background=image/play_07.gif height=44>
</TD>
  </TR></TBODY></TABLE></DIV>
<script language=JavaScript   src="http://www.paipic.com/piao.js"></script>
</body>
</html>  
<%
End Function
%>