default_layout.php
8.31 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale = 1.0, maximum-scale=1.0, minimum-scale=1.0,user-scalable = no" />
<title>YO'HOOD | 全球潮流新品嘉年华</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Cache-Control" content="no-siteapp"/>
<meta name="renderer" content="webkit">
<link rel="dns-prefetch" href="<?php echo SITE_RES;?>">
<?php $this->_css('index.css', array(
SITE_RES . '/css/index.css',
SITE_RES . '/css/emoji.css',
));?>
<?php $this->_block('css');?>
<?php $this->_endblock();?>
</head>
<body>
<div class="yoho-nav clearfix">
<ul class="clearfix">
<li>
<span>YOHO!</span>
<a href="http://www.yoho.cn" target="_blank">集团官网</a>
</li>
<li>
<span>YOHO!有货</span>
<a href="http://www.yohobuy.com" target="_blank">潮流购物</a>
</li>
<li>
<span>YOHO!BOYS</span>
<a href="http://www.yohoboys.com" target="_blank">男生潮流</a>
</li>
<li>
<span>YOHO!GIRLS</span>
<a href="http://www.yohogirls.com" target="_blank">女生潮流</a>
</li>
<li>
<span>YOHO!SHOW</span>
<a href="http://www.yohoshow.com" target="_blank">物趣分享</a>
</li>
<li class="current">
<span>YO'HOOD</span>
<a href="javascript:;" target="_blank">潮流嘉年华</a>
</li>
</ul>
<a class="current" href="/default/contactus" style="float:right;margin-right:10px;color:#626262">CONTACT</a>
</div>
<?php
$_ctx = Framework_YHttpRequest::instance();
$controller_name = $_ctx->controller_name;
$action_name = $_ctx->action_name;
?>
<div class="header">
<a href="<?php echo SITE_MAIN;?>">
<h1 class="logo"><img src='<?php echo SITE_RES."/images/yohood/logo3.0.png"?>'></h1>
</a>
<div class="nav">
<ul class="clearfix">
<!-- 单个菜单标签 start -->
<li <?php echo ($controller_name == 'default') ? 'class="current"':''; ?>>
<a href="/default/index">
<em>HOME</em>
<span>首页</span>
<i></i>
</a>
</li>
<!-- 单个菜单标签 end -->
<!-- 单个菜单标签 start -->
<li <?php echo ($controller_name == 'news') ? 'class="current"':''; ?>>
<a href="/news/index">
<em>ACTIVITY</em>
<span>活动资讯</span>
<i></i>
</a>
<hr class="second-menu-hr">
<!-- 二级菜单 start -->
<div class="second-menu">
<a href="/news/index">
<em>全部资讯</em>
<i></i>
</a>
<hr>
<a href="/news/index/tag/品牌资讯">
<em>品牌资讯</em>
<i></i>
</a>
<hr>
<a href="/news/index/tag/活动介绍">
<em>活动介绍</em>
<i></i>
</a>
<hr>
<a href="/news/index/tag/亮点活动">
<em>亮点活动</em>
<i></i>
</a>
<hr>
<a href="/news/index/tag/限量商品">
<em>限量商品</em>
<i></i>
</a>
</div>
<!-- 二级菜单 end -->
</li>
<!-- 单个菜单标签 end -->
<!-- 单个菜单标签 start -->
<li <?php echo ($controller_name == 'brand') ? 'class="current"':''; ?>>
<a href="/brand/index">
<em>BRAND</em>
<span>参展品牌</span>
<i></i>
</a>
</li>
<!-- 单个菜单标签 end -->
<!-- 单个菜单标签 start -->
<li <?php echo ($controller_name == 'video') ? 'class="current"':''; ?>>
<a href="/video/index">
<em>VIDEO</em>
<span>热点视频</span>
<i></i>
</a>
</li>
<!-- 单个菜单标签 end -->
<!-- 单个菜单标签 start -->
<li <?php echo ($controller_name == 'onlinereg') ? 'class="current"':''; ?>>
<a href="/onlinereg/index">
<em>REGISTRATION</em>
<span>在线登记</span>
<i></i>
</a>
<!-- 二级菜单 start -->
<div class="second-menu">
<a href="/onlinereg/exhibitor">
<em>参展商登记</em>
<i></i>
</a>
<a href="/onlinereg/media">
<em>媒体登记</em>
<i></i>
</a>
<a href="/onlinereg/sponsor">
<em>赞助商登记</em>
<i></i>
</a>
</div>
<!-- 二级菜单 end -->
</li>
<!-- 单个菜单标签 end -->
<!-- 单个菜单标签 start -->
<li <?php echo ($controller_name == 'show') ? 'class="current"':''; ?>>
<a href="/show/index">
<em>SHOW</em>
<span>潮流分享</span>
<i></i>
</a>
</li>
<!-- 单个菜单标签 end -->
</ul>
</div>
</div>
<div class="bd">
<?php $this->_block('main');
$this->_endblock();?>
</div>
<div class="return-top" style="display:none;">
<a href="javascript:void(0);" id="toTop" class="ifont" style="display: inline;">
<span class="iconfont-new"></span>
</a>
</div>
<div class="dialog-w" style="display: none;">
<div class="dia-content">
<span></span>
</div>
</div>
<!-- 页脚 start -->
<div class="ft">
<hr>
<p class="copyright">
CopyRight © 2007-2016 南京新与力文化传播有限公司苏ICP备09011225号-11
</p>
</div>
<!-- 页脚 end -->l
<?php $this->_js('index.js', array(
SITE_JS . '/lib/seajs.js',
));?>
<script type="text/javascript" src='<?php echo SITE_RES."/js/lib/seajs.js"?>'></script>
<script type="text/javascript">
seajs.use('yohood',function(yohood){
yohood.layout();
});
seajs.use(['jquery', 'channel'], function($, channel) {
channel.common();
channel.index();
})
</script>
<?php $this->_block('js');?>
<?php $this->_endblock();?>
<script type="text/javascript">
(
function(w,d,s,j,f)
{
w['YohoAcquisitionObject'] = f;
w[f] = function()
{
w[f].p = arguments;
};
var a=d.createElement(s);
var m=d.getElementsByTagName(s)[0];
a.async=1;
a.src=j;
m.parentNode.insertBefore(a,m);
}
)(window,document,'script','//cdn.yoho.cn/yas-jssdk/1.0.6/yas.js','_yas');//第一个参数是版本,第二个参数是appkey,第三个是用户ID,第四个是是否获取地理位置传空就是不获取地理位置。
_yas(1*new Date(),'1.0','yohood_web','','geo');
</script>
</body>
</html>