\

Namespaces

League

Classes

CLASS_BASE
CLASS_BASE
CLASS_CAPTCHA
CLASS_CAPTCHA
CLASS_CONFIG
CLASS_CONFIG
CLASS_CRYPT
CLASS_CRYPT
CLASS_CRYPT
CLASS_DATABASE
CLASS_DATABASE
CLASS_DIR
CLASS_FILE
CLASS_NOTIFY
CLASS_PLUGIN
CLASS_RUNTIME
CLASS_RUNTIME
CLASS_SIGN
CLASS_SIGN
CLASS_SIGN
CLASS_SSO
CLASS_SSO
CLASS_TPL
CLASS_TPL
CLASS_UPLOAD
CLASS_VALIDATE
CLASS_VALIDATE
CONTROL_ADVERT_REQUEST_ADVERT
CONTROL_ADVERT_UI_ADVERT
CONTROL_API_API_FORGOT
CONTROL_API_API_PM
CONTROL_API_API_PROFILE
CONTROL_API_API_SETUP
CONTROL_API_API_SYNC
CONTROL_API_API_USER
CONTROL_API_SSO_NOTIFY
CONTROL_API_SSO_SYNC
CONTROL_API_SYNC
CONTROL_CONSOLE_REQUEST_ADMIN
CONTROL_CONSOLE_REQUEST_ADMIN
CONTROL_CONSOLE_REQUEST_ADVERT
CONTROL_CONSOLE_REQUEST_APP
CONTROL_CONSOLE_REQUEST_ATTACH
CONTROL_CONSOLE_REQUEST_CAPTCHA
CONTROL_CONSOLE_REQUEST_FORGOT
CONTROL_CONSOLE_REQUEST_FORGOT
CONTROL_CONSOLE_REQUEST_LINK
CONTROL_CONSOLE_REQUEST_LOGIN
CONTROL_CONSOLE_REQUEST_LOGIN
CONTROL_CONSOLE_REQUEST_OPT
CONTROL_CONSOLE_REQUEST_OPT
CONTROL_CONSOLE_REQUEST_PLUGIN
CONTROL_CONSOLE_REQUEST_PM
CONTROL_CONSOLE_REQUEST_PM
CONTROL_CONSOLE_REQUEST_POSI
CONTROL_CONSOLE_REQUEST_PROFILE
CONTROL_CONSOLE_REQUEST_PROFILE
CONTROL_CONSOLE_REQUEST_TOKEN
CONTROL_CONSOLE_REQUEST_USER
CONTROL_CONSOLE_REQUEST_VERIFY
CONTROL_CONSOLE_UI_ADMIN
CONTROL_CONSOLE_UI_ADMIN
CONTROL_CONSOLE_UI_ADVERT
CONTROL_CONSOLE_UI_APP
CONTROL_CONSOLE_UI_ATTACH
CONTROL_CONSOLE_UI_CAPTCHA
CONTROL_CONSOLE_UI_FORGOT
CONTROL_CONSOLE_UI_FORGOT
CONTROL_CONSOLE_UI_LINK
CONTROL_CONSOLE_UI_LOGIN
CONTROL_CONSOLE_UI_LOGIN
CONTROL_CONSOLE_UI_OPT
CONTROL_CONSOLE_UI_OPT
CONTROL_CONSOLE_UI_PLUGIN
CONTROL_CONSOLE_UI_PM
CONTROL_CONSOLE_UI_PM
CONTROL_CONSOLE_UI_POSI
CONTROL_CONSOLE_UI_PROFILE
CONTROL_CONSOLE_UI_PROFILE
CONTROL_CONSOLE_UI_STAT
CONTROL_CONSOLE_UI_USER
CONTROL_CONSOLE_UI_VERIFY
CONTROL_HELP_UI_HELP
CONTROL_HELP_UI_HELP
CONTROL_INSTALL_REQUEST_SETUP
CONTROL_INSTALL_REQUEST_SETUP
CONTROL_INSTALL_REQUEST_UPGRADE
CONTROL_INSTALL_REQUEST_UPGRADE
CONTROL_INSTALL_UI_SETUP
CONTROL_INSTALL_UI_SETUP
CONTROL_INSTALL_UI_UPGRADE
CONTROL_INSTALL_UI_UPGRADE
CONTROL_MISC_REQUEST_CAPTCHA
CONTROL_MISC_UI_CAPTCHA
CONTROL_PERSONAL_REQUEST_FORGOT
CONTROL_PERSONAL_REQUEST_PROFILE
CONTROL_PERSONAL_REQUEST_REG
CONTROL_PERSONAL_UI_FORGOT
CONTROL_PERSONAL_UI_PROFILE
CONTROL_PERSONAL_UI_REG
EasyPeasyICS Class EasyPeasyICS.
GENERAL_ADVERT
GENERAL_API
GENERAL_API
GENERAL_CONSOLE
GENERAL_CONSOLE
GENERAL_HELP
GENERAL_HELP
GENERAL_INSTALL
GENERAL_INSTALL
GENERAL_MISC
GENERAL_PERSONAL
MODEL_ADMIN
MODEL_ADMIN
MODEL_ADMIN_FORGOT
MODEL_ADMIN_FORGOT
MODEL_ADMIN_INSTALL
MODEL_ADMIN_PROFILE
MODEL_ADMIN_PROFILE
MODEL_ADVERT
MODEL_APP
MODEL_ATTACH
MODEL_BELONG
MODEL_LINK
MODEL_OPT
MODEL_OPT
MODEL_PLUGIN
MODEL_PM
MODEL_PM
MODEL_POSI
MODEL_SESSION
MODEL_SESSION
MODEL_STAT
MODEL_USER
MODEL_USER_API
MODEL_USER_FORGOT
MODEL_USER_IMPORT
MODEL_USER_PROFILE
MODEL_VERIFY
ntlm_sasl_client_class
PHPMailer PHPMailer - PHP email creation and transport class.
phpmailerException PHPMailer exception handler
PHPMailerOAuth PHPMailerOAuth - PHPMailer subclass adding OAuth support.
PHPMailerOAuthGoogle PHPMailerOAuthGoogle - Wrapper for League OAuth2 Google provider.
PLUGIN_EXAMPLE
PLUGIN_HELLO
POP3 PHPMailer POP-Before-SMTP Authentication Class.
SMTP PHPMailer RFC821 SMTP email transport class.

