<%SortID=request.QueryString("SortID") if SortID="" or not isnumeric(SortID) then call alea("参数错误!","back","error") end if set rs=server.createobject("adodb.recordset") exec="select * from zych_Type where SortID="&SortID rs.open exec,conn,1,1 if rs.eof and rs.bof then call alea("参数错误!","back","error") else ParentID=rs("ParentID") SortName=rs("SortName") SortPath=rs("SortPath") SortPath_dh=rs("SortPath") TopSortID=rs("TopSortID") TopSort="type"&TopSortID PageSize=rs("PageSize") SortID=rs("SortID") SortType=rs("SortType") Temp=rs("Temp") PageTitle=rs("PageTitle") Content=rs("SortContent") Keywords=rskeyword(rs("PageKeywords"),zychkeywords) Desc=rskeyword(rs("PageDesc"),zychdescription) end if rs.close set rs=nothing if Temp<>"" then echo ob_get_contents(zych_templatedir&Temp) else call alea("没有找到该频道的模板,请设置!","back","error") end if %>