public function __construct() { parent::__construct(); $this->sDefaultView = 'default'; $this->config->load($this->url[0] . '/stats', false, false); $this->load->model($this->ssn . '/stats_dao'); }
public function __construct() { parent::__construct(); $this->config->load($this->url[0] . '/account', false, false); $this->sMenuName = $this->config->item('menuName'); $this->aWhereType = array(' = ? ', ' = ? '); $this->sListAllType = 'where'; $this->sDefaultView = 'default'; $this->load->model($this->ssn . '/account_dao'); }
public function __construct() { parent::__construct(); $this->config->load($this->url[0] . '/define', false, false); $this->sMenuName = $this->config->item('menuName'); $this->aWhereType = array(' = ? '); $this->sListAllType = 'all'; $this->nLimit = 500; $this->sDefaultView = 'default'; $this->load->model($this->ssn . '/define_dao'); }
public function __construct() { parent::__construct(); $this->config->load($this->url[0] . '/post', false, false); $this->sMenuName = $this->config->item('menuName'); $this->aWhereType = array(' = ? ', ' BETWEEN ? AND ? '); $this->sListAllType = 'where'; $this->sDefaultView = 'default'; $sMaxPostCount = $this->config->item('maxPostCount'); $sPostTimeOutSecond = $this->config->item('postTimeOutSecond'); $this->aViewData['sMaxPostCount'] = $sMaxPostCount; $this->aViewData['sPostTimeOutSecond'] = $sPostTimeOutSecond; $this->load->model($this->ssn . '/post_dao'); }
public function __construct() { parent::__construct(); $this->config->load($this->url[0] . '/log', false, false); $this->sMenuName = $this->config->item('menuName'); $this->aWhereType = array(' = ? ', ' BETWEEN ? AND ? '); $this->sListAllType = 'where'; $this->sDefaultView = 'default'; $this->load->model($this->ssn . '/log_dao'); $aTabInfo = $this->config->item('tab'); foreach ($aTabInfo as $aTabTableInfo) { $aCategoryList[$aTabTableInfo['tableText']] = $aTabTableInfo['table']; } $this->aViewData['aCategoryList'] = $aCategoryList; }
public function __construct() { parent::__construct(); if ($this->oGmInfo->auth_priv != 'A') { $this->goWarning(2); } $this->config->load($this->url[0] . '/auth', false, false); $this->sMenuName = $this->config->item('menuName'); $this->sListAllType = 'all'; $this->aWhereType = array(' = ? '); $this->nLimit = 1000; $this->sDefaultView = 'default'; $this->load->model($this->ssn . '/auth_dao'); $this->aMainInfo = $this->config->item('main'); $this->aMainTable = current($this->aMainInfo); }
public function __construct() { parent::__construct(); $this->config->load($this->url[0] . '/order', false, false); $this->sMenuName = $this->config->item('menuName'); $this->aWhereType = array(' = ? ', ' BETWEEN ? AND ? '); $this->sListAllType = 'where'; $this->sDefaultView = 'default'; $this->load->model($this->ssn . '/order_dao'); $aOsList = $this->config->item('order_os'); $aStoreList = $this->config->item('order_store'); $aItemPercentList = $this->config->item('order_itempercent'); $aItemList = $this->config->item('order_itemlist'); $this->aViewData['aOsList'] = $aOsList; $this->aViewData['aStoreList'] = $aStoreList; $this->aViewData['aItemList'] = $aItemList; $this->aViewData['aItemPercentList'] = $aItemPercentList; }
public function __construct() { parent::__construct(); $this->aViewData['aMainSsnList'] = array(48); }