Constants

BG_ACC_MAIL

BG_ACC_MAIL = ''

BG_ACCESS_EXPIRE

BG_ACCESS_EXPIRE = 60

BG_APP

BG_APP = 'api'

BG_APP

BG_APP = 'api'

BG_APP

BG_APP = 'console'

BG_APP

BG_APP = 'help'

BG_APP

BG_APP = 'personal'

BG_APP

BG_APP = 'misc'

BG_APP

BG_APP = 'help'

BG_APP

BG_APP = 'install'

BG_APP

BG_APP = 'console'

BG_APP

BG_APP = 'advert'

BG_APP

BG_APP = 'install'

BG_BAD_MAIL

BG_BAD_MAIL = ''

BG_BAD_NAME

BG_BAD_NAME = ''

BG_DB_CHARSET

BG_DB_CHARSET = 'utf8'

BG_DB_CHARSET

BG_DB_CHARSET = 'utf8'

BG_DB_HOST

BG_DB_HOST = 'localhost'

BG_DB_HOST

BG_DB_HOST = 'localhost'

BG_DB_NAME

BG_DB_NAME = 'baigo_ads'

BG_DB_NAME

BG_DB_NAME = 'baigo_sso'

BG_DB_PASS

BG_DB_PASS = ''

BG_DB_PASS

BG_DB_PASS = ''

BG_DB_PORT

BG_DB_PORT = 3306

BG_DB_PORT

BG_DB_PORT = '3306'

BG_DB_PORT

BG_DB_PORT = 3306

BG_DB_PORT

BG_DB_PORT = '3306'

BG_DB_TABLE

BG_DB_TABLE = 'ads_'

BG_DB_TABLE

BG_DB_TABLE = 'sso_'

BG_DB_USER

BG_DB_USER = 'baigo_sso'

BG_DB_USER

BG_DB_USER = 'baigo_ads'

BG_DEBUG_DB

BG_DEBUG_DB = 0

BG_DEBUG_DB

BG_DEBUG_DB = 0

BG_DEBUG_SYS

BG_DEBUG_SYS = 0

BG_DEBUG_SYS

BG_DEBUG_SYS = 0

BG_DEFAULT_LANG

BG_DEFAULT_LANG = 'zh_CN'

BG_DEFAULT_LANG

BG_DEFAULT_LANG = 'zh_CN'

BG_DEFAULT_PERPAGE

BG_DEFAULT_PERPAGE = 30

BG_DEFAULT_PERPAGE

BG_DEFAULT_PERPAGE = 30

BG_DEFAULT_SESSION

BG_DEFAULT_SESSION = 1200

BG_DEFAULT_SESSION

BG_DEFAULT_SESSION = 1200

BG_DEFAULT_TOKEN_RELOAD

BG_DEFAULT_TOKEN_RELOAD = 1 * 60 * 1000

BG_DEFAULT_UI

BG_DEFAULT_UI = 'default'

BG_DEFAULT_UI

BG_DEFAULT_UI = 'default'

BG_LOGIN_MAIL

BG_LOGIN_MAIL = 'off'

BG_NAME_ADVERT

BG_NAME_ADVERT = 'advert'

BG_NAME_API

BG_NAME_API = 'api'

BG_NAME_API

BG_NAME_API = 'api'

BG_NAME_ATTACH

BG_NAME_ATTACH = 'attach'

BG_NAME_CACHE

BG_NAME_CACHE = 'cache'

BG_NAME_CACHE

BG_NAME_CACHE = 'cache'

BG_NAME_CLASS

BG_NAME_CLASS = 'class'

BG_NAME_CLASS

BG_NAME_CLASS = 'class'

BG_NAME_CONSOLE

BG_NAME_CONSOLE = 'console'

BG_NAME_CONSOLE

BG_NAME_CONSOLE = 'console'

BG_NAME_CONTENT

BG_NAME_CONTENT = 'content'

BG_NAME_CONTROL

BG_NAME_CONTROL = 'control'

BG_NAME_CONTROL

BG_NAME_CONTROL = 'control'

BG_NAME_CORE

BG_NAME_CORE = 'core'

BG_NAME_CORE

BG_NAME_CORE = 'core'

BG_NAME_FONT

BG_NAME_FONT = 'font'

BG_NAME_FONT

BG_NAME_FONT = 'font'

BG_NAME_FUNC

BG_NAME_FUNC = 'func'

BG_NAME_FUNC

BG_NAME_FUNC = 'func'

BG_NAME_HELP

BG_NAME_HELP = 'help'

BG_NAME_HELP

BG_NAME_HELP = 'help'

BG_NAME_INC

BG_NAME_INC = 'inc'

BG_NAME_INC

BG_NAME_INC = 'inc'

BG_NAME_INSTALL

BG_NAME_INSTALL = 'install'

BG_NAME_INSTALL

BG_NAME_INSTALL = 'install'

BG_NAME_LANG

BG_NAME_LANG = 'lang'

BG_NAME_LANG

BG_NAME_LANG = 'lang'

BG_NAME_LIB

BG_NAME_LIB = 'lib'

BG_NAME_MISC

BG_NAME_MISC = 'misc'

BG_NAME_MODEL

BG_NAME_MODEL = 'model'

BG_NAME_MODEL

BG_NAME_MODEL = 'model'

BG_NAME_MODULE

BG_NAME_MODULE = 'module'

BG_NAME_MODULE

BG_NAME_MODULE = 'module'

BG_NAME_PERSONAL

BG_NAME_PERSONAL = 'personal'

BG_NAME_PLUGIN

BG_NAME_PLUGIN = 'plugin'

BG_NAME_SSO

BG_NAME_SSO = 'sso'

BG_NAME_STATIC

BG_NAME_STATIC = 'static'

