<!--#include file="head.asp"-->
<!-- ********网页中部代码开始******** -->
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
<!--#include file="left.asp"-->	
    <TD vAlign=top>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD><IMG height=10 src="images/ne_main01.gif" 
        width=10></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD vAlign=top align=middle width="80%">
            <TABLE height=28 cellSpacing=0 cellPadding=3 width="95%" border=0>
              <TBODY>
              <TR>
                <TD background=images/ne_login_bg01.gif>您现在的位置：<A class=strPath01 href="index.asp">首页</A>&nbsp;&gt;&gt;&nbsp;搜索&nbsp;&gt;&gt;&nbsp;信息列表</TD></TR></TBODY></TABLE><BR>
            <TABLE cellSpacing=0 cellPadding=5 width="95%" align=center border=0>
              <TBODY>			  			  
              <TR>
                <TD>
                  <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                    <TBODY>
							<%
							Set rs=Server.CreateObject("ADODB.RecordSet")
							if request("Field")="Title" then
							rs.Open "Select * from news where title like '%"&request("Keyword")&"%' order by id desc",conn,1,1
							else
							if request("Field")="Content" then
							rs.Open "Select * from news where content like '%"&request("Keyword")&"%' order by id desc",conn,1,1
							else
							if request("Field")="Author" then
							rs.Open "Select * from news where Author like '%"&request("Keyword")&"%' order by id desc",conn,1,1
							end if
							end if
							end if 
							
							If Not rs.Eof Then
							rs.PageSize=10
							Page=Cint(Request.QueryString("Page"))
							If Page<1 Then Page=1 End If
							If Page>rs.PageCount Then Page=rs.PageCount End If
							If rs.RecordCount<rs.PageSize Then CuPage=1 Else CuPage=Cint(rs.RecordCount/rs.PageSize) End If
							rs.AbsolutePage=Page
							End If
							for i=1 to rs.RecordCount
							If rs.Eof or i>rs.PageSize Then Exit for End If
						  %>						  
                    <TR height="32">
                      <TD style="border-bottom:1 #ccc dotted"><IMG alt=普通文章 src="images/article_common.gif">&nbsp;<A class=article01 title="<%=rs("title")%>" href="Newsview.asp?id=<%=rs("id")%>" target=_blank><%=rs("title")%></A></TD>
                      <TD align=right style="border-bottom:1 #ccc dotted">[<FONT color=#333333><%=rs("addtime")%></FONT>&nbsp;&nbsp;点击数<FONT color=#333333><%=rs("Num")%></FONT>]</TD></TR>						
						<%
							rs.MoveNext
							Next
						%>
					</TBODY></TABLE></TD></TR></TBODY></TABLE><BR>
            <TABLE cellSpacing=1 cellPadding=0 width="95%" bgColor=#d6d6d6 
            border=0>
              <TBODY>
              <TR>
                <TD bgColor=#ffffff>
                  <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                    <TBODY>
                    <TR>
                      <TD bgColor=#0786ce height=2></TD></TR>
                    <TR>
                      <TD height=5></TD></TR>
                    <TR>
                      <TD align=middle>
                        <TABLE align=center>
                          <TBODY>
                          <TR>
                            <TD>共 <FONT color=blue><B><%=rs.RecordCount%></B></FONT> 篇文章&nbsp;&nbsp;&nbsp;<a href="?Page=1">首页</a> <a href="?Page=<%=Page-1%>">上一页</a> <a href="?Page=<%=Page+1%>">下一页</a> <a href="?Page=<%=rs.PageCount%>">尾页</a>&nbsp;页次：<STRONG><FONT color=red><%=CuPage%></FONT>/<%=rs.PageCount%></STRONG>页 &nbsp;<B><%=rs.PageSize%></B>篇文章/页&nbsp;转到：<SELECT onChange="javascript:window.location='?class=95&amp;page='+this.options[this.selectedIndex].value;" size=1 name=page>
							<% 
							i=0 
							do while i<rs.PageCount
							i=i+1
							%>
							<OPTION value=<%=i%> selected>第<%=i%>页</OPTION>
							<%
							loop
							%></SELECT></TD></TR></TBODY></TABLE></TD></TR>
                    <TR>
                      <TD height=5></TD></TR>
                    <TR>
                      <TD bgColor=#f4f4f4 
              height=2></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
<!--#include file="right.asp"-->
</TR></TABLE>
<!--#include file="foot.asp"-->