<!--#include file="conn.asp" -->
<%
strCurrMenu=GetVariable("mnid")

if GetVariable("id")="" then 
	ShowMsg "You visted information can't being！"
end if
'新闻阅读次数＋1
conn.execute "Update web_news Set nHits=nHits + 1 Where id=" & GetVariable("id"),0,1
'读新闻
strSQL="Select * From v_web_news Where id=" & GetVariable("id")
rs.open strSQL,conn,1,1
if rs.recordcount<=0 then 
	ShowMsg "没有内容!"
end if

%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<link href="common/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
@import url("css.css");
-->
</style>
</head>


<body bgcolor="#CCCCCC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" BodyBegin>
<!--#include file="top.asp" -->

<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="239" valign="top" background="images/fen left bei .JPG">
<table width="239" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><table width="239" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td><table width="239" height="47" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td align="center" background="images/fen left 1.JPG">
<table width="163" height="46" border="0" cellpadding="0" cellspacing="0">
                          <tr> 
                            <td height="46" align="center" valign="bottom" class="t"><%=request("classname")%>分类</td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td><table width="239" height="25" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td height="20" align="center" background="images/fen left bei 1 .JPG"><table width="89%" height="10" border="0" cellpadding="0" cellspacing="0">
                        <%
									'开始输出分类
									SourCode=trim(rs("c_code"))
									strcode=""
									for i=1 to Len(SourCode) \ 4
									strcode=strcode&" or c_code like '"&left(SourCode,i*4)&"____'"
									next
									if strcode<>"" then
									strcode="(1<>1"&strcode&" or Len(c_code)=4)"
									else
									strcode=" Len(c_code)=4"
									end if
									strSQL="Select * From web_news_class Where mn_id=" & strCurrMenu&" and " & strcode & "  Order by c_code"
									'response.Write(strsql)
									Set rsClass=Server.CreateObject("ADODB.RecordSet")
									rsClass.open strSQL,conn,1,1
									for i=1 to rsClass.recordcount
									Level=(Len(rsClass("c_code"))/4-1)*3
									%>
                        <tr>
                          <td height="26" ><%
			If Len(rsClass("c_code"))>4 Then Response.Write "├"
			Response.Write String(Level,"-")
			%>
                            <a href="<%=request.QueryString("uppage")%>?class=<%=rsClass("id")%>&classname=<%=trim(rsClass("c_name"))%>"><%=trim(rsClass("c_name"))%></a></td>
                        </tr>
                        <%
						rsClass.movenext
					next
					%>
                      </table></td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td><table width="239" height="35" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td background="images/fen left 2.JPG"><table width="220" border="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            <td width="220" height="18" align="right" class="t">详细</td>
                          </tr>
                        </table></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
		      <%
							isVote=GetKey("Enable",WebUserID,"vote")
							if isVote="Yes" then
							%>
        <tr>
          <td><table width="239" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td><table width="239" height="47" border="0" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td align="center" background="images/fen left 1.JPG"> <table width="163" height="46" border="0" cellpadding="0" cellspacing="0">
                          <tr> 
                            <td height="46" align="center" valign="bottom" class="t">网上调查</td>
                          </tr>
                        </table></td>
                    </tr>
                  </table></td>
              </tr>
			        <%
							isVote=GetKey("Enable",WebUserID,"vote")
							if isVote="Yes" then
							%>
              <tr> 
                <td><table width="239" height="25" border="0" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td height="20" align="center" background="images/fen left bei 1 .JPG"><script language="JavaScript" src="admin/vote/viewvote.asp"></script></td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td><table width="239" height="35" border="0" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td background="images/fen left 2.JPG">&nbsp;</td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
		      <%
							  end if
							  %>
        <tr>
          <td><table width="239" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td><table width="239" height="48" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td align="center" background="images/fen left 4.JPG">
<table width="163" height="46" border="0" cellpadding="0" cellspacing="0">
                          <tr> 
                            <td height="46" align="center" valign="bottom" class="t">友情联接</td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td><table width="239" height="25" border="0" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td height="20" align="center" background="images/fen left bei 1 .JPG"><table width="183" border="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            <td width="33" height="20" align="center"><img src="images/fen%20left%20anniu%201.JPG" width="12" height="11"></td>
                            <td width="144" class="t">九天进出口公司</td>
                          </tr>
                          <tr> 
                            <td height="20" align="center"><img src="images/fen%20left%20anniu%201.JPG" width="12" height="11"></td>
                            <td class="t">九天进出口公司</td>
                          </tr>
                          <tr> 
                            <td height="20" align="center"><img src="images/fen%20left%20anniu%201.JPG" width="12" height="11"></td>
                            <td class="t">九天进出口公司</td>
                          </tr>
                          <tr> 
                            <td height="20" align="center"><img src="images/fen%20left%20anniu%201.JPG" width="12" height="11"></td>
                            <td class="t">九天进出口公司</td>
                          </tr>
                        </table></td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td><table width="239" height="35" border="0" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td background="images/fen left 2.JPG">&nbsp;</td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
      </table>
    </td>
    <td width="533" valign="top" background="images/fen right bei .JPG"><table width="539" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><table width="539" height="47" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td background="images/fen right 1.JPG"><table width="153" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td width="153" height="35" align="center" valign="bottom" class="t"><%=request("classname")%></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td align="left"><TABLE width="100%" 
                          border=0 cellPadding=0 cellSpacing=0>
            <TBODY>
              <TR>
                <TD width="65%" height="45" align="center" class="fs-13px"><strong><%=trim(rs("nTitle"))%></strong></TD>
              </TR>
              <TR>
                <TD height="25"><hr></TD>
              </TR>
              <TR>
                <TD height="200" valign="top" class="fs-14px"><%=trim(rs("nHtmlText"))%></TD>
              </TR>
              <TR>
                <TD height="33" align="right"><font color="#8F8F8F">发布时间:<%=trim(rs("nTime"))%> 阅读:<%=trim(rs("nHits"))%>次 来源:<%=trim(rs("nOriginal"))%></font></TD>
              </TR>
            </TBODY>
          </TABLE></td>
        </tr>
      </table> </td>
  </tr>
</table>
<table width="778" height="38" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td height="16" background="images/fen up .JPG">&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF"><table width="471" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="471" height="26" align="right" valign="top" class="t">公司地址：未知<br>电话： E-Mail:sdafdsa@163.com<br>Copyright&copy;2006-2007 test1 All Rights Reserved.<br />

  <%
							iscounter=GetKey("Enable",WebUserID,"counter")
							if iscounter="Yes" then
							%>
您是本站第
<script language="JavaScript" src="admin/count/counter.asp" type="text/javascript"></script>
位访问者
<%end if%></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
<script language="JavaScript" src="common/init.js"></script>
<script language=Javascript src="common/tranbig5.Js"></script>
</html>

