Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ued
/
yohogirls_mustache
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
hf
10 years ago
Commit
1303eb26ba7d9a1c284281f9e32e2ee0b3d268de
1 parent
15632ff8
modify home page template add nike advert exposure code
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
96 additions
and
0 deletions
actions/default/index.html
actions/default/index_hk.html
actions/default/index.html
View file @
1303eb2
...
...
@@ -79,4 +79,52 @@
</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_jian}}
...
...
actions/default/index_hk.html
View file @
1303eb2
...
...
@@ -77,4 +77,52 @@
</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}}
...
...
Please
register
or
login
to post a comment