Girls.php 8.36 KB
<?php
use Action\AbstractAction;

/**
 * 女首
 */
class GirlsController extends AbstractAction
{
    public function indexAction()
    {

        $headerdata = array(
            'gobytype' =>'gobuyboys',
            'searchcate'=> 'searchcateboys',
            'navbars' => array(
                array(
                    'name_cn'=>'男生',
                    'name_en'=>'BOYS',
                    'link' => '',
                    'classname' => 'boys',
                    'index_main' => 0,
                    'subnav' => array(
                        array(
                            'name'=>'男首1',
                            'link'=>'',
                            'index_sub'=>0,
                            'thirdnav' => array(
                                array(
                                    'title' =>'上装',
                                    'branditems'=> array(
                                        array(
                                            'brandname'=>'背心',
                                            'link'=>''
                                        ),
                                        array(
                                            'brandname'=>'T恤',
                                            'link'=>''
                                        )
                                    )

                                )
                             )
                        ),
                        array(
                            'name'=>'男首2',
                            'link'=>'',
                            'index_sub'=>1,
                            'thirdnav' => array(
                                array(
                                    'title' =>'上装',
                                    'branditems'=> array(
                                        array(
                                            'brandname'=>'背心',
                                            'link'=>''
                                        ),
                                        array(
                                            'brandname'=>'T恤',
                                            'link'=>''
                                        )
                                    )
                                )
                             )
                         ),
                        array(
                            'name'=>'男首3',
                            'link'=>'',
                            'index_sub'=>2,
                            'thirdnav' => array(
                                array(
                                    'title' =>'上装',
                                    'branditems'=> array(
                                        array(
                                            'brandname'=>'背心',
                                            'link'=>''
                                        ),
                                        array(
                                            'brandname'=>'T恤',
                                            'link'=>''
                                        )
                                    )
                                )
                             )
                        )
                    )
                ),
                array(
                    'name_cn'=>'女生',
                    'name_en'=>'GIRLS',
                    'link' => 'http=>//www.baidu.com',
                    'classname' => '',
                    'index_main' => 0,
                    'subnav' => array(
                        array(
                            'name'=>'女生1',
                            'link'=>'',
                            'index_sub'=>0,
                            'thirdnav' => array(
                                array(
                                    'title' =>'上装',
                                    'branditems'=> array(
                                        array(
                                            'brandname'=>'背心',
                                            'link'=>''
                                        ),
                                        array(
                                            'brandname'=>'T恤',
                                            'link'=>''
                                        )
                                    )
                                )
                             )
                        ),
                        array(
                            'name'=>'女生2',
                            'link'=>'',
                            'index_sub'=>1,
                            'thirdnav' => array(
                                array(
                                    'title' =>'上装',
                                    'branditems'=> array(
                                        array(
                                            'brandname'=>'背心',
                                            'link'=>''
                                        ),
                                        array(
                                            'brandname'=>'T恤',
                                            'link'=>''
                                        )
                                    )
                                )
                             )
                        ),
                        array(
                            'name'=>'女生3',
                            'link'=>'',
                            'index_sub'=>2,
                            'thirdnav' => array(
                                array(
                                    'title' =>'上装',
                                    'branditems'=> array(
                                        array(
                                            'brandname'=>'背心',
                                            'link'=>''
                                        ),
                                        array(
                                            'brandname'=>'T恤',
                                            'link'=>''
                                        )
                                    )
                                )
                             )
                        )
                    )
                )
            ),
            'myyoho' => array(
                'email'=>'hhh@126.com',
                'viptype'=>'普通会员',
                'currentscore' => 495,
                'totalscore' => 600,
                'cardtype' => '银卡',
                'infolist' =>  array(
                    array(
                        'name' =>'待处理的订单',
                        'link' =>'',
                        'num' => '0'
                    ),
                    array(
                        'name' =>'我的收藏',
                        'link' =>'',
                        'num' => '1'
                    ),
                    array(
                        'name' =>'我的优惠券',
                        'link' =>'',
                        'num' => '2'
                    ),
                    array(
                        'name' =>'我的YOHO币',
                        'link' =>'',
                        'num' => '1'
                    ),
                    array(
                        'name' =>'我的退货换货',
                        'link' =>'',
                        'num' => '1'
                    )
                ),
                'updlink' => ''
            ),
            'gobuy'=> array(
                'gobuynum' =>3
            ),
            'breadcrumbnav'=> array(
                array(
                    'notend'=>array(
                        'link' => 'http=>//www.baidu.com',
                        'name' => 'BOYS首页'
                    ) 
                ),
                array(
                    'notend'=>array(
                    'link' => 'http=>//www.baidu.com',
                    'name' => '上衣'
                    ) 
                ),
                array(
                    'isend'=>array(
                    'link' => 'http=>//www.baidu.com',
                    'name' => '衬衫'
                    ) 
                )
            )
        );
        $data = array(
            'headerdata' => $headerdata,
            'boysHomePage' => true,
            'girl' => array(
            )
        );
        $this->_view->display('index', $data);
    }

}