<!--#include file="conn.asp"-->
<!--#include file="top11.asp"-->
<!--#include file="../Star.INC"-->
<!--#include file="function.asp"-->

<%
MusicID=request("MusicID")
title=request("Musicname")

%>

<%
founderr=false
if isnull(session("UserName")) or session("UserName")="" or isnull(session("PassWord")) or session("PassWord")="" then
	errmsg=errmsg+"<SCRIPT language=JavaScript>alert(' 对不起, 只有会员才点歌!赶快注册吧!!! ');location.href = '../vip_login.asp';</SCRIPT>"
	call error()
	Response.End 
end if
%>
<%
if session("username")="" or isnull(session("username")) or session("Password")="" or isnull(session("Password")) then
	errmsg="你没有登陆！"
	call error()
	Response.end 
end if
username=session("username")
Password=session("Password")
set rs=server.createobject("adodb.recordset")
sql="select * from [user] where username='"&username&"' and password='"&password&"'"
rs.open sql,conn,1,1
if rs.eof then
	errmsg="<br>操作错误。请重新登陆！"
	call error()
	Response.end
else
	id=rs("id")
	Sex=rs("Sex")
	Email=rs("Email")
	Name=rs("Name")
	oicq=rs("oicq")
	Address=rs("Address")
	huikuan=rs("huikuan")
	Tel=rs("Tel")
rs.close
end if
%>

  
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="Css.css" rel=stylesheet type=text/css>
<%set rs=conn.execute("select * from [home]")%>
<title><%=rs("homes")%>-免费点歌-点歌列表-<%=rs("url")%></title>
<script language="JavaScript">

  <!-- Funny text script by Bart Jellema
    var hellotext="<%=rs("Description")%>"
    var thetext=""
    var started=false
    var step=0
    var times=1

    function welcometext()
    {
      times--
      if (times==0)
      { 
        if (started==false)
        {
          started = true;
          window.status = hellotext;
          setTimeout("anim()",1); 
        }
        thetext = hellotext;
      }
    }

    function showstatustext(txt)
    {
      thetext = txt;
      setTimeout("welcometext()",4000)
      times++
    }

    function anim()
    {
      step++
      if (step==7) {step=1}
      if (step==1) {window.status='>==='+thetext+'===<'}
      if (step==2) {window.status='=>=='+thetext+'==<='}
      if (step==3) {window.status='>=>='+thetext+'=<=<'}
      if (step==4) {window.status='=>=>'+thetext+'<=<='}
      if (step==5) {window.status='==>='+thetext+'=<=='}
      if (step==6) {window.status='===>'+thetext+'<==='}
      setTimeout("anim()",200);
    }
  // Funny text script by Bart Jellema -->
welcometext()
</script>
<script type="text/javascript">
<!--
var time = 3000;
var numofitems = 7;

//menu constructor
function menu(allitems,thisitem,startstate){ 
  callname= "gl"+thisitem;
  divname="subglobal"+thisitem;  
  this.numberofmenuitems = 7;
  this.caller = document.getElementById(callname);
  this.thediv = document.getElementById(divname);
  this.thediv.style.visibility = startstate;
}

//menu methods
function ehandler(event,theobj){
  for (var i=1; i<= theobj.numberofmenuitems; i++){
    var shutdiv =eval( "menuitem"+i+".thediv");
    shutdiv.style.visibility="hidden";
  }
  theobj.thediv.style.visibility="visible";
}
				
function closesubnav(event){
  if ((event.clientY <48)||(event.clientY > 107)){
    for (var i=1; i<= numofitems; i++){
      var shutdiv =eval('menuitem'+i+'.thediv');
      shutdiv.style.visibility='hidden';
    }
  }
}
// -->
</script>
<script language="javascript">
<!--
function mp(htmlurl){
var
newwin=window.open(htmlurl,"52050004","top=2,left=2,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=460,height=620");
newwin.focus();
return false;
}
//-->
</script>
</head>
<body leftMargin=0 topMargin=0 bgcolor="#5C6D0C" style="background-image: url('')">
<table width="900" BORDER="0" CELLSPACING="0" CELLPADDING="0" bgcolor="#FFFFFF"> 
    <TBODY>
      <TR>
        <TD background=../images/addr.jpg><TABLE cellSpacing=0 cellPadding=0 width="95%" border=0>
            <TBODY>
              <TR>
                <TD align=middle width="5%"><IMG height=17 src="../images/arrows2.gif" 
            width=16></TD>
                <TD width="95%">您现在的位置：&nbsp;<A class=LinkPath 
            href="../"><%=rs("homes")%></A>&nbsp;&gt;&gt;&nbsp;点歌台</TD>
              </TR>
            </TBODY>
        </TABLE></TD>
      </TR>
    </TBODY>
  </TABLE>

