<%

if session("admin")="" then
	response.Write("<br><br><div align='center'>您还没有登录或操作超时请先<a href=login.asp target=_top>登录</a>.</div>")
   response.End()
end if
if instr(request.servervariables("http_referer"),"http://"&request.servervariables("http_host") )<1 then 
	response.write "<br><br><div align='center'>禁止从外部访问管理后台</div>"
	response.End()
end if 
%>