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

if GetVariable("id")="" then 
	ShowMsg "您访问的信息不存在！"
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>
<title>⑨title⑨</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="common/style.css" type="text/css">
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" BodyBegin>
<!--#include file="top.asp"-->
<table width="100%" border="0" cellpadding="0" cellspacing="0" height="1">
  <tr>
    <td></td>
  </tr>
</table>
<table width="770" border="0" cellpadding="0" cellspacing="0" height="120" align="center">
  <tr> 
    <td background="images/new.gif"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="770" height="120">
        <param name=movie value="images/top.swf">
        <param name=quality value=high>
        <param name="wmode" value="transparent">
        <embed src="images/top.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="770" height="120" wmode="transparent"> 
        </embed> </object></td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" height="5">
  <tr> 
    <td></td>
  </tr>
</table>
<table width="770" border="0" align="center" cellspacing="0" cellpadding="0" height="10">
  <tr> 
    <td height="190" width="200" valign="top" background="images/config.gif"> 
      <table width="99%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td background="images/config3.gif" height="26">&nbsp;&nbsp;<b><font color="#990000"><%=request("classname")%></font></b></td>
        </tr>
        <tr> 
          <td background="images/config.gif" height="37"> <table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
              <%
									'开始输出分类
									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="30"> 
                  <%
			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>
              <tr> 
                <td bgcolor="#CCCCCC" height="１"></td>
              </tr>
              <%
									rsClass.movenext
								next
								%>
            </table></td>
        </tr>
        <tr> 
          <td background="images/config.gif" height="4">&nbsp;</td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100">
        <tr> 
          <td background="images/config3.gif" height="26"><font color="#FFFFFF" ><b> 
            　<font color="#990000">新闻搜索</font></b></font> &nbsp;&nbsp;</td>
        </tr>
        <tr> 
          <td background="images/config.gif" valign="top"> 
            <table width="100%" border="0" cellpadding="8" cellspacing="0">
              <tr> 
                <td height="100"  valign="top">
<form name="form1" method="post" action="<%=request.QueryString("uppage")%>">
                    <table width="100%" border="0" cellpadding="7" cellspacing="0">
                      <tr> 
                        <td height="53" colspan="2"> 关键字: 
                          <input name="key" type="text" id="key2"> </td>
                      </tr>
                      <tr> 
                        <td height="3" valign="top" width="56%"> <div align="center"> 
                            <input name="imageField2" type="image" src="images/search.gif" width="53" height="19" border="0">
                          </div></td>
                        <td height="3" valign="top" width="44%">搜索帮助</td>
                      </tr>
                    </table>
                  </form></td>
              </tr>
            </table>
          </td>
        </tr>
        <tr> 
          <td background="images/config.gif">&nbsp;</td>
        </tr>
      </table>
      <!--Link Begin-->
      <%
							isLink=GetKey("Enable",WebUserID,"link")
							if isLink="Yes" then
							%>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100">
        <tr> 
          <td background="images/config3.gif" height="26"><font color="#FFFFFF" ><b> 
            　<font color="#990000">友情链接</font></b></font> &nbsp;&nbsp;</td>
        </tr>
        <tr> 
          <td background="images/config.gif" height="100%" valign="top"> 
            <table width="100%" border="0" cellpadding="7" cellspacing="0">
              <tr> 
                <td height="107"  valign="top"> 　 
                  <div align="center">
                    <script language="JavaScript" src="admin/link/link.asp"></script>
                  </div>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr> 
          <td background="images/config.gif" height="16">&nbsp;</td>
        </tr>
      </table>
      <%
							  end if
							  %>
      <!--Link End-->
    </td>
    <td height="116" width="5" rowspan="2"></td>
    <td height="116" width="566" valign="top" rowspan="2"> 
      <table width="100%" border="0" align="center" cellspacing="1" cellpadding="0" height="133" bgcolor="#CCCCCC">
        <tr> 
          <td height="558" bgcolor="#FFFFFF" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="8" align="center">
              <tr> 
                <td valign="top" height="36"> <table width="97%" border="0" align="center">
                    <tr> 
                      <td  height="8"></td>
                    </tr>
                    <tr> 
                      <td  height="23">您的位置 : <a class=title01 
            href=".">首页</a> <img src="images/image_24.gif" width="8" height="5"> 
                        <%=request("classname")%> </td>
                    </tr>
                    <tr> 
                      <td height="1" background="images/linebg.gif"></td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td valign="top"><TABLE width="98%" 
                          border=0 align="center" 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"))%>次</font></TD>
                      </TR>
                      <TR> 
                        <TD height="13" align="right">&nbsp;</TD>
                      </TR>
                    </TBODY>
                  </TABLE>
                  <p></p>
                      </td>
              </tr>
            </table></td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td height="2" width="200" valign="bottom" background="images/config.gif"><img src="images/config1.gif" width="200" height="8"></td>
  </tr>
</table>
<table width="770" border="0" align="center" cellspacing="0" cellpadding="0">
  <tr>
    <td background="images/bg4.gif" height="120"> 
      <div align="center">⑨footnote⑨<br>⑨ICP⑨<br>
        您是本站第<script language="JavaScript" src="admin/count/counter.asp"></script>位访问者</div>
    </td>
  </tr>
</table>
<script language="JavaScript" src="common/init.js"></script><br><script language=Javascript src="common/tranbig5.Js"></script>
</body>
</html>
