public function index() { $this->assign('USER_ON',' class="active"'); $this->assign('TITLE','管理员管理 - '.$this->WEB_NAME); $list = $this->dao->select(); $mod = M('group'); for($i=0;$i<count($list);$i++) { $row = $mod->getById($list[$i]['gid']); $list[$i]['gname'] = $row['name']; } $this->assign('list',$list); parent::index(); }
public function index() { $this->assign('HOME_ON',' class="active"'); $this->assign('TITLE','应用管理 - '.$this->WEB_NAME); parent::index(); }