index_hk.html
4.91 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
{{> layout/header_fan}}
{{> channel/banner_top}}
<div class="tv-area">
{{# tvs}}
<span class="tv">
{{# link}}
<a class="tv-a" href="{{.}}" target="_blank" onclick="YOHODCLICK('home','web','homeTv')"></a>
{{/ link}}
{{^ link}}
<span class="tv-a"></span>
{{/ link}}
<img class="tv-img" src="{{img}}" alt="{{alt}}">
</span>
{{/ tvs}}
</div>
<div class="content clearfix">
{{# topItems}}
{{> default/default_item}}
{{/ topItems}}
{{# contentWithNothing}}
<div class="right-advt">
{{> default/follow_us}}
{{> default/default_pop_top}}
</div>
{{> default/default_pager}}
{{/ contentWithNothing}}
{{# contentWithAdvert}}
<div class="right-advt">
{{# advert}}
<a class="link" href="{{link}}" target="_blank" onclick="YOHODCLICK('banner','web','homeBannerRight')">
<img data-original="{{img}}" class="lazy img" alt="{{alt}}" src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" />
</a>
{{/ advert}}
{{> default/follow_us}}
</div>
<div class="bottom-item-container">
{{# bottomItems}}
{{> default/default_item}}
{{/ bottomItems}}
{{> default/default_pop}}
{{> default/default_pager}}
</div>
{{/ contentWithAdvert}}
{{# contentWithCenterBanner}}
<div class="right-advt">
{{> default/follow_us}}
{{> default/default_pop_top}}
</div>
{{> channel/banner_center}}
<div class='bottom-item-container'>
{{# bottomItems}}
{{> default/default_item}}
{{/ bottomItems}}
{{> default/default_pager}}
</div>
{{/ contentWithCenterBanner}}
{{# contentWithAll}}
<div class="right-advt">
{{# advert}}
<a class="link" href="{{link}}" target="_blank" onclick="YOHODCLICK('banner','web','homeBannerRight')">
<img data-original="{{img}}" class="lazy img" alt="{{alt}}" src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" />
</a>
{{/ advert}}
{{> default/follow_us}}
</div>
{{> channel/banner_center}}
<div class="bottom-item-container">
{{# bottomItems}}
{{> default/default_item}}
{{/ bottomItems}}
{{> default/default_pop}}
{{> default/default_pager}}
</div>
{{/ contentWithAll}}
</div>
<div id="div-adv-iframe" style="display:none"></div>
<script type="text/javascript">
function createIframe() {
var i = document.createElement("iframe");
var timestamp = new Date().getTime();
// 0828号10点1440727200000 - 29号10点 1440813600000 GIRL首页焦点图第一帧 曝光代码 #2
if (timestamp > 1440727200000 && timestamp <= 1440813600000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_2.html";
}
// 0829号10点1440813600000 - 30号10点1440900000000 GIRL首页焦点图第一帧 曝光代码 #6
else if (timestamp > 1440813600000 && timestamp <= 1440900000000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_6.html";
}
// 0831号10点1440986400000 - 1号 10点1441072800000 GIRL首页焦点图第一帧 曝光代码 #2
else if (timestamp > 1440986400000 && timestamp <= 1441072800000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_2.html";
}
// 0901号10点1441072800000 - 2号10点 1441159200000 GIRL右侧标识 曝光代码 #4
else if (timestamp > 1441072800000 && timestamp <= 1441159200000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_4.html";
}
// 0902号10点1441159200000 - 3号10点 1441245600000 GIRL首页焦点图第一帧 曝光代码 #6
else if (timestamp > 1441159200000 && timestamp <= 1441245600000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_6.html";
}
// 0907号10点1441591200000 - 8号10点 1441677600000 GIRL首页焦点图第一帧 曝光代码 #2
else if (timestamp > 1441591200000 && timestamp <= 1441677600000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_2.html";
}
// 0909号10点1441764000000 - 10号10点 1441850400000 GIRL首页焦点图第一帧 曝光代码 #6
else if (timestamp > 1441764000000 && timestamp <= 1441850400000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_6.html";
}
// 0911号10点1441936800000 - 12号10点 1442023200000 GIRL首页焦点图第一帧 曝光代码 #6
else if (timestamp > 1441936800000 && timestamp <= 1442023200000) {
i.src="http://ad.yoho.cn/yoho/Yoho_Ad20150828_6.html";
}
i.scrolling="no"; i.frameborder="0"; i.width="0"; i.height="0";
document.getElementById("div-adv-iframe").appendChild(i);
};
if (window.addEventListener) {
window.addEventListener("load", createIframe, false);
} else if (window.attachEvent) {
window.attachEvent("onload", createIframe);
} else {
window.onload = createIframe;
}
</script>
{{> layout/footer_fan}}