function __construct() { if (!application_exists(APP)) { showmessage(L('application_not_exists')); } $this->spend_db = Loader::model('pay_spend_model'); parent::__construct(); }
function __construct() { if (!module_exists(ROUTE_M)) { showmessage(L('module_not_exists')); } $this->spend_db = pc_base::load_model('pay_spend_model'); parent::__construct(); }
function __construct() { if (!module_exists(ROUTE_M)) showmessage(L('module_not_exists')); parent::__construct(); $this->pay_db = pc_base::load_model('pay_payment_model'); $this->account_db = pc_base::load_model('pay_account_model'); $this->_username = param::get_cookie('_username'); $this->_userid = intval(param::get_cookie('_userid')); $this->handle = pc_base::load_app_class('pay_deposit'); }
public function __construct() { parent::__construct(); $this->message_db = Loader::model('message_model'); $this->message_group_db = Loader::model('message_group_model'); $this->message_data_db = Loader::model('message_data_model'); $this->_username = cookie('_username'); $this->_userid = cookie('_userid'); $this->_groupid = get_memberinfo($this->_userid, 'groupid'); }
public function __construct() { if (!application_exists(APP)) { showmessage(L('application_not_exists')); } parent::__construct(); $this->pay_db = Loader::model('pay_payment_model'); $this->account_db = Loader::model('pay_account_model'); $this->_username = cookie('_username'); $this->_userid = intval(cookie('_userid')); $this->handle = Loader::lib('pay:pay_deposit'); }
function __construct() { parent::__construct(); $this->message_db = pc_base::load_model('message_model'); $this->message_group_db = pc_base::load_model('message_group_model'); $this->message_data_db = pc_base::load_model('message_data_model'); $this->_username = param::get_cookie('_username'); $this->_userid = param::get_cookie('_userid'); $this->_groupid = get_memberinfo($this->_userid,'groupid'); pc_base::load_app_func('global'); //定义站点ID常量,选择模版使用 $siteid = isset($_GET['siteid']) ? intval($_GET['siteid']) : get_siteid(); define("SITEID",$siteid); }
function __construct() { parent::__construct(); }
function __construct() { parent::__construct(); $this->http_user_agent = $_SERVER['HTTP_USER_AGENT']; }
function __construct() { parent::__construct(); $this->http_user_agent = str_replace('7.0' ,'8.0',$_SERVER['HTTP_USER_AGENT']); }
function __construct() { parent::__construct(); $this->api = pc_base::load_app_class('guestbook_api'); }