exit("Access Denied");
}
include_once BG_PATH_FUNC . "init.func.php";
//管理员通用
fn_init(true, true, "Content-Type: text/html; charset=utf-8", true, "ctl", true);
include_once BG_PATH_INC . "is_install.inc.php";
//验证是否已登录
include_once BG_PATH_INC . "is_admin.inc.php";
//验证是否已登录
include_once BG_PATH_CONTROL . "admin/ctl/user.class.php";
//载入用户控制器
$ctl_user = new CONTROL_USER();
//初始化用户
switch ($GLOBALS["act_get"]) {
case "import":
$arr_userRow = $ctl_user->ctl_import();
//导入
if ($arr_userRow["alert"] != "y010305") {
header("Location: " . BG_URL_ADMIN . "ctl.php?mod=alert&act_get=show&alert=" . $arr_userRow["alert"]);
exit;
}
break;
case "form":
$arr_userRow = $ctl_user->ctl_form();
//导入
if ($arr_userRow["alert"] != "y010102") {
header("Location: " . BG_URL_ADMIN . "ctl.php?mod=alert&act_get=show&alert=" . $arr_userRow["alert"]);
exit;
}
break;
default: