Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOOD
·
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
whb
10 years ago
Commit
610526805b40824a590da43321878732413e84c9
1 parent
6f94c866
测式现场活动显示
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
website/view/script/activity/planmobile.php
website/view/script/activity/planmobile.php
View file @
6105268
<?php
$this
->
_extends
(
'layout/default_layout_mobile'
);
?>
<?php
$this
->
_block
(
'main'
);
?>
<?php
if
(
false
)
://
strtotime
(
'2015-09-18 23:59:00'
)
>
$this
->
view
->
currentday
&&
time
()
<
strtotime
(
'2015-09-18 23:59:00'
))
:
?>
<?php
if
(
strtotime
(
'2015-07-25 23:59:00'
)
>
$this
->
view
->
currentday
&&
time
()
<
strtotime
(
'2015-07-25 23:59:00'
))
:
//9-18
?>
<
img
src
=
"<?php echo SITE_RES.'/images/yohood/comingsoon.jpg';?>"
style
=
"width:100%;"
/>
<?
php
else
:?>
<
div
class
="
scene
-
tab
">
<ul class="
clearfix
">
<?php
$navs
= current(
$this->view
->navs);ksort(
$navs
);
foreach(
$navs
as
$nav
):
//if(strtotime('2015-09-18
00:00:00') >
$nav['timestamp']
) continue;
if(strtotime('2015-07-25
00:00:00') >
$nav['timestamp']
) continue;
?>
<li
<?php if(
$nav['timestamp']
==
$this->view
->currentday &&
$nav['enable']
) echo 'class="
current
"';
...
...
@@ -19,7 +19,7 @@
</ul>
</div>
<div
class=
"scene-content"
>
<?php
if
(
false
)
:
//(strtotime('2015-09-18 23:59:00') > $this->view->currentday && time() < strtotime('2015-09-18
23:59:00')):?>
<?php
if
(
strtotime
(
'2015-07-25 23:59:00'
)
>
$this
->
view
->
currentday
&&
time
()
<
strtotime
(
'2015-07-25
23:59:00'
))
:?>
<
img
src
=
"<?php echo SITE_RES.'/images/yohood/comingsoon.jpg';?>"
style
=
"width:100%;"
/>
<?
php
else
:?>
<
div
class
="
main
-
layout
current
clearfix
">
...
...
Please
register
or
login
to post a comment