www.gusucode.com > 公寓出租网站整站源码 1.0程序 > aboutus.asp
<!--#include file="top.asp"--> <%Title=Trim(request("Title")) Set rs1 = Server.CreateObject("ADODB.Recordset") sql="select Content from Aboutus where Title='"&Title&"'" rs1.open sql,conn,1,3 %> <tr> <td><table width="977" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="237" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="37" valign="bottom" background="images/18.gif"><table width="50%" height="25" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="center"><b>公寓分类</b></td> </tr> </table></td> </tr> <tr> <td background="images/22.gif"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td style="line-height:25px;"><% call ShowSmallClass_Tree() %></td> </tr> </table></td> </tr> <tr> <td><img src="images/28.gif" width="237" height="10" alt="" /></td> </tr> <tr> <td height="5"></td> </tr> <tr> <td height="37" valign="bottom" background="images/18.gif"><table width="50%" height="25" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="center"><b>公寓查询</b></td> </tr> </table></td> </tr> <tr> <td background="images/22.gif"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td valign="top" style="line-height:25px;"><% call ShowSearch(1) %></td> </tr> </table></td> </tr> <tr> <td><img src="images/28.gif" width="237" height="10" alt="" /></td> </tr> <tr> <td height="5"></td> </tr> <tr> <td height="37" valign="bottom" background="images/18.gif"><table width="50%" height="25" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="center"><b>新闻动态</b></td> </tr> </table></td> </tr> <% set rs_news1=server.createobject("adodb.recordset") sqltext4="select top 5 * from news where BigClassName='新闻动态'" rs_news1.open sqltext4,conn,1,1 %> <tr> <td background="images/22.gif"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0"> <%i=0 do while not rs_news1.eof%> <tr> <td valign="top" style="line-height:25px;"> <img border="0" src="Img/arrow_6.gif" width="11" height="11"><a href="shownews.asp?id=<%=rs_news1("id")%>" target="_blank"><%=rs_news1("title")%></a></td> </tr> <% rs_news1.movenext i=i+1 loop rs_news1.close %> </table></td> </tr> <tr> <td><img src="images/28.gif" width="237" height="10" alt="" /></td> </tr> <tr> <td height="5"></td> </tr> <tr> <td height="37" valign="bottom" background="images/18.gif"><table width="50%" height="25" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="center"><b>联系方式</b></td> </tr> </table></td> </tr> <tr> <td background="images/22.gif"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0"> <% Set rs = Server.CreateObject("ADODB.Recordset") sql="select Content from Aboutus where Title='联系方式'" rs.open sql,conn,1,3 %> <tr> <td valign="top" style="line-height:25px;"><%=left(rs("Content"),300)%></td> </tr> <%rs.close set rs=nothing %> </table></td> </tr> <tr> <td><img src="images/28.gif" width="237" height="10" alt="" /></td> </tr> </table></td> <td width="10" valign="top"> </td> <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="10" valign="bottom" background="images/26.gif"><img src="images/26.gif" width="730" height="10" alt="" /></td> </tr> <tr> <td background="images/23.gif"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><b><%=Title%></b></td> </tr> </table></td> </tr> <tr> <td><img src="images/29.gif" width="730" height="10"></td> </tr> <tr> <td><div align="center"> <table border="0" width="95%" cellpadding="0" style="border-collapse: collapse"> <tr> <td align="left" style="line-height: 200%"><br><%=rs1("Content")%></td> </tr> </table> </div></td> </tr> <%rs1.close set rs1=nothing %> </table></td> </tr> </table></td> </tr> </table> <!--#include file="end.asp"-->