<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<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: 12px;
}
-->
</style>
<link href="css.css" rel="stylesheet" type="text/css">
</head>

<body>
<!--#include file="top.asp" -->
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="images/bn06.jpg" width="780" height="160"></td>
  </tr>
</table>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30" valign="top" background="images/dian.jpg">&nbsp;</td>
    <td width="540" rowspan="3" valign="top" background="images/bj.jpg"><table width="539" border="0" align="right" cellpadding="0" cellspacing="0">
        <tr>
          <td height="30" background="images/dian.jpg">　<img src="images/bt01.gif" width="100" height="25" align="absmiddle"></td>
        </tr>
        <tr>
          <td><table width="98%" border="0" align="right" cellpadding="0" cellspacing="0">
              <tr>
                <td height="328" valign="top"><br>
                  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td bgcolor="#F2F2F2"><span class="black"><strong>&nbsp;<strong>NEWS</strong></strong></span></td>
                  </tr>
                </table>                
                  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td><table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr>
                            <td width="98%"><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                                <TBODY>
                                  <TR>
                                    <TD valign="top" class=nr-st-9pt-16line-shsj><table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
                                        <tr>
                                          <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                              <tr>
                                                <td><table width="100%"  border="0" cellspacing="0" cellpadding="3">
<%
sql="select * from news where class=4 order by id desc"
set rsnews=server.createobject("adodb.recordset")
rsnews.open sql,conn,1,1
IF Not rsnews.eof Then
proCount=rsnews.recordcount
	rsnews.PageSize=20					  '定义显示数目
		if not IsEmpty(Request("ToPage")) then
	       ToPage=CInt(Request("ToPage"))
		   if ToPage>rsnews.PageCount then
					rsnews.AbsolutePage=rsnews.PageCount
					intCurPage=rsnews.PageCount
		   elseif ToPage<=0 then
					rsnews.AbsolutePage=1
					intCurPage=1
				else
					rsnews.AbsolutePage=ToPage
					intCurPage=ToPage
				end if
			else
			        rsnews.AbsolutePage=1
					intCurPage=1
		  end if
	intCurPage=CInt(intCurPage)
	For i = 1 to rsnews.PageSize
	if rsnews.EOF then     
	Exit For 
	end if
%>
                                                    <tr>
                                                      <td height="25" style="padding-left:10px; border-bottom:1px dashed #999999">&gt;&gt;<span class="style9"><a href="display_new.asp?id=<%=rsnews("id")%>" target="_blank">
                                                        <% = Left(rsnews("title"),40) %>
                                                        <% if Len(rsnews("title"))>40 then %>
                                      …
                                      <% end if %>
                                      <font color="#ff0000">Clicking rate</font>[<font color="#ff0000"><%=rsnews("hotclick")%></font>] </a></span></td>
                                                      <td align="right" style="padding-right:10px; border-bottom:1px dashed #999999">[<%=rsnews("time")%>]</td>
                                                    </tr>
                                                    <%
 rsnews.MoveNext 
 next
 %>
                                                  </table>
                                                    <TABLE width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
                                                        <TR>
                                                          <TD align="right" height="20" width="100%"><span style="font-size: 9pt;"> Altogether：<font color="#ff0000"><%=rsnews.PageCount%></font>Page, <font color="#ff0000"><%=proCount%></font>News, Present page：<font color="#ff0000"> <%=intCurPage%> </font>
                                                                <% if intCurPage<>1 then
		  %>
                                                                <a href="?id=<%=cid%>&ToPage=1">Home</a>|<a href="?id=<%=cid%>&ToPage=<%=intCurPage-1%>">Up page</a>|
                                                                <% end if
if intCurPage<>rsnews.PageCount then %>
                                                                <a href="?id=<%=cid%>&ToPage=<%=intCurPage+1%>">下一页</a>|<a href="?id=<%=cid%>&ToPage=<%=rsnews.PageCount%>"> End Page</a>|
                                                                <% end if%>
                                                          </span> </TD>
                                                        </TR>
                                                  </TABLE></td>
                                              </tr>
                                              <%else%>
                                              <table width="100%" border="0" cellspacing="1" cellpadding="3">
                                                <tr>
                                                  <td align="center">暂无新闻</td>
                                                </tr>
                                              </table>
                                              <%end if%>
                                          </table></td>
                                        </tr>
                                    </table></TD>
                                  </TR>
                                                </TABLE>
                                <%
rsnews.close
set rsnews=nothing
%></td>
                          </tr>
                      </table></td>
                    </tr>
                  </table></td>
              </tr>
          </table></td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td width="240" height="73" valign="top"><table width="190" border="0" cellspacing="2" cellpadding="0">
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td bgcolor="#F2F2F2">&nbsp;<img src="images/arrow_subordinate.gif" width="6" height="11" align="absmiddle"> <a href="about.asp" class="black">Company</a></td>
      </tr>
      <tr>
        <td bgcolor="#F2F2F2">&nbsp;<img src="images/arrow_subordinate.gif" width="6" height="11" border="0" align="absmiddle"> <a href="news.asp" class="black">News</a></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="200" valign="bottom"><img src="images/03.jpg" width="190" height="124"></td>
  </tr>
</table>
<!--#include file="end.asp" -->
</body>
</html>
