<!--#include file="inc/conn.asp"-->
<!--#include file="inc/safe.asp"-->
<link href="css.css" rel="stylesheet" type="text/css">
<link href="style.css" rel="stylesheet" type="text/css">
<table width="206" border="0" cellpadding="0" cellspacing="0" >
  <tr>
    <td height="26" background="images/index_35.gif">&nbsp;&nbsp;<span class="STYLE2">活动回顾</span></td>
  </tr>
  <tr>
    <td height="138" style="border-left:#C7C8CC 1px solid;border-right:#C7C8CC 1px solid"><table width="167" border="0" align="center" cellpadding="00" cellspacing="1" bgcolor="#9DCCF6">
        <tr>
          <td bgcolor="#FFFFFF">
		  <%
		  set re=server.CreateObject("adodb.recordset")
		  rsql="select * from jyhd_photo"
		  re.open rsql,conn,1
		  if not re.eof then
		     response.Write "<img src=""uppic/jyhd/"& re("pic") &""" width=""187"" height=""116"">" 
		   else
		     response.Write "<img src=""images/laji2.jpg"" width=""187"" height=""116"">"  
		  end if
		  re.close
		  set re=nothing
		  %>
		  </td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td width="206" height="26" background="images/index_35.gif">&nbsp;&nbsp;<span class="STYLE2" style="font-weight: bold">活动列表</span></td>
  </tr>
  <tr>
    <td height="411" align="center" valign="top" bgcolor="#ECF8FF" style="border-left:#C7C8CC 1px solid;border-right:#C7C8CC 1px solid"><br>
  <%
set rs1=server.CreateObject("adodb.recordset")
sql="select * from jyhd_info where datediff(d,getdate(),hdtime)<1 order by id asc"
rs1.open sql,conn,1
if rs1.eof and rs1.bof then
   response.Write "<p class='style4'><br>&nbsp;<br><br></p>"
else
               rs1.pagesize=5
			   msg_per_page=rs1.pagesize
			   page=request("page")
			   if page<1 or page="" then page=1
			   if clng(page)>clng(rs1.pagecount) then page=clng(rs1.pagecount)
			   page=clng(page)
			   rs1.absolutepage=page
			   rowcount=rs1.pagesize
			   pcount=clng(rs1.pagecount)	
			   precordcount=rs1.recordcount
%>              
		<table width="187" border="0" cellpadding="00" cellspacing="0" class="style30">
		<%	do while not rs1.eof and rowcount>0%>	
          <tr>
            <td height="71" class="lan" style="border-bottom:#9DCCF6 1px solid "><div align="left">·<A href="huodong.asp?hdid=<%=rs1("id")%>" target=_blank class="a7"><%
				  response.Write "["& GetCity(rs1("shi")) &"]&nbsp;"&month(rs1("hdtime"))&"月"&day(rs1("hdtime"))&"日&nbsp;"&rs1("title")%></a></A> </div></td>
          </tr>
		<%
rs1.movenext
rowcount=rowcount-1
loop
%>  
        </table>
<%if pcount>1 then%>		
        <table width="187" height="32" border="0" cellpadding="00" cellspacing="0">
          <tr>
            <td height="32" bgcolor="#DDF2FF"><div align="center">
			<%
if page>1 then
    response.Write "<a href='allhuodong.asp?page=1' class='a11'>首页</a>&nbsp;"
	response.Write "<a href='allhuodong.asp?page="& page-1 &"' class='a11'>上一页</a>&nbsp;"
else
    response.Write "首页&nbsp;上一页&nbsp;"
end if			 
if page<pcount then
    response.Write "<a href='allhuodong.asp?page="& page+1 &"' class='a11'>下一页</a>&nbsp;"
	response.Write "<a href='allhuodong.asp?page="& pcount &"' class='a11'>尾页</a>&nbsp;"
else
    response.Write "下一页&nbsp;尾页&nbsp;"
end if	
			%></div></td>
          </tr>
    </table>
<%
  end if
end if
rs1.close
set rs1=nothing
%>	
	</td>
  </tr>
  <tr>
    <td height="25" background="images/index_35.gif">&nbsp;&nbsp;<span class="STYLE2" style="font-weight: bold">活动相关合作</span></td>
  </tr>
  <tr>
    <td height="148" valign="top" style="border-left:#C7C8CC 1px solid;border-right:#C7C8CC 1px solid"><br>
      <table width="187" border="0" align="center" cellpadding="00" cellspacing="0" bgcolor="#EDF8FE">
        <tr>
          <td width="60" height="51" class="hong"><div align="center">寻求</div></td>
          <td width="127"><a href="hezuo.asp" title="" 
target=_blank class="pgd" style="color: #4193DD">活动合作伙伴<br>
            及承办单位</a></td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td height="11"><img src="images/lg_5.gif" width="206" height="11"></td>
  </tr>
</table>

