2012-12-03 10:08:25 +00:00
|
|
|
|
<?php
|
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
|
$this->headTitle('新闻中心');
|
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
2014-06-12 06:46:42 +00:00
|
|
|
|
$this->breadcrumb('新闻中心');
|
2013-04-16 09:59:33 +00:00
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
2014-06-12 06:46:42 +00:00
|
|
|
|
$this->headLink()->appendStylesheet('/css/news.css');
|
|
|
|
|
$this->theme->AppendPlus($this,'masonry');
|
2012-12-03 10:08:25 +00:00
|
|
|
|
?>
|
2014-06-12 06:46:42 +00:00
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="span3">
|
|
|
|
|
<div class="sidebar-nav bs-review-nav">
|
|
|
|
|
<ul class="nav nav-list bs-review-sidenav">
|
|
|
|
|
<li class="active"><a href="/archives"><i class="icon-chevron-right"></i>新闻中心</a></li>
|
|
|
|
|
<?php
|
2013-03-22 09:17:19 +00:00
|
|
|
|
if(count($this->types))
|
|
|
|
|
{
|
|
|
|
|
foreach($this->types as $k=>$v)
|
2012-12-03 10:08:25 +00:00
|
|
|
|
{
|
2013-03-22 09:17:19 +00:00
|
|
|
|
$haed = "";
|
|
|
|
|
if(!empty($v[$this->deepField])) {$haed = str_repeat(' ',$v[$this->deepField]);}
|
2014-06-12 06:46:42 +00:00
|
|
|
|
echo '<li><a href="'.$v['url'].'"><i class="icon-chevron-right"></i>'.$haed.$v['title'].'</a></li>';
|
2013-03-22 09:17:19 +00:00
|
|
|
|
$haed = "";
|
2012-12-03 10:08:25 +00:00
|
|
|
|
}
|
2013-03-22 09:17:19 +00:00
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
</ul>
|
2014-06-12 06:46:42 +00:00
|
|
|
|
</div>
|
2012-12-03 10:08:25 +00:00
|
|
|
|
</div>
|
2014-06-12 08:59:00 +00:00
|
|
|
|
|
2013-03-22 09:17:19 +00:00
|
|
|
|
<div class="span9">
|
2014-06-12 08:59:00 +00:00
|
|
|
|
<div class="Lbox">
|
2014-06-12 06:46:42 +00:00
|
|
|
|
<?php
|
|
|
|
|
foreach($this->lists as $v)
|
|
|
|
|
{?>
|
|
|
|
|
<?php if(count($v['list'])>0) {?>
|
2014-06-18 13:46:43 +00:00
|
|
|
|
<h4 class="box-title"><a href="<?= $v['url'] ?>"><?= $v['title'] ?></a></h4>
|
|
|
|
|
<ol >
|
2014-06-12 06:46:42 +00:00
|
|
|
|
<?php foreach($v['list'] as $arc){?>
|
2014-06-12 08:59:00 +00:00
|
|
|
|
<li><a href="<?= $arc['url']?>"><?= $arc['title'] ?></a><small>[<?php echo date("Y-m-d",strtotime( $arc['ts_published'] )); ?>]</small></li>
|
2014-06-12 06:46:42 +00:00
|
|
|
|
<?php }?>
|
2014-06-18 13:46:43 +00:00
|
|
|
|
</ol>
|
|
|
|
|
<?php } }?>
|
2014-06-12 08:59:00 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div class="pagenavi">
|
|
|
|
|
<?= $this->paginator; ?>
|
|
|
|
|
</div>
|
2012-12-03 10:08:25 +00:00
|
|
|
|
</div>
|
2014-06-12 08:59:00 +00:00
|
|
|
|
<!-- /.span9 -->
|
|
|
|
|
|
2013-04-16 09:59:33 +00:00
|
|
|
|
</div>
|
2014-06-12 06:46:42 +00:00
|
|
|
|
<script>
|
|
|
|
|
$('#container').masonry({
|
|
|
|
|
itemSelector : '.items',
|
|
|
|
|
});
|
|
|
|
|
</script>
|