<!--#include file="../inc/config.asp" -->
<!--#include file="../inc/conn.asp" -->
<!-- #include file="inc/Session.asp" -->
<!--#include file="inc/function.asp" -->
<!-- #include file="inc/checkrole.asp" -->
<%
'''''''''''''''''''''''''''''''''''''''''''''''
call checkPrevilege(Session("Name"),"p01")
'''''''''''''''''''''''''''''''''''''''''''''''
Dim id,savepath
if(request("id")<>"") then
	id=Cint(Request("id"))
else
	
end if
set rs=server.CreateObject("adodb.recordset")
rs.open "select savedir from catalogs where id="&id,conn,3,1
if not rs.eof then
	savepath=rs(0)
end if
rs.close
set rs=nothing
response.Redirect(savepath)
call connclose()
%>