<!--#include file="inc/Conn.asp"-->
<!--#include file="thecity.asp"-->
<!--#include file="inc/Function_PC.asp"-->
<!DOCTYPE html>
<html id="" lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="<%=Dream_SiteDescription%>">
<meta name="keywords" content="<%=Dream_SiteKeywords%>">
<title><%=Dream_SiteName%><%if Dream_SiteTitle<>"" then%>-<%=Dream_SiteTitle%><%end if%></title>
<!--#include file="jscss.asp"-->
<!--#include file="inc/zdsbphone.asp"-->
</head>
<body>

<!--顶部导航-->
<!--#include file="header.asp"-->
<!--导航-->
<div class="base container">
<!--左边栏-->
<div class="fn-left leftcon">
<div class="navbox">
<div class="navlist">
<div class="navmenu" id="nav">
<a href="javascript:void(0);" class="sPrev"></a>
<ul class="clearfix topnum">
<%=leftmenu_b(0)%>
</ul>
<a href="javascript:void(0);" class="sNext"></a>
</div>
<%=leftmenu_s(0)%>
</div>
<div id="turn">
<ul id="bigUl">
<%
set rs=server.CreateObject("adodb.recordset")
sql="select * from Dream_Banner where Dream_DefaultPicUrl<>'' order by id desc"
rs.open sql,Conn,1,1
if not(rs.eof and rs.bof) then
i=1
do while not rs.eof
%>
<li style="background-image: url(<%=rs("Dream_DefaultPicUrl")%>); opacity: 1; z-index: 17; background-position: 50% 0%; background-repeat: no-repeat no-repeat;">
<div class="ban_cter">
<a class="bigImg" href="<%=rs("Dream_DownUrl")%>" target="_blank">&nbsp;</a>
</div>
</li>
<%
if i=1 then
smallBtn=smallBtn&"<li class=""active""><a href=""javascript:;""></a></li>"
else
smallBtn=smallBtn&"<li class=""""><a href=""javascript:;""></a></li>"
end if
i=i+1
rs.movenext
loop	
end if
rs.close
set rs=nothing
%>
</ul>
<div class="smallBtn"><ul id="small"><%=smallBtn%></ul></div>
</div>
<!--热门导航-->
<div class="hotnav">
<h3>热门导航</h3>
<dl>
<dt>服务</dt>
<dd><%=menuhot(24)%></dd>
</dl>
</div>
</div>
<!--热门促销-->
<%
set rs=server.CreateObject("adodb.recordset")
sql="select * from Dream_Theme where Dream_IsIndex=true order by Dream_Zid asc, id desc"
rs.open sql,Conn,1,1
if not(rs.eof and rs.bof) then
i=0
do while not rs.eof
%>
<div class="floor<%=i%>">
<div class="title clearfix"><h3><%=rs("Dream_Names")%></h3>
<a href="list.asp?cid=<%=rs("id")%>" class="more">更多&gt;&gt; </a>
</div>
<div class="fmain clearfix">
<div class="goodimg clearfix">
<%
set rss=server.CreateObject("adodb.recordset")
if request.cookies("cityall")<>"" then
Dream_AreaStr=" and Dream_Area in ("&request.cookies("cityall")&")"
end if
if rs("Dream_ClassID")=0 then
sqls="select * from Dream_Menpiao where Dream_Theme in (select id from Dream_Theme where Dream_ClassID="&rs("id")&" or id="&rs("id")&" order by dream_zid asc,id desc) and Dream_Elite=true "&Dream_AreaStr&" order by id desc"
else
sqls="select * from Dream_Menpiao where Dream_Theme = "&rs("id")&" and Dream_Elite=true "&Dream_AreaStr&" order by id desc"
end if
rss.open sqls,Conn,1,1
if not(rss.eof and rss.bof) then
j=1
do while not rss.eof
if rss("Dream_DefaultPicUrl")<>"" then
Dream_DefaultPicUrl=rss("Dream_DefaultPicUrl")
else
Dream_DefaultPicUrl="images/nopic.jpg"
end if
goodclass=""
if j mod 4 = 0 then
goodclass="class=""last"""
end if
isrz="no"
if rss("Dream_UserID")<>"" then
isrz=userrz(rss("Dream_UserID"))
end if
%>
<a href="view.asp?id=<%=rss("id")%>" <%=goodclass%>>
<span><img src="<%=Dream_DefaultPicUrl%>" alt="<%=rss("Dream_Title")%>"></span>
<p class="goodname" title="<%=rss("Dream_Title")%>"><%=gotTopic(rss("Dream_Title"),20)%></p>
<p class="goodtel" title="<%=rss("Dream_Phone")%>"><%=rss("Dream_Phone")%></p>
<p class="goodaddress" title="<%=rss("Dream_Address")%>"><%=gotTopic(rss("Dream_Address"),20)%></p>
<%if isrz="yes" then%>
<cite title="资质认证"><img src="images/rz.jpg" alt="资质认证"></cite>
<%end if%>
</a>
<%
j=j+1
rss.movenext
loop	
end if
rss.close
set rss=nothing
%>
</div>
</div>
</div>
<%
i=i+1
rs.movenext
loop	
end if
rs.close
set rs=nothing
%>

</div>
<!--右边栏-->
<!--#include file="right.asp"-->
</div>
<!--#include file="footer.asp"-->
</body></html>