Authored by tmq

时间样式

... ... @@ -6,7 +6,7 @@
<!-- <h3>潮流嘉年华</h3> -->
<div class="item-info">
<a class="fluid-tag item-tag brand-info" href="/news/index/tag/<?php echo $this->view->info['tag']?>"><?php echo $this->view->info['tag']?></a>
<span class="item-time"><?php $en = array('01'=>'January','02'=>'February','03'=>'March','04'=>'April','05'=>'May','06'=>'June','07'=>'July','08'=>'August','09'=>'September','10'=>'October','11'=>'November','12'=>'December');$m=date('m', $this->view->info['create_time']);echo $en[$m]?>&nbsp;&nbsp;&nbsp;<?php ECHO $m=date('d,Y', $this->view->info['create_time'])?></span></span>
<span class="item-time"><?php $en = array('01'=>'January','02'=>'February','03'=>'March','04'=>'April','05'=>'May','06'=>'June','07'=>'July','08'=>'August','09'=>'September','10'=>'October','11'=>'November','12'=>'December');$m=date('m', $this->view->info['create_time']);echo $en[$m]?>&nbsp;<?php ECHO $m=date('d,Y', $this->view->info['create_time'])?></span></span>
</div>
</div>
<div class="detail-body">
... ...
... ... @@ -45,7 +45,7 @@ $width = 342;
break;
}
?>" href="/news/index/tag/<?php echo $news['tag']?>"><?php echo $news['tag']?></a>
<span class="item-time"><?php $en = array('01'=>'January','02'=>'February','03'=>'March','04'=>'April','05'=>'May','06'=>'June','07'=>'July','08'=>'August','09'=>'September','10'=>'October','11'=>'November','12'=>'December');$m=date('m', $news['create_time']);echo $en[$m]?>&nbsp;&nbsp;&nbsp;<?php ECHO $m=date('d,Y', $news['create_time'])?></span>
<span class="item-time"><?php $en = array('01'=>'January','02'=>'February','03'=>'March','04'=>'April','05'=>'May','06'=>'June','07'=>'July','08'=>'August','09'=>'September','10'=>'October','11'=>'November','12'=>'December');$m=date('m', $news['create_time']);echo $en[$m]?>&nbsp;<?php ECHO $m=date('d,Y', $news['create_time'])?></span>
</div>
<div class="content">
<h2 <?php echo $news['main_title_type'] == 1 ? 'class="volupia"':'';?>>
... ...