
<!--#include file="top.asp"-->

<head>
</head>

<body background="moban/3/images/bg.gif" topmargin="0">
<div align="center">
  <center>
  <table border="0" width="875" cellspacing="0" cellpadding="0" background="moban/3/images/body_bg1.gif" height="500">
  <tr><td width="100%" height="15"></td></tr>
    <tr>
      <td width="875" height="500" valign="top">
        <div align="center">
          <center>
          <table border="0" width="873" height="500" cellspacing="0" cellpadding="0">
            <tr>
              <td width="181" valign="top">
                <table border="0" width="179" height="195" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="100%" valign="top"><img border="0" src="moban/3/images/new.gif"></td>
                  </tr>
                </table>
              </td>
              <td width="510" height="174" valign="top" align="center">
                <div align="center">
                  <center>
                  <table border="0" width="510" cellspacing="0" cellpadding="0" height="172">
                    <tr>
                      <td width="510" background="moban/3/images/top_top.gif" height="61">
                        <table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="100%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                          </tr>
                          <tr>
                            <td width="100%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;                                
                              <font color="#666666"><b>公司动态</b></font></td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                    <tr>
                      <td width="100%" background="moban/3/images/linemid.gif" height="400" valign="top" align="center">
                        <div align="center">
                          <center>
                          <table border="0" width="96%">
                            <tr>
                              <td width="100%" valign="top">
                              
                              
                                                    <table border="0" width="98%">
                        <tr>
                          <td width="100%"><%
If Len(Trim(Request("page")))=0 Then  '返回目标页码的判断
page=1 
Else 
page=CInt(Trim(Request("page"))) 
End If
set rs1s=server.CreateObject("adodb.recordset")
strnews="select  * from news where shjiaid="&id
rs1s.open strnews,conn,1,1
rs1s.PageSize=18
if not rs1s.eof then
rs1s.AbsolutePage=page
for i=1 to rs1s.PageSize 
%>
                                                                   <div align="center">
                                                                    <center>
                                  <table border="0" width="100%">
                                    <tr>
                                      <td width="100%">&nbsp;<img src=moban/2/images/cccc.gif broder=0>&nbsp;<a href=newsshow.asp?id=<%=rs_shjia("shjiaid")%>&newsid=<%=rs1s("newsid")%>><%=left(trim(rs1s("title")),25)%></a>&nbsp;&nbsp;[<%=trim(rs1s("addtime"))%>]</td>
            </tr>	
<% 
 rs1s.movenext
    if rs1s.EOF Then Exit For
    next
  end if
%>
                                  </table>
                          </td>
                        </tr>
                        <tr>
                          <td width="100%">
                          <table width="498" border="0" align="center" cellpadding="5" >  
  <tr>
    <td align="right"><%
  if page <>1 then
     Response.Write "<a href=news.asp?id="&rs_shjia("shjiaid")&"&page=1>首页</a> "
  end if
  tmppage = page - 1 
  if tmppage <= 0 then 
     tmppage = 1 
  else
     Response.Write"<a href=news.asp?id="&rs_shjia("shjiaid")&"&page="&tmppage&">上一页</a>"
  end if
  tmppage = page + 1 
  if tmppage >rs1s.PageCount then 
     tmppage = page
  else
     Response.Write " <a href=news.asp?id="&rs_shjia("shjiaid")&"&page="&tmppage&">下一页</a> "
  end if 
  if Cstr(page) <> Cstr(rs1s.PageCount) and Cstr(rs1s.PageCount) <> 0 then
    Response.Write "<a href=news.asp?id="&rs_shjia("shjiaid")&"&page="&rs1s.PageCount&">尾页</a>"
  end if
  if Cstr(rs1s.PageCount) <> 0 then
  Response.Write "每页显示<font color=red>18</font>条新闻  第<font color='blue'>" & page & "/"&rs1s.PageCount&"</font>页"
  end if
  Response.Write "  共有<font color='blue'>"&rs1s.RecordCount&"</font>条新闻"
 rs1s.close
%>  
</td></tr></table>
                          </td>
                        </tr>
                      </table>
                             
                              
                              
                              </td>
                            </tr>
                          </table>
                          </center>
                        </div>
                      </td>
                    </tr>
                    <tr>
                      <td width="100%" height="12" background="moban/3/images/linedi.gif"><img border="0" src="moban/3/images/linedi.gif"></td>
                    </tr>
                  </table>
                  </center>
                </div>
              </td>
              <td width="185" valign="top" align="center">
                <div align="center">
                  <center>
                  <table border="0" width="163" background="moban/3/images/right.gif" height="334" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="100%" valign="top">
                        <table border="0" width="100%" cellspacing="0" cellpadding="0" height="230">
                          <tr>
                            <td width="100%" height="56">&nbsp; 
                            </td>
                          </tr>
                          <tr>
                            <td width="100%" height="9" align="center"><%=rs_shjia("tel")%> 
                            </td>
                          </tr>
                          <tr>
                            <td width="100%" height="27">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                            </td>
                          </tr>
                          <tr>
                            <td width="100%" height="19" valign="top" align="center"><a href=mailto:<%=rs_shjia("UserEmail")%>><%=right(rs_shjia("UserEmail"),18)%> </a> 
                            </td>
                          </tr>
                          <tr>
                            <td width="100%" height="31">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                          </tr>
                          <tr>
                            <td width="100%" height="38" valign="top">
                              <table border="0" width="100%" height="43">
                                <tr>
                                  <td width="28%" height="39"></td>
                                  <td width="67%" valign="top" height="39"> <%=rs_shjia("dz")%></td>
                                  <td width="6%" height="39"></td>
                                </tr>
                              </table>
 
                            </td>
                          </tr>
                          <tr>
                            <td width="100%" height="49" valign="top">
                              <table border="0" width="100%" height="37">
                                <tr>
                                  <td width="100%" height="25">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                                  </td>
                                </tr>
                                <tr>
                                  <td width="100%" height="21">
                                    <table border="0" width="100%">
                                      <tr>
                                        <td width="36%"></td>
                                        <td width="64%" valign="bottom"><b><a href="gbook.asp?id=<%=rs_shjia("shjiaid")%>"><font color="#636363">在线留言</font></a></b></td>
                                      </tr>
                                    </table>
                                  </td>
                                </tr>
                              </table>
                            </td>
                          </tr>
                          <tr>
                            <td width="100%" height="18"></td>
                          </tr>
                          <tr>
                            <td width="100%" height="18"></td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                  </center>
                </div>
              </td>
            </tr>
          </table>
          </center>
        </div>
      </td>
    </tr>
  </table>
  </center>
</div>
<!--#include file="copyright.asp"-->
</body>

