include_once BG_PATH_CONTROL_ADMIN . "ctl/app.class.php"; //载入应用控制器 $ctl_app = new CONTROL_APP(); //初始化应用 switch ($GLOBALS["act_get"]) { case "show": //显示 $arr_appRow = $ctl_app->ctl_show(); if ($arr_appRow["alert"] != "y190102") { header("Location: " . BG_URL_ADMIN . "ctl.php?mod=alert&act_get=show&alert=" . $arr_appRow["alert"]); exit; } break; case "form": //创建、编辑表单 $arr_appRow = $ctl_app->ctl_form(); if ($arr_appRow["alert"] != "y190102") { header("Location: " . BG_URL_ADMIN . "ctl.php?mod=alert&act_get=show&alert=" . $arr_appRow["alert"]); exit; } break; case "belong": //用户授权 $arr_appRow = $ctl_app->ctl_belong(); if ($arr_appRow["alert"] != "y190302") { header("Location: " . BG_URL_ADMIN . "ctl.php?mod=alert&act_get=show&alert=" . $arr_appRow["alert"]); exit; } break; default: //列出