/** * Report Edit page. */ public function edit_report() { eval(USER); $this->assign("less", "new_report.less"); try { $rid = xassert(unsafeget('show'), Error('get')); $res = DBModel::getReportDetail($rid); $types = DBModel::getByFields('cernet_report_type'); $this->assign('type', $types); $this->assign('team', $res); } catch (Exception $e) { throw_exception($e->getMessage()); } eval(NDSP); }