Authored by whb

手机视频

@@ -13,7 +13,8 @@ class Controller_Admin_News extends Controller_Admin_Base @@ -13,7 +13,8 @@ class Controller_Admin_News extends Controller_Admin_Base
13 $limit = 15 ; 13 $limit = 15 ;
14 $tag = $this->_request->query('tag',''); 14 $tag = $this->_request->query('tag','');
15 $url_args = $conditions = array('tag'=> $tag); 15 $url_args = $conditions = array('tag'=> $tag);
16 - $total = Facade_News::getTotal($tag); 16 + //手机视频去掉
  17 + $total = Facade_News::getTotal($tag, array('手机视频'));
17 $pagination = new Lib_Helper_Pagination($total,$limit); 18 $pagination = new Lib_Helper_Pagination($total,$limit);
18 $pagination->setParames($url_args); 19 $pagination->setParames($url_args);
19 $list = Facade_News::getList($tag, $pagination->getOffset(), $limit, array('手机视频')); 20 $list = Facade_News::getList($tag, $pagination->getOffset(), $limit, array('手机视频'));