修改新闻首页的布局
This commit is contained in:
parent
5421a8ff06
commit
f231426111
|
@ -31,19 +31,17 @@ $this->theme->AppendPlus($this,'masonry');
|
|||
|
||||
<div class="span9">
|
||||
<div class="Lbox">
|
||||
<h4 class="box-title">新闻列表</h4>
|
||||
<ol >
|
||||
<?php
|
||||
foreach($this->lists as $v)
|
||||
{?>
|
||||
<?php if(count($v['list'])>0) {?>
|
||||
|
||||
<h4 class="box-title"><a href="<?= $v['url'] ?>"><?= $v['title'] ?></a></h4>
|
||||
<ol >
|
||||
<?php foreach($v['list'] as $arc){?>
|
||||
<li><a href="<?= $arc['url']?>"><?= $arc['title'] ?></a><small>[<?php echo date("Y-m-d",strtotime( $arc['ts_published'] )); ?>]</small></li>
|
||||
<?php }?>
|
||||
|
||||
<?php } }?>
|
||||
</ol>
|
||||
<?php } }?>
|
||||
</div>
|
||||
<div class="pagenavi">
|
||||
<?= $this->paginator; ?>
|
||||
|
|
Loading…
Reference in New Issue