Example #1
0
 function active()
 {
     $this->model->op_id = $this->system->op_id;
     $this->model->op_name = $this->system->op_name;
     parent::active();
     $status =& $this->system->loadModel('system/status');
     $status->count_order_to_pay();
     $status->count_order_new();
     $status->count_order_to_dly();
 }
Example #2
0
 function active()
 {
     parent::active();
     $objProduct = $this->system->loadModel('goods/products');
     $objProduct->setDisabled($_POST['goods_id'], 'false');
 }
Example #3
0
 function active()
 {
     parent::active();
     $brand =& $this->system->loadModel('goods/brand');
     $brand->brand2json();
 }