<!--#include file="include/conn.asp"-->
<!--#include file="menu.asp"-->
<%
'判断大类
If ID="" Then
	Call alert("参数错误,返回首页.","/")
End If
'根据ID来读取TT,SS

	Dim v22
	Set v22= oConn.Execute("SELECT top 1 Id,PBId,PSId FROM [LstNewsInfo] where Id ="&Id)
	If v22.bof And v22.eof Then
		Call alert("该信息参数有错,返回首页.","/")
	Else 
		TT=v22(1)
		SS=v22(2)

	'根据类型来判断跳转
	Dim V2,noBss
	Set V2= oConn.Execute("SELECT top 1 Id,MenuType,MenuTitle,MenuCont FROM [LstMenuSmall] where MenuId ="&TT)
	If V2.bof And V2.eof Then
		Call alert("所属分类不存在,返回首页.","/")
	Else
		noBss = v2(1)
		Select Case noBss
		Case 0
			Atitle = v2(2)
			Acont = v2(3)
		Case 1
		w.r "LstListNewsinfo.Asp?ID="&ID
		Case 2
		w.r "LstListRoadinfo.Asp?ID="&ID
		Case 3
		w.r "LstListJinginfo.Asp?ID="&ID
		Case 4
		w.r "LstListHotelinfo.asp?ID="&ID
		Case 5
		w.r "LstListCarinfo.asp?ID="&ID
		Case 6
		w.r v(1)
		End Select
	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;您的位置 >> <%=Atitle%></div>
</div>
<div class="clear"></div>
<div id="Lstalone">
	<div class="lstcont">
		<%Call Showleft(TT)%>
	</div>
</div>
<div class="clear"></div>
<div id="Lstalone">
	<div class="lstconts">
		<div style="padding:10px;"><%=Acont%></div>
	</div>
</div>
<%Call ShowFoot()%>
</body>
</html>