<!--#include file=../system/include/config.asp-->
<!--#include file=../share/conn_system.asp-->
<!--#include file=../system/include/function.asp-->
<html>
<head>
<title><%=title%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../style.css" type="text/css">
</head>
        <%
	dim strSql,rs,i,PageNo,yy
	if request("type")="" then
	response.write "对不起，参数出错了！请重新访问此页!"
	response.end
	end if
	if request("type")=1 then
	yy="房产中介推荐"
	end if
	if request("type")=2 then
	yy="房地产开发公司推荐"
	end if
	if request("type")=3 then
	yy="装簧公司推荐"
	end if
	if request("type")=4 then
	yy="搬家公司推荐"
	end if
	if request("type")=5 then
	yy="评估公司推荐"
	end if
	if request("type")=6 then
	yy="物业公司推荐"
	end if	
%>
<style> body{ scrollbar-face-color:fd9035; scrollbar-shadow-color:ffffff;  scrollbar-highlight-color:ffffff; scrollbar-3dlight-color:ffffff;  scrollbar-darkshadow-color:ffffff; scrollbar-track-color:ffefd7;  scrollbar-arrow-color:ffffff;} 
.kuan1 {  border-color: #000000 black black; border-style: solid; border-top-width: 1px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px}
.kuan2 {  border-color: #FFFFFF black; border-style: solid; border-top-width: 2px; border-right-width: 0px; border-bottom-width: 2px; border-left-width: 0px}
.kuan3 {  border-color: #000000 black #CCCCCC; font-size: 9pt; line-height: 180%; border-style: solid; border-top-width: 1px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px}
.kuan4 {  border-color: #CCCCCC black black; font-size: 9pt; line-height: 180%; border-style: solid; border-top-width: 1px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px}
.kuan5 {  border-color: #000000 black black; font-size: 9pt; line-height: 150%; border-style: solid; border-top-width: 1px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px}
.fontw6 {  border-color: #CCCCCC black black; font-size: 14px; line-height: 150%; font-family: "宋体"; border-style: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px}
</style>
<script language="JavaScript" src="../share/nei_fc.js"></script>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
<!--#include file="../share/gg_top.htm"-->
<table width="778" border="0" cellspacing="0" cellpadding="0" align="center" class="kuan2">
  <tr>
    <td width="161" height="72" align="center"><img src="../system/images/small_biao.gif" width="124" height="64"></td>
    <td width="617" height="72" align="right"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="610" height="66">
        <param name=movie value="../ad/wanxin.swf">
        <param name=quality value=high>
        <embed src="../ad/wanxin.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="610" height="66">
        </embed> 
      </object></td>
  </tr>
</table>
<table width="778" border="0" cellspacing="0" cellpadding="0" align="center" class="kuan3">
  <tr align="left" valign="top"> 
    <td width="165" height="318" bgcolor="#FFF1B9" align="center"><br>
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="120" height="321">
        <param name=movie value="../ad/bogao.swf">
        <param name=quality value=high>
        <embed src="../ad/bogao.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="120" height="321">
        </embed> 
      </object> </td>
    <td width="613" height="318" align="right"> 
      <table width="610" border="0" cellspacing="0" cellpadding="0" bgcolor="#FF8B17" class="kuan2">
        <tr> 
          <td width="611" height="30" align="center" valign="middle" bgcolor="#FFFFFF"><font color="#000000" size="+1"><b><%=yy%></b></font></td>
        </tr>
      </table>
      <table width="610" border="0" cellspacing="0" cellpadding="0">
	    <%
	strSql="select * from [company] where type='" & request("type") & "' order by id desc"
	set rs=Server.CreateObject("ADODB.RecordSet")
	rs.open strSql,conn,3,3
	rs.PageSize=25
	PageNo=request("PageNo")
	if PageNo<1 or not isnumeric(PageNo) then
		PageNo=1
	end if
	if cint(PageNo)>rs.PageCount then
		PageNo=rs.PageCount
	end if
%>
        <tr> 
          <td bgcolor="#FF9933" class="font" width="455">&nbsp;<font color="#ffffff"><%=yy%></font><font color="#FFFFFF">： 
            <%=rs.recordcount%> 家</font></td>
          <td bgcolor="#FF9933" class="font" width="155"><a href="../company/view_paper.asp?pageno=1&type=<%=request("type")%>" class="menu2">首页</a> 
            <a href="../company/view_paper.asp?pageno=<%=pageno-1%>&type=<%=request("type")%>" class="menu2">上一页</a> 
            <a href="../company/view_paper.asp?pageno=<%=pageno+1%>&type=<%=request("type")%>" class="menu2">下一页</a> 
            <a href="../company/view_paper.asp?pageno=<%=rs.pagecount%>&type=<%=request("type")%>" class="menu2">尾页</a></td>
        </tr>
      </table>
      <table width="610" border="0" cellspacing="1" cellpadding="0" class="kuan2">
        <%
		if rs.recordcount>0 then
		   rs.AbsolutePage =PageNo
		   for i=1 to rs.pageSize
  			  if rs.eof then exit for
        %>
        <tr> 
          <td bgcolor="#FFFFFF" align="left" valign="middle" height="25" class="smallfont" width="778"><font color="#FF9933">·</font><a href="../company/sub_company.asp?id=<%=rs("id")%>&type=<%=request("type")%>" class="ffbyfont"><font size="2"><%=rs("company")%></font></a>
<font size="2" color="#FF9933">&nbsp;&nbsp;&nbsp;&nbsp;联系电话：&nbsp;&nbsp;<%=rs("tel")%></font>		
		  </td>
        </tr>
        <%
		rs.movenext
	   next
	   end if
	   %>
      </table>
    
      <table width="610" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td bgcolor="#FF9933" class="font" width="455">&nbsp;<font color="#ffffff"><%=yy%></font><font color="#FFFFFF">： 
            <%=rs.recordcount%> 家</font></td>
          <td bgcolor="#FF9933" class="font" width="155"><a href="../company/view_paper.asp?pageno=1&type=<%=request("type")%>" class="menu2">首页</a> 
            <a href="../company/view_paper.asp?pageno=<%=pageno-1%>&type=<%=request("type")%>" class="menu2">上一页</a> 
            <a href="../company/view_paper.asp?pageno=<%=pageno+1%>&type=<%=request("type")%>" class="menu2">下一页</a> 
            <a href="../company/view_paper.asp?pageno=<%=rs.pagecount%>&type=<%=request("type")%>" class="menu2">尾页</a></td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!--#include file="../share/gg_foo.htm" -->

</body>
</html>
