public function __construct()
 {
     parent::__construct("psys");
     $this->smarty->assign("cur_prj_var", "psys");
     $db = new Psys_StationRule();
     $totalregnum = $db->TotalRegNum();
     if (!$totalregnum['new']) {
         $totalregnum['new'] = '...';
     }
     $this->smarty->assign("totalregnum", $totalregnum['total']);
     $this->smarty->assign("newregnum", $totalregnum['new']);
 }
Example #2
0
 /**
  * 
  * @param 车站列表
  * @return 
  */
 public function station()
 {
     $db = new Psys_StationRule();
     return $db->stationList();
 }
Example #3
0
 /**
  * 所选时间段范围内每7天的wifi连接数与注册人数
  * @param  [type] $station [description]
  * @param  [type] $sdate   [description]
  * @param  [type] $edate   [description]
  * @return [type]          [description]
  */
 public function wifidataweek($station, $sdate, $edate)
 {
     $obj = new Psys_StationRule();
     return $obj->wifidataweek($station, $sdate, $edate);
 }