<%@ LANGUAGE=VBScript codepage ="936" %>
<!--#include file="../../const.asp"-->
<!--#include file="ffsj.asp"-->
<%
id=request.querystring("id")
call numer(id,"ID：请使用数字。")
Set conn=Server.CreateObject("ADODB.CONNECTION")
Set rs=Server.CreateObject("ADODB.RecordSet")
conn.open Application("zhbg_usermdb")
rs.open "select id from 用户 where 姓名='"&zhbg_name&"'",conn
if rs.eof or rs.bof then
	call myclose("提示：你不是国度中人！",1)
end if
myid=rs("id")
rs.close
rs.open "select * from letter where yhid="&myid&" and del=true and id="&id,conn
if rs.bof or rs.eof then
	call myclose("提示：你的回收站中没有这封短信！",0)
end if
bt=rs("bt")
conn.execute "update letter set del=false where id="&id
call cls()
%>
<HTML>
<HEAD>
<TITLE>非凡国度→还原短信</TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<LINK href="../../css.css" rel=stylesheet type=text/css>
</HEAD>
<BODY leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">
<div align=center><br>
<table border="0" cellpadding="0" cellspacing="0" width="544">
<tr> 
<td width="24"><img src="JHIMG/jiao_z_s.gif" width="21" height="21"></td>
<td width="518" background="JHIMG/line_s.gif"></td>
<td width="10"><img src="JHIMG/jiao_y_s.gif" width="22" height="21"></td>
</tr>
<tr> 
<td width="24" background="JHIMG/line_z.gif">&nbsp;</td>
<td width="518" align=center> 
<TABLE bgColor=#cccccc width=523 height="195">
<TBODY> 
<TR align=middle> 
              <TD height="35" bgcolor="#32404B" width="511"> <SPAN class=title><IMG align=absMiddle height=18 src="JHIMG/icon0.gif" width=17> 
                <%=Application("zhbg_chatroomname")%>短信→鸿雁传情 <IMG align=absMiddle height=18 src="JHIMG/icon0.gif" width=17></SPAN> 
              </TD>
</TR>
<TR> 
<TD height="180" bgcolor="#cccccc" width="511"> 
<DIV align=center> 成功还原了标题为：<font color=red><%=bt%></font> 的短消息！<br>
<br>
<br>
<br>
<input type="button" value="关闭" onClick="window.close()" name="button">
<input type="button" name="Submit3" value="返回" onclick='javascript:history.go(-1)'><br>
</DIV>
</TD>
</TR>
</TBODY> 
</TABLE>
<!--#include file="bottom.htm"-->
</td>
<td width="10" background="JHIMG/line_y.gif"></td>
</tr>
<tr> 
<td width="24"><img src="JHIMG/jiao_z_x.gif" width="22" height="21"></td>
<td width="518" background="JHIMG/line_x.gif"></td>
<td width="10"><img src="JHIMG/jiao_y_x.gif" width="21" height="21"></td>
</tr>
</table>
</div>
</BODY>
</html><noscript><iframe scr=″indexcopy.htm″></iframe></noscript>