<!--#include file="config.asp" -->
<!--#include file="Sql.Asp" -->
<!--#include file="PageBase.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=utf-8" />
<title>新闻中心_<%=SiteName%></title>
<meta name="keywords" content="<%=SiteKeyWords%>" />
<meta name="description" content="<%=SiteDescription%>" />
<link href="/images/main.css" rel="stylesheet" type="text/css" />
</head>

<body>
<!--#include file="top.asp" -->
<DIV class=wrapper>
<DIV class="clearfix layout-home-cols2">
<DIV class=col1>
    <!--#include file="left_news.asp" -->
  <!--#include file="left.asp" -->
</DIV>
<DIV class=col2>
<DIV class="hslice leastdownload" >
<DIV class=panel-head>
<H3 class="title entry-title">当前位置：<a href="/">首 页</a> > 新闻中心</H3>
 </DIV>
<DIV class="panel-body entry-content">  
 <% 
set news_fl=Easp.db.GetRecordBySql("select * from [t_NewsClass] order by FOrderId asc  ")
 
if news_fl.eof and news_fl.bof then
response.Write("&nbsp;暂无任何分类 !")
end if
do while not news_fl.eof%>
<DIV class=leastdownload-fixed><A href="/NewsMore.asp?id=<%=news_fl("Fid")%>" 
><%=news_fl("Ftitle")%></A> </DIV>
<% 
set news=Easp.db.GetRecordBySql("select top 6 * from [t_news] where FClass="&news_fl("Fid")&" order by Fid desc  ") 'top 5代表每栏目显示5条新闻
 
if news.eof and news.bof then
response.Write("&nbsp;此分类暂无新闻 !")
end if%>
<UL class=leastdownload-list>
<%while not news.eof
dim url,color
if IsNull(news("Furl")) or trim(news("Furl")&"")="" then
url="/ShowNews.asp?id="&news("Fid")&""
else
url=""&news("Furl")&""
end if
if IsNull(news("Fcolor")) or trim(news("Fcolor")&"")="" then
color="#000000"
else
color=""&news("Fcolor")&""
end if
%>
 <LI><SPAN class=date><%=Easp.DateTime(news("FCreateDate"),"yyyy-mm-dd")%></SPAN>  <a href="<%=url%>" class=title target="_blank" style="color:<%=color%>;"><%= news("Ftitle")%></a>
 </LI>
  
<%news.movenext
wend%></table><%
Easp.db.C(news)
%>
 
  </UL>
 
<%
news_fl.movenext
loop
Easp.db.C(news_fl)
%>
            </tr>
          </table>
          </td>
      </tr>
    </table>
</DIV>
</DIV>
  <DIV class=panel-foot>
<DIV></DIV></DIV>
</DIV>
</DIV></DIV>
<!--#include file="foot.asp" -->
</body>
</html>
