<!--#include file="../inc/Conn.asp"-->
<!--#include file="../inc/base64.asp"-->
<!--#include file="../inc/Function.asp"-->
<%
area_cid=request("area_cid")
area_sid=request("area_sid")
if area_cid="" then area_cid=0
if area_sid="" then area_sid=0

a_area=""
b_area=""
areanames="全城∨"
set rs=server.CreateObject("adodb.recordset")
sql="select * from Dream_Area where Dream_ClassID=0 order by Dream_zid asc, id asc"	
rs.open sql,Conn,1,1
if not(rs.eof and rs.bof) then
i=1
do while not rs.eof
if cint(area_cid)=rs("id") and cint(area_sid)=0 then
	b_area_str="<li><a class=""current"" href=""page.asp?cid="&cid&"&sid=0&area_cid="&rs("id")&"&area_sid=0&otype="&otype&""">全部</a></li>"
else
	b_area_str="<li><a href=""page.asp?cid="&cid&"&sid=0&area_cid="&rs("id")&"&area_sid=0&otype="&otype&""">全部</a></li>"
end if			
	set rss=server.CreateObject("adodb.recordset")
	sqls="select * from Dream_Area where Dream_ClassID="&rs("id")&" order by Dream_zid asc, id asc"	
	rss.open sqls,Conn,1,1
	if not(rss.eof and rss.bof) then
	j=1
	do while not rss.eof
	if cint(area_sid)=rss("id") then
		areanames=rss("Dream_Names")
		b_area_str=b_area_str&"<li><a class=""current"" href=""page.asp?cid="&cid&"&sid=0&area_cid="&rs("id")&"&area_sid="&rss("id")&"&otype="&otype&""">"&rss("Dream_Names")&"</a></li>"
	else
		b_area_str=b_area_str&"<li><a href=""page.asp?cid="&cid&"&sid=0&area_cid="&rs("id")&"&area_sid="&rss("id")&"&otype="&otype&""">"&rss("Dream_Names")&"</a></li>"
	end if
	j=j+1
	rss.movenext
	loop			
	end if
	rss.close
	set rss=nothing
if cint(area_cid)=rs("id") then
a_area=a_area&"<li class=""current""><a href=""page.asp?cid="&cid&"&sid=0&area_cid="&rs("id")&"&area_sid=0&otype="&otype&""" tag=""0"">"&rs("Dream_Names")&"<i></i></a></li>"
b_area=b_area&"<ul style=""display:block;"">"&b_area_str&"</ul>"
	if area_sid=0 then
	areanames=rs("Dream_Names")
	end if
else
a_area=a_area&"<li><a href=""page.asp?cid="&cid&"&sid=0&area_cid="&rs("id")&"&area_sid=0&otype="&otype&""" tag=""0"">"&rs("Dream_Names")&"<i></i></a></li>"
b_area=b_area&"<ul>"&b_area_str&"</ul>"
end if
i=i+1
rs.movenext
loop
end if
rs.close
set rs=nothing
%>
<!DOCTYPE html>
<head>
<title><%=Dream_SiteName%><%if Dream_SiteTitle<>"" then%>-<%=Dream_SiteTitle%><%end if%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="Keywords" content="<%=Dream_SiteKeywords%>">
<meta content="<%=Dream_SiteDescription%>" name="description">
<meta name="viewport" content="initial-scale=1, width=device-width, maximum-scale=1, user-scalable=no">
<meta name="viewport" content="initial-scale=1.0,user-scalable=no,maximum-scale=1" media="(device-height: 568px)">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="full-screen" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta name="format-detection" content="address=no">
<link rel="stylesheet" href="../css/style_guolv.css" />
<script type="text/javascript" src="../js/zepto.min.js"></script>
<script type="text/javascript" src="../js/globe.js"></script>
<script type="text/javascript" src="../js/swiper.min.js"></script>


</head>
<body>
<section>
<!--#include file="header.asp"-->

<div class="topbar2"></div>
<div class="tnav2">
<div class="filter-pop address-pop">
  <div class="hd">全部地区<a href="javascript:void(0);" class="close"></a> </div>
  <div class="bd">
	<div class="a-region">
		<ul>
		  <%=a_area%>
		</ul>
	  </div>
	<div class="b-region">
		<%=b_area%>
	  </div>        
  </div>
</div>
<div class="mask-pop"></div>
</div>







<div class="new_nav3" >
	<ul>
		<%=leftmenu(0)%>
	</ul>
	
</div>


	<!--#include file="footer.asp"-->  
</div>
<!--#include file="navb.asp"--> 
<script src="../js/cf5fd214_2.js"></script>
</section>
</body>
</html>