以下为系统文件,请勿修改 -----------------------------------------------------------------*/ //不能非法包含或直接执行 if (!defined("IN_BAIGO")) { 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/opt.class.php"; //载入设置控制器 $ctl_opt = new CONTROL_OPT(); //初始化设置对象 switch ($GLOBALS["act_get"]) { case "dbconfig": $arr_optRow = $ctl_opt->ctl_dbconfig(); if ($arr_optRow["alert"] != "y040301") { header("Location: " . BG_URL_ADMIN . "ctl.php?mod=alert&act_get=show&alert=" . $arr_optRow["alert"]); exit; } break; default: //基本 $arr_optRow = $ctl_opt->ctl_form(); if ($arr_optRow["alert"] != "y040301") { header("Location: " . BG_URL_ADMIN . "ctl.php?mod=alert&act_get=show&alert=" . $arr_optRow["alert"]); exit;
<?php /*----------------------------------------------------------------- !!!!警告!!!! 以下为系统文件,请勿修改 -----------------------------------------------------------------*/ //不能非法包含或直接执行 if (!defined("IN_BAIGO")) { exit("Access Denied"); } include_once BG_PATH_FUNC . "include.func.php"; //管理员通用 fn_include(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/opt.class.php"; //载入设置控制器 $ctl_opt = new CONTROL_OPT(); //初始化设置对象 switch ($GLOBALS["act_get"]) { default: //基本 $arr_optRow = $ctl_opt->ctl_form(); if ($arr_optRow["alert"] != "y040301") { header("Location: " . BG_URL_ADMIN . "ctl.php?mod=alert&act_get=show&alert=" . $arr_optRow["alert"]); exit; } break; }
!!!!警告!!!! 以下为系统文件,请勿修改 -----------------------------------------------------------------*/ //不能非法包含或直接执行 if (!defined("IN_BAIGO")) { exit("Access Denied"); } include_once BG_PATH_INC . "common_admin_ctl.inc.php"; //管理员通用 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/opt.class.php"; //载入设置控制器 $ctl_opt = new CONTROL_OPT(); //初始化设置对象 switch ($GLOBALS["act_get"]) { case "reg": //注册 $arr_optRow = $ctl_opt->ctl_reg(); if ($arr_optRow["alert"] != "y040302") { header("Location: " . BG_URL_ADMIN . "ctl.php?mod=alert&act_get=display&alert=" . $arr_optRow["alert"]); exit; } break; case "mail": //邮件发送 $arr_optRow = $ctl_opt->ctl_mail(); if ($arr_optRow["alert"] != "y040303") { header("Location: " . BG_URL_ADMIN . "ctl.php?mod=alert&act_get=display&alert=" . $arr_optRow["alert"]);
/*----------------------------------------------------------------- !!!!警告!!!! 以下为系统文件,请勿修改 -----------------------------------------------------------------*/ //不能非法包含或直接执行 if (!defined("IN_BAIGO")) { exit("Access Denied"); } include_once BG_PATH_INC . "common_admin_ctl.inc.php"; //载入全局通用 include_once BG_PATH_INC . "is_admin.inc.php"; //验证是否已登录 include_once BG_PATH_CONTROL_ADMIN . "ctl/opt.class.php"; //载入栏目控制器 $ctl_opt = new CONTROL_OPT(); //初始化设置对象 switch ($GLOBALS["act_get"]) { case "upload": $arr_optRow = $ctl_opt->ctl_upload(); if ($arr_optRow["alert"] != "y060302") { header("Location: " . BG_URL_ADMIN . "ctl.php?mod=alert&act_get=show&alert=" . $arr_optRow["alert"]); exit; } break; case "sso": $arr_optRow = $ctl_opt->ctl_sso(); if ($arr_optRow["alert"] != "y060303") { header("Location: " . BG_URL_ADMIN . "ctl.php?mod=alert&act_get=show&alert=" . $arr_optRow["alert"]); exit; }