...
|
...
|
@@ -33,6 +33,11 @@ class Controller_News extends Controller_Abstract |
|
|
$list = Facade_News::getList($tag, $page->getOffset(), $limit, $exceptTags);
|
|
|
$this->_view['list'] = $list;
|
|
|
$newTags = Facade_News::getTags();
|
|
|
$nums=0;
|
|
|
foreach($newTags as $vo){
|
|
|
$nums+=$vo['num'];
|
|
|
}
|
|
|
$this->_view['nums'] = $nums;
|
|
|
$this->_view['total'] = 0;
|
|
|
$tags = $temp = array();
|
|
|
foreach($newTags as $tag)
|
...
|
...
|
|