...
|
...
|
@@ -19,18 +19,19 @@ class HomeController extends AbstractAction |
|
|
*/
|
|
|
public function indexAction()
|
|
|
{
|
|
|
$uid = $uid = $this->getUid();;
|
|
|
// $uid = $uid = $this->getUid();
|
|
|
$uid = 967016;
|
|
|
|
|
|
$data = \Index\UserModel::getUserProfileData($uid);
|
|
|
|
|
|
print_r($data);
|
|
|
// print_r($data);
|
|
|
$data['homeHeader'] = array('searchUrl' => Helpers::url('/search', null, 'search'));
|
|
|
$data['pageFooter'] = true;
|
|
|
|
|
|
// 设置网站标题
|
|
|
$this->setTitle('男生首页');
|
|
|
|
|
|
$this->_view->display('index', array(
|
|
|
'homeHeader' => array('searchUrl' => Helpers::url('/search', null, 'search')),
|
|
|
'pageFooter' => true,
|
|
|
));
|
|
|
$this->_view->display('index', $data);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|