示例#1
0
 public function webAppAction()
 {
     $page = reqnum("page", 1);
     $pagesize = reqnum("pagesize", 15);
     $stationid = reqnum('stationid', 1);
     $select = reqnum('select', 1);
     $model = new Psys_StationModel();
     $stations = $model->station();
     $data = $model->webAppCount($stationid, $select, $page, $pagesize);
     self::inidate($data['count'][0]['count'], $page, $pagesize, count($data));
     $this->smarty->assign('stations', $stations);
     $this->smarty->assign('stationid', $stationid);
     $this->smarty->assign('select', $select);
     $this->smarty->assign('data', $data['allrows']);
     $this->forward = 'webApp';
 }