Ejemplo n.º 1
0
 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';
 }
Ejemplo n.º 2
0
 function admin_sales_ctl()
 {
     parent::adminPage();
     $appmgr = $this->system->loadModel('system/appmgr');
     $tb_api =& $appmgr->load('tb_sales_download');
     $this->tb =& $tb_api;
 }
Ejemplo n.º 3
0
 function ctl_supplier()
 {
     parent::adminPage();
     if (!$this->system->getConf('certificate.distribute')) {
         $this->errorJump();
     }
 }
Ejemplo n.º 4
0
 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";
 }
Ejemplo n.º 5
0
 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');
 }
Ejemplo n.º 6
0
 function ctl_demo_data()
 {
     parent::adminPage();
 }
Ejemplo n.º 7
0
 function ctl_dashboard()
 {
     parent::adminPage();
     $system =& $GLOBALS['system'];
     $system->__session_close(false);
 }
Ejemplo n.º 8
0
 function admin_stat_ctl()
 {
     parent::adminPage();
 }
Ejemplo n.º 9
0
 function ctl_template()
 {
     parent::adminPage();
     regex_file($_GET);
 }
Ejemplo n.º 10
0
 /**
  * construct the wss
  */
 function ctl_wss()
 {
     parent::adminPage();
     $this->ENCODESTR = 'A34dfwfF';
 }
Ejemplo n.º 11
0
 function ctl_addon()
 {
     $this->path[] = array('text' => '工具箱', 'url' => 'index.php?ctl=system/tools&act=welcome');
     $this->path[] = array('text' => '网店扩展');
     parent::adminPage();
 }
Ejemplo n.º 12
0
 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');
 }
Ejemplo n.º 13
0
 function ctl_tools()
 {
     parent::adminPage();
     $this->path = array(array('text' => __('工具箱')));
 }