<table border="0" width="900" cellspacing="0" cellpadding="0">
	<tr>
		<td width="157"><img border="0" src="images/TOP1.gif" width="157" height="17"></td>
		<td width="743" background="images/TOP2.gif">　</td>
	</tr>
</table>

<table border="0" width="900" 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><%=rs("homes")%>,送给好友一份最真挚的祝福!</td>
		<td width='40' align='center'><a href="#" onClick="window.open('add1.asp','huanqiu','scrollbars=no,resizable=no,width=170,height=120,menubar=no,top=98,left=68')">
<img src='images/dg.gif' border='0' width='86' height='22' alt='我要点歌'></a>
	</tr>
</table>

<table width="902" 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> 
       <form method="post" action="Saveadd.asp">
		<table border="1" cellpadding="5" cellspacing="0" width="90%" bordercolor="#EAE0C3" style="border-collapse: collapse">
			<tr>
			  <td colspan="2" bgcolor="#F9F4E4" style="line-height: 150%">·请填写好下面表单,并把系统生成的网址发送给您的朋友!</td>
			</tr>
			<tr>
				<td>歌曲：</td>
			  <td><%=title%><input name="title" type="HIDDEN" value="<%=title%>" size="20" maxlength="11">
			    <input name="musicid" type="HIDDEN" id="musicid" value="<%=musicid%>" size="40">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;<a href="help.asp"><img border="0" src="images/help.gif" width="45" height="18"></a></td>
			</tr>
			<tr>
				<td>您的昵称：</td>
				<td>
				
				<input type="text" name="myname" size="20" maxlength="6" value="<%=Name%><%=Sex%>"></td>
			</tr>
			<tr>
				<td>接受者昵称：</td>
				<td><input name="yourname" size="20" maxlength="6"></td>
			</tr>
			<tr>
				<td>选择背景：</td>
				<td>
<select name=face style="font-family:arial" size=10 onChange="document.images['face'].src=options[selectedIndex].value; parent.document.forms[0].myface.value=options[selectedIndex].value">
<option value=pic/12xy.gif selected>背景0.gif</option>
<option value=pic/001_c.gif>背景1.gif</option>
<option value=pic/002_c.gif>背景2.gif</option>
<option value=pic/003_c.gif>背景3.gif</option>
<option value=pic/004_c.gif>背景4.gif</option>
<option value=pic/005_c.gif>背景5.gif</option>
<option value=pic/006_c.gif>背景6.gif</option>
<option value=pic/007_c.gif>背景7.gif</option>
<option value=pic/008_c.gif>背景8.gif</option>
<option value=pic/009_c.gif>背景9.gif</option>
<option value=pic/010_c.gif>背景10.gif</option>
<option value=pic/011_c.gif>背景11.gif</option>
<option value=pic/012_c.gif>背景12.gif</option>
<option value=pic/013_c.gif>背景13.gif</option>
<option value=pic/014_c.gif>背景14.gif</option>
<option value=pic/015_c.gif>背景15.gif</option>
<option value=pic/016_c.gif>背景16.gif</option>
<option value=pic/017_c.gif>背景17.gif</option>
<option value=pic/018_c.gif>背景18.gif</option>
<option value=pic/019_c.gif>背景19.gif</option>
<option value=pic/020_c.gif>背景20.gif</option>
<option value=pic/021_c.gif>背景21.gif</option>
<option value=pic/022_c.gif>背景22.gif</option>
<option value=pic/023_c.gif>背景23.gif</option>
<option value=pic/024_c.gif>背景24.gif</option>
<option value=pic/025_c.gif>背景25.gif</option>
<option value=pic/026_c.gif>背景26.gif</option>
<option value=pic/027_c.gif>背景27.gif</option>
<option value=pic/028_c.gif>背景28.gif</option>
<option value=pic/029_c.gif>背景29.gif</option>
</select>
<img id=face src="pic/12xy.gif" width="110" height="118">              
<INPUT maxLength=100 value=pic/12xy.gif name=myface>              
</td>
	</tr>			<tr>
				<td>祝福语：</td>
				<td><textarea rows="6" name="content" cols="35"></textarea></td>
			</tr>
			<tr>
			<td colspan="2" align="center"><input type="image" src="images/zf.gif" width="86" height="27" border="0"></td>
			</tr>
          </table>
	    </form>	
	   <!--右-->
	   </td>
	</tr>
</table>  
                                                                                                
<SCRIPT src="../js/bottom.Js"></SCRIPT>
                                             
</body>
                                                             
</html>