Beispiel #1
0
 /**
  * 影视统计
  * @param $stationid
  * @return $data
  */
 public function movieCount($page, $pagesize, $stationid)
 {
     $db = new Psys_StationRule();
     $data = $db->MovieInfo($page, $pagesize, $stationid);
     foreach ($data['allrow'] as $k => &$v) {
         $detail = explode(',', $v['postids']);
         foreach ($detail as $m => $n) {
             $tep = explode('/', $n);
             if (isset($tep[1])) {
                 $v[$tep[0]] = $tep[1];
             }
         }
         unset($v['postids']);
     }
     return $data;
 }