📄 pre_play1.asp
字号:
<!--#include file="conn.asp"-->
<%
dim theurl,title,suffix
suffix = " -- " & Request("title")
numeration = Request("numeration")
Set Rs = Server.CreateObject("ADODB.RecordSet")
Rs.Open "select * from basic where numeration="&numeration,conn,1,3
If Not Rs.Eof Then
title = Rs("title") & suffix
If instr(Rs("url"),"http://") <> 1 Then
theurl = "http://www.520y.com/nihao/" & Rs("url")
Else
theurl = Rs("url")
End If
Else
Response.Write "错误的请求!"
Response.End
End If
If instrrev(theurl,".swf") = len(theurl)-3 Then
Call pre_flash()
Response.End
End If
%>
<html>
<head>
<Script>
function clicked(url) {
url = "http://" + url.substring(7,url.length);
window.open(url,"realplayer")
close();
}
</Script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=title%></title>
<style type="text/css">
{ font-size: 12px;}td
{ font-size: 12px;}li
{ font-size: 12px;}select
{ font-size: 12px;}textarea
{ font-size: 12px;}a
{ font-size: 12px; color: #000000; text-decoration: none;}a:hover
{ color: #FF0000; text-decoration: none; font-size: 12px;}a:active
{ color: #000000; text-decoration: none; font-size: 12px;}.spx
{ font-size: 1px; background-color: #FFFFFF;}.spx1
{ font-size: 1px;}.lx
{ border-color: black black black #00FF00; border-style: solid; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 1px;}.rx
{ border-color: black #00FF00 #00FF00 black; border-style: solid; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 0px;}.bx
{ border-color: black black #00FF00; border-style: solid; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px;}input
{ font-size: 12px;}.zt1 { font-size: 9px;}--></style></head>
<body topmargin="0" leftmargin="0" text="#000000" bgcolor="#F6F6F6" onload="self.focus()">
<center><TABLE border="0" cellspacing="0" cellpadding="0" width="468">
<TD width="224" height="60" valign="center">
<%
music_dst = "firstrun.asp?suffix=" & suffix & "&no=" & numeration
Response.Write "<a href='" & music_dst & "' onclick='clicked(this.href);return false'>"
%>
<img src="down.gif" alt="下载,Download" height="60" border="0"></a></TD>
<TD width="244" height="60" valign="center"><b>下载方法: </b>对不起本站音乐只能在线收听,不能下载,如果需要在线试听,<font color=red>直接点击左侧按钮处即可.<br>
</font>
</TD>
<iframe frameborder=0 leftmargin=0 marginheight=0 marginwidth=0 scrolling=no src="http://www.e58.net/free/news99.htm" topmargin=0 width=100% height=60></iframe>
</TABLE>
</center>
<Script>window.focus();</Script>
</body>
</html>
<%
Function pre_flash()
%>
<Script Language="JavaScript">
var w = 600;
var h = 500;
var contents = '<title><%=title%></title>';
contents += '<body leftmargin="0" topmargin="0">';
contents += '<embed width="100%" height="100%" src="<%=theurl%>"></embed>';
contents += '</body>';
function action() {
if (document.body.clientWidth == 470) {
var pop1 = window.open("",'flash_window','left=600');
pop1.window.moveTo((screen.availWidth-w)/2,(screen.availHeight-h)/2);
pop1.window.resizeTo(w,h);
pop1.document.write(contents);
self.close();
}
else {
temp=window.open("","nbw_v6");
temp.close();
window.showModalDialog("about:<"+"script language=javascript>window.open('','nbw_v6','left=0,top=0');window.close();"+"</"+"script>","","dialogWidth:0px;dialogHeight:0px");
pop2=window.open("","nbw_v6");
pop2.resizeTo(w,h);
pop2.moveTo((screen.width-w)/2,(screen.height-h)/2);
pop2.document.writeln(contents);
self.close();
}
}
</Script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=title%></title>
<style type="text/css">
{ font-size: 12px;}td
{ font-size: 12px;}li
{ font-size: 12px;}select
{ font-size: 12px;}textarea
{ font-size: 12px;}a
{ font-size: 12px; color: #000000; text-decoration: none;}a:hover
{ color: #FF0000; text-decoration: none; font-size: 12px;}a:active
{ color: #000000; text-decoration: none; font-size: 12px;}.spx
{ font-size: 1px; background-color: #FFFFFF;}.spx1
{ font-size: 1px;}.lx
{ border-color: black black black #00FF00; border-style: solid; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 1px;}.rx
{ border-color: black #00FF00 #00FF00 black; border-style: solid; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 0px;}.bx
{ border-color: black black #00FF00; border-style: solid; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px;}input
{ font-size: 12px;}.zt1 { font-size: 9px;}--></style></head>
<body topmargin="0" leftmargin="0" text="#000000" bgcolor="#F6F6F6" onload="self.focus()">
<center><TABLE border="0" cellspacing="0" cellpadding="0" width="468">
<TD width="224" height="60" valign="center">
<%
Response.Write "<a href='#flash' onclick='action();return false' id='flash_href'>"
%>
<img src="down.gif" alt="下载,Download" height="60" border="0"></a></TD>
<TD width="244" height="60" valign="center"><b>下载方法: </b>对不起本站音乐只能在线收听,不能下载,如果需要在线试听,<font color=red>直接点击左侧按钮处即可.<br>
</font>
</TD>
<iframe frameborder=0 leftmargin=0 marginheight=0 marginwidth=0 scrolling=no src="http://www.e58.net/free/news99.htm" topmargin=0 width=100% height=60></iframe>
</TABLE>
</center>
<Script Language="JavaScript">
window.resizeTo(480,150);
self.focus();
</Script>
</body>
</html>
<%
End function
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -