<!--#include file="Inc/Consts.inc" -->
<!--#include file="Inc/NoSQL.Asp" -->
<!--#include file="Inc/common.Asp" -->
<!--#include file="Inc/strfunc.Asp" -->
<!--#include file="Inc/sharefunc.Asp" -->
<!--#include file="Inc/Otherfunc.Asp" -->
<%
' 文件名称:OtherList.asp 2012
' Ss简单网站管理系统-开源版 
'晴天设计www.xxzwz.com
Call SiteInfo()
If ISHTML = 1 Then
    Response.expires = 0
    Response.expiresabsolute = Now() - 1
    Response.addHeader "pragma", "no-cache"
    Response.addHeader "cache-control", "private"
    Response.CacheControl = "no-cache"
End If
Dim rs,sql,SortID,SortPath
SortID=trim(request.QueryString("SortID"))
If SortID = "" or Not isnumeric(SortID)  Then
	SortID=""
    SortPath="0,"
	SeoTitle=""
else	
    sql = "select SortName,SortPath from ["&Datapre&"_OthersSort] where ViewFlag and ID="&SortID
    set rs=db(sql,2)
    SeoTitle = rs("SortName")
	SortPath=rs("SortPath")
    rs.Close
    Set rs = Nothing
End If
Dim templateurl :templateurl=SysRootDir&templatepath
Dim HeaderString,LeftString,OtherListString
HeaderString=FileSetTemplate("Head.html")
HeaderString=Replace(HeaderString,"$SiteLogo$",SiteLogo,1,1)
HeaderString=Replace(HeaderString,"$bannerpic$",bannerpic(3),1,1)
HeaderString=Replace(HeaderString,"$MainMenu$",MainMenu(7),1,1)
LeftString=FileSetTemplate("Left.html")
LeftString=Replace(LeftString,"$searcher$",searcher,1,1)
LeftString=Replace(LeftString,"$leftcontact$",replace(replace(leftcontact,"$Address$",Address),"$Email$",Email))
OtherListString=FileSetTemplate("OtherList.html")
OtherListString=Replace(OtherListString,"$SeoTitle$",SeoTitle)
OtherListString=Replace(OtherListString,"$SiteTitle$",SiteTitle)
OtherListString=Replace(OtherListString,"$Keywords$",Keywords)
OtherListString=Replace(OtherListString,"$Descriptions$",Descriptions)
OtherListString=Replace(OtherListString,"$copyright$",copyright)

OtherListString=Replace(OtherListString,"$OtherMenu$",OtherMenu(SortID))
OtherListString=Replace(OtherListString,"$getlocation$",getlocation("OthersSort",SortID,SortPath,"OtherList"),1,1)
OtherListString=Replace(OtherListString,"$WebContent$",WebContentOtherList(""&Datapre&"_OthersSort",request.QueryString("SortID"),""))
OtherListString=Replace(OtherListString,"$Header$",HeaderString)
OtherListString=Replace(OtherListString,"$Left$",LeftString)
OtherListString=Replace(OtherListString,"$HTMLName$",HTMLName)
OtherListString=Replace(OtherListString,"$templateurl$",templateurl)
Call PrintText(OtherListString)
' 文件名称:OtherList.asp 2012
' Ss简单网站管理系统-开源版 
'晴天设计www.xxzwz.com
%>