BG_NAME_STATIC

BG_NAME_STATIC = 'static'

BG_NAME_TPL

BG_NAME_TPL = 'tpl'

BG_NAME_TPL

BG_NAME_TPL = 'tpl'

BG_PATH_ADVERT

BG_PATH_ADVERT = BG_PATH_ROOT . BG_NAME_ADVERT . DS

BG_PATH_ATTACH

BG_PATH_ATTACH = BG_PATH_ROOT . BG_NAME_ATTACH . DS

BG_PATH_CACHE

BG_PATH_CACHE = BG_PATH_ROOT . BG_NAME_CACHE . DS

BG_PATH_CACHE

BG_PATH_CACHE = BG_PATH_CONTENT . BG_NAME_CACHE . DS

BG_PATH_CLASS

BG_PATH_CLASS = BG_PATH_CORE . BG_NAME_CLASS . DS

BG_PATH_CLASS

BG_PATH_CLASS = BG_PATH_CORE . BG_NAME_CLASS . DS

BG_PATH_CONFIG

BG_PATH_CONFIG = $_SERVER['DOCUMENT_ROOT'] . dirname(dirname($_SERVER['PHP_SELF'])) . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR

BG_PATH_CONFIG

BG_PATH_CONFIG = $_SERVER['DOCUMENT_ROOT'] . dirname(dirname($_SERVER['PHP_SELF'])) . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR

BG_PATH_CONFIG

BG_PATH_CONFIG = $_SERVER['DOCUMENT_ROOT'] . dirname(dirname($_SERVER['PHP_SELF'])) . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR

BG_PATH_CONFIG

BG_PATH_CONFIG = $_SERVER['DOCUMENT_ROOT'] . dirname($_SERVER['PHP_SELF']) . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR

BG_PATH_CONFIG

BG_PATH_CONFIG = $_SERVER['DOCUMENT_ROOT'] . dirname(dirname($_SERVER['PHP_SELF'])) . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR

BG_PATH_CONFIG

BG_PATH_CONFIG = $_SERVER['DOCUMENT_ROOT'] . dirname($_SERVER['PHP_SELF']) . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR

BG_PATH_CONFIG

BG_PATH_CONFIG = $_SERVER['DOCUMENT_ROOT'] . dirname(dirname($_SERVER['PHP_SELF'])) . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR

BG_PATH_CONFIG

BG_PATH_CONFIG = $_SERVER['DOCUMENT_ROOT'] . dirname(dirname($_SERVER['PHP_SELF'])) . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR

BG_PATH_CONFIG

BG_PATH_CONFIG = $_SERVER['DOCUMENT_ROOT'] . dirname(dirname($_SERVER['PHP_SELF'])) . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR

BG_PATH_CONFIG

BG_PATH_CONFIG = $_SERVER['DOCUMENT_ROOT'] . dirname(dirname($_SERVER['PHP_SELF'])) . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR

BG_PATH_CONFIG

BG_PATH_CONFIG = $_SERVER['DOCUMENT_ROOT'] . dirname(dirname($_SERVER['PHP_SELF'])) . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR

BG_PATH_CONFIG

BG_PATH_CONFIG = $_SERVER['DOCUMENT_ROOT'] . dirname(dirname($_SERVER['PHP_SELF'])) . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR

BG_PATH_CONFIG

BG_PATH_CONFIG = $_SERVER['DOCUMENT_ROOT'] . dirname(dirname($_SERVER['PHP_SELF'])) . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR

BG_PATH_CONTENT

BG_PATH_CONTENT = BG_PATH_ROOT . BG_NAME_CONTENT . DS

BG_PATH_CONTENT

BG_PATH_CONTENT = BG_PATH_ROOT . 'content' . DS

BG_PATH_CONTROL

BG_PATH_CONTROL = BG_PATH_CORE . BG_NAME_CONTROL . DS

BG_PATH_CONTROL

BG_PATH_CONTROL = BG_PATH_CORE . BG_NAME_CONTROL . DS

BG_PATH_CORE

BG_PATH_CORE = BG_PATH_ROOT . BG_NAME_CORE . DS

BG_PATH_CORE

BG_PATH_CORE = BG_PATH_ROOT . BG_NAME_CORE . DS

BG_PATH_FONT

BG_PATH_FONT = BG_PATH_CORE . BG_NAME_FONT . DS

BG_PATH_FONT

BG_PATH_FONT = BG_PATH_CORE . BG_NAME_FONT . DS

BG_PATH_FUNC

BG_PATH_FUNC = BG_PATH_CORE . BG_NAME_FUNC . DS

BG_PATH_FUNC

BG_PATH_FUNC = BG_PATH_CORE . BG_NAME_FUNC . DS

BG_PATH_HELP

BG_PATH_HELP = BG_PATH_ROOT . BG_NAME_HELP . DS

BG_PATH_HELP

BG_PATH_HELP = BG_PATH_ROOT . BG_NAME_HELP . DS

BG_PATH_INC

BG_PATH_INC = BG_PATH_CORE . BG_NAME_INC . DS

BG_PATH_INC

BG_PATH_INC = BG_PATH_CORE . BG_NAME_INC . DS

BG_PATH_LANG

BG_PATH_LANG = BG_PATH_CORE . BG_NAME_LANG . DS

BG_PATH_LANG

BG_PATH_LANG = BG_PATH_CORE . BG_NAME_LANG . DS

BG_PATH_LIB

BG_PATH_LIB = BG_PATH_CORE . BG_NAME_LIB . DS

BG_PATH_LIB

BG_PATH_LIB = BG_PATH_CORE . DS . 'lib' . DS

BG_PATH_MODEL

BG_PATH_MODEL = BG_PATH_CORE . BG_NAME_MODEL . DS

BG_PATH_MODEL

BG_PATH_MODEL = BG_PATH_CORE . BG_NAME_MODEL . DS

BG_PATH_MODULE

BG_PATH_MODULE = BG_PATH_CORE . BG_NAME_MODULE . DS

BG_PATH_MODULE

