<!--#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/downfunc.Asp" -->
<%
' 文件名称:DownList.asp 2011-08-12 13:30:06
' 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&"_DownSort] 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,FooterString,LeftString,DownListString
HeaderString=FileSetTemplate("Head.html")
HeaderString=Replace(HeaderString,"$SiteLogo$",SiteLogo,1,1)
HeaderString=Replace(HeaderString,"$bannerpic$",bannerpic(3),1,1)
HeaderString=Replace(HeaderString,"$MainMenu$",MainMenu(5),1,1)
LeftString=FileSetTemplate("Left.html")
LeftString=Replace(LeftString,"$searcher$",searcher,1,1)
LeftString=Replace(LeftString,"$leftcontact$",replace(replace(leftcontact,"$Address$",Address),"$Email$",Email))
DownListString=FileSetTemplate("DownList.html")
DownListString=Replace(DownListString,"$SeoTitle$",SeoTitle)
DownListString=Replace(DownListString,"$SiteTitle$",SiteTitle)
DownListString=Replace(DownListString,"$Keywords$",Keywords)
DownListString=Replace(DownListString,"$Descriptions$",Descriptions)
DownListString=Replace(DownListString,"$copyright$",copyright)
DownListString=Replace(DownListString,"$DownMenu$",DownMenu(SortID))
DownListString=Replace(DownListString,"$getlocation$",getlocation("DownSort",SortID,SortPath,"DownList",DownSortName),1,1)
DownListString=Replace(DownListString,"$Header$",HeaderString)
DownListString=Replace(DownListString,"$Left$",LeftString)
DownListString=Replace(DownListString,"$downlist$",DownList(SortID,SortPath))
DownListString=Replace(DownListString,"$HTMLName$",HTMLName)
DownListString=Replace(DownListString,"$templateurl$",templateurl)
Call PrintText(DownListString)

' 文件名称:DownList.asp 2012
' Ss简单网站管理系统-开源版 
'晴天设计www.xxzwz.com
%>