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>');
|
|
|
|
|
$this->breadcrumb('新闻中心');
|
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
|
?>
|
2013-03-22 09:17:19 +00:00
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="span3">
|
|
|
|
|
<div class="well sidebar-nav">
|
|
|
|
|
<ul class="nav nav-list">
|
|
|
|
|
<?php
|
|
|
|
|
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]);}
|
|
|
|
|
echo '<li><a href="'.$v['url'].'">'.$haed.$v['title'].'</a></li>';
|
|
|
|
|
$haed = "";
|
2012-12-03 10:08:25 +00:00
|
|
|
|
}
|
2013-03-22 09:17:19 +00:00
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
</ul>
|
2012-12-03 10:08:25 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-03-22 09:17:19 +00:00
|
|
|
|
<div class="span9">
|
|
|
|
|
<div class="row">
|
2012-12-03 10:08:25 +00:00
|
|
|
|
<?php
|
|
|
|
|
foreach($this->lists as $v)
|
|
|
|
|
{?>
|
|
|
|
|
<?php if(count($v['list'])>0) {?>
|
2013-03-22 09:17:19 +00:00
|
|
|
|
<div class="span4">
|
|
|
|
|
<h3><a href="<?= $v['url'] ?>"><?= $v['title'] ?></a></h3>
|
2012-12-03 10:08:25 +00:00
|
|
|
|
<div class="list-content">
|
2013-03-22 09:17:19 +00:00
|
|
|
|
<ul class="unstyled">
|
|
|
|
|
<?php foreach($v['list'] as $arc){?>
|
2012-12-03 10:08:25 +00:00
|
|
|
|
<li><a href="<?= $arc['url']?>"><?= $arc['title'] ?></a></li>
|
|
|
|
|
<?php }?>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<?php } }
|
|
|
|
|
?>
|
2013-03-22 09:17:19 +00:00
|
|
|
|
</div>
|
2012-12-03 10:08:25 +00:00
|
|
|
|
</div>
|
2013-03-25 09:21:37 +00:00
|
|
|
|
</div>
|