<!--#include file="header.asp"-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td background="images/iceweb_01.gif"><table width="776" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><img src="images/bixin0002.gif" width="778" height="196" /></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="777" border="0" align="center" cellpadding="0" cellspacing="0">
  
  <tr>
    <td width="2343" height="8" colspan="3"></td>
  </tr>
  <tr>
    <td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="29%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="images/iceweb.cn_05.gif" width="228" /></td>
              </tr>
              <tr>
                <td><img src="images/iceweb.cn_07.gif" width="228" height="168" /></td>
              </tr>
              <tr>
                <td><img src="images/iceweb.cn_10.gif" width="228" height="11" /></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="4%"><img src="images/iceweb.cn_11_01.gif" width="28" height="26" /></td>
                    <td width="63%" align="center" valign="middle" background="images/iceweb.cn_11_02.gif" class="title">新闻中心</td>
                    <td width="33%"><img src="images/iceweb.cn_11_03.gif" width="139" height="26" /></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td background="images/iceweb.cn_bg.gif"><table width="100%" border="0" cellspacing="10" cellpadding="0">
                  <tr>
                    <td>
					<%set rs=server.createobject("adodb.recordset")
					sql="select * from webmenu where m_top='新闻中心' order by m_order desc"
					rs.open sql,conn,1,1
					if not rs.eof and not rs.bof then%>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
                     <%while not rs.eof%>
					  <tr>
                        <td width="15%" height="13" align="center" class="twopage"><img src="images/iceweb.cn_icon.gif" width="15" height="14" /></td>
                        <td width="85%" height="20" class="twopage"><a href="news.asp?t=<%=rs("m_name")%>"><%=rs("m_name")%></a></td>
                      </tr>
					  <%rs.movenext
					  wend%>
                    </table>
					<%else response.write("没有信息") end if
					rs.close
					set rs=nothing%>					</td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td><img src="images/iceweb.cn_13.gif" width="228" height="15" /></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
        </table></td>
        <td width="1%" valign="top"></td>
        <td width="70%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="5%"><img src="images/iceweb.cn_06_01.gif" width="25" height="33" /></td>
                <td width="17%" background="images/iceweb.cn_06_02.gif">新闻中心</td>
                <td width="13%"><img src="images/iceweb.cn_06_03.gif" width="69" height="33" /></td>
                <td width="64%" background="images/iceweb.cn_06_04.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="61%">&nbsp;</td>
                    <td width="39%" height="20">首页-新闻中心<%if request("t")<>"" then response.Write("-"&request("t")) end if%></td>
                    </tr>
                </table></td>
                <td width="1%"><img src="images/iceweb.cn_06_06.gif" width="15" height="33" /></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td><img src="bn1/news.gif" height="66" /></td>
          </tr>
          <tr>
            <td background="images/iceweb.cn_09_bg.gif" height="300" valign="top"><%
			id=request("t")
			set rs=server.CreateObject("adodb.recordset")
			if id="" then 
			sql="select * from news,webmenu where news.n_type=webmenu.m_name and webmenu.m_top='新闻中心' order by n_time desc,n_id desc"
			else
			sql="select * from news where n_type='"& id &"' order by n_time desc,n_id desc"
			end if
			rs.open sql,conn,1,1
			if not rs.eof and not rs.bof then
			%>
			<table width="99%" border="0" cellspacing="0" cellpadding="0">
                   <%
	rs.pagesize=18
	page=clng(REQUEST.QueryString("page"))

	if page<1 then
		page=1
	end if
	if page>rs.pagecount then
		page=rs.pagecount
	end if

	rs.absolutepage=page
	i=1
	do while not rs.eof and i<=rs.pagesize
	%>
			  <tr>
                <td width="4%" height="20" align="center"><img src="images/iceweb_news.gif" width="10" height="12" /></td>
                <td width="69%" class="news"><a href="shownews.asp?id=<%=rs("n_id")%>"><%=rs("n_title")%></a></td>
                <td width="14%" class="news">[<%=rs("n_time")%>]</td>
                <td width="13%" class="newsnum">阅读：<%=rs("n_number")%></td>
              </tr>
  <%
	rs.movenext
    i=i+1
	loop
%>
            </table>
			<%else%>没有信息<%end if%></td>
          </tr>
          <tr>
            <td height="20" background="images/iceweb.cn_09_bg.gif">&nbsp;</td>
          </tr>
          <tr>
            <td height="20" background="images/iceweb.cn_09_bg.gif"><div align="center">
        <% 
  if page=1 then 
  response.Write("第一页")
  else
  response.write("&nbsp;&nbsp;<a href=news.asp?id="& id &"&page=1>第一页</a>")
  end if
  
  if page=1 then 
   response.Write("&nbsp;&nbsp;上一页")
   else 
   response.Write("&nbsp;&nbsp;<a href=news.asp?id="& id &"&page="& page-1 & ">上一页</a>")
   end if
   
   if page=rs.pagecount then 
   response.Write("&nbsp;&nbsp;下一页")
   else 
   response.Write("&nbsp;&nbsp;<a href=news.asp?id="& id &"&page="& page+1 & ">下一页</a>")
   end if
   
   if page=rs.pagecount then 
   response.Write("&nbsp;&nbsp;最后一页")
   else 
   response.Write("&nbsp;&nbsp;<a href=news.asp?page="& rs.pagecount & ">最后一页</a>")
   end if
   %>
&nbsp;<span class="hb">&nbsp;&nbsp;当前第
<font color="#FF0000"><% =page %></font>/<% =rs.pagecount %></span></div></td>
          </tr>
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="74%"><img src="images/iceweb_r1_c1.gif" width="402" height="41" /></td>
                <td width="9%"><a href="javascript:window.print()"><img src="images/iceweb_r1_c2.gif" width="73" height="41" border="0" /></a></td>
                <td width="17%"><a href="#top"><img src="images/iceweb_r1_c3.gif" width="70" height="41" border="0" /></a></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<!--#include file="footer.asp"-->