<!--#include file="conn.asp"-->
<!--#include file="config.asp"-->
<%
dim id,wish_word
id=checkstr(request("id"))

if not isinteger(id) then
  call mb("对不起，请指定要点歌的Flash！","index.asp",1)
end if
set rs=conn.execute("select * from wish where id="&id)

if rs.bof and rs.eof then
  call mb("对不起，找不到您要查看的祝福！","index.asp",1)
end if

wish_word=rs("wish_word")
wish_word=replace(wish_word,chr(13),"<br>")
wish_word=replace(wish_word," ","&nbsp;")
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=sitename%> - 查看网友送出的祝福</title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>

<body background="images/bg.gif" leftmargin="0" topmargin="0">
<br>

<TABLE width="275" border=0 align="center" cellPadding=0 cellSpacing=0 borderColor=#000000>
  <TR> 
    <TD background="images/T_back.gif" width="27%"><IMG src="images/T_1.gif" width=90 height=24 border="0"></TD>
    <TD background="images/T_back.gif" width="61%"><font color="#CC0000">查看网友送出的祝福</font></TD>
    <TD width="12%"><IMG height=24 src="images/T_2.gif" width=29></TD>
  </TR>
</TABLE>
<table width="275" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
  <form name="wish" method="post" action="?action=save">
    <tr bgcolor="#FFFFFF"> 
      <td width="68" height="22" align="right" bgcolor="#FFFFFF">祝福来自:</td>
      <td width="204" height="22">&nbsp;<a href="mailto:<%=rs("from_email")%>" title="发邮件给 <%=rs("from_name")%>..."><%=rs("from_name")%></a> 
        　[<%=rs("from_where")%>] </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="22" align="right" bgcolor="#FFFFFF">祝福给于:</td>
      <td height="22">&nbsp;<a href="mailto:<%=rs("to_email")%>" title="发邮件给 <%=rs("to_name")%>..."><%=rs("to_name")%></a></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="22" align="right" bgcolor="#FFFFFF">点播Flash:</td>
      <td height="22">&nbsp;<a href="flash_play.asp?id=<%=rs("flash_id")%>" target=_blank title="在线观看Flash..."><%=rs("flash_name")%></a></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="22" align="right" bgcolor="#FFFFFF">祝福短语:</td>
      <td height="22">&nbsp;<%=rs("wish_title")%></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="22" align="right" bgcolor="#FFFFFF">网友的祝福:</td>
      <td height="22">&nbsp;<%=wish_word%></td>
    </tr>
  </form>
</table>
<%
rs.close
set rs=nothing
call closeconn()
%>
</body>
</html>
