Beispiel #1
0
 public function webcountAction()
 {
     $date = reqstr('date', date('Y_m_d', strtotime('-1 day')));
     $stationid = reqnum('stationid', 1);
     $obj = new Psys_StationModel();
     $stations = $obj->station();
     $data = $obj->webCount($date, $stationid);
     $this->smarty->assign('stations', $stations);
     $this->smarty->assign('date', $date);
     $this->smarty->assign('stationid', $stationid);
     $this->smarty->assign('totallist', $data);
     $this->forward = 'list';
 }