<!--#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">
<style type="text/css">
<!--
.style1 {color: #75710A}
-->
</style>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onmouseover="window.status='〖<%=webname%>〗<%=weburl%>如果您喜欢本站,别忘了把本站介绍给您的好友哦！';return true">
<!--#include file="webtop.asp"-->
<TABLE width=778 border=0 align=center cellPadding=0 cellSpacing=0 background="images/content.gif">
  <TBODY>
    <TR>
      <TD class=b width=10></TD></TD>
      <TD width=764 align=left vAlign=top bgcolor="#FFFFFF" class=b><%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")
if not isinteger(id) then
response.write"<script>alert(""非法访问!"");location.href=""index.asp"";</script>"
end if%>
<%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
%> 
&nbsp; &nbsp;&nbsp;<span class="list_link"><a href="index.asp" target="_parent">首页</a>--<a href="news.asp" target="_parent">网站新闻</a>&gt;&gt;</span>
<table width="760" align="center" border="0" cellspacing="0" cellpadding="0" class="table-zuoyou" bordercolor="#CCCCCC">
<tr>
<td valign="top" align="center" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
<div align="center">
<table width="80%" border="0" cellpadding="0" cellspacing="0">
<tr>
  <td align="center" height="50"><font color=#75710A size="3"><b><%=trim(rs("newsname"))%></b></font></td>
</tr>
<tr>
  <td height="1" align="center" bgcolor="#666600"><font color=#75710A size="3"></font></td>
</tr>
<tr>
  <td height="1" align="center" bgcolor="#FFFFFF"><font color=#75710A size="3"></font></td>
</tr>
<tr> 
<td height="1" align="center" bgcolor="#666600">
<font color=#75710A size="3"></font></td>
</tr>
<tr bgcolor="#ffffff"> 
<td height="100" valign="top"> 
<table width="100%" border="0" align="center" cellpadding="10" cellspacing="0">
<tr> 
<td colspan="2"><%=trim(rs("newscontent"))%></td>
</tr>
<tr> 
<td class=table-shang width="80%" >发布人：<%=trim(rs("addname"))%><br>
发布时间：<%=year(rs("adddate"))&"年"&month(rs("adddate"))&"月"&day(rs("adddate"))&"日"%><br>
此新闻已被浏览 <font color=red><%=rs("viewcount")%></font> 次</td>
<td class=table-shang width="20%" valign="bottom"> <div align="center"><a href='javascript:window.close()' class="style1">点击关闭窗口</a></div></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<%rs.close
set rs=nothing%></TD>
      <TD class=b width=10></TD>
    </TR>
  </TBODY>
</TABLE>
<!--#include file="service.asp"-->
<!--#include file="copyright.asp"-->
</body>
</html>