<!--#include file="conn.asp"-->
<!--#include file="config.asp" -->
<!--#include file="Sql.Asp" -->
<!--#include file="cms86_sql.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>新闻中心_<%=cms86_home%></title>
<meta name="keywords" content="<%=cms86_keywords%>" />
<meta name="description" content="<%=cms86_description%>" />
<script type="text/javascript" src="images/main.js"></script>
<link href="images/css.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div class="bg">
<!--顶部导航开始 -->
<!--#include file="top.asp" -->
<!--顶部导航结束 -->


<!--中部开始 -->
<div id="main">
<!--中部左侧开始 -->
<div class="left">


<% 
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 class="left2_box">
<div class="left2_box_biao"><a href="Newsmore.asp?id=<%=news_fl("id")%>"><%=news_fl("title")%></a></div>
<div class="left2_box_list">
<% 
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%>
<ul>
<%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
%>
<li style="border-bottom:1px dotted #CCC; line-height:25px;"><table width="650" height="30" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="546" valign="bottom">· <a href="<%=url%>" style="color:<%=color%>;"><%=InterceptString(news("title"),60)%></a></td>
    <td width="104" align="right" valign="bottom">(<%=right("0"&month(news("data")),2)%>-<%=right("0"&day(news("data")),2)%>)</td>
  </tr>
</table></li>
<%news.movenext
wend%>
</ul><%
news.close
set news=nothing
%>

</div>
</div>
<%
news_fl.movenext
loop
news_fl.close
set news_fl=nothing
%>




</div>
<!--中部右侧开始 -->
<div class="right">

<div class="right_box">
<div class="right_box_biao"><a href="pg.asp?id=1">企业导航</a></div>
<div class="right_box_list"><div class="dh"><%=cms86_pgxs_list%></div></div>
</div>

<!--#include file="left.asp" -->


</div>
</div>
<!--中部结束 -->



<!--尾部开始 -->
<div id="foot"><!--#include file="foot.asp" --></div> 

<!--尾部结束 -->


</div>
</body>
</html>
