<!--#include FILE="../inc/checklogin.asp"-->
<!--#include FILE="../../inc/conn.asp"-->
<!--#include FILE="../../../inc/charfunction.asp"-->
<html>
<head>
<title>材料网 - 慈溪东方科技后台系统2.0版</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../../css/main_css.css" type="text/css">
<body>
<%
on error resume next
	newsid=chkstr(request("id"))
	if isnumeric(newsid)=false then
		response.Write"<center>参数错误！</center>"
		response.End()
	end if
	set rs=server.CreateObject("adodb.recordset")
	sql="select * from web_news_eng where id="&newsid
	rs.open sql,conn,1,1
	if rs.eof and rs.bof then
		response.Write"<center>参数错误！</center>"
		response.End()
	end if
%><br>
<table width="500" border="0" cellspacing="0" cellpadding="0" align="center">
      <tr>
        <td height="30"><div align="center" class="K-qanhuang"><font color="<%=rs("titlefontcolor")%>"><%=rs("title")%></font></div></td>
      </tr>
      <tr>
        <td height="30"><div align="center">发布时间：<font color='red'><%=rs("senddate")%></font>&nbsp;&nbsp;&nbsp;&nbsp;发布人：<font color='red'><%=rs("sendper")%></font></div></td>
      </tr>
	  <tr>
        <td height="1" bgcolor="#CCCCCC"></td>
      </tr>
      <tr>
        <td height="300" valign="top" class="S-T-12" style="padding-bottom:5px;padding-top:5px;">&nbsp;&nbsp;&nbsp;&nbsp;
		<%if rs("newstype")=1 then%>
			<div align="center"><img src="../upload/<%=rs("newsimage")%>"></div>
		<%end if%>
		<%=rs("content")%>
		</td>
      </tr>
      <tr>
        <td height="1" bgcolor="#CCCCCC"></td>
      </tr>
      <tr>
        <td height="20"><div align="right">[来源：<%=rs("sendpost")%>]&nbsp;&nbsp;&nbsp;</div></td>
      </tr>
    </table>
<%
rs.close
set rs=nothing
call closeconn()
%>
</body>
</html>