<!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><%=get_field("sjf_site",1,"sjf_name")%>-网站公告</title>
<meta name="author" content="<%=get_field("sjf_site",1,"sjf_url")%>">
<meta name="keywords" content="<%=get_field("sjf_site",1,"sjf_keywords")%>">
<meta name="description" content="<%=get_field("sjf_site",1,"sjf_description")%>">
<link href="<%=skin%>style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<!--[if lte IE 6]>
<script type="text/javascript" src="js/minmax.js"></script>
<![endif]-->
</head>
<body>
<!--#include file="top.asp"-->
<!--#include file="navigation.asp"-->
<div class="current_location"><strong>当前位置：</strong><a href="index.asp">首页</a> >> 网站公告</div>
<!--#include file="sjf_banner.asp"-->
<div id="content_main">
	<div id="content_title"></div>
	<div id="content_body">
		<div id="left">
			<div class="left_title">
				<h2>最新公告</h2>
			</div>
			<div class="left_body">
				<ul class="ul_a">
					<%
Set rs = CreateObject(OBJ_RST)
sql = "select top 10 * from sjf_notice order by sjf_date desc"
rs.Open sql, conn, 1, 1
Do While Not rs.EOF

%>
					<li><a href="notice_view.asp?id=<%=rs("id")%>" title="<%=rs("sjf_name")%>"><%=str_left(rs("sjf_name"),30,"...")%></a></li>
					<%
rs.movenext
Loop
rs.Close
Set rs = Nothing


%>
				</ul>
			</div>
			<div class="left_bottom"></div>
			<!--#include file="contact.asp"-->
		</div>
		<div id="right">
			<div class="right_title">
				<h2>全部公告</h2>
			</div>
			<div class="right_body">
				<ul class="ul_a">
					<%
sql = "select * from sjf_notice order by sjf_date desc"
page_size = 20
pager = pageturner_handle(sql, "id", page_size)
Set rs = pager(0)
Do While Not rs.EOF

%>
					<li><span class=" float_right red"><%=formatdatetime(rs("sjf_date"),2)%></span><a href="notice_view.asp?id=<%=rs("id")%>" title="<%=rs("sjf_name")%>"><%=str_left(rs("sjf_name"),80,"...")%></a></li>
					<%
rs.movenext
Loop
rs.Close
Set rs = Nothing


%>
				</ul>
				<%=pageturner_show(pager(1),pager(2),pager(3),page_size,5)%> </div>
			<div class="right_bottom"></div>
		</div>
		<div class="float_clear"></div>
	</div>
	<div id="content_bottom"></div>
</div>
<!--#include file="friend_link.asp"-->
<!--#include file="copyright.asp"-->
</body>
</html>
