Authored by tmq

每页加载个数

... ... @@ -11,7 +11,7 @@ class Controller_Default extends Controller_Abstract
public function indexAction()
{
$total = Facade_News::getTotal(array(), array('手机视频'));
$page = new Lib_Helper_Pagination($total, 72);
$page = new Lib_Helper_Pagination($total, 96);
$page->setOptions(array('afterAppend' => 'setLayout'));
list($offset, $limit) = $page->getLimit();
$this->_view['banners'] = Facade_Index::getIndex(1);
... ...