BG_PATH_MODULE = BG_PATH_CORE . BG_NAME_MODULE . DS

BG_PATH_PLUGIN

BG_PATH_PLUGIN = BG_PATH_CONTENT . BG_NAME_PLUGIN . DS

BG_PATH_PLUGIN

BG_PATH_PLUGIN = BG_PATH_CONTENT . 'plugin' . DS

BG_PATH_ROOT

BG_PATH_ROOT = realpath(__DIR__ . '/../') . DS

BG_PATH_ROOT

BG_PATH_ROOT = realpath(__DIR__ . '/../') . DS

BG_PATH_SSO

BG_PATH_SSO = BG_PATH_ROOT . BG_NAME_SSO . DS

BG_PATH_STATIC

BG_PATH_STATIC = BG_PATH_ROOT . BG_NAME_STATIC . DS

BG_PATH_TPL

BG_PATH_TPL = BG_PATH_ROOT . BG_NAME_TPL . DS

BG_PATH_TPL

BG_PATH_TPL = BG_PATH_CONTENT . BG_NAME_TPL . DS

BG_PATH_TPLSYS

BG_PATH_TPLSYS = BG_PATH_CORE . BG_NAME_TPL . DS

BG_PATH_TPLSYS

BG_PATH_TPLSYS = BG_PATH_CORE . BG_NAME_TPL . DS

BG_REFRESH_EXPIRE

BG_REFRESH_EXPIRE = 30

BG_REG_ACC

BG_REG_ACC = 'enable'

BG_REG_CONFIRM

BG_REG_CONFIRM = 'off'

BG_REG_NEEDMAIL

BG_REG_NEEDMAIL = 'off'

BG_REG_ONEMAIL

BG_REG_ONEMAIL = 'false'

BG_SITE_DATE

BG_SITE_DATE = 'Y-m-d'

BG_SITE_DATE

BG_SITE_DATE = 'Y-m-d'

BG_SITE_DATESHORT

BG_SITE_DATESHORT = 'm-d'

BG_SITE_DATESHORT

BG_SITE_DATESHORT = 'm-d'

BG_SITE_DOMAIN

BG_SITE_DOMAIN = $_SERVER['SERVER_NAME']

BG_SITE_DOMAIN

BG_SITE_DOMAIN = $_SERVER['SERVER_NAME']

BG_SITE_NAME

BG_SITE_NAME = 'baigo ADS'

BG_SITE_NAME

BG_SITE_NAME = 'baigo SSO'

BG_SITE_PERPAGE

BG_SITE_PERPAGE = 30

BG_SITE_PERPAGE

BG_SITE_PERPAGE = 30

BG_SITE_SSIN

BG_SITE_SSIN = 'SeXqP8'

BG_SITE_SSIN

BG_SITE_SSIN = 'SeXqP8'

BG_SITE_TIME

BG_SITE_TIME = 'H:i:s'

BG_SITE_TIME

BG_SITE_TIME = 'H:i:s'

BG_SITE_TIMESHORT

BG_SITE_TIMESHORT = 'H:i'

BG_SITE_TIMESHORT

BG_SITE_TIMESHORT = 'H:i'

BG_SITE_TIMEZONE

BG_SITE_TIMEZONE = 'Asia/Shanghai'

BG_SITE_TIMEZONE

BG_SITE_TIMEZONE = 'Asia/Shanghai'

BG_SITE_TIMEZONE

BG_SITE_TIMEZONE = "Asia/Shanghai"

BG_SITE_TIMEZONE

BG_SITE_TIMEZONE = 'Asia/Shanghai'

BG_SITE_TPL

BG_SITE_TPL = 'default'

BG_SITE_TPL

BG_SITE_TPL = 'default'

BG_SITE_TPL

BG_SITE_TPL = 'default'

BG_SITE_TPL

BG_SITE_TPL = 'default'

BG_SITE_URL

BG_SITE_URL = 'http://' . $_SERVER['SERVER_NAME']

BG_SITE_URL

BG_SITE_URL = 'http://' . $_SERVER['SERVER_NAME']

BG_SMTP_AUTH

BG_SMTP_AUTH = 'true'

BG_SMTP_AUTHTYPE

BG_SMTP_AUTHTYPE = 'login'

BG_SMTP_FROM

BG_SMTP_FROM = 'noreplay@' . $_SERVER['SERVER_NAME']

BG_SMTP_HOST

BG_SMTP_HOST = 'smtp' . $_SERVER['SERVER_NAME']

BG_SMTP_PASS

BG_SMTP_PASS = 'password'

BG_SMTP_PORT

BG_SMTP_PORT = 25

BG_SMTP_REPLY

BG_SMTP_REPLY = 'replay@' . $_SERVER['SERVER_NAME']

BG_SMTP_SEC

BG_SMTP_SEC = 'off'

BG_SMTP_SEC

BG_SMTP_SEC = 'off'

BG_SMTP_TYPE

BG_SMTP_TYPE = 'smtp'

BG_SMTP_TYPE

BG_SMTP_TYPE = 'smtp'

BG_SMTP_USER

BG_SMTP_USER = 'user@' . $_SERVER['SERVER_NAME']

BG_SSO_APPID

BG_SSO_APPID = 1

BG_SSO_APPID

BG_SSO_APPID = 1

BG_SSO_APPKEY

BG_SSO_APPKEY = ''

BG_SSO_APPKEY

BG_SSO_APPKEY = ''

BG_SSO_APPSECRET

BG_SSO_APPSECRET = ''

BG_SSO_SYNC

BG_SSO_SYNC = 'on'

BG_SSO_URL

BG_SSO_URL = 'http://www.domain.com/api/api.php'

BG_SSO_URL

BG_SSO_URL = 'http://' . $_SERVER['SERVER_NAME'] . '/sso/api/api.php'

BG_SWITCH_LANG

BG_SWITCH_LANG = 0

BG_SWITCH_LANG

BG_SWITCH_LANG = 0

BG_SWITCH_SMARTY_DEBUG

BG_SWITCH_SMARTY_DEBUG = 0

BG_SWITCH_SMARTY_DEBUG

