Girls.php
1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
use Action\AbstractAction;
use LibModels\Wap\Home\IndexData as Index;
/**
* 女生首页
*/
class GirlsController extends AbstractAction
{
public function indexAction()
{
// 频道数据
$channelData = Index::getUserChannelData(0, '2,3', '201504091403002');
echo '<pre>';
print_r($channelData);
$data = array(
'headerDownload' => $this->getHeaderDownload(),
'searchUrl' => '',
'sideNav' => array(
'textCn' => '男生',
'textEn' => 'Boys',
'url' => false,
'subNav' => array(
'list' => array(
array(
'textCn' => '男生',
'img' => 'http://res.yohoboys.com/res/new/boys/images/about/thirdbtn-sina.png',
'url' => ''
),
array(
'textCn' => '新品到着',
'img' => 'http://res.yohoboys.com/res/new/boys/images/about/thirdbtn-sina.png',
'url' => ''
)
)
)
),
);
$this->_view->assign('title', 'YOHO!有货');
$this->_view->display('index', $data);
}
}