<!--#include file="conn.asp"-->



	<%if session("UserName")="" and session("PassWord")="" then %>
    
	<script>alert('您尚未登陆，请登陆以后再观看本站电影！');history.back();</script>
	
	<%response.end
	
	end if%>
<% if session("tjrs")<6 and session("kps")>6 then %>
	<script>alert('您已经在本站看了六部电影，但尚未能为本站拉够六位会员,轻轻松松帮本站拉六个会员，以后您就能观看本站所有电影!');history.back();</script>
	<% 
	response.end
	end if%>



<%

 


if session("id")<>"" then
set rs1=server.createobject("adodb.recordset")
 sql="select * from [user]  where id="&session("id")&""
rs1.open sql,conn,1,3
if not rs1.eof then
rs1("kps")=rs1("kps")+1
rs1.update
session("kps")=rs1("kps")
end if
rs1.close
set rs1=nothing
end if




   see=request("s")
   id=request("id")
   set rs=server.createobject("adodb.recordset")
   sql="select * from [movie]  where id="&id
   rs.open sql,conn,1,1
   select case see
          case 1
             real=rs("movie1")
          case 2
             real=rs("movie2")
          case 3
             real=rs("movie3")
          case 4
             real=rs("movie4")
          case 5
             real=rs("movie5")
          case 6
             real=rs("movie6")
          case 7
             real=rs("movie7")
          case 8
             real=rs("movie8")
          case 9
             real=rs("movie9")
          case 10
             real=rs("movie10")
          case 11
             real=rs("movie11")
          case 12
             real=rs("movie12")
          case 13
             real=rs("movie13")
          case 14
             real=rs("movie14")
          case 15
             real=rs("movie15")
          case 16
             real=rs("movie16")
          case 17
             real=rs("movie17")
          case 18
             real=rs("movie18")
          case 19
             real=rs("movie19")
          case 20
             real=rs("movie20")
          case 21
             real=rs("movie21")
          case 22
             real=rs("movie22")
          case 23
             real=rs("movie23")
          case 24
             real=rs("movie24")
          case 25
             real=rs("movie25")
          case 26
             real=rs("movie26")
          case 27
             real=rs("movie27")
          case 28
             real=rs("movie28")
          case 29
             real=rs("movie29")
          case 30
             real=rs("movie30")
          case 31
             real=rs("movie31")
          case 32
             real=rs("movie32")
          case 33
             real=rs("movie33")
          case 34
             real=rs("movie34")
          case 35
             real=rs("movie35")
          case 36
             real=rs("movie36")
          case 37
             real=rs("movie37")
          case 38
             real=rs("movie38")
          case 39
             real=rs("movie39")
          case 40
             real=rs("movie40")
          case 41
             real=rs("movie41")
          case 42
             real=rs("movie42")
          case 43
             real=rs("movie43")
          case 44
             real=rs("movie44")
          case 45
             real=rs("movie45")
          case 46
             real=rs("movie46")
          case 47
             real=rs("movie47")
          case 48
             real=rs("movie48")
          case 49
             real=rs("movie49")
   end select
%>
<HTML>
<HEAD>
<TITLE>免费小电影网播放器
</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<SCRIPT>
//加入页面保护
    function rf()
      {return false; }
    document.oncontextmenu = rf
    function keydown()
      {if(event.ctrlKey ==true || event.keyCode ==93 || event.shiftKey ==true){return false;} }
      document.onkeydown =keydown
    function drag()
      {return false;}
    document.ondragstart=drag 
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>
</head>
<body marginwidth="0" leftmargin="0" topmargin="0" bgcolor="#000000">
<script language="JAVASCRIPT">
<!-- Begin
var ap_name = navigator.appName;
var ap_vinfo = navigator.appVersion;
var ap_ver = parseFloat(ap_vinfo.substring(0,ap_vinfo.indexOf('(')));

var time_start = new Date();
var clock_start = time_start.getTime();
var dl_ok=false;