BG_SWITCH_SMARTY_DEBUG = 0

BG_SWITCH_TOKEN

BG_SWITCH_TOKEN = 1

BG_SWITCH_TOKEN

BG_SWITCH_TOKEN = 1

BG_SWITCH_UI

BG_SWITCH_UI = 0

BG_SWITCH_UI

BG_SWITCH_UI = 0

BG_UPLOAD_COUNT

BG_UPLOAD_COUNT = 10

BG_UPLOAD_SIZE

BG_UPLOAD_SIZE = 200

BG_UPLOAD_UNIT

BG_UPLOAD_UNIT = 'KB'

BG_URL_ADVERT

BG_URL_ADVERT = BG_URL_ROOT . BG_NAME_ADVERT . '/'

BG_URL_API

BG_URL_API = BG_URL_ROOT . BG_NAME_API . '/'

BG_URL_API

BG_URL_API = BG_URL_ROOT . BG_NAME_API . '/'

BG_URL_ATTACH

BG_URL_ATTACH = BG_URL_ROOT . BG_NAME_ATTACH . '/'

BG_URL_CONSOLE

BG_URL_CONSOLE = BG_URL_ROOT . BG_NAME_CONSOLE . '/'

BG_URL_CONSOLE

BG_URL_CONSOLE = BG_URL_ROOT . BG_NAME_CONSOLE . '/'

BG_URL_HELP

BG_URL_HELP = BG_URL_ROOT . BG_NAME_HELP . '/'

BG_URL_HELP

BG_URL_HELP = BG_URL_ROOT . BG_NAME_HELP . '/'

BG_URL_INSTALL

BG_URL_INSTALL = BG_URL_ROOT . BG_NAME_INSTALL . '/'

BG_URL_INSTALL

BG_URL_INSTALL = BG_URL_ROOT . BG_NAME_INSTALL . '/'

BG_URL_MISC

BG_URL_MISC = BG_URL_ROOT . BG_NAME_MISC . '/'

BG_URL_PERSONAL

BG_URL_PERSONAL = BG_URL_ROOT . BG_NAME_PERSONAL . '/'

BG_URL_ROOT

BG_URL_ROOT = str_ireplace(DS, '/', str_ireplace($_SERVER['DOCUMENT_ROOT'], '', BG_PATH_ROOT))

BG_URL_ROOT

BG_URL_ROOT = str_ireplace(DS, '/', str_ireplace($_SERVER['DOCUMENT_ROOT'], '', BG_PATH_ROOT))

BG_URL_SSO

BG_URL_SSO = BG_URL_ROOT . BG_NAME_SSO . '/'

BG_URL_STATIC

BG_URL_STATIC = BG_URL_ROOT . BG_NAME_STATIC . '/'

BG_URL_STATIC

BG_URL_STATIC = BG_URL_ROOT . BG_NAME_STATIC . '/'

BG_VERIFY_EXPIRE

BG_VERIFY_EXPIRE = 30

DS

DS = DIRECTORY_SEPARATOR

DS

DS = DIRECTORY_SEPARATOR

IN_BAIGO

IN_BAIGO = true

IN_BAIGO

IN_BAIGO = true

PRD_ADS_NAME

PRD_ADS_NAME = 'baigo ADS'

PRD_ADS_POWERED

PRD_ADS_POWERED = 'Powered by'

PRD_ADS_PUB

PRD_ADS_PUB = 20171211

PRD_ADS_URL

PRD_ADS_URL = 'http://www.baigo.net/ads/'

PRD_ADS_VER

PRD_ADS_VER = '2.0'

PRD_SSO_NAME

PRD_SSO_NAME = 'baigo SSO'

PRD_SSO_POWERED

PRD_SSO_POWERED = 'Powered by'

PRD_SSO_PUB

PRD_SSO_PUB = 20180224

PRD_SSO_URL

PRD_SSO_URL = 'http://www.baigo.net/sso/'

PRD_SSO_VER

PRD_SSO_VER = '3.0'

PRD_VER_CHECK

PRD_VER_CHECK = 'http://www.baigo.net/ver_check/check.php'

PRD_VER_CHECK

PRD_VER_CHECK = 'http://www.baigo.net/ver_check/check.php'

SASL_CONTINUE

SASL_CONTINUE = 1

SASL_FAIL

SASL_FAIL = -1

SASL_NTLM_STATE_DONE

SASL_NTLM_STATE_DONE = 3

SASL_NTLM_STATE_IDENTIFY_DOMAIN

SASL_NTLM_STATE_IDENTIFY_DOMAIN = 1

SASL_NTLM_STATE_RESPOND_CHALLENGE

SASL_NTLM_STATE_RESPOND_CHALLENGE = 2

SASL_NTLM_STATE_START

SASL_NTLM_STATE_START = 0

Functions

__autoload()

__autoload(string  $classname) 

Fall back to traditional autoload for old PHP versions

Parameters

string $classname

The name of the class to load

admin_status_process()

admin_status_process(  $str_status,   $status_admin) 

Parameters

$str_status
$status_admin

admin_status_process()

admin_status_process(  $str_status,   $status_admin) 

Parameters

$str_status
$status_admin

advert_status_process()

advert_status_process(  $arr_advertRow,   $status_advert) 

Parameters

$arr_advertRow
$status_advert

allow_list()

allow_list(  $arr_consoleMod,   $lang_consoleMod = array(),   $arr_opt,   $lang_opt = array(),   $lang_label = array(),   $lang_common_page = array(),   $arr_allow = array(),   $admin_type = '',   $is_edit = true) 

Parameters

$arr_consoleMod
$lang_consoleMod
$arr_opt
$lang_opt
$lang_label
$lang_common_page
$arr_allow
$admin_type
$is_edit

allow_list()

allow_list(  $arr_consoleMod,   $lang_consoleMod = array(),   $arr_opt = array(),   $lang_opt = array(),   $lang_label = array(),   $lang_common_page = array(),   $arr_allow = array(),   $admin_type = '',   $is_edit = true) 

Parameters

