//验证是否已登录 include_once BG_PATH_CONTROL . "admin/ctl/pm.class.php"; //载入短信控制器 $ctl_pm = new CONTROL_PM(); //初始化短信 switch ($GLOBALS["act_get"]) { case "send": $arr_pmRow = $ctl_pm->ctl_send(); //发送 if ($arr_pmRow["alert"] != "y110303") { header("Location: " . BG_URL_ADMIN . "ctl.php?mod=alert&act_get=show&alert=" . $arr_pmRow["alert"]); exit; } break; case "show": $arr_pmRow = $ctl_pm->ctl_show(); //显示 if ($arr_pmRow["alert"] != "y110102") { header("Location: " . BG_URL_ADMIN . "ctl.php?mod=alert&act_get=show&alert=" . $arr_pmRow["alert"]); exit; } break; case "bulk": $arr_pmRow = $ctl_pm->ctl_bulk(); //群发 if ($arr_pmRow["alert"] != "y110102") { header("Location: " . BG_URL_ADMIN . "ctl.php?mod=alert&act_get=show&alert=" . $arr_pmRow["alert"]); exit; } break; default: