| 当前城市: <%if city_oneid=0 then response.write "总站" else aa1= conn.execute ("select city from [china_city] where id="&city_oneid&" and twoid=0")(0) response.write ""&aa1&"" if city_oneid>0 and city_twoid>0 then aa2=conn.execute ("select city from [china_city] where id="&city_oneid&" and twoid="&city_twoid&" and threeid=0")(0) response.write "/"&aa2&"" end if if city_oneid>0 and city_twoid>0 and city_threeid>0 then aa3=conn.execute ("select city from [china_city] where id="&city_oneid&" and twoid="&city_twoid&" and threeid="&city_threeid&"")(0) response.write "/"&aa3&"" end if end if%> | 城市分站导航--> 总站 <%set rs=server.CreateObject("adodb.recordset") if city_oneid=0 and city_twoid=0 and city_threeid=0 then rs.Open "select * from china_city where id<>0 and indexshow='yes' and twoid=0 order by indexid asc",conn,1,1 ic=1 do while not rs.eof%> | "><%=rs("city")%> <%if (ic mod 10)=0 then exit do ic=ic+1 rs.movenext loop rs.Close if ic<10 then rs.Open "select top 6 * from china_city where id<>0 and indexshow='yes' and twoid<>0 order by indexid asc",conn,1,1 do while not rs.eof%> | &city_twoid=<%=rs("twoid")%>"><%=rs("city")%> <%if (ic mod 10)=0 then exit do ic=ic+1 rs.movenext loop rs.Close end if set rs=nothing else if city_oneid<>0 and city_twoid=0 and city_threeid=0 then rs.Open "select * from china_city where id="&city_oneid&" and twoid<>0 and threeid=0 order by indexid asc",conn,1,1 end if if city_oneid<>0 and city_twoid<>0 and city_threeid=0 then rs.Open "select * from china_city where id="&city_oneid&" and twoid="&city_twoid&" and threeid<>0 order by indexid asc",conn,1,1 end if if city_oneid<>0 and city_twoid<>0 and city_threeid<>0 then rs.Open "select * from china_city where id="&city_oneid&" and twoid="&city_twoid&" and threeid="&city_threeid&" order by indexid asc",conn,1,1 end if ic=1 do while not rs.eof%> | &city_twoid=<%=rs("twoid")%>&city_threeid=<%=rs("threeid")%>"><%=rs("city")%> <%if (ic mod 11)=0 then exit do ic=ic+1 rs.movenext loop rs.Close:set rs=nothing end if %> | 更多 |
![]() |
|||||||||||||||||||||||||||||||||
|