$arr_consoleMod
$lang_consoleMod
$arr_opt
$lang_opt
$lang_label
$lang_common_page
$arr_allow
$admin_type
$is_edit

app_status_process()

app_status_process(  $str_status,   $status_app) 

Parameters

$str_status
$status_app

app_sync_process()

app_sync_process(  $str_sync,   $sync_app) 

Parameters

$str_sync
$sync_app

fn_baigoCrypt()

fn_baigoCrypt(mixed  $str, mixed  $salt, boolean  $is_md5 = false,   $crypt_type = 2) : void

fn_baigoCrypt function.

Parameters

mixed $str
mixed $salt
boolean $is_md5

(default: false)

$crypt_type

fn_baigoCrypt()

fn_baigoCrypt(mixed  $str,   $salt) : void

密码加密 fn_baigoCrypt function.

Parameters

mixed $str
$salt

fn_captcha()

fn_captcha() : void

验证码校对 fn_captcha function.

fn_captcha()

fn_captcha() : void

验证码校对 fn_captcha function.

fn_clearCookie()

fn_clearCookie() 

fn_clearCookie()

fn_clearCookie() 

fn_cookie()

fn_cookie(mixed  $key,   $method = 'get',   $value = '',   $tm = 3600,   $path = '') : void

封装 $_COOKIE fn_cookie function.

Parameters

mixed $key
$method
$value
$tm
$path

fn_cookie()

fn_cookie(mixed  $key,   $method = 'get',   $value = '',   $tm = 3600,   $path = '') : void

封装 $_COOKIE fn_cookie function.

Parameters

mixed $key
$method
$value
$tm
$path

fn_eachArray()

fn_eachArray(mixed  $arr, string  $method = 'encode') : void

遍历数组,并进行 base64 解码编码 fn_eachArray function.

Parameters

mixed $arr
string $method

(default: 'encode')

fn_eachArray()

fn_eachArray(mixed  $arr, string  $method = 'encode') : void

遍历数组,并进行 base64 解码编码 fn_eachArray function.

Parameters

mixed $arr
string $method

(default: 'encode')

fn_eachArray()

fn_eachArray(mixed  $arr, string  $method = 'encode') : void

遍历数组,并进行 base64 解码编码 fn_eachArray function.

Parameters

mixed $arr
string $method

(default: 'encode')

fn_forward()

fn_forward(  $str_forward,   $method = 'encode') 

Parameters

$str_forward
$method

fn_forward()

fn_forward(  $str_forward,   $method = 'encode') 

Parameters

$str_forward
$method

fn_get()

fn_get(mixed  $key) : void

封装 $_GET fn_get function.

Parameters

mixed $key

fn_get()

fn_get(mixed  $key) : void

获取查询串提交值 fn_get function.

Parameters

mixed $key

fn_get()

fn_get(mixed  $key = false,   $arr_param = array()) : void

封装 $_GET fn_get function.

Parameters

mixed $key
$arr_param

fn_getIp()

fn_getIp() : void

获取 IP fn_getIp function.

fn_getIp()

fn_getIp() : void

获取 IP fn_getIp function.

fn_getSafe()

fn_getSafe(mixed  $str_string, string  $str_type = 'txt', string  $str_default = '') : void

过滤数据 fn_getSafe function.

Parameters

mixed $str_string
string $str_type

(default: 'txt')

string $str_default

(default: '')

fn_getSafe()

fn_getSafe(mixed  $str_string, string  $str_type = 'txt', string  $str_default = '') : void

过滤数据 fn_getSafe function.

Parameters

mixed $str_string
string $str_type

(default: 'txt')

string $str_default

(default: '')

fn_htmlcode()

fn_htmlcode(  $str_html,   $method = 'encode',   $spec = false) 

Parameters

$str_html
$method
$spec

fn_htmlcode()

fn_htmlcode(  $str_html,   $method = 'encode',   $spec = false) 

Parameters

$str_html
$method
$spec

fn_http()

fn_http(mixed  $str_url, mixed  $arr_data, string  $str_method = 'get') : void

http 函数 fn_http function.

Parameters

mixed $str_url
mixed $arr_data
string $str_method

(default: 'get')

fn_http()

fn_http(  $str_url,   $arr_data,   $str_method = 'get') 

Parameters

$str_url
$arr_data
$str_method

fn_http()

fn_http(mixed  $str_url, mixed  $arr_data, string  $str_method = 'get') : void

http 函数 fn_http function.

Parameters

mixed $str_url
mixed $arr_data
string $str_method

(default: 'get')

fn_include()

fn_include(  $str_path,   $type = 'require') 

Parameters

$str_path
$type

fn_include()

fn_include(  $str_path,   $type = 'require') 

Parameters

$str_path
$type

fn_isEmpty()

fn_isEmpty(  $data) 

Parameters

$data

fn_isEmpty()

fn_isEmpty(  $data) 

Parameters

$data

fn_isEmpty()

fn_isEmpty(  $data) 

Parameters

$data

fn_jsonDecode()

fn_jsonDecode(string  $str_json = '',   $decode = false) : void

JSON 解码 (内容可解码自 base64) jsonDecode function.

Parameters

string $str_json

(default: '')

$decode

fn_jsonDecode()

fn_jsonDecode(string  $str_json = '',   $decode = false) : void

JSON 解码 (内容可解码自 base64) fn_jsonDecode function.

Parameters

string $str_json

(default: '')

$decode

fn_jsonDecode()

fn_jsonDecode(string  $str_json = '',   $decode = false) : void

JSON 解码 (内容可解码自 base64) fn_jsonDecode function.

Parameters

string $str_json

(default: '')

$decode

fn_jsonEncode()

fn_jsonEncode(string  $arr_json = '',   $encode = false) : void

JSON 编码(内容可编码成 base64) fn_jsonEncode function.

Parameters

string $arr_json

(default: '')

$encode

fn_jsonEncode()

fn_jsonEncode(string  $arr_json = '',   $encode = false) : void

JSON 编码(内容可编码成 base64) fn_jsonEncode function.

Parameters

string $arr_json

