<!--#include file="conn.asp"-->
<%if IsNumeric(request.QueryString("id"))=False then
response.write("<script>alert(""非法访问!"");location.href=""index.asp"";</script>")
response.end
end if
dim id
id=request.QueryString("id")
%>
<html><head><title>商盟最新信息</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../image/css.css" rel="stylesheet" type="text/css">
<link href="images/bg.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="10" topmargin="5" marginwidth="0" marginheight="0">
<table style="border:1px solid #6B8FC8" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td width="75%" valign="top" align="center"> <table style="border:1px solid #ffffff;padding-left:10px;padding-right:10px" width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="25" bgcolor="63C700"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td> <div align="center">
                    <%set rs=server.createobject("adodb.recordset")
rs.open "select * from usernews where newsid="&request("id"),conn,1,1
%>
                    <b><%=rs("title")%></b></div></td>
                <td><div align="right"><a href="usernewslists.asp">更多</a>...</div></td>
              </tr>
          </table></td>
        </tr>
        <tr> 
          <td width="86%" valign="top" bgcolor="EFF7CE" style="padding-top:15px"><%=rs("content")%> <%=HtmlSelfEnCode(News_Content)%> <%
Function HtmlSelfEnCode(content)
TempContent=content
TempContent=replace(TempContent,"<IMG src=","<P align=center><IMG  onload='javascript:if(this.width>screen.width-333)this.width=screen.width-333' src=")
HtmlSelfEnCode=TempContent
End Function
%></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>