Showing
6 changed files
with
687 additions
and
0 deletions
1 | +<?php | ||
2 | +use Action\AbstractAction; | ||
3 | + | ||
4 | +/** | ||
5 | + * 女首 | ||
6 | + */ | ||
7 | +class GirlsController extends AbstractAction | ||
8 | +{ | ||
9 | + public function indexAction() | ||
10 | + { | ||
11 | + | ||
12 | + $headerdata = array( | ||
13 | + 'gobytype' =>'gobuyboys', | ||
14 | + 'searchcate'=> 'searchcateboys', | ||
15 | + 'navbars' => array( | ||
16 | + array( | ||
17 | + 'name_cn'=>'男生', | ||
18 | + 'name_en'=>'BOYS', | ||
19 | + 'link' => '', | ||
20 | + 'classname' => 'boys', | ||
21 | + 'index_main' => 0, | ||
22 | + 'subnav' => array( | ||
23 | + array( | ||
24 | + 'name'=>'男首1', | ||
25 | + 'link'=>'', | ||
26 | + 'index_sub'=>0, | ||
27 | + 'thirdnav' => array( | ||
28 | + array( | ||
29 | + 'title' =>'上装', | ||
30 | + 'branditems'=> array( | ||
31 | + array( | ||
32 | + 'brandname'=>'背心', | ||
33 | + 'link'=>'' | ||
34 | + ), | ||
35 | + array( | ||
36 | + 'brandname'=>'T恤', | ||
37 | + 'link'=>'' | ||
38 | + ) | ||
39 | + ) | ||
40 | + | ||
41 | + ) | ||
42 | + ) | ||
43 | + ), | ||
44 | + array( | ||
45 | + 'name'=>'男首2', | ||
46 | + 'link'=>'', | ||
47 | + 'index_sub'=>1, | ||
48 | + 'thirdnav' => array( | ||
49 | + array( | ||
50 | + 'title' =>'上装', | ||
51 | + 'branditems'=> array( | ||
52 | + array( | ||
53 | + 'brandname'=>'背心', | ||
54 | + 'link'=>'' | ||
55 | + ), | ||
56 | + array( | ||
57 | + 'brandname'=>'T恤', | ||
58 | + 'link'=>'' | ||
59 | + ) | ||
60 | + ) | ||
61 | + ) | ||
62 | + ) | ||
63 | + ), | ||
64 | + array( | ||
65 | + 'name'=>'男首3', | ||
66 | + 'link'=>'', | ||
67 | + 'index_sub'=>2, | ||
68 | + 'thirdnav' => array( | ||
69 | + array( | ||
70 | + 'title' =>'上装', | ||
71 | + 'branditems'=> array( | ||
72 | + array( | ||
73 | + 'brandname'=>'背心', | ||
74 | + 'link'=>'' | ||
75 | + ), | ||
76 | + array( | ||
77 | + 'brandname'=>'T恤', | ||
78 | + 'link'=>'' | ||
79 | + ) | ||
80 | + ) | ||
81 | + ) | ||
82 | + ) | ||
83 | + ) | ||
84 | + ) | ||
85 | + ), | ||
86 | + array( | ||
87 | + 'name_cn'=>'女生', | ||
88 | + 'name_en'=>'GIRLS', | ||
89 | + 'link' => 'http=>//www.baidu.com', | ||
90 | + 'classname' => '', | ||
91 | + 'index_main' => 0, | ||
92 | + 'subnav' => array( | ||
93 | + array( | ||
94 | + 'name'=>'女生1', | ||
95 | + 'link'=>'', | ||
96 | + 'index_sub'=>0, | ||
97 | + 'thirdnav' => array( | ||
98 | + array( | ||
99 | + 'title' =>'上装', | ||
100 | + 'branditems'=> array( | ||
101 | + array( | ||
102 | + 'brandname'=>'背心', | ||
103 | + 'link'=>'' | ||
104 | + ), | ||
105 | + array( | ||
106 | + 'brandname'=>'T恤', | ||
107 | + 'link'=>'' | ||
108 | + ) | ||
109 | + ) | ||
110 | + ) | ||
111 | + ) | ||
112 | + ), | ||
113 | + array( | ||
114 | + 'name'=>'女生2', | ||
115 | + 'link'=>'', | ||
116 | + 'index_sub'=>1, | ||
117 | + 'thirdnav' => array( | ||
118 | + array( | ||
119 | + 'title' =>'上装', | ||
120 | + 'branditems'=> array( | ||
121 | + array( | ||
122 | + 'brandname'=>'背心', | ||
123 | + 'link'=>'' | ||
124 | + ), | ||
125 | + array( | ||
126 | + 'brandname'=>'T恤', | ||
127 | + 'link'=>'' | ||
128 | + ) | ||
129 | + ) | ||
130 | + ) | ||
131 | + ) | ||
132 | + ), | ||
133 | + array( | ||
134 | + 'name'=>'女生3', | ||
135 | + 'link'=>'', | ||
136 | + 'index_sub'=>2, | ||
137 | + 'thirdnav' => array( | ||
138 | + array( | ||
139 | + 'title' =>'上装', | ||
140 | + 'branditems'=> array( | ||
141 | + array( | ||
142 | + 'brandname'=>'背心', | ||
143 | + 'link'=>'' | ||
144 | + ), | ||
145 | + array( | ||
146 | + 'brandname'=>'T恤', | ||
147 | + 'link'=>'' | ||
148 | + ) | ||
149 | + ) | ||
150 | + ) | ||
151 | + ) | ||
152 | + ) | ||
153 | + ) | ||
154 | + ) | ||
155 | + ), | ||
156 | + 'myyoho' => array( | ||
157 | + 'email'=>'hhh@126.com', | ||
158 | + 'viptype'=>'普通会员', | ||
159 | + 'currentscore' => 495, | ||
160 | + 'totalscore' => 600, | ||
161 | + 'cardtype' => '银卡', | ||
162 | + 'infolist' => array( | ||
163 | + array( | ||
164 | + 'name' =>'待处理的订单', | ||
165 | + 'link' =>'', | ||
166 | + 'num' => '0' | ||
167 | + ), | ||
168 | + array( | ||
169 | + 'name' =>'我的收藏', | ||
170 | + 'link' =>'', | ||
171 | + 'num' => '1' | ||
172 | + ), | ||
173 | + array( | ||
174 | + 'name' =>'我的优惠券', | ||
175 | + 'link' =>'', | ||
176 | + 'num' => '2' | ||
177 | + ), | ||
178 | + array( | ||
179 | + 'name' =>'我的YOHO币', | ||
180 | + 'link' =>'', | ||
181 | + 'num' => '1' | ||
182 | + ), | ||
183 | + array( | ||
184 | + 'name' =>'我的退货换货', | ||
185 | + 'link' =>'', | ||
186 | + 'num' => '1' | ||
187 | + ) | ||
188 | + ), | ||
189 | + 'updlink' => '' | ||
190 | + ), | ||
191 | + 'gobuy'=> array( | ||
192 | + 'gobuynum' =>3 | ||
193 | + ), | ||
194 | + 'breadcrumbnav'=> array( | ||
195 | + array( | ||
196 | + 'notend'=>array( | ||
197 | + 'link' => 'http=>//www.baidu.com', | ||
198 | + 'name' => 'BOYS首页' | ||
199 | + ) | ||
200 | + ), | ||
201 | + array( | ||
202 | + 'notend'=>array( | ||
203 | + 'link' => 'http=>//www.baidu.com', | ||
204 | + 'name' => '上衣' | ||
205 | + ) | ||
206 | + ), | ||
207 | + array( | ||
208 | + 'isend'=>array( | ||
209 | + 'link' => 'http=>//www.baidu.com', | ||
210 | + 'name' => '衬衫' | ||
211 | + ) | ||
212 | + ) | ||
213 | + ) | ||
214 | + ); | ||
215 | + $data = array( | ||
216 | + 'headerdata' => $headerdata, | ||
217 | + 'boysHomePage' => true, | ||
218 | + 'girl' => array( | ||
219 | + ) | ||
220 | + ); | ||
221 | + $this->_view->display('index', $data); | ||
222 | + } | ||
223 | + | ||
224 | +} |
1 | +<?php | ||
2 | +use Action\AbstractAction; | ||
3 | + | ||
4 | +/** | ||
5 | + * 潮童首页 | ||
6 | + */ | ||
7 | +class KidsController extends AbstractAction | ||
8 | +{ | ||
9 | + public function indexAction() | ||
10 | + { | ||
11 | + | ||
12 | + $headerdata = array( | ||
13 | + 'gobytype' =>'gobuyboys', | ||
14 | + 'searchcate'=> 'searchcateboys', | ||
15 | + 'navbars' => array( | ||
16 | + array( | ||
17 | + 'name_cn'=>'男生', | ||
18 | + 'name_en'=>'BOYS', | ||
19 | + 'link' => '', | ||
20 | + 'classname' => 'boys', | ||
21 | + 'index_main' => 0, | ||
22 | + 'subnav' => array( | ||
23 | + array( | ||
24 | + 'name'=>'男首1', | ||
25 | + 'link'=>'', | ||
26 | + 'index_sub'=>0, | ||
27 | + 'thirdnav' => array( | ||
28 | + array( | ||
29 | + 'title' =>'上装', | ||
30 | + 'branditems'=> array( | ||
31 | + array( | ||
32 | + 'brandname'=>'背心', | ||
33 | + 'link'=>'' | ||
34 | + ), | ||
35 | + array( | ||
36 | + 'brandname'=>'T恤', | ||
37 | + 'link'=>'' | ||
38 | + ) | ||
39 | + ) | ||
40 | + | ||
41 | + ) | ||
42 | + ) | ||
43 | + ), | ||
44 | + array( | ||
45 | + 'name'=>'男首2', | ||
46 | + 'link'=>'', | ||
47 | + 'index_sub'=>1, | ||
48 | + 'thirdnav' => array( | ||
49 | + array( | ||
50 | + 'title' =>'上装', | ||
51 | + 'branditems'=> array( | ||
52 | + array( | ||
53 | + 'brandname'=>'背心', | ||
54 | + 'link'=>'' | ||
55 | + ), | ||
56 | + array( | ||
57 | + 'brandname'=>'T恤', | ||
58 | + 'link'=>'' | ||
59 | + ) | ||
60 | + ) | ||
61 | + ) | ||
62 | + ) | ||
63 | + ), | ||
64 | + array( | ||
65 | + 'name'=>'男首3', | ||
66 | + 'link'=>'', | ||
67 | + 'index_sub'=>2, | ||
68 | + 'thirdnav' => array( | ||
69 | + array( | ||
70 | + 'title' =>'上装', | ||
71 | + 'branditems'=> array( | ||
72 | + array( | ||
73 | + 'brandname'=>'背心', | ||
74 | + 'link'=>'' | ||
75 | + ), | ||
76 | + array( | ||
77 | + 'brandname'=>'T恤', | ||
78 | + 'link'=>'' | ||
79 | + ) | ||
80 | + ) | ||
81 | + ) | ||
82 | + ) | ||
83 | + ) | ||
84 | + ) | ||
85 | + ), | ||
86 | + array( | ||
87 | + 'name_cn'=>'女生', | ||
88 | + 'name_en'=>'GIRLS', | ||
89 | + 'link' => 'http=>//www.baidu.com', | ||
90 | + 'classname' => '', | ||
91 | + 'index_main' => 0, | ||
92 | + 'subnav' => array( | ||
93 | + array( | ||
94 | + 'name'=>'女生1', | ||
95 | + 'link'=>'', | ||
96 | + 'index_sub'=>0, | ||
97 | + 'thirdnav' => array( | ||
98 | + array( | ||
99 | + 'title' =>'上装', | ||
100 | + 'branditems'=> array( | ||
101 | + array( | ||
102 | + 'brandname'=>'背心', | ||
103 | + 'link'=>'' | ||
104 | + ), | ||
105 | + array( | ||
106 | + 'brandname'=>'T恤', | ||
107 | + 'link'=>'' | ||
108 | + ) | ||
109 | + ) | ||
110 | + ) | ||
111 | + ) | ||
112 | + ), | ||
113 | + array( | ||
114 | + 'name'=>'女生2', | ||
115 | + 'link'=>'', | ||
116 | + 'index_sub'=>1, | ||
117 | + 'thirdnav' => array( | ||
118 | + array( | ||
119 | + 'title' =>'上装', | ||
120 | + 'branditems'=> array( | ||
121 | + array( | ||
122 | + 'brandname'=>'背心', | ||
123 | + 'link'=>'' | ||
124 | + ), | ||
125 | + array( | ||
126 | + 'brandname'=>'T恤', | ||
127 | + 'link'=>'' | ||
128 | + ) | ||
129 | + ) | ||
130 | + ) | ||
131 | + ) | ||
132 | + ), | ||
133 | + array( | ||
134 | + 'name'=>'女生3', | ||
135 | + 'link'=>'', | ||
136 | + 'index_sub'=>2, | ||
137 | + 'thirdnav' => array( | ||
138 | + array( | ||
139 | + 'title' =>'上装', | ||
140 | + 'branditems'=> array( | ||
141 | + array( | ||
142 | + 'brandname'=>'背心', | ||
143 | + 'link'=>'' | ||
144 | + ), | ||
145 | + array( | ||
146 | + 'brandname'=>'T恤', | ||
147 | + 'link'=>'' | ||
148 | + ) | ||
149 | + ) | ||
150 | + ) | ||
151 | + ) | ||
152 | + ) | ||
153 | + ) | ||
154 | + ) | ||
155 | + ), | ||
156 | + 'myyoho' => array( | ||
157 | + 'email'=>'hhh@126.com', | ||
158 | + 'viptype'=>'普通会员', | ||
159 | + 'currentscore' => 495, | ||
160 | + 'totalscore' => 600, | ||
161 | + 'cardtype' => '银卡', | ||
162 | + 'infolist' => array( | ||
163 | + array( | ||
164 | + 'name' =>'待处理的订单', | ||
165 | + 'link' =>'', | ||
166 | + 'num' => '0' | ||
167 | + ), | ||
168 | + array( | ||
169 | + 'name' =>'我的收藏', | ||
170 | + 'link' =>'', | ||
171 | + 'num' => '1' | ||
172 | + ), | ||
173 | + array( | ||
174 | + 'name' =>'我的优惠券', | ||
175 | + 'link' =>'', | ||
176 | + 'num' => '2' | ||
177 | + ), | ||
178 | + array( | ||
179 | + 'name' =>'我的YOHO币', | ||
180 | + 'link' =>'', | ||
181 | + 'num' => '1' | ||
182 | + ), | ||
183 | + array( | ||
184 | + 'name' =>'我的退货换货', | ||
185 | + 'link' =>'', | ||
186 | + 'num' => '1' | ||
187 | + ) | ||
188 | + ), | ||
189 | + 'updlink' => '' | ||
190 | + ), | ||
191 | + 'gobuy'=> array( | ||
192 | + 'gobuynum' =>3 | ||
193 | + ), | ||
194 | + 'breadcrumbnav'=> array( | ||
195 | + array( | ||
196 | + 'notend'=>array( | ||
197 | + 'link' => 'http=>//www.baidu.com', | ||
198 | + 'name' => 'BOYS首页' | ||
199 | + ) | ||
200 | + ), | ||
201 | + array( | ||
202 | + 'notend'=>array( | ||
203 | + 'link' => 'http=>//www.baidu.com', | ||
204 | + 'name' => '上衣' | ||
205 | + ) | ||
206 | + ), | ||
207 | + array( | ||
208 | + 'isend'=>array( | ||
209 | + 'link' => 'http=>//www.baidu.com', | ||
210 | + 'name' => '衬衫' | ||
211 | + ) | ||
212 | + ) | ||
213 | + ) | ||
214 | + ); | ||
215 | + $data = array( | ||
216 | + 'headerdata' => $headerdata, | ||
217 | + 'boysHomePage' => true, | ||
218 | + 'girl' => array( | ||
219 | + ) | ||
220 | + ); | ||
221 | + $this->_view->display('index', $data); | ||
222 | + } | ||
223 | + | ||
224 | +} |
1 | +<?php | ||
2 | +use Action\AbstractAction; | ||
3 | + | ||
4 | +/** | ||
5 | + * 创意生活首页 | ||
6 | + */ | ||
7 | +class LifestyleController extends AbstractAction | ||
8 | +{ | ||
9 | + public function indexAction() | ||
10 | + { | ||
11 | + | ||
12 | + $headerdata = array( | ||
13 | + 'gobytype' =>'gobuyboys', | ||
14 | + 'searchcate'=> 'searchcateboys', | ||
15 | + 'navbars' => array( | ||
16 | + array( | ||
17 | + 'name_cn'=>'男生', | ||
18 | + 'name_en'=>'BOYS', | ||
19 | + 'link' => '', | ||
20 | + 'classname' => 'boys', | ||
21 | + 'index_main' => 0, | ||
22 | + 'subnav' => array( | ||
23 | + array( | ||
24 | + 'name'=>'男首1', | ||
25 | + 'link'=>'', | ||
26 | + 'index_sub'=>0, | ||
27 | + 'thirdnav' => array( | ||
28 | + array( | ||
29 | + 'title' =>'上装', | ||
30 | + 'branditems'=> array( | ||
31 | + array( | ||
32 | + 'brandname'=>'背心', | ||
33 | + 'link'=>'' | ||
34 | + ), | ||
35 | + array( | ||
36 | + 'brandname'=>'T恤', | ||
37 | + 'link'=>'' | ||
38 | + ) | ||
39 | + ) | ||
40 | + | ||
41 | + ) | ||
42 | + ) | ||
43 | + ), | ||
44 | + array( | ||
45 | + 'name'=>'男首2', | ||
46 | + 'link'=>'', | ||
47 | + 'index_sub'=>1, | ||
48 | + 'thirdnav' => array( | ||
49 | + array( | ||
50 | + 'title' =>'上装', | ||
51 | + 'branditems'=> array( | ||
52 | + array( | ||
53 | + 'brandname'=>'背心', | ||
54 | + 'link'=>'' | ||
55 | + ), | ||
56 | + array( | ||
57 | + 'brandname'=>'T恤', | ||
58 | + 'link'=>'' | ||
59 | + ) | ||
60 | + ) | ||
61 | + ) | ||
62 | + ) | ||
63 | + ), | ||
64 | + array( | ||
65 | + 'name'=>'男首3', | ||
66 | + 'link'=>'', | ||
67 | + 'index_sub'=>2, | ||
68 | + 'thirdnav' => array( | ||
69 | + array( | ||
70 | + 'title' =>'上装', | ||
71 | + 'branditems'=> array( | ||
72 | + array( | ||
73 | + 'brandname'=>'背心', | ||
74 | + 'link'=>'' | ||
75 | + ), | ||
76 | + array( | ||
77 | + 'brandname'=>'T恤', | ||
78 | + 'link'=>'' | ||
79 | + ) | ||
80 | + ) | ||
81 | + ) | ||
82 | + ) | ||
83 | + ) | ||
84 | + ) | ||
85 | + ), | ||
86 | + array( | ||
87 | + 'name_cn'=>'女生', | ||
88 | + 'name_en'=>'GIRLS', | ||
89 | + 'link' => 'http=>//www.baidu.com', | ||
90 | + 'classname' => '', | ||
91 | + 'index_main' => 0, | ||
92 | + 'subnav' => array( | ||
93 | + array( | ||
94 | + 'name'=>'女生1', | ||
95 | + 'link'=>'', | ||
96 | + 'index_sub'=>0, | ||
97 | + 'thirdnav' => array( | ||
98 | + array( | ||
99 | + 'title' =>'上装', | ||
100 | + 'branditems'=> array( | ||
101 | + array( | ||
102 | + 'brandname'=>'背心', | ||
103 | + 'link'=>'' | ||
104 | + ), | ||
105 | + array( | ||
106 | + 'brandname'=>'T恤', | ||
107 | + 'link'=>'' | ||
108 | + ) | ||
109 | + ) | ||
110 | + ) | ||
111 | + ) | ||
112 | + ), | ||
113 | + array( | ||
114 | + 'name'=>'女生2', | ||
115 | + 'link'=>'', | ||
116 | + 'index_sub'=>1, | ||
117 | + 'thirdnav' => array( | ||
118 | + array( | ||
119 | + 'title' =>'上装', | ||
120 | + 'branditems'=> array( | ||
121 | + array( | ||
122 | + 'brandname'=>'背心', | ||
123 | + 'link'=>'' | ||
124 | + ), | ||
125 | + array( | ||
126 | + 'brandname'=>'T恤', | ||
127 | + 'link'=>'' | ||
128 | + ) | ||
129 | + ) | ||
130 | + ) | ||
131 | + ) | ||
132 | + ), | ||
133 | + array( | ||
134 | + 'name'=>'女生3', | ||
135 | + 'link'=>'', | ||
136 | + 'index_sub'=>2, | ||
137 | + 'thirdnav' => array( | ||
138 | + array( | ||
139 | + 'title' =>'上装', | ||
140 | + 'branditems'=> array( | ||
141 | + array( | ||
142 | + 'brandname'=>'背心', | ||
143 | + 'link'=>'' | ||
144 | + ), | ||
145 | + array( | ||
146 | + 'brandname'=>'T恤', | ||
147 | + 'link'=>'' | ||
148 | + ) | ||
149 | + ) | ||
150 | + ) | ||
151 | + ) | ||
152 | + ) | ||
153 | + ) | ||
154 | + ) | ||
155 | + ), | ||
156 | + 'myyoho' => array( | ||
157 | + 'email'=>'hhh@126.com', | ||
158 | + 'viptype'=>'普通会员', | ||
159 | + 'currentscore' => 495, | ||
160 | + 'totalscore' => 600, | ||
161 | + 'cardtype' => '银卡', | ||
162 | + 'infolist' => array( | ||
163 | + array( | ||
164 | + 'name' =>'待处理的订单', | ||
165 | + 'link' =>'', | ||
166 | + 'num' => '0' | ||
167 | + ), | ||
168 | + array( | ||
169 | + 'name' =>'我的收藏', | ||
170 | + 'link' =>'', | ||
171 | + 'num' => '1' | ||
172 | + ), | ||
173 | + array( | ||
174 | + 'name' =>'我的优惠券', | ||
175 | + 'link' =>'', | ||
176 | + 'num' => '2' | ||
177 | + ), | ||
178 | + array( | ||
179 | + 'name' =>'我的YOHO币', | ||
180 | + 'link' =>'', | ||
181 | + 'num' => '1' | ||
182 | + ), | ||
183 | + array( | ||
184 | + 'name' =>'我的退货换货', | ||
185 | + 'link' =>'', | ||
186 | + 'num' => '1' | ||
187 | + ) | ||
188 | + ), | ||
189 | + 'updlink' => '' | ||
190 | + ), | ||
191 | + 'gobuy'=> array( | ||
192 | + 'gobuynum' =>3 | ||
193 | + ), | ||
194 | + 'breadcrumbnav'=> array( | ||
195 | + array( | ||
196 | + 'notend'=>array( | ||
197 | + 'link' => 'http=>//www.baidu.com', | ||
198 | + 'name' => 'BOYS首页' | ||
199 | + ) | ||
200 | + ), | ||
201 | + array( | ||
202 | + 'notend'=>array( | ||
203 | + 'link' => 'http=>//www.baidu.com', | ||
204 | + 'name' => '上衣' | ||
205 | + ) | ||
206 | + ), | ||
207 | + array( | ||
208 | + 'isend'=>array( | ||
209 | + 'link' => 'http=>//www.baidu.com', | ||
210 | + 'name' => '衬衫' | ||
211 | + ) | ||
212 | + ) | ||
213 | + ) | ||
214 | + ); | ||
215 | + $data = array( | ||
216 | + 'headerdata' => $headerdata, | ||
217 | + 'boysHomePage' => true, | ||
218 | + 'girl' => array( | ||
219 | + ) | ||
220 | + ); | ||
221 | + $this->_view->display('index', $data); | ||
222 | + } | ||
223 | + | ||
224 | +} |
-
Please register or login to post a comment