예제 #1
0
 public function webCountNewAction()
 {
     $page = reqnum("page", '1');
     $pagesize = reqnum("pagesize", '15');
     $stationid = reqnum('stationid', 1);
     $model = new Psys_StationModel();
     $stations = $model->station();
     $data = $model->webCountNew($stationid, $page, $pagesize);
     $allnum = $this->newtotalrows();
     self::inidate($allnum, $page, $pagesize, count($data));
     $this->smarty->assign('stations', $stations);
     $this->smarty->assign('stationid', $stationid);
     $this->smarty->assign('totallist', $data);
     $this->forward = 'webCount';
 }