(default: '')

$encode

fn_jsonEncode()

fn_jsonEncode(string  $arr_json = '',   $encode = false) : void

JSON 编码(内容可编码成 base64) fn_jsonEncode function.

Parameters

string $arr_json

(default: '')

$encode

fn_mailSend()

fn_mailSend(  $str_mailTo,   $str_subject,   $str_content) 

Parameters

$str_mailTo
$str_subject
$str_content

fn_page()

fn_page(mixed  $num_count, mixed  $num_per = BG_DEFAULT_PERPAGE,   $method = 'get') : void

分页参数 fn_page function.

Parameters

mixed $num_count
mixed $num_per

(default: BG_DEFAULT_PERPAGE)

$method

fn_page()

fn_page(mixed  $num_count, mixed  $num_per = BG_DEFAULT_PERPAGE) : void

分页参数 fn_page function.

Parameters

mixed $num_count
mixed $num_per

(default: BG_DEFAULT_PERPAGE)

fn_paramChk()

fn_paramChk(  $arr_data,   $arr_param) 

Parameters

$arr_data
$arr_param

fn_post()

fn_post(mixed  $key = false,   $arr_param = array()) : void

封装 $_POST fn_post function.

Parameters

mixed $key
$arr_param

fn_post()

fn_post(mixed  $key) : void

获取表单提交值 fn_post function.

Parameters

mixed $key

fn_post()

fn_post(mixed  $key) : void

封装 $_POST fn_post function.

Parameters

mixed $key

fn_rand()

fn_rand(integer  $num_rand = 32) : void

随机字符串 fn_rand function.

Parameters

integer $num_rand

(default: 32)

fn_rand()

fn_rand(integer  $num_rand = 32) : void

随机数 fn_rand function.

Parameters

integer $num_rand

(default: 32)

fn_rand()

fn_rand(integer  $num_rand = 32) : void

随机数 fn_rand function.

Parameters

integer $num_rand

(default: 32)

fn_regChk()

fn_regChk(mixed  $str_chk, mixed  $str_reg, boolean  $str_wild = false) : void

正则匹配 fn_regChk function.

Parameters

mixed $str_chk
mixed $str_reg
boolean $str_wild

(default: false)

fn_regChk()

fn_regChk(mixed  $str_chk, mixed  $str_reg, boolean  $str_wild = false) : void

正则匹配 fn_regChk function.

Parameters

mixed $str_chk
mixed $str_reg
boolean $str_wild

(default: false)

fn_request()

fn_request(mixed  $key = false,   $arr_param = array()) : void

封装 $_REQUEST fn_request function.

Parameters

mixed $key
$arr_param

fn_request()

fn_request(mixed  $key) : void

封装 $_REQUEST fn_request function.

Parameters

mixed $key

fn_safe()

fn_safe(  $str_string) 

Parameters

$str_string

fn_safe()

fn_safe(  $str_string) 

Parameters

$str_string

fn_server()

fn_server(mixed  $key) : void

封装 $_SERVER fn_server function.

Parameters

mixed $key

fn_server()

fn_server(mixed  $key) : void

封装 $_SERVER fn_server function.

Parameters

mixed $key

fn_session()

fn_session(  $key,   $method = 'get',   $value = '') 

Parameters

$key
$method
$value

fn_session()

fn_session(  $key,   $method = 'get',   $value = '') 

Parameters

$key
$method
$value

fn_strlen_utf8()

fn_strlen_utf8(  $str_string) : void

获取 UTF8 字符长度 fn_strlen_utf8 function.

Parameters

$str_string

fn_strlen_utf8()

fn_strlen_utf8(  $str_string) : void

获取 UTF8 字符长度 fn_strlen_utf8 function.

Parameters

$str_string

fn_strtotime()

fn_strtotime(  $str_time) 

Parameters

$str_time

fn_strtotime()

fn_strtotime(  $str_time) 

Parameters

$str_time

fn_substr_utf8()

fn_substr_utf8(mixed  $str_string, mixed  $begin, mixed  $length) : void

fn_substr_utf8 function.

Parameters

mixed $str_string
mixed $begin
mixed $length

fn_substr_utf8()

fn_substr_utf8(mixed  $str_string, mixed  $begin, mixed  $length) : void

fn_substr_utf8 function.

Parameters

mixed $str_string
mixed $begin
mixed $length

fn_token()

fn_token(string  $token_action = 'mk') : void

令牌生成、校对 fn_token function.

Parameters

string $token_action

(default: 'mk')

fn_token()

fn_token(string  $token_action = 'mk') : void

令牌生成、校对 fn_token function.

Parameters

string $token_action

(default: 'mk')

fn_validate()

fn_validate(  $str,   $min,   $max,   $type = 'str',   $format = 'text',   $safe_chk = true) 

Parameters

$str
$min
$max
$type
$format
$safe_chk

fn_validate()

fn_validate(  $str,   $min,   $max,   $type = 'str',   $format = 'text',   $safe_chk = true) 

Parameters

$str
$min
$max
$type
$format
$safe_chk

HTMLFilter()

HTMLFilter(  $body,   $trans_image_path,   $block_external_images = false) 

Parameters

$body
$trans_image_path
$block_external_images

link_status_process()

link_status_process(  $str_status,   $status_link) 

Parameters

$str_status
$status_link

opt_form_process()

opt_form_process(  $arr_formList,   $lang_opt,   $tplRows = array(),   $timezoneRows = array(),   $timezoneLang = array(),   $timezoneType = '',   $lang_mod = array(),   $rcode = array()) 

Parameters

$arr_formList
$lang_opt
$tplRows
$timezoneRows
$timezoneLang
$timezoneType
$lang_mod
$rcode

opt_form_process()

opt_form_process(  $arr_formList,   $lang_opt,   $tplRows = array(),   $timezoneRows = array(),   $timezoneLang = array(),   $timezoneType = '',   $lang_label = array(),   $rcode = array()) 

Parameters

$arr_formList
$lang_opt
$tplRows
$timezoneRows
$timezoneLang
$timezoneType
$lang_label
$rcode

