Authored by 周少峰

get userid form cookie

... ... @@ -28,7 +28,7 @@ class BoysController extends AbstractAction
$this->setNavSide('boys');
// 显示底部TAB
$this->setNavFooterTab();
$uid = $this->getUid();
$uid = $this->getUid(true);
$content = Index\HomeModel::getBoysFloor($uid);
// $content[] = array(
// 'notice' => array(
... ...
... ... @@ -23,7 +23,7 @@ class GirlsController extends AbstractAction
$this->setNavSide('girls');
// 显示底部TAB
$this->setNavFooterTab();
$uid = $this->getUid();
$uid = $this->getUid(true);
// 渲染模板并输出
$this->_view->display('index', array(
'grilsHomePage' => true,
... ...
... ... @@ -23,7 +23,7 @@ class KidsController extends AbstractAction
$this->setNavSide('kids');
// 显示底部TAB
$this->setNavFooterTab();
$uid = $this->getUid();
$uid = $this->getUid(true);
// 渲染模板并输出
$this->_view->display('index', array(
'kidsHomePage' => true,
... ...
... ... @@ -23,7 +23,7 @@ class LifestyleController extends AbstractAction
$this->setNavSide('lifestyle');
// 显示底部TAB
$this->setNavFooterTab();
$uid = $this->getUid();
$uid = $this->getUid(true);
// 渲染模板并输出
$this->_view->display('index', array(
'lifestyleHomePage' => true,
... ...