<!--#include file="sub/conn.asp"-->
<!--#include file="sub/webvar.asp"--> 
<!--#include file="sub/fun.asp"--> 
<!--#include file="sub/online.asp"-->
<%online%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=webtitle%></title>
<link href="sub/main.css" rel="stylesheet" type="text/css">
</head>
<%=webbody%>
<!--#include file="top.asp"-->
<table width="970" height="7" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border-left:#FFD7ED 1px solid;border-right:#FFD7ED 1px solid;">
  <tr> 
    <td width="24"></td>
  </tr>
</table>
<table width="970" height="30" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border-left:#FFD7E2 1px solid;border-right:#FFD7E2 1px solid;">
  <tr> 
    <td align="center" valign="top"><font color="FF5393">
<%
	if request.cookies("mfqclove6")("username")<>"" then
	   response.write topnews2
	else
	   response.write topnews1
	end if
	%>
      </font></td>
  </tr>
</table>
<table width="970" height="349" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border-left:#FFD7E2 1px solid;border-right:#FFD7E2 1px solid;">
  <tr valign="top"> 
    <td align="center" width="720"> 
      <%
testid=replace(replace(replace(request("ID"),"'",""),"[",""),"]","")
If not isnumeric(testid) or len(testid)>7 Then
	closeconn
	call msg("错误或没有找到该信息","-1")
End if
conn.execute"update love_news set click=click+1 where id="&testid
set rs=server.createobject("adodb.recordset")
sql="select * from love_news where id="&testid
rs.open sql,conn,1,1
  IF  (rs.State =adStateClosed)  or (rs.BOF=true and rs.EOF =true)  or  rs.RecordCount=0 THEN     
    Response.Write "<BR><BR>&nbsp;&nbsp;<font color='#666666' style='font-size: 9pt'>错误或没有找到该信息！</FONT><BR><BR>"
    Response.Write "<p align=""center""><input onclick='history.back();' type='button' value='返回' style='font-size: 9pt'></p>"
  Else
%> 
      <table width="90%" height="40" border="0" align="center" cellpadding="0" cellspacing="1" style="border:#CEF2FD 1px dotted;">
        <tr bgcolor="#D2F5FF"> 
          <td align="center" bgcolor="#D2F5FF" style="padding-top:5px;"><b><font style="font-size:18px;color:#000000;"><%=ChkBadWords(rs("title"))%></font></b></td>
        </tr>
      </table>
      <table width="90%" height="25" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td align="center" valign="bottom">阅读 <font color="#FF0000"><%=rs("click")%></font> 次　发布时间：<%=rs("Addtime")%></td>
        </tr>
      </table>
      <table width="90%" height="235" border="0" align="center" cellpadding="0" cellspacing="0" style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all;">
        <tr> 
          <td valign="top" style="line-height:180%;font-size:10.3pt;color:#333333;padding-top:12px;"> 
            <%=ubbcode(ChkBadWords(rs("content")))%><br> <br> </td>
        </tr>
      </table>
      <%
End If
rs.close:set rs=nothing%>
    
<table width="720" height="22" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" >
  <tr> 
    <td align="right" valign="top">
<table width="97%" height="30" border="0" cellpadding="0" cellspacing="0">
        
        <tr> 
          <td width="66%" align="right">&nbsp;</td>
          <td align="right" valign="bottom"><a href=javascript:window.opener=null;window.close();><font color="#666666"><img src="images/zeai/close.gif" alt="关闭窗口" width="22" height="16" border="0" align="absmiddle"></font></a></td>
          <td width="5%" valign="bottom"><a href="#top"><img src="images/06/bl_top.gif" alt="返回页面顶部" width="22" height="16" border="0"></a></td>
        </tr>
      </table> 
    
    </td>
  </tr>
</table>
</td>
<td width="230" align="center" valign="top" ><!--#include file="youlan.asp"--></td>
  </tr>
</table>
<table width="970" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border-left:#FFD7E2 1px solid;border-right:#FFD7E2 1px solid;">
  <tr> 
    <td align="center" valign="top">&nbsp;</td>
  </tr>
</table>
<!--#include file="bottom.asp"-->
</body>
</html>
<%Closeconn%>
