你的位置:" target="_blank" > <%=rs("lpmc")%>楼盘资料 >>> " target="_blank" >户型图>>><%=rs("ntitle")%> |
<%=Nextphoto(rs("id"),1)%> |
|
<%=Nextphoto(rs("id"),2)%> |
|
|
<%=Nextphoto(rs("id"),1)%> |
|
<%=Nextphoto(rs("id"),2)%> |
|
<%
Set rs_s= Server.CreateObject("ADODB.Recordset")
sql_s="select ID,smallpic,pic from pic where compid='"&compid&"' and pictype="&"'户型图'"&" order by id desc"
rs_s.open sql_s,conn,1,1
i=1
do while not rs_s.eof
smallpic=rs_s("smallpic")
pic=rs_s("pic")
If smallpic<>"" Then
smallpic=smallpic
Else
smallpic=pic
End If
%>
|
<%if i mod 7 = 0 then%>
<% end if
rs_s.movenext
i=i+1
loop
%>
|
|
<%
sql5="select top 8 * from message where lytype='户型留言' and compid='"&compid&"' order by id desc"
Set rs5=Server.CreateObject("ADODB.RecordSet")
rs5.Open sql5,conn,1,1
do while not rs5.eof
%>
留言人:<%=rs5("user")%> 留言时间:<%=rs5("mdate")%> |
<%=left(rs5("mcontent"),200)%> |
|
<%
rs5.movenext
loop
rs5.close
set rs5=nothing
%>
|
|
|
|
|
|
|
|
|
|
|
|
县城楼盘 |
<%
set rst2=server.createobject("adodb.recordset")
sqlt2="SELECT * FROM comp where icheck=True and city<>"&"'武鸣市'"&" order by id desc"
rst2.open sqlt2,conn,1,1
j=1
%>
|
|
|
|
|