<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/css.css" rel="stylesheet" type="text/css">
</head>

<body>
<!--#include file="top.asp"-->
<table width="1006" height="189" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td width="178" align="center" valign="top">
	  <!--#include file="news_left_sort.asp" -->
	<!--#include file="news_serach.asp" -->
    </td>
    <td width="590" align="center" valign="top" background="images/index_25.gif"><table width="580" height="42" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="92" align="left" background="images/index_16.gif">&nbsp;&nbsp;&nbsp;&nbsp;<b><font color="#547DB3">新闻中心</font></b></td>
        <td align="right" background="images/index_17.gif" class="gray">您的位置：<a href="index.asp">首页</a> - <a href="news.asp">新闻中心</a><%
		 set rs_about=server.CreateObject("adodb.recordset")
	sql="select * from system_text_sort where id="&request.QueryString("sort_name_id")&""
	rs_about.open sql,conn,1,1
	if rs_about.recordcount<>0 then%> - <a href="news.asp?sort_name_id=<%=request.QueryString("sort_name_id") %>"><%= rs_about("sort_name") %></a><% End If %>
 <%rs_about.close
	set rs_about=nothing%></a><% if request.QueryString("keyword")<>"" then %>信息搜索<% End If %>&nbsp;&nbsp;</td>
      </tr>
    </table><table width="580" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td align="center" valign="top"><table width="580" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
                    <tr bgcolor="#F0f0f0">
                      <td width="20" height="22" align="center">&nbsp;</td>
                      <td align="center" class="gray">标题</td>
                      <td width="150" align="center" class="gray">发布时间</td>
                      <td width="100" align="center" class="gray">人气</td>
                  </tr>
                  </table>
                    <% 
				if request.QueryString("keyword")<>"" then
					set rs=server.CreateObject("adodb.recordset")					
sql="select * from system_text_info where title like '%"&trim(request.QueryString("keyword"))&"%' and pass=1 order by id desc"
rs.open sql,conn,1,1
else
set rs=server.CreateObject("adodb.recordset")
sql="select * from system_text_info where sort_name_id="&request.QueryString("sort_name_id")&" and pass=1 order by id desc"
rs.open sql,conn,1,1
end if
if request.QueryString("keyword")="" and request.QueryString("sort_name_id")="" then
response.Redirect("news.asp?sort_name_id=345")
end if
 %>
                    <!--#include file="page1.asp"-->
					<% for i=1 to x %>
                    <table width="580" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td height="25" class="underline">    <table width="580" border="0" cellpadding="0" cellspacing="0">
                    
                      <tr onmouseover="style.backgroundColor='#ffffcc';" onmouseout="style.backgroundColor='#FFFFFF'">
                        <td width="20" height="25" align="center"><img src="/images/index_212.gif" width="3" height="5" alt=""></td>
                        <td align="left"><a href="show_news.asp?id=<%= rs("id") %>" target="_blank" title="标题：<%= rs("title") %>&#13;点击：<%= rs("click")%>次 &#13;时间：<%= rs("dateandtime") %>"><%= rs("title") %></a>
<% If rs("title_pic")<>"" Then %><font color=red>[图]</font><% End If %>
                        </td>
                        <td width="150" align="center" class="gray"><%= rs("dateandtime") %></td>
                        <td width="100" align="center" class="gray"><%= rs("click") %></td>
                      </tr>
                  </table></td>
                      </tr>
                    </table>
				  <% rs.movenext
		next %></td>
              </tr>
              <tr>
                <td height="25" align="center" valign="middle" class="gray"><!--#include file="page2.asp"--></td>
              </tr>
            </table>
	</td>
    <td width="238" align="center" valign="top">&nbsp;		      </td>
  </tr>
</table>
<!--#include file="end.asp"-->
</body>
</html>