function init ()
{
if(ap_name=="Netscape" && ap_ver>=3.0)
dl_ok=true;
return true;
}

function get_time_spent ()
{
var time_now = new Date();
return((time_now.getTime() - clock_start)/1000);
}

function show_secs () 
{
var i_total_secs = Math.round(get_time_spent());
var i_secs_spent = i_total_secs % 60;
var i_mins_spent = Math.round((i_total_secs-30)/60);
var s_secs_spent = "" + ((i_secs_spent>9) ? i_secs_spent : "0" + i_secs_spent);
var s_mins_spent = "" + ((i_mins_spent>9) ? i_mins_spent : "0" + i_mins_spent);
document.fm0.time_spent.value = s_mins_spent + ":" + s_secs_spent;
window.setTimeout('show_secs()',1000);
}
init();
window.setTimeout('show_secs()',1);
//  End -->
          </script>
<div align="center">
  <center>
         
<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="470" height="44">
  <tr> 
    
    <td width="35" valign="top"  height="18"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
        <tr> 
          <td width="100%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="290" height="75">
              <tr> 
                <td width="290" height="72"><div align="center"> 
                    <%
  dim lurl
	lurl=real
select case Lcase(right(lurl,4))
		case ".swf"
%>
                    <p align=center> 
                      <OBJECT CLASSID=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 CODEBASE=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 WIDTH=500 HEIGHT=350>
                        <PARAM NAME=movie VALUE=<%=lurl%>>
                        <PARAM NAME=quality VALUE=high>
                        <EMBED SRC=<%=lurl%> QUALITY=high PLUGINSPAGE=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash TYPE=application/x-shockwave-flash WIDTH=500 HEIGHT=350></EMBED> 
                      </OBJECT>
                      <%	
		CASE ".mp3",".mid",".wmv",".mpg"	
%>
                    <p align=center> 
                      <object align=middle classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 class=OBJECT id=MediaPlayer width=500 height=350 >
                        <param name=ShowStatusBar value=-1>
                        <param name=Filename value=<%=replace(lurl,chr(32),"%20",1)%>>
                        <embed type=application/x-oleobject codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701 flename=mp src=<%=lurl%>  width=500 height=100></embed> 
                      </object>
                      <%
		case else

			select case Lcase(right(lurl,3))
			  case ".rm"
%>
                    <p align=center> 
                      <OBJECT classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA class=OBJECT id=RAOCX width=500 height=350>
                        <PARAM NAME=SRC VALUE=<%=lurl%>>
                        <PARAM NAME=CONSOLE VALUE=Clip1>
                        <PARAM NAME=CONTROLS VALUE=imagewindow>
                        <PARAM NAME=AUTOSTART VALUE=true>
                      </OBJECT>
                      <br>
                      <OBJECT classid=CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA height=1 id=video2 width=500>
                        <PARAM NAME=SRC VALUE=<%=lurl%>>
                        <PARAM NAME=AUTOSTART VALUE=-1>
                        <PARAM NAME=CONTROLS VALUE=controlpanel>
                        <PARAM NAME=CONSOLE VALUE=Clip1>
                      </OBJECT>
                      <%	
			 case ".ra"
%>
                    <p align=center> 
                      <OBJECT classid=CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA height=1 id=video2 width=500>
                        <PARAM NAME=SRC VALUE=<%=lurl%>>
                        <PARAM NAME=AUTOSTART VALUE=-1>
                        <PARAM NAME=CONTROLS VALUE=controlpanel>
                        <PARAM NAME=CONSOLE VALUE=Clip1>
                      </OBJECT>
                      <%			 	
			 case else 
%>
                    <p align=center> 
                      <embed name=player src=<%=lurl%> 

width=450 height=350 type=audio/x-pn-realaudio-plugin  border=0 autostart=1></embed> 
                      <%
	end select 
	end select
 
%>
                  </div></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
 
     
  </tr>
 
</table>

  </center>
</div>

</body>

</html>
<%
rs.close
set rs=nothing
 
conn.close
set conn=nothing
%>

