1
|
<?php $this->_extends('layout/default_layout_mobile');?>
|
1
|
<?php $this->_extends('layout/default_layout_mobile');?>
|
2
|
<?php $this->_block('main');?>
|
2
|
<?php $this->_block('main');?>
|
3
|
-<?php if(strtotime('2015-09-18 23:59:00') > $this->view->currentday && time() < strtotime('2015-09-18 23:59:00')):?>
|
3
|
+<?php if(false)://strtotime('2015-09-18 23:59:00') > $this->view->currentday && time() < strtotime('2015-09-18 23:59:00')):?>
|
4
|
<img src="<?php echo SITE_RES.'/images/yohood/comingsoon.jpg';?>" style="width:100%;"/>
|
4
|
<img src="<?php echo SITE_RES.'/images/yohood/comingsoon.jpg';?>" style="width:100%;"/>
|
5
|
<?php else:?>
|
5
|
<?php else:?>
|
6
|
<div class="scene-tab">
|
6
|
<div class="scene-tab">
|
7
|
<ul class="clearfix">
|
7
|
<ul class="clearfix">
|
8
|
<?php $navs = current($this->view->navs);ksort($navs);
|
8
|
<?php $navs = current($this->view->navs);ksort($navs);
|
9
|
foreach($navs as $nav):
|
9
|
foreach($navs as $nav):
|
10
|
- if(strtotime('2015-09-18 00:00:00') > $nav['timestamp']) continue;
|
10
|
+ //if(strtotime('2015-09-18 00:00:00') > $nav['timestamp']) continue;
|
11
|
?>
|
11
|
?>
|
12
|
<li
|
12
|
<li
|
13
|
<?php if($nav['timestamp'] == $this->view->currentday && $nav['enable']) echo 'class="current"';
|
13
|
<?php if($nav['timestamp'] == $this->view->currentday && $nav['enable']) echo 'class="current"';
|
|
@@ -19,7 +19,7 @@ |
|
@@ -19,7 +19,7 @@ |
19
|
</ul>
|
19
|
</ul>
|
20
|
</div>
|
20
|
</div>
|
21
|
<div class="scene-content">
|
21
|
<div class="scene-content">
|
22
|
- <?php if(strtotime('2015-09-18 23:59:00') > $this->view->currentday && time() < strtotime('2015-09-18 23:59:00')):?>
|
22
|
+ <?php if(false): //(strtotime('2015-09-18 23:59:00') > $this->view->currentday && time() < strtotime('2015-09-18 23:59:00')):?>
|
23
|
<img src="<?php echo SITE_RES.'/images/yohood/comingsoon.jpg';?>" style="width:100%;"/>
|
23
|
<img src="<?php echo SITE_RES.'/images/yohood/comingsoon.jpg';?>" style="width:100%;"/>
|
24
|
<?php else:?>
|
24
|
<?php else:?>
|
25
|
<div class="main-layout current clearfix">
|
25
|
<div class="main-layout current clearfix">
|
|
@@ -57,8 +57,13 @@ |
|
@@ -57,8 +57,13 @@ |
57
|
<?php $this->_endblock();?>
|
57
|
<?php $this->_endblock();?>
|
58
|
<?php $this->_block('js');?>
|
58
|
<?php $this->_block('js');?>
|
59
|
<script type="text/javascript">
|
59
|
<script type="text/javascript">
|
60
|
- seajs.use(['zepto', 'mobile'],function($, mobile){
|
60
|
+ seajs.use(['mobile', 'lib/util/json'],function(mobile, json){
|
61
|
mobile.scene();
|
61
|
mobile.scene();
|
|
|
62
|
+ window.json = json;
|
62
|
})
|
63
|
})
|
|
|
64
|
+ function getClientShare()
|
|
|
65
|
+ {
|
|
|
66
|
+ //return window.json.stringify({title: shareTitle,desc: shareDesc,imgUrl: shareImg, link: shareLink});
|
|
|
67
|
+ }
|
63
|
</script>
|
68
|
</script>
|
64
|
<?php $this->_endblock();?> |
69
|
<?php $this->_endblock();?> |