<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<title><%=webname%>--新闻查看</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<%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%>
<!--#include file="webtop.asp"-->
<TABLE cellSpacing=0 cellPadding=0 width=772 align=center border=0>
  <TBODY>
    <TR>
      <td width="1" bgcolor="<%=miibeiancetr%>"></td>
      <TD class=b vAlign=top align=left width=764><table width="770" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td width="178" valign="top" bgcolor="#FFFFFF"><img src="image/images/main/pic4.gif" width="178" height="62"> 
              <!--#include file="xinxi.asp"-->
                   <!--#include file="gouwucheinfo.asp"-->
		  <!--#include file="info_brand.asp"-->
              <!--#include file="info_vote.asp" --></td>
          <td width="1" bgcolor="<%=miibeiancetr%>"></td>
            <td width="571" valign="top" bgcolor="#FFFFFF">
<table width="590" border="0" cellspacing="0" cellpadding="0">
            <tr>
                  <td height="61" valign="top" background="image/images/yemian/picw4.gif"><table width="590" height="40" border="0" cellpadding="0" cellspacing="0">
                      <tr> 
                        <td width="22" height="40">&nbsp; </td>
                        <td width="568" class="da">&gt;&gt; <%=webname%> >> 动态新闻 
                        </td>
                      </tr>
                    </table></td>
            </tr>
          </table>
            <br>  
            <table width="535" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#CCCCCC">
                <tr>
                  <td width="580" height="201" valign="top"> 
                    <div align="center">
                  <%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
%>
                  <br>
                      <table width="438" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr> 
                          <td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr> 
                                <td rowspan="2"> <table width="99%" 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">
                                                <tr> 
                                                  <td height="28" valign="top"> 
                                                    <div align="center"><font color=#ff0000><b><%=trim(rs("newsname"))%></b></font></div></td>
                                                </tr>
                                                <tr> 
                                                  <td height="97" valign="top"> 
                                                    <table width="94%" border="0" align="center" cellpadding="1" cellspacing="1">
                                                      <tr> 
                                                        <td colspan="2" style="table-layout:fixed;word-break:break-all"><%=trim(rs("newscontent"))%></td>
                                                      </tr>
                                                      <tr> 
                                                        <td height="5" colspan="2"></td>
                                                      </tr>
                                                      <tr> 
                                                        <td width="60%" valign="bottom"> 
                                                          <div align="center">发布人：<%=trim(rs("addname"))%><br>
                                                            发布时间：<%=year(rs("adddate"))&"年"&month(rs("adddate"))&"月"&day(rs("adddate"))&"日"%></div></td>
                                                        <td width="40%" style="PADDING-LEFT: 20px"><br> 
                                                          <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>
                  <%rs.close
set rs=nothing%>
              </div></td>
            </tr>
          </table>
            </td>
        </tr>
      </table></TD>
      <td width="1" bgcolor="<%=miibeiancetr%>"></td>
    </TR>
  </TBODY>
</TABLE>
<!--#include file="copyright.asp"-->