%sub leftmenu()%>
<%
cookies_path_s=split(Request.ServerVariables("PATH_INFO"),"/")
cookies_path_d=ubound(cookies_path_s)
cookies_path="/"
for i=1 to cookies_path_d-1
if not (cookies_path_s(i)="upload" or cookies_path_s(i)="admin") then cookies_path=cookies_path&cookies_path_s(i)&"/"
next
cookiepath=cookies_path
conn.execute("update config set cookiepath='"&cookiepath&"'")
if instr(Copyright,"aspsky")=0 then
conn.execute("update config set Copyright='版权所有: AspSky.Net',Version=' 版本:Ver5.0 Build 0109'")
end if
call getconst()
%>
<%end sub%>