예제 #1
0
 function __construct()
 {
     if (!application_exists(APP)) {
         showmessage(L('application_not_exists'));
     }
     $this->spend_db = Loader::model('pay_spend_model');
     parent::__construct();
 }
예제 #2
0
 function __construct()
 {
     if (!module_exists(ROUTE_M)) {
         showmessage(L('module_not_exists'));
     }
     $this->spend_db = pc_base::load_model('pay_spend_model');
     parent::__construct();
 }
예제 #3
0
파일: deposit.php 프로젝트: hxzyzz/ddc
	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');
	}
예제 #4
0
 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');
 }
예제 #5
0
 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');
 }
예제 #6
0
파일: index.php 프로젝트: hxzyzz/ddc
	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);
  	}
예제 #7
0
파일: content.php 프로젝트: boylzj/omguitar
 function __construct()
 {
     parent::__construct();
 }
예제 #8
0
파일: index.php 프로젝트: boylzj/omguitar
 function __construct()
 {
     parent::__construct();
     $this->http_user_agent = $_SERVER['HTTP_USER_AGENT'];
 }
예제 #9
0
파일: index.php 프로젝트: hxzyzz/ddc
	function __construct() {
		parent::__construct();
		$this->http_user_agent = str_replace('7.0' ,'8.0',$_SERVER['HTTP_USER_AGENT']);
	}
예제 #10
0
 function __construct()
 {
     parent::__construct();
     $this->api = pc_base::load_app_class('guestbook_api');
 }