📄 index.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
'******************************************************
'Yahoo!cn音乐小偷程序asp版
'
'软件作者:&Raymond
'官方网站:http://qrui.cn/
'意见反馈:http://www.qrui.cn/blog/read.php/28.htm
'******************************************************
strl=Request.ServerVariables("QUERY_STRING")
strl=replace(strl,"/","")
%>
<html><title>添加歌词</title>
<script language=Javascript type=text/Javascript>
<!--
function verify_input(form) {
if (form.lyricinfo.value == "" || form.email.value == "" || form.songname.value == "" || form.singername.value == "")
{
alert("请输入必须填写的信息!");
return false;
}else{if((form.email.value.indexOf("@") == -1) ||(form.email.value.indexOf(".")==-1)){ alert("请输入有效的email地址!");
return false;}
return true;
}
}
function openwin(mypage,myname,w,h,infocus) {
settings="width=" + w + ",height=" + h + ",top=0,left=0,scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no";
win=window.open(mypage,myname,settings);
win.focus();
}
function URLEncode(plaintext )
{
var SAFECHARS = "0123456789" + // Numeric
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" + // Alphabetic
"abcdefghijklmnopqrstuvwxyz" +
"-_.!~*'()"; // RFC2396 Mark characters
var HEX = "0123456789ABCDEF";
var encoded = "";
for (var i = 0; i < plaintext.length; i++ ) {
var ch = plaintext.charAt(i);
if (ch == " ") {
encoded += "+"; // x-www-urlencoded, rather than %20
} else if (SAFECHARS.indexOf(ch) != -1) {
encoded += ch;
} else {
var charCode = ch.charCodeAt(0);
if (charCode > 255) {
encoded += "+";
} else {
encoded += "%";
encoded += HEX.charAt((charCode >> 4) & 0xF);
encoded += HEX.charAt(charCode & 0xF);
}
}
} // for
return encoded;
};
function rd_clk(path,ur) {
var newurl;
if (document.images){
ur = URLEncode(ur);
newurl="http://cn.rd.yahoo.com/home/portal/hp/"+ path + 'url='+ur+"/" + "*" + "http://cn.yimg.com/search/yisou/clk.gif";
(new Image()).src=newurl;
}
return true;
}
function submit_frm(selItem){
var p = selItem;
if(!p) return;
var ac = p.elements['select'].value;
var n = p.elements['select'].options[p.elements['select'].selectedIndex].id;
var srhurl = ac.substring(0,ac.indexOf(".cn")+3);
switch(n){
case "bbs" :
srhurl = "http://cn.bbs.yahoo.com/search/index.html";
break;
case "movie" :
srhurl = "http://ys.cn.yahoo.com/";
break;
}
p.elements['p'].value = p.elements['p'].value.replace(/^\s+$/,'');
if(p.elements['p'].value == ""){
if(srhurl == ""){
p.action = "http://www.yahoo.com.cn";
}else{
p.action = srhurl;
}
this.method = "post";
window.open(srhurl);
return false;
}else{
p.action = ac;
}
if(ac.indexOf("combo.yahoo.com.cn")>0)
p.elements['t'].value='2';
else
p.elements['t'].value='';
p.submit();
return false;
}
-->
</script>
</head><body>
<center style="clear:both;">
<table width="400" border="0" align="center" cellpadding="0" cellspacing="0" class="result_page">
<tr>
<td height="21" align="left">这首歌的歌词不存在<br>如果你有这首歌的歌词,请帮我们添加<br>不想添加请点<a onclick="javascript:self.close();"><font color=red>这里</font></a></td>
</tr>
</table>
<form name="form1" method="post" action="http://music.cn.yahoo.com/lyricrec.html" onsubmit="return verify_input(this);">
<table width="370" border="0" align="center" cellpadding="5" cellspacing="0" class="result_page" style="border:solid 5px #EAF4FE;">
<tr>
<td align="right"> <strong>您的称呼</strong>: </td>
<td align="left"><input type="text" name="name" style="width:150px" /></td>
</tr>
<tr>
<td align="right"> <strong>电子邮件</strong>:</td>
<td align="left"><input type="text" name="email" style="width:150px" />(必须填写)</td>
</tr>
<tr>
<td align="right"> <strong>歌曲名称</strong>:</td>
<td align="left"><input type="text" name="songname" style="width:150px" />(必须填写)</td>
</tr>
<tr>
<td align="right"> <strong>专辑名称</strong>:</td>
<td align="left"><input type="text" name="albumname" style="width:150px" /></td>
</tr>
<tr>
<td align="right"> <strong>歌手</strong>:</td>
<td align="left"><input type="text" name="singername" style="width:150px" />(必须填写)</td>
</tr>
<tr>
<td align="right"> <strong>歌词</strong>:</td>
<td align="left"><textarea name="lyricinfo" rows="8" style="width:150px"></textarea>(必须填写)</td>
</tr>
<tr align="center">
<td colspan="2"><input type="submit" name="action" value="提交" /> <input type="reset" value="重 填" /></td>
</tr>
</table>
<input type="hidden" name="from_url" value="http://music.cn.yahoo.com/search.html?cp=<%=strl%>" />
<input type="hidden" name="from_ip" value="222.240.107.231" />
<input type="hidden" name="from_host" value="" />
<input type="hidden" name="from_agent" value="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)" />
</form>
<br />
<table width="400" border="0" align="center" cellpadding="0" cellspacing="0" class="result_page">
<tr>
<td height="21" align="left"></td>
</tr>
</table>
<br />
</center>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -