Authored by 郝肖肖

频道

... ... @@ -31,6 +31,8 @@ class BoysController extends AbstractAction
$uid = $this->getUid(true);
$content = Index\HomeModel::getBoysFloor($uid);
$this->setCookie('_Channel', 'boys');
// 渲染模板并输出
$this->_view->display('index', array(
'boysHomePage' => true,
... ...
... ... @@ -24,6 +24,9 @@ class GirlsController extends AbstractAction
// 显示底部TAB
$this->setNavFooterTab();
$uid = $this->getUid(true);
$this->setCookie('_Channel', 'girls');
// 渲染模板并输出
$this->_view->display('index', array(
'grilsHomePage' => true,
... ...
... ... @@ -24,6 +24,9 @@ class KidsController extends AbstractAction
// 显示底部TAB
$this->setNavFooterTab();
$uid = $this->getUid(true);
$this->setCookie('_Channel', 'kids');
// 渲染模板并输出
$this->_view->display('index', array(
'kidsHomePage' => true,
... ...
... ... @@ -24,6 +24,9 @@ class LifestyleController extends AbstractAction
// 显示底部TAB
$this->setNavFooterTab();
$uid = $this->getUid(true);
$this->setCookie('_Channel', 'lifestyle');
// 渲染模板并输出
$this->_view->display('index', array(
'lifestyleHomePage' => true,
... ...