<!--#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>
td{font-size:9pt;line-height:120%;color:#353535} 
body{font-size:9pt;line-height:120%} 

a:link          { color: #000000; text-decoration: none }
a:visited       { color: #000000; text-decoration: none }
a:active        { color: #000000; text-decoration: none }
a:hover         { color: #336699; text-decoration: none; position: relative; right: 0px; top: 1px }
</style>
</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="1" cellspacing="0" cellpadding="1" bordercolor="#336699" align="center">
  <tr> 
    <td> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td rowspan="2"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="12v">
              <tr> 
                <td class="12v" > 
                  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" id="AutoNumber3" height="0" width="100%">
                    <tr> 
                      <td> 
                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#75A3D0">
                          <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>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<br>
<br>
<%rs.close
set rs=nothing%>
</body>
</html>
