<!--#include file="include/conn.asp"-->
<!--#include file="menu.asp"-->
<%
'判断大类
If TT="" Then
	Call alert("参数错误,返回首页.","/")
End If
'有大类,先判断大类是单页？分级？链接？
Dim Bss,Acont,Atitle
Dim noClass,Ctt
Set noClass= oConn.Execute("SELECT top 1 Id,MenuType,MenuTitle,MenuCont,MenuUrl FROM [LstMenuBig] where Id ="&TT)
Ctt = noClass(1)
'单页,直接读标题和内容
If Ctt = 0 Then
	Atitle = noClass(2)
	Acont = noClass(3)
'链接,直接跳转地址
ElseIf Ctt=2 Then 
	w.r noClass(4)
'分级
Else
'0单页 1新闻 2旅游 3景点 4酒店 5租车 6链接
	'不存在SS小类
	If SS="" Then
		Dim V2,noBss
		Set V2= oConn.Execute("SELECT top 1 Id,MenuType,MenuTitle,MenuCont,MenuUrl FROM [LstMenuSmall] where MenuId ="&TT)
		If V2.bof And V2.eof Then
			w.r "/"
		Else
			noBss = v2(1)
			Select Case noBss
			Case 0
				Atitle = v2(2)
				Acont = v2(3)
			Case 1
			w.r "LstListNews.Asp?TT="&TT'&"&SS="&SS
			Case 2
			w.r "LstListRoad.Asp?TT="&TT'&"&SS="&SS
			Case 3
			w.r "LstListJing.Asp?TT="&TT'&"&SS="&SS
			Case 4
			w.r "LstListHotel.asp?TT="&TT'&"&SS="&SS
			Case 5
			w.r "LstListCar.asp?TT="&TT'&"&SS="&SS
			Case 6
			w.r v2(4)
			End Select
		End If
	Else 
	'存在SS小类
	Set v= oConn.Execute("SELECT top 1 MenuType,MenuUrl,MenuTitle,MenuCont,MenuUrl FROM [LstMenuSmall] where Id ="&SS)
	If v.bof And v.eof Then
		w.r "/"
	Else 
		Bss = v(0)
			Select Case Bss
			Case 0
			Atitle = v(2)
			Acont = v(3)
			Case 1
			w.r "LstListNews.asp?TT="&TT&"&SS="&SS
			Case 2
			w.r "LstListRoad.asp?TT="&TT&"&SS="&SS
			Case 3
			w.r "LstListJing.Asp?TT="&TT&"&SS="&SS
			Case 4
			w.r "LstListHotel.asp?TT="&TT&"&SS="&SS
			Case 5
			w.r "LstListCar.asp?TT="&TT&"&SS="&SS
			Case 6
			w.r v(4)
			End Select
	End If
	End If
End If
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no">
<meta http-equiv="Cache-Control" content="max-age=0">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<title><%=sWeb("WebTitle")%></title>
<meta name="keywords" content="<%=sWeb("WebKeyWord")%>" />
<meta name="description" content="<%=sWeb("WebDescription")%>" />
<meta name="author" content="<%=sWeb("WebAuthor")%>" />
<meta name="copyright" content="<%=sWeb("WebCopyright")%>" />
<link type="text/css" href="css/global.css" rel="stylesheet" />
<link type="text/css" href="css/style.css" rel="stylesheet" />
<script src="javascript/jquery.1.8.2.js"></script>
</head>
<body>
<%Call Topall()%>
<div id="Lstalone">
	<div class="lsthome">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;您的位置 >> <%=Atitle%><div class="rights" id="rights"> + 分类查看 </div></div>
</div>
<div class="clear"></div>
<div id="mobmenulist" class="mobmenulist touming">
	<%Call Showleft(TT)%>
</div>
<div class="clear"></div>
<div id="Lstalone">
	<div class="lstconts" id="lstconts">
		<div style="padding:10px;"><%=Acont%></div>
	</div>
</div>
<%Call ShowFoot()%>
</body>
</html>