<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<html>
<head>
<title><%=webname%>--新闻查看</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="images/css.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="5" topmargin="20" marginwidth="0" marginheight="0">
<%dim newsid
newsid=request.QueryString("id")
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from shop_news where newsid="&newsid,conn,1,3
rs("viewcount")=rs("viewcount")+1
rs.update
%>
<table width="98%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#5F95D3">
  <tr> 
    <td><div align="center"><font color=#ffffff><%=trim(rs("newsname"))%></font></div></td>
  </tr>
  <tr>
    <td height="97" valign="top" bgcolor="#E8F1FF"><table width="90%" height="5" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="5"></td>
        </tr>
      </table>
      <table width="90%" border="0" align="center" cellpadding="1" cellspacing="1">
        <tr> 
          <td colspan="2"><%=trim(rs("newscontent"))%></td>
        </tr>
        <tr> 
          <td height="5" colspan="2"></td>
        </tr>
        <tr> 
          <td width="49%" valign="bottom"><div align="center"><a href='javascript:window.close()'>点击关闭窗口</a></div></td>
          <td width="51%" style="PADDING-LEFT: 20px">发布人：<%=trim(rs("addname"))%><br>
            发布时间：<%=year(rs("adddate"))&"年"&month(rs("adddate"))&"月"&day(rs("adddate"))&"日"%><br>
            此新闻已被浏览 <font color=red><%=rs("viewcount")%></font> 次</td>
        </tr>
      </table>
      <table width="90%" height="5" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="5"></td>
        </tr>
      </table></td>
  </tr>
</table>
<%rs.close
set rs=nothing%>
</body>
</html>
