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(); }
function active() { parent::active(); $objProduct = $this->system->loadModel('goods/products'); $objProduct->setDisabled($_POST['goods_id'], 'false'); }
function active() { parent::active(); $brand =& $this->system->loadModel('goods/brand'); $brand->brand2json(); }