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>');
|
2012-12-04 09:31:14 +00:00
|
|
|
|
$this->breadcrumb('<a href="/archives/">新闻中心</a>');
|
2012-12-03 10:08:25 +00:00
|
|
|
|
$this->breadcrumb($this->title);
|
2013-04-09 13:06:08 +00:00
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
2018-05-12 09:12:27 +00:00
|
|
|
|
$this->headLink()->appendStylesheet('/static-sanji-v2/css/archive.css');
|
|
|
|
|
|
2012-12-03 10:08:25 +00:00
|
|
|
|
?>
|
2018-05-12 09:12:27 +00:00
|
|
|
|
<div class="content-warp">
|
|
|
|
|
|
2018-05-12 10:00:07 +00:00
|
|
|
|
<div class="list-warp container" >
|
2018-05-12 09:12:27 +00:00
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-md-3">
|
|
|
|
|
<div class="list-group">
|
|
|
|
|
<a href="#" class="list-group-item active">
|
|
|
|
|
新闻动态
|
|
|
|
|
</a>
|
|
|
|
|
<?php
|
|
|
|
|
if(count($this->types))
|
|
|
|
|
{
|
|
|
|
|
foreach($this->types as $k=>$v)
|
|
|
|
|
{
|
|
|
|
|
$haed = "";
|
|
|
|
|
if(!empty($v[$this->deepField])) {$haed = str_repeat(' ',$v[$this->deepField]);}
|
|
|
|
|
echo '<a href="'.$v['url'].'" class="list-group-item">'.$haed.$v['title'].'</a>';
|
|
|
|
|
$haed = "";
|
|
|
|
|
}
|
|
|
|
|
}
|
2018-02-04 07:05:06 +00:00
|
|
|
|
?>
|
2018-05-12 09:12:27 +00:00
|
|
|
|
</div>
|
2018-05-16 14:28:37 +00:00
|
|
|
|
<a href="#" class="thumbnail">
|
|
|
|
|
<img src="/images/sea-ice.jpg" alt="sea ice">
|
|
|
|
|
</a>
|
2018-05-12 09:12:27 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
<ol class="breadcrumb">
|
2018-05-12 12:01:40 +00:00
|
|
|
|
<li><a href="/">首页</a></li>
|
|
|
|
|
<li><a href="/archives/news/localnews" class="active">新闻动态</a></li>
|
2018-05-12 09:12:27 +00:00
|
|
|
|
</ol>
|
|
|
|
|
<ul class="news-list">
|
2018-02-04 07:05:06 +00:00
|
|
|
|
<?php
|
2018-05-12 09:12:27 +00:00
|
|
|
|
if(count($this->paginator))
|
|
|
|
|
{
|
|
|
|
|
foreach ($this->paginator as $v)
|
|
|
|
|
{
|
|
|
|
|
?>
|
|
|
|
|
<li><a href="<?php echo $v['url']; ?>"><?php echo $v['title']; ?></a><span class="pull-right"><?php echo date("Y-m-d",strtotime( $v['ts_published'] )); ?></span></li>
|
|
|
|
|
<?php
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
echo '暂无数据';
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
</ul>
|
2018-05-12 10:00:07 +00:00
|
|
|
|
|
|
|
|
|
<div class="page">
|
|
|
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
|
|
|
|
</div>
|
2018-05-12 09:12:27 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
2018-02-04 07:05:06 +00:00
|
|
|
|
</div>
|
2018-05-12 10:00:07 +00:00
|
|
|
|
|
2013-04-09 13:06:08 +00:00
|
|
|
|
</div>
|
2018-02-04 07:05:06 +00:00
|
|
|
|
|