Authored by tmq

品牌样式

... ... @@ -13,7 +13,7 @@
</div>
<a href="javascript:;" class="brand-close-btn iconfont">&#xe606;</a>
<?php if(!empty($this->view->news)):?>
<div class="related-post">
<div class="related-post brand-related-post">
<h3>相关资讯</h3>
<?php foreach($this->view->news as $val):?>
<div class="post-list main-layout">
... ... @@ -27,11 +27,12 @@
</a>
</div>
<div class="content">
<h2 <?php echo $val['main_title_type'] == 1 ? 'class="volupia"':'';?>>
<h2 class="volupia">
<a href="<?php echo url('news/detail',array('id' => $val['id']))?>" target="_blank">
<?php echo Util_StringHelper::substr_cn($val['title'], 46);?>
</a>
</h2>
<p class="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', $val['create_time']);echo $en[$m]?>&nbsp;&nbsp;&nbsp;<?php ECHO $m=date('d.Y', $val['create_time'])?></p>
</div>
</div>
</div>
... ...