<!--#include file="site.asp"-->
<!--#include file="function.asp"-->
<%
newsclass = Request.QueryString("newsclass")
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>+++盐城世纪学校欢迎您！++++</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
body,td,th {
	font-size: 9pt;
	color: #000000;
}
a {
	font-size: 9pt;
	color: #000000;
}
a:link {
	text-decoration: none;
	color: #593F28;
}
a:visited {
	text-decoration: none;
	color: #593F28;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}
.inputface1 {
	font-size: 9pt;
	color: #663333;
	height: 10pt;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #333333;
	border-right-color: #FFFFFF;
	border-bottom-color: #FFFFFF;
	border-left-color: #333333;
}
.leftbg {
	background-attachment: fixed;
	background-image: url(images/leftbg.gif);
	background-repeat: no-repeat;
	background-position: left bottom;
}
.style1 {color: #726356}
.style2 {color: #FFFFFF}
.style3 {color: #593F28}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
</script>
</head>

<body oncontextmenu=self.event.returnValue=false onselectstart="return false" ondragstart="return false" onselectstart="return false" ondragstart="return false">
<table width="1004" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="1004" height="304">
      <param name="movie" value="images/top1.swf">
      <param name="quality" value="high">
      <embed src="images/top1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1004" height="304"></embed>
    </object></td>
  </tr>
</table>
<table width="1004" border="0" cellspacing="0" cellpadding="0">
  <tr valign="top">
    <td width="238" background="images/leftbg2.gif"><table width="238" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="231" valign="top"><!--#include file="left.asp"--></td>
        <td width="7" valign="top"><img src="images/leftline.gif" width="7" height="328"></td>
      </tr>
    </table></td>
    <td width="711"><table width="670" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><table width="670" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="50"><img src="images/ico01.gif" width="50" height="52"></td>
            <td width="93">              <img src="images/title01.gif" width="93" height="52"></td>
            <td width="527" background="images/maintitlebg.gif">&nbsp;</td>
          </tr>
        </table></td>
        </tr>
      <tr>
        <td><table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
<%
page= Trim(SetSafeStr(Request.QueryString("page")))
If page = "" Or (Not(IsNumeric(page))) then
	page = 1
Else
	page = CLng(page)
End If
Set rs = Server.CreateObject("Adodb.RecordSet")
If newsclass <> "" Then
Sql = "Select * From qzwnews Where news_class = '"&newsclass&"' Order By news_id Desc"
Else
Sql = "Select * From qzwnews Where news_class <> '人才中心' Order By news_id Desc"
End If
rs.Open Sql,Conn,1,1
If rs.Bof And rs.Eof Then
	Response.Write "<center>暂无记录！</center>"
Else
	rs.PageSize = 10
	rs.AbsolutePage = page
	For i = 1 To rs.PageSize
		If rs.Eof Then Exit For
%>          <tr>
            <td width="16" height="30" align="center"><img src="images/arrow01.gif" width="7" height="7"></td>
            <td><a href="news.asp?newsclass=<%=rs("news_class")%>"><font color="#0000FF"><%=rs("news_class")%></font></a> -- <a href="show_news.asp?id=<%=rs("news_id")%>"><%=rs("news_title")%></a> <%If datediff("d",rs("news_date"),Now()) < 3 Then%>
                  <img src="images/new.gif" border=0>
                <%End If%></td>
          </tr>
          <tr>
            <td height="1" colspan="2" bgcolor="DED9D4"></td>
          </tr>
<%
		rs.MoveNext
	Next
%>
          <tr align="center">
            <td height="22" colspan="2"><% if page<>1 then %>
      <a href=news.asp?page=1&newsclass=<%=newsclass%>><font color=blue>首页</font></a>
      <% else %>
首页　
<% end if %>
<% if page>1 then %>
<a href=news.asp?page=<%=page-1%>&newsclass=<%=newsclass%>><font color=blue>上一页</font></a>&nbsp;&nbsp;
<% else %>
上一页　
<% end if %>
<% if page<rs.PageCount then %>
<a href=news.asp?page=<%=page+1%>&newsclass=<%=newsclass%>><font color=blue>下一页</font></a>&nbsp;&nbsp;
<% else %>
下一页　
<% end if %>
<% if page<>rs.PageCount then %>
<a href=news.asp?page=<%=rs.PageCount%>&newsclass=<%=newsclass%>><font color=blue>末页</font></a>&nbsp;&nbsp;
<% else %>
末页　
<% end if %>
第 <%=page%>/<font color="red"><%=rs.PageCount%></font> 页　共 <font color=blue><%=rs.RecordCount%></font> 条记录
<%
End If
rs.Close
Set rs = Nothing
%></td>
          </tr>
        </table></td>
        </tr>
      <tr>
        <td>&nbsp;</td>
        </tr>
    </table>
    </td>
    <td width="55" background="images/rightbg2.gif"><img src="images/rightbg.gif" width="7" height="326"></td>
  </tr>
</table>
<!--#include file="foot.asp"-->
</body>
</html>
