function __construct() { $this->member = load_class('member', 'member'); load_function('common', 'member'); $this->member_setting = get_cache('setting', 'member'); parent::__construct(); }
function __construct() { $this->member = load_class('member', 'member'); $this->setting = get_cache('setting', 'member'); parent::__construct(); $this->payments_res = $this->db->get_list('payment', "id>1 AND status=1"); $this->payments = key_value($this->payments_res, 'id', 'name'); $this->status_arr = array(0 => '回收站', 1 => '交易成功', 2 => '交易失败', 3 => '交易错误', 4 => '交易超时', 5 => '交易取消', 6 => '等待用户付款', 7 => '待商家发货', 8 => '待用户确认收货'); }
function __construct() { $this->member = load_class('member', 'member'); load_function('common', 'member'); $this->member_setting = get_cache('setting', 'member'); parent::__construct(); //企业用户权限检查 if (!$this->memberinfo['mecid'] || $this->memberinfo['modelid'] != 23 || !$this->memberinfo['checkmec']) { MSG('您的帐号还未通过企业认证审核!如需帮助请联系客服。'); } }
function __construct() { $this->member = load_class('member', M); load_function('common', M); parent::__construct(); }