⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 guwen_more.asp

📁 本房地产网站功能强大
💻 ASP
字号:
<!--#include file="../inc/conn.asp"-->
<!--#include file="../inc/getPartStrAndBytesLen.asp" -->
<!--#include file="../inc/onlinecount.asp"-->
<!--#include file="../top.asp"-->
<%
 Dim Rs,Sql
 OpenDataConn
 Set Rs=Server.CreateObject("ADODB.Recordset") 
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE><%=homepage_title%></TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<script language="JavaScript" src="../inc/index.js"></script>
<LINK 
href="../img/css.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.3790.2706" name=GENERATOR></HEAD>
<BODY class=bg1 text=#000000 bgColor=#ffffff leftMargin=0 topMargin=1>
<TABLE height=28 cellSpacing=0 cellPadding=0 width=980 align=center 
background=../img/headbg4.gif border=0>
  <TBODY>
  <TR>
    <TD align=right width=35>
	<IMG height=13 src="../img/headarrow.gif" 
      width=17></TD>
    <TD align=middle width=10></TD>
    <TD class=TD_Place width=935>您现在的位置:<a href="../index.aspx"><font color="#FFFFFF"><%=homepage_title%></font> </a>&gt;&gt; 
	物管专题</FONT></TD></TR></TBODY></TABLE>
<TABLE height=7 cellSpacing=0 cellPadding=0 width=980 align=center 
background=../img/headbg5.gif border=0>
  <TBODY>
  <TR>
    <TD></TD></TR></TBODY></TABLE>
<div align="center">
<TABLE height=100 cellSpacing=0 cellPadding=0 width=970 border=0>
  <TBODY>
  <TR>
    <TD vAlign=top width=260 height=100>
      <TABLE class=out3s_green height="100%" cellSpacing=0 cellPadding=0 
      width=255 bgColor=#7cb721 border=0>
        <TBODY>
        <TR>
          <TD vAlign=top>
            <TABLE cellSpacing=0 cellPadding=0 width="99%" align=center 
