Authored by whb

手机视频

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