<!--#include file="conn.asp"-->
<!--#include file="config.asp" -->
<!--#include file="Sql.Asp" -->
<!--#include file="sql1.asp"--> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>新闻中心_<%=bz_home%></title>
<meta name="keywords" content="<%=bz_keywords%>" />
<meta name="description" content="<%=bz_description%>" />
<link href="images/css.css" rel="stylesheet" type="text/css" />
</head>

<body>
<!--#include file="top.asp" -->
<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="220" bgcolor="#EEF2FA"><!--#include file="left_news.asp" --></td>
    <td width="760"><table width="100%" height="500" border="0" cellpadding="0" cellspacing="0" id="line">
      <tr>
        <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" style="background:#DEE7F9">
          <tr>
            <td><div id="lat">当前位置：<a href="Index.asp">首页</a> > <a href="News.asp">新闻中心</a></div></td>
          </tr>
        </table>
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><% 
set news_fl=server.createobject("adodb.recordset") 
exec="select * from [news_fl] order by px_id asc  " 
news_fl.open exec,conn,1,1 
if news_fl.eof and news_fl.bof then
response.Write("&nbsp;暂无任何分类 !")
end if
do while not news_fl.eof%>
<div style="margin-bottom:10px;">
<table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#EEF2FA">
  <tr>
    <td><table width="95%" height="40" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td><span style="font-size:14px; font-weight:bold; color:#069"><%=news_fl("title")%></span></td>
          <td><div align="right"><a href="NewsMore.asp?id=<%=news_fl("id")%>">更多&gt;&gt;</a></div></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td bgcolor="#F7F7F7"> <% 
set news=server.createobject("adodb.recordset") 
exec="select top 6 * from [news] where ssfl="&news_fl("id")&" order by id desc  " 'top 5代表每栏目显示5条新闻
news.open exec,conn,1,1 
if news.eof and news.bof then
response.Write("&nbsp;此分类暂无新闻 !")
end if%>
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="0" style="margin:10px auto">
<%while not news.eof
dim url,color
if IsNull(news("url")) or trim(news("url")&"")="" then
url="ShowNews.asp?id="&news("id")&""
else
url=""&news("url")&""
end if
if IsNull(news("color")) or trim(news("color")&"")="" then
color="#000000"
else
color=""&news("color")&""
end if
%>
  <tr height="25">
    <td width="73%" >· <a href="<%=url%>" style="color:<%=color%>; font-size:12px"><%=InterceptString(news("title"),50)%></a></td>
    <td width="27%" ><div align="right"><font color="#009900"><%=news("data")%></font></div></td>
  </tr>
<%news.movenext
wend%></table><%
news.close
set news=nothing
%></td>
  </tr>
</table></div>
<%
news_fl.movenext
loop
news_fl.close
set news_fl=nothing
%>
            </tr>
          </table>
          </td>
      </tr>
    </table></td>
  </tr>
</table>
<!--#include file="foot.asp" -->
</body>
</html>
