<!--#include file="../../inc/cms_class.asp"-->
<!--#include file="cms_template.asp"-->
<!--#include file="../../inc/cms_user.asp"-->
<!--#include file="../../inc/cms_Language.asp"-->
<!--#include file="../../inc/cms_plug.asp"-->
<%
if ISINSTALL=0 and isfolder(sitepath&"install") then alertgo "网站尚未安装，点击确定进入安装界面","/install"
dim act,module,Action,SubAction,id,page,Location,SID,iswap,tag,CPageName,islistpage,iscontentpage
if webMode=0 or wapmark=0 then  goto404 siteHelp
	iswap=1
	act			=	GetForm("act","get")
	page		=	GetForm("page","get")
	SID			=	GetForm("SID","get")
	ID			=	GetForm("id","get")
	tag			=	GetForm("tag","get")
	Location	=	getPagePath
	if isnul(SID)	then	SID		=	getURL("SID")
	if isnul(page)	then	page	=	getURL("page")
	if isnul(id) 	then 	id		=	getURL("id")
	CPageName=split(geturl(3),".")(0)
	if ifstrin(CPageName,".") then CPageName=split(CPageName,".")(0)
	if ifstrin(CPageName,"=") then CPageName=split(CPageName,"=")(0)
	if ifstrin(CPageName,"&") then CPageName=split(CPageName,"&")(0)	
'echop "act:"&act&"　Location:"&Location&"　SID:"&SID&"　id:"&id&"　page:"&page
	 toLocation act,Location
%>