PHPMailerAutoload()

PHPMailerAutoload(string  $classname) 

PHPMailer SPL autoloader.

Parameters

string $classname

The name of the class to load

plugin_status_process()

plugin_status_process(  $str_status,   $status_plugin) 

Parameters

$str_status
$status_plugin

pm_status_process()

pm_status_process(  $str_status,   $status_pm) 

Parameters

$str_status
$status_pm

pm_status_process()

pm_status_process(  $arr_pmRow,   $status_pm,   $lang,   $search_type) 

Parameters

$arr_pmRow
$status_pm
$lang
$search_type

posi_status_process()

posi_status_process(  $str_status,   $status_posi) 

Parameters

$str_status
$status_posi

tln_body2div()

tln_body2div(  $attary,   $trans_image_path) 

Parameters

$attary
$trans_image_path

tln_casenormalize()

tln_casenormalize(string  $val) : void

A small helper function to use with array_walk. Modifies a by-ref value and makes it lowercase.

Parameters

string $val

a value passed by-ref.

tln_deent()

tln_deent(string  $attvalue, string  $regex, boolean  $hex = false) : boolean

Translates entities into literal values so they can be checked.

Parameters

string $attvalue

the by-ref value to check.

string $regex

the regular expression to check against.

boolean $hex

whether the entites are hexadecimal.

Returns

boolean —

True or False depending on whether there were matches.

tln_defang()

tln_defang(string  $attvalue) : \Void,

This function checks attribute values for entity-encoded values and returns them translated into 8-bit strings so we can run checks on them.

Parameters

string $attvalue

A string to run entity check against.

Returns

\Void, —

modifies a reference value.

tln_findnxreg()

tln_findnxreg(string  $body, integer  $offset, string  $reg) : array|boolean

This function takes a PCRE-style regexp and tries to match it within the string.

Parameters

string $body

The string to look for needle in.

integer $offset

Start looking from here.

string $reg

A PCRE-style regex to match.

Returns

array|boolean —

Returns a false if no matches found, or an array with the following members:

  • integer with the location of the match within $body
  • string with whatever content between offset and the match
  • string with whatever it is we matched

tln_findnxstr()

tln_findnxstr(string  $body, integer  $offset, string  $needle) : integer

This function looks for the next character within a string. It's really just a glorified "strpos", except it catches the failures nicely.

Parameters

string $body

The string to look for needle in.

integer $offset

Start looking from this position.

string $needle

The character/string to look for.

Returns

integer —

location of the next occurrence of the needle, or strlen($body) if needle wasn't found.

tln_fixatts()

tln_fixatts(string  $tagname, array  $attary, array  $rm_attnames, array  $bad_attvals, array  $add_attr_to_tag, string  $trans_image_path, boolean  $block_external_images) : Array

This function runs various checks against the attributes.

Parameters

string $tagname

String with the name of the tag.

array $attary

Array with all tag attributes.

array $rm_attnames

See description for tln_sanitize

array $bad_attvals

See description for tln_sanitize

array $add_attr_to_tag

See description for tln_sanitize

string $trans_image_path
boolean $block_external_images

Returns

Array —

with modified attributes.

tln_fixstyle()

tln_fixstyle(  $body,   $pos,   $trans_image_path,   $block_external_images) 

Parameters

$body
$pos
$trans_image_path
$block_external_images

tln_fixurl()

tln_fixurl(  $attname,   $attvalue,   $trans_image_path,   $block_external_images) 

Parameters

$attname
$attvalue
$trans_image_path
$block_external_images

tln_getnxtag()

tln_getnxtag(string  $body, integer  $offset) : array|boolean

This function looks for the next tag.

Parameters

string $body

String where to look for the next tag.

integer $offset

Start looking from here.

Returns

array|boolean —

false if no more tags exist in the body, or an array with the following members:

  • string with the name of the tag
  • array with attributes and their values
  • integer with tag type (1, 2, or 3)
  • integer where the tag starts (starting "<")
  • integer where the tag ends (ending ">") first three members will be false, if the tag is invalid.

tln_sanitize()

tln_sanitize(string  $body, array  $tag_list, array  $rm_tags_with_content, array  $self_closing_tags, boolean  $force_tag_closing, array  $rm_attnames, array  $bad_attvals, array  $add_attr_to_tag, string  $trans_image_path, boolean  $block_external_images) : string

Parameters

string $body

The HTML you wish to filter

array $tag_list

see description above

array $rm_tags_with_content

see description above

array $self_closing_tags

see description above

boolean $force_tag_closing

see description above

array $rm_attnames

see description above

array $bad_attvals

see description above

array $add_attr_to_tag

see description above

string $trans_image_path
boolean $block_external_images

Returns

string —

Sanitized html safe to show on your pages.

tln_skipspace()

tln_skipspace(string  $body, integer  $offset) : integer

This function skips any whitespace from the current position within a string and to the next non-whitespace value.

Parameters

string $body

the string

integer $offset

the offset within the string where we should start looking for the next non-whitespace character.

Returns

integer —

the location within the $body where the next non-whitespace char is located.

tln_tagprint()

tln_tagprint(string  $tagname, array  $attary, integer  $tagtype) : string

This function returns the final tag out of the tag name, an array of attributes, and the type of the tag. This function is called by tln_sanitize internally.

Parameters

string $tagname

the name of the tag.

array $attary

the array of attributes and their values

integer $tagtype

The type of the tag (see in comments).

Returns

string —

A string with the final tag representation.

tln_unspace()

tln_unspace(string  $attvalue) : \Void,

Kill any tabs, newlines, or carriage returns. Our friends the makers of the browser with 95% market value decided that it'd be funny to make "java[tab]script" be just as good as "javascript".

Parameters

string $attvalue

The attribute value before extraneous spaces removed.

Returns

\Void, —

modifies a reference value.

user_status_process()

user_status_process(  $str_status,   $status_user) 

Parameters

$str_status
$status_user

verify_status_process()

verify_status_process(  $str_status,   $status_verify) 

Parameters

$str_status
$status_verify