⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 z-z-topge10.asp

📁 一个不错的音乐网站
💻 ASP
字号:
<!--#include file="bzmtvconst.asp"-->
<%CheckAdmin3%>
<%
filename="../js/z-topge10.js"
if request("body")<>"" then
Set fso = Server.CreateObject("Scripting.FileSystemObject")
Set fout = fso.CreateTextFile(server.mappath(""&filename&""))
fout.Write request("body")
fout.close
set fout=nothing
set fso=nothing
mskrindex="ok"
end if

%>
<html>

<head>
<SCRIPT LANGUAGE="JavaScript">
helpstat = false;
stprompt = true;
basic = false;
function thelp(swtch){
	if (swtch == 1){
		basic = false;
		stprompt = false;
		helpstat = true;
	} else if (swtch == 0) {
		helpstat = false;
		stprompt = false;
		basic = true;
	} else if (swtch == 2) {
		helpstat = false;
		basic = false;
		stprompt = true;
	}
}

function AddText(NewCode) {
document.frmAnnounce.body.value+=NewCode
}

function runEx(){
//alert('请注意,按下确定将生成页面,按下后请稍后....');
var winEx = window.open("", "winEx", "width=300,height=200,status=yes,menubar=yes,scrollbars=yes,resizable=yes"); winEx.document.open("text/html", "replace"); 
winEx.document.write(unescape(event.srcElement.parentElement.children[2].value)); 
winEx.document.close(); 
}
</SCRIPT>
<script language="Javascript">
<!-- hide

function insertsmilie(smilieface){

	document.frmAnnounce.body.value+=smilieface;
}
// -->
</script>
<style>
td{font-size:9pt;line-height:140%} 
body{font-size:9pt;line-height:140%} 
a:link       { color: #0033CC; text-decoration: none }
a:visited    { color: #0033CC; text-decoration: none }
a:active     { color: #FF0000; text-decoration: none }
a:hover      { color: #000000; text-decoration: underline}
</style>
</head>
<body topmargin="1" leftmargin="1">
<%if mskrindex="ok" then%>
<table border="0" cellspacing="0" style="border-collapse: collapse" width="100%" cellpadding="0">
  <tr>
    <td width="100%"><font color="#FF0000">·</font>成功生成歌曲排行js,时间<%=Now()%><br><font color="#FF0000">·</font><a target="_blank" href="<%=filename%>"><%=filename%></a></td>
  </tr>
</table>
<%else%>
<div align=center>
<table border="0" cellspacing="1" style="border-collapse: collapse" width="96%" bgcolor="#888888" height="100%">
<form name="frmAnnounce" method="post" action="z-z-topge10.asp">
  <tr>
   <td width="100%" background="bzmtv/bgleft.gif">
    <b><font color="red">生成歌曲排行js&nbsp; 生成文件</font>:<a class=JyDownSort target="_blank" href="<%=filename%>"><%=filename%></a> </b></td>
  </tr>
  <tr>
    <td width="100%" bgcolor="#FFFFFF" height="100%"><textarea style="width:100%; height:100%;" rows="19" name="body" cols="102">
     <%       
m=0       
set rs=conn.execute("SELECT top 14 id,Singer,wma,ClassID,SClassID,NClassID,MusicName,hits FROM MusicList order by hits desc")        
if not Rs.eof then       
do while not rs.eof       
m=m+1       
%> 
document.writeln("<tr><td align=center width=100% height=3 ></td></tr> <td width=80% >&nbsp<IMG src=\"../images/greenpoint.gif\">&nbsp<a href=\"javascript:play('<%=rs("id")%>')\"><%=rs("MusicName")%></a></td>");
  <%       
if m>=14 then exit do       
rs.movenext        
loop       
else    
%>
document.writeln("<tr><td align=center width=100% height=2 ></td></tr><tr> <td width=100% align=center >&nbsp尚无收录</td></tr>");   
<%       
end if       
rs.close       
%>
    
    </textarea></td>
  </tr>
  <tr>
    <td width="100%" bgcolor="#F0F0F0">
    <p align="center">        
    <input name="change" class=buttonface value="生成(JS)" type='submit'> </td>
  </tr>
</form>
</table>
<%
end if
%>   
</body>    
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -