Authored by whb

修改现场活动显示为2015年的

... ... @@ -2,10 +2,10 @@
<?php $this->_block('main');?>
<div class="scene-tab">
<ul class="clearfix">
<?php
$navs = current($this->view->navs);
ksort($navs);
foreach($navs as $nav):?>
<?php $navs = current($this->view->navs);ksort($navs);
foreach($navs as $nav):
if(strtotime('2015-09-20 00:00:00') > $nav['timestamp']) continue;
?>
<li
<?php if($nav['timestamp'] == $this->view->currentday && $nav['enable']) echo 'class="current"';
else if (!$nav['enable']) echo 'class="disable"';?>
... ... @@ -16,7 +16,7 @@
</ul>
</div>
<div class="scene-content">
<?php if($this->view->currentday>time()):?>
<?php if($this->view->currentday>strtotime('2015-09-20 00:00:00')):?>
<img src="<?php echo SITE_RES.'/images/yohood/comingsoon.jpg';?>" style="width:100%;"/>
<?php else:?>
<div class="main-layout current clearfix">
... ...