function ctl_kft(){ parent::adminPage(); $this->kft=&$this->system->loadModel('service/kft'); $this->certi_id=$this->kft->getCerti(); $this->token=$this->kft->getToken(); $this->API_URL='http://api-client.shopex.cn/api.php'; }
function admin_sales_ctl() { parent::adminPage(); $appmgr = $this->system->loadModel('system/appmgr'); $tb_api =& $appmgr->load('tb_sales_download'); $this->tb =& $tb_api; }
function ctl_supplier() { parent::adminPage(); if (!$this->system->getConf('certificate.distribute')) { $this->errorJump(); } }
function ctl_certificate() { parent::adminPage(); $this->lang = 'zh-cn'; $this->base_url = 'http://service.shopex.cn/info.php'; $this->sess_id = $this->system->session->sess_id; $this->license_url = "index.php?ctl=service/certificate&act=download"; }
function objectPage() { parent::adminPage(); $this->model =& $this->system->loadModel($this->object); $frontend =& $this->system->loadModel('system/frontend'); $frontend->register_function('toolset', array(&$this, '_getTools')); $this->objectName = substr(get_class($this), 4); $this->path[] = array('text' => $this->name . '管理', 'url' => 'index.php?ctl=' . $_GET['ctl'] . '&act=index'); }
function ctl_demo_data() { parent::adminPage(); }
function ctl_dashboard() { parent::adminPage(); $system =& $GLOBALS['system']; $system->__session_close(false); }
function admin_stat_ctl() { parent::adminPage(); }
function ctl_template() { parent::adminPage(); regex_file($_GET); }
/** * construct the wss */ function ctl_wss() { parent::adminPage(); $this->ENCODESTR = 'A34dfwfF'; }
function ctl_addon() { $this->path[] = array('text' => '工具箱', 'url' => 'index.php?ctl=system/tools&act=welcome'); $this->path[] = array('text' => '网店扩展'); parent::adminPage(); }
function objectPage() { parent::adminPage(); $this->model =& $this->system->loadModel($this->object); $this->path[] = array('text' => $this->name . __('管理'), 'url' => 'index.php?ctl=' . $_GET['ctl'] . '&act=index'); }
function ctl_tools() { parent::adminPage(); $this->path = array(array('text' => __('工具箱'))); }