📄 saveadd.asp
字号:
<!--#include file="js/top.htm"-->
<!--#include file="char.inc"-->
<!--#include file="conn.asp"-->
<%
title=htmlencode2(Trim(request.form("title")))
musicid=htmlencode2(Trim(request.form("musicid")))
myname=htmlencode2(Trim(request.form("myname")))
yourname=htmlencode2(Trim(request.form("yourname")))
face=htmlencode2(request.form("face"))
content=htmlencode2(request.form("content"))
if title="" or musicid ="" or myname="" or yourname="" or content="" then
Response.Write "<script language=javascript>alert('请填写完整歌曲名,链接地址,点歌者和受赠者等信息哦!');javascript:history.go(-1);</script>"
Response.End
end if
set rs=server.createobject("adodb.recordset")
sql="select * from basic"
rs.open sql,conn,1,3
rs.addnew
rs("title")=title
rs("musicid")=musicid
rs("myname")=myname
rs("yourname")=yourname
rs("face")=face
rs("content")=content
rs.update
id=rs("id")
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css.css" rel=stylesheet type=text/css>
<title>音乐酒吧点歌台-免费点歌-发送点歌</title>
<script>
function test(){
z=document.body.createTextRange();
z.moveToElementText(bb);
z.select();
}
</script>
<script language="javascript">
function clickone() {
alert('点歌请到相应歌曲播放页点 "点歌送此歌曲给朋友 "!')
return false;
}
</script>
</head>
<body bgcolor="9FB3AB" leftMargin="0" topMargin="0" marginheight="0" marginwidth="0">
<div align="center">
<table border="0" width="770" cellspacing="0" cellpadding="0">
<tr>
<td width="157"><img border="0" src="images/TOP1.gif" width="157" height="17"></td>
<td width="593" background="images/TOP2.gif"> </td>
<td width="10"><img border="0" src="images/TOP3.gif" width="10" height="17"></td>
</tr>
</table>
<table border="0" width="770" cellspacing="0" cellpadding="2" background="images/top4.gif">
<tr>
<td align="center" width="50"><img border="0" src="images/icon1.gif" width="23" height="24"></td>
<td>音乐酒吧点歌台,送给好友一份最真挚的祝福!</td>
<td><div align="center"><strong><a href="help.asp" target="_blank">点歌帮助</a></strong></div></td>
<td width="100"><a href="#" onClick='javascript:{return clickone()}'><img border="0" src="images/dg.gif" width="86" height="22"></a></td>
</tr>
</table>
<table width="770" border="1" cellpadding="0" cellspacing="0" bordercolor="#FFF3F7" bgcolor="#FFFFFF" style="border-collapse: collapse">
<tr>
<td bgcolor="#FFF3F7" width="150" align="center" valign="top"><img border="0" src="images/girl.gif" width="150" height="500"></td>
<td align="center" valign="top">
<!--右-->
<table border="0" width="98%" cellspacing="0" cellpadding="5">
<tr>
<td align="center"><a href="index.asp"><img border="0" src="images/dgt.gif" width="350" height="50"></a></td>
</tr>
</table>
<table border="1" cellpadding="5" cellspacing="0" width="90%" bordercolor="#EAE0C3" style="border-collapse: collapse">
<tr>
<td bgcolor="#F9F4E4">您点的歌曲是:<%=title%> 请把下面信息复制发给您的朋友,他点击后才能看到点歌!</td>
</tr>
<tr>
<td style="line-height: 150%" align="center" height="100">
<font color="#FF0066" onMouseOver="test()" id="bb">HI,我给你点的歌:http://<%=Cstr(Request.ServerVariables("SERVER_NAME"))%>/song/y98cn.asp?id=<%=id%></font></td>
</tr>
<tr>
<td bgcolor="#F9F4E4">您可以通过 QQ MSN Mail 论坛任何方式把链接发给他.</td>
</tr>
</table>
<!--右-->
</td>
</tr>
</table>
</div>
<script language="jscript.encode" src=../js/end.txt></script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -