admin_global.asp
来自「ZD-BS是一个基于asp+access的个人blog系统 程序特点: 1.」· ASP 代码 · 共 35 行
ASP
35 行
<%@Language="JScript" codepage="65001"%>
<%
Response.Buffer=true;
Session.Timeout=120;
%>
<!--#include file="../config.asp"-->
<%
zd_dbURL="../"+zd_dbURL;
//do initialize
initialize();
theCache.getSetting();
var zd_set=theCache.setting;
//Get visitor info
sys.getVisitorInfo();
//If the blog Is closed
if(!zd_set["opened"]&&zd_userGroup!="admin"){
Response.Redirect("../login.asp");
Response.End();
}
%>
<script language="JScript" runat="server">
function admin(strGroup){
if(!sys.checkAdmin(strGroup)){
Response.Redirect("./");
Response.End();
}
}
</script>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?