Authored by 周少峰

get userid form cookie

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