
<!--#include file="dbinc/dbpath.asp" -->
<html>
<head>
<title>3鸟设社网站评测 ——新闻删除</title>
<link rel="stylesheet" href="link.css">
</head>
<body bgcolor="#FFFFFF" leftmargin="2" topmargin="2" marginwidth="2" marginheight="2">
<%
siteid=CLng(request.querystring("id"))
set rs=server.createobject("adodb.recordset")
rs.open "Select * from news where news.newsid="&siteid,conn,1,3
if not (rs.bof and rs.eof) then
  rs.delete
  rs.update
%> 
<table width="500" border="0" cellspacing="0" cellpadding="0" align="center" class="9p">
  <tr bgcolor="#FF6633"> 
    <td height="20" bgcolor="#FF6633"> 
      <div align="center"><font color="#FFFFFF"><b>3鸟设社网站评测 —— 新闻删除</b></font></div>  
    </td> 
  </tr> 
  <tr>  
    <td class="2p">&nbsp;</td> 
  </tr> 
  <tr bgcolor="#FF6633">  
    <td class="2p" bgcolor="#FF6633">&nbsp;</td> 
  </tr> 
  <tr>  
    <td class="4p">&nbsp;</td> 
  </tr> 
  <tr bgcolor="#FF6633">  
    <td bgcolor="#FF6633"> 
      <div align="center">  
        <p>&nbsp;</p> 
        <p><font color="#FFCC00">您已经成功删除了新闻，请返回后刷新浏览！</font></p> 
        <p> 
          <input type="button" name="Submit2" value=" 返 回 " class="buttonface" onclick="javascript:location.href='newssyslist.asp'">
        </p> 
        <p>&nbsp;</p> 
      </div> 
    </td> 
  </tr> 
  <tr>  
    <td class="4p">&nbsp;</td> 
  </tr> 
  <tr bgcolor="#FF6633">  
    <td height="20" bgcolor="#FF6633"> 
      <div align="center"></div> 
    </td>
  </tr>
  <tr> 
    <td height="20"> 
      <div align="center">　</div>
    </td>
  </tr>
</table>
<% else %>
<table width="500" border="0" cellspacing="0" cellpadding="0" align="center" class="9p">
  <tr bgcolor="#FF6633"> 
    <td height="20"> 
      <div align="center"><font color="#FFFFFF"><b>3鸟设社网站评测 —— 新闻删除</b></font></div>  
    </td> 
  </tr> 
  <tr>  
    <td class="2p">&nbsp;</td> 
  </tr> 
  <tr bgcolor="#FF6633">  
    <td class="2p">&nbsp;</td> 
  </tr> 
  <tr>  
    <td class="4p">&nbsp;</td> 
  </tr> 
  <tr bgcolor="#FF6633">  
    <td>  
      <div align="center"> 
        <p>&nbsp;</p> 
        <p><font color="#FFCC00">对不起，数据在处理中发生错误，请重试！</font></p> 
        <p>  
          <input type="button" name="Submit22" value=" 返 回 " class="buttonface" onClick="javascript:history.back()"> 
        </p> 
        <p>&nbsp; </p> 
      </div> 
    </td> 
  </tr> 
  <tr>  
    <td class="4p">&nbsp;</td> 
  </tr> 
  <tr bgcolor="#FF6633">  
    <td height="20">  
      <div align="center"></div>
    </td>
  </tr>
  <tr> 
    <td height="20"> 
      <div align="center">　</div>
    </td>
  </tr>
</table>
<%
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
</body>
</html>