border=0>
              <TBODY>
              <TR>
                <TD height="37">
				<img border="0" src="../img/wanti.gif" width="255" height="40"></TD></TR>
              <TR>
                <TD>
				<table width="198" border="0" cellpadding="0" cellspacing="0" class="main">
                    <%
					set rs=server.CreateObject("adodb.recordset")
					sql="select top 8 * from news where sort=14  order by dnt desc"
					rs.open sql,conn,1,1
					do while not rs.eof
					%>
                    <tr class="black"> 
                      <td width="19" height="19"> <div align="center">
						<img border="0" src="../img/arr_w1.gif" width="9" height="9"></div></td>
                      <td width="313" height="19" ><a href=../house/guwen_detail.asp?newsid=<%=trim(rs("newsid"))%>&amp;sort=14><font color="#FFFFFF"><%=getStr(trim(rs("topic")),14)%></font></a></td>
                    </tr>
                    <%
					rs.movenext
					loop
					rs.close
					set rs=nothing
					%>
                  </table>
				</TD></TR>
              <TR>
                <TD>
				<p align="right"><a href="guwen_more.asp?sort=14"><font color=#FFFFFF>更多</font></a>&nbsp;&nbsp;&nbsp;
				</TD></TR>
              <TR>
                <TD height="38">
				<img border="0" src="../img/hetong.gif" width="255" height="40"></TD></TR>
              <TR>
                <TD>
				<table width="198" border="0" cellpadding="0" cellspacing="0" class="main">
                    <%
					set rs=server.CreateObject("adodb.recordset")
					sql="select top 8 * from news where sort=15  order by dnt desc"
					rs.open sql,conn,1,1
					do while not rs.eof
					%>
                    <tr class="black"> 
                      <td width="19" height="19"> <div align="center">
						<img border="0" src="../img/arr_w1.gif" width="9" height="9"></div></td>
                      <td width="313" height="19" ><a href=../house/guwen_detail.asp?newsid=<%=trim(rs("newsid"))%>&amp;sort=15><font color=#ffffff><%=getStr(trim(rs("topic")),14)%></font></a></td>
                    </tr>
                    <%
					rs.movenext
					loop
					rs.close
					set rs=nothing
					%>
                  </table>
				</TD></TR>
              <TR>
                <TD>
				<p align="right">
				<a href="guwen_more.asp? sort=15"><font color=#FFFFFF>更多</a>&nbsp;&nbsp;&nbsp;</font>
				</TD></TR>
              <TR>
                <TD>
				</TD></TR>
              <TR>
                <TD height="39">
				<img border="0" src="../img/touzi.gif" width="255" height="40"></TD></TR>
              <TR>
                <TD>
				<table width="198" border="0" cellpadding="0" cellspacing="0" class="main">
                    <%
					set rs=server.CreateObject("adodb.recordset")
					sql="select top 8 * from news where sort=16  order by dnt desc"
					rs.open sql,conn,1,1
					do while not rs.eof
					%>
                    <tr class="black"> 
                      <td width="19" height="19"> <div align="center">
						<img border="0" src="../img/arr_w1.gif" width="9" height="9"></div></td>
                      <td width="313" height="19"><a href=../house/guwen_detail.asp?newsid=<%=trim(rs("newsid"))%>&amp;sort=16><font color="#FFFFFF"><%=getStr(trim(rs("topic")),14)%></font></td>
                    </tr>
                    <%
					rs.movenext
					loop
					rs.close
					set rs=nothing
					%>
                  </table>
				</TD></TR>
              <TR>
                <TD>
				<p align="right"><a href="guwen_more.asp? sort=16"><font color=#FFFFFF>更多</font></a><font color="#FFFFFF">&nbsp;&nbsp;&nbsp;
				</font></TD></TR>
              </TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
    <TD vAlign=top>
      <TABLE cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD height=5></TD></TR></TBODY></TABLE>
      <div align="right">
      <TABLE height=30 cellSpacing=0 cellPadding=0 width=710 border=0 id="table7">
        <TBODY>
        <TR>
          <TD width=5><IMG height=30 src="../img/news1a.gif" width=5></TD>
          <TD width=150 background=../img/news4a.gif>
			<IMG height=9 
            src="../img/arr_w2.gif" width=9> 
            <strong><a href="guwen.asp" class="linkone"><font color="#ffffff"> 房产顾问--&gt;
            <!--#include file="../inc/sort.asp"-->
            </font></a></strong> </TD>
          <TD width=5><IMG height=30 src="../img/news2a.gif" width=5></TD>
          <TD background=../img/news5a.gif>&nbsp;&nbsp; </TD>
          <TD width=5><IMG height=30 src="../img/news3a.gif" 
        width=5></TD></TR></TBODY></TABLE>
      </div>
      <TABLE height=3 cellSpacing=0 cellPadding=0 width=75 border=0>
        <TBODY>
        <TR>
          <TD></TD></TR></TBODY></TABLE>
      <div align="right">
      <TABLE class=0cellSpacing=0 cellPadding=0 width=710 border=0>
        <TBODY>
        <TR>
          <TD vAlign=top>
             <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td width="557" height="151" align="center" valign="top"><table width="97%" height="64" border="0" align="center" cellpadding="0" cellspacing="0" class="main">
                          <%
              dim curpage
              if request.querystring("curpage")="" then
                 curpage=1
              else
                 curpage=request.querystring("curpage")
              end if
              const numperpage=27
			  sortnum=RtnReplaceInt(trim(request("sort")),0)
              set rs=server.createobject("adodb.recordset")
			  sql="select * from news "
			  if sortnum<>"" then
			  sql=sql & " where sort="&sortnum&""
			  end if
			  sql=sql & "  order by dnt desc"
              rs.open sql,conn,1,1
            if not rs.eof then
            rs.pagesize=numperpage
            dim totalpages
            totalpages=rs.pagecount
            rs.absolutepage=curpage
            end if        
           dim count
           count=0
           do while not rs.eof and count<numperpage
              %>
                          <tr class="p12"> 
                            <td width="34" height="20"> <div align="center">
								<img border="0" src="../img/arr_w1.gif" width="9" height="9"></div></td>
                            <td width="442" height="22"><a href=guwen_detail.asp?newsid=<%=trim(rs("newsid"))%>&amp;sort=15><%=rs("topic")%> <%if trim(rs("imgname"))<>"0" and trim(rs("imgname"))<>""  then response.write "(图)" end if%></a> </td>
                          </tr>
                          <%
              rs.movenext       
                count=count+1
                loop
               rs.close
               set rs=nothing
              %>
                          <tr> 
                            <td height="42" colspan="2"> <div align="center"> 
                                <% if cint(curpage)<>1 then %>
                                <a href="guwen_more.asp?curpage=1&sort=<%=trim(request("sort"))%>" class="linkone">首页&nbsp;</a> 
                                <% else %>
                                首页&nbsp; 
                                <% end if %>
                                <% if cint(curpage)>1 then %>
                                <a href="guwen_more.asp?curpage=<%=curpage-1%>&sort=<%=sortnum%>" class="linkone">上一页&nbsp;</a> 
                                <% else %>
                                &nbsp;上一页 
                                <% end if %>
                                <% if cint(curpage)<>cint(totalpages) then %>
                                <a href="guwen_more.asp?curpage=<%=curpage+1%>&sort=<%=sortnum%>" class="linkone">&nbsp;下一页 
                                <% else %>
                                &nbsp;下一页 
                                <% end if %>
                                <% if cint(curpage)<>cint(totalpages) then %>
                                </a><a href="guwen_more.asp?curpage=<%=totalpages%>&sort=<%=sortnum%>" class="linkone">&nbsp;末页 
                                <% else %>
                                &nbsp;末页 
                                <% end if %>
                                </a>   第<font color="#FF0000"><%=curpage%></font>页/共<%=totalpages%>页     </div></td>
                          </tr>
                        </table></td>
                    </tr>
                  </table>
            </div>
            <TABLE height=5 cellSpacing=0 cellPadding=0 width=75 border=0>
              <TBODY>
              <TR>
                <TD></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width=708 
            background=../img/bomgreen2.gif border=0>
              <TBODY>
              <TR>
                <TD width=20>
				<IMG height=27 src="../img/bomgreen1.gif" 
                  width=13></TD>
                <TD align=right>
				 </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
      </div>
      <TABLE height=5 cellSpacing=0 cellPadding=0 width=75 border=0>
        <TBODY>
        <TR>
          <TD></TD></TR></TBODY></TABLE>
      <TABLE height=3 cellSpacing=0 cellPadding=0 width=75 border=0>
        <TBODY>
        <TR>
          <TD></TD></TR></TBODY></TABLE>
      <TABLE height=5 cellSpacing=0 cellPadding=0 width=75 border=0>
        <TBODY>
        <TR>
          <TD></TD></TR></TBODY></TABLE>
      <TABLE height=3 cellSpacing=0 cellPadding=0 width=75 border=0>
        <TBODY>
        <TR>
          <TD></TD></TR></TBODY></TABLE>
      </TD></TR></TBODY></TABLE>
</div>
<!--#include file="../end.asp"-->

</BODY></HTML>
<%
 Set Rs=Nothing
 CloseDataConn
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -