2012-03-27 07:02:36 +00:00
|
|
|
|
<?php
|
2012-04-12 04:06:58 +00:00
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
|
$this->headTitle('新闻中心');
|
2012-03-27 07:02:36 +00:00
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
|
$this->headLink()->appendStylesheet('/css/news.css');
|
|
|
|
|
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
|
2012-04-12 04:06:58 +00:00
|
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
2012-04-09 07:50:57 +00:00
|
|
|
|
$this->breadcrumb('新闻中心');
|
2012-03-27 07:02:36 +00:00
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
|
?>
|
|
|
|
|
<div class="full center clear" id="body">
|
|
|
|
|
<div class="w300 Lfloat clear">
|
|
|
|
|
<div class="tbox">
|
2012-04-12 04:06:58 +00:00
|
|
|
|
<div class="title">新闻分类</div>
|
2012-03-27 07:02:36 +00:00
|
|
|
|
<div class="content navmenu">
|
|
|
|
|
<ul>
|
|
|
|
|
<?php
|
|
|
|
|
if(count($this->types))
|
|
|
|
|
{
|
|
|
|
|
foreach($this->types as $k=>$v)
|
|
|
|
|
{
|
2012-11-28 09:27:53 +00:00
|
|
|
|
$haed = "";
|
|
|
|
|
if(!empty($v[$this->deepField])) {$haed = str_repeat(' ',$v[$this->deepField]);}
|
|
|
|
|
echo '<li><a href="/news/'.$v['code'].'">'.$haed.$v['title'].'</a></li>';
|
|
|
|
|
$haed = "";
|
2012-03-27 07:02:36 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="Rfloat clear" id="archives_list">
|
2012-11-07 02:35:58 +00:00
|
|
|
|
<?php
|
|
|
|
|
foreach($this->lists as $v)
|
|
|
|
|
{?>
|
|
|
|
|
<?php if(count($v['list'])>0) {?>
|
|
|
|
|
<div class="list-archives">
|
2012-11-28 09:27:53 +00:00
|
|
|
|
<div class="list-title"><a href="/news/<?= $v['code'] ?>"><?= $v['title'] ?></a></div>
|
2012-11-07 02:35:58 +00:00
|
|
|
|
<div class="list-content">
|
|
|
|
|
<ul>
|
|
|
|
|
<?php foreach($v['list'] as $arc)
|
|
|
|
|
{?>
|
2012-11-28 09:27:53 +00:00
|
|
|
|
<li><a href="/news/<?= $arc['code']?>/archive-<?= $arc['id']?>.html"><?= $arc['title'] ?></a></li>
|
2012-11-07 02:35:58 +00:00
|
|
|
|
<?php }?>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<?php } }
|
2012-03-27 07:02:36 +00:00
|
|
|
|
?>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<script>
|
|
|
|
|
$('#archives_list').width($('#body').width()-320);
|
|
|
|
|
</script>
|