Exemple #1
0
<?php

/*-----------------------------------------------------------------
!!!!警告!!!!
以下为系统文件,请勿修改
-----------------------------------------------------------------*/
//不能非法包含或直接执行
if (!defined("IN_BAIGO")) {
    exit("Access Denied");
}
include_once BG_PATH_FUNC . "init.func.php";
$arr_set = array("base" => true, "header" => "Content-Type: text/html; charset=utf-8");
fn_init($arr_set);
include_once BG_PATH_CONTROL . "advert/alert.class.php";
//载入应用控制器
$ctl_alert = new CONTROL_ALERT();
//初始化应用
switch ($GLOBALS["act_get"]) {
    default:
        $ctl_alert->ctl_show();
        break;
}
Exemple #2
0
<?php

/*-----------------------------------------------------------------
!!!!警告!!!!
以下为系统文件,请勿修改
-----------------------------------------------------------------*/
//不能非法包含或直接执行
if (!defined("IN_BAIGO")) {
    exit("Access Denied");
}
include_once BG_PATH_INC . "common_global.inc.php";
//载入通用
include_once BG_PATH_CLASS . "base.class.php";
//载入基类
include_once BG_PATH_CONTROL_INSTALL . "ctl/alert.class.php";
//载入栏目控制器
$GLOBALS["obj_base"] = new CLASS_BASE();
//初始化基类
$ctl_alert = new CONTROL_ALERT();
//初始化商家
switch ($GLOBALS["act_get"]) {
    case "display":
        $arr_alertRow = $ctl_alert->ctl_display();
        break;
}
Exemple #3
0
<?php

/*-----------------------------------------------------------------
!!!!警告!!!!
以下为系统文件,请勿修改
-----------------------------------------------------------------*/
//不能非法包含或直接执行
if (!defined("IN_BAIGO")) {
    exit("Access Denied");
}
include_once BG_PATH_FUNC . "include.func.php";
fn_include(true);
include_once BG_PATH_CONTROL . "install/ctl/alert.class.php";
//载入栏目控制器
$ctl_alert = new CONTROL_ALERT();
//初始化商家
switch ($GLOBALS["act_get"]) {
    case "show":
        $arr_alertRow = $ctl_alert->ctl_show();
        break;
}
Exemple #4
0
<?php

/*-----------------------------------------------------------------
!!!!警告!!!!
以下为系统文件,请勿修改
-----------------------------------------------------------------*/
//不能非法包含或直接执行
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_CONTROL_ADMIN . "ctl/alert.class.php";
//载入消息类
$ctl_alert = new CONTROL_ALERT();
//初始化消息对象
switch ($GLOBALS["act_get"]) {
    case "display":
        $ctl_alert->ctl_display();
        //显示消息
        break;
}