<!--#include file="conn.asp"-->
<%
	set rs_newslist=Server.CreateObject("ADODB.RecordSet")
	rs_newslist.open "select * from [fksf_huodong]",conn,1,1
	if(rs_newslist.eof) then
		response.Write("<script language=javascript>")
		Response.Write("alert('本私服没有开展任何活动');")
		Response.Write("window.location='index.asp';")
		response.Write("</script>")
	else
%>
		<TABLE cellSpacing=0 cellPadding=0 width=690 
                  align=center border=0>
                    <TBODY>
                    <TR>
                      <TD background=image/view_bottom.gif 
                        height=11><FONT face=??ì?></FONT></TD></TR>
                    <TR>
                      <TD>
                        <TABLE class=style1 cellSpacing=0 cellPadding=0 
                        width=690 border=0>
                          <TBODY>
                          <TR>
                            <TD vAlign=top align=middle width=146 
                            background=image/view_bg02.jpg><IMG height=90 
                              src="image/chelun.jpg" width=90></TD>
                            <TD vAlign=top width=544 
                            background=image/view_bg05.jpg>
                              <TABLE class=style1 id=Table1 height=24 
                              cellSpacing=0 cellPadding=0 width=543 align=center 
                              background=image/view_bg04.jpg border=0>
                                <TBODY>
                                <TR>
                                <TD colSpan=2 height=25><STRONG 
                                class=hese><div align="left">活动中心</div></STRONG></TD>
                                <TD class=style1 width="12%">&nbsp;</TD></TR>
                                <TR bgColor=#efe4cf>
                                <TD width="2%">&nbsp;</TD>
                                <TD colSpan=2>
                                <TABLE id=DataList1 
                                style="WIDTH: 100%; BORDER-COLLAPSE: collapse" 
                                cellSpacing=0 border=0>
                                <TBODY><div align="left">
<%
		for i=1 to rs_newslist.recordcount
%>
			<TR><TD>
				<TABLE class=hese id=Table2 cellSpacing=0 cellPadding=0 width="98%" align=left border=0><TBODY><TR><TD width="87%" align="left" height=21><IMG height=7 src="image/biaodian.gif" width=7>&nbsp;<A class=style1 href="huodong.asp?id=<%=rs_newslist("id")%>" target=_blank>[活动]<%=rs_newslist("huodongname")%></A></TD><TD class=style1 width="13%"><%=year(rs_newslist("publishdate"))&"-"&month(rs_newslist("publishdate"))&"-"&day(rs_newslist("publishdate"))%></TD></TR></TBODY></TABLE></TD></TR>
<%
			rs_newslist.movenext
		next
%>
		</div></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
		<TABLE height=2 cellSpacing=0 cellPadding=0 width=690 background=image/view_bg03.jpg border=0><TBODY><TR><TD></TD></TR></TBODY></TABLE></TD></TR><TR><TD background=image/list_numbg.gif height=24><DIV align=right><IMG height=12 src="image/top.gif" width=41 border=0></DIV></TD></TR><TR><TD background=image/view_bottom.gif height=11></TD></TR></TBODY></TABLE>
<%
	end if
	rs_newslist.close()
	set rs_newslist=nothing
%>