2012-12-03 10:08:25 +00:00
|
|
|
|
<?php
|
|
|
|
|
$config = Zend_Registry::get('config');
|
|
|
|
|
$this->headTitle($config->title->site);
|
|
|
|
|
$this->headTitle($this->infos['title']);
|
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
2012-12-28 03:33:36 +00:00
|
|
|
|
$this->breadcrumb('<a href="/archives/">新闻中心</a>');
|
2012-12-04 09:31:14 +00:00
|
|
|
|
$this->breadcrumb('<a href="/archives/'.$this->ptype.'/'.$this->type.'">'.$this->infos['typename'].'</a>');
|
2012-12-03 10:08:25 +00:00
|
|
|
|
$this->breadcrumb($this->infos['title']);
|
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
|
if(!empty($this->infos['keyword'])) $keyword = $this->infos['keyword']; else $keyword = $this->infos['title'];
|
|
|
|
|
$this->headMeta()->appendName('keywords', $keyword);
|
2013-04-09 13:25:30 +00:00
|
|
|
|
$this->headMeta()->appendName('description', mb_substr($this->infos['description'],0,180,'utf-8'));
|
2018-02-04 07:05:06 +00:00
|
|
|
|
$this->headLink()->appendStylesheet('/static-sanji/css/new-list.css');
|
|
|
|
|
$this->headLink()->appendStylesheet('/static-sanji/css/new-detail.css');
|
2012-12-03 10:08:25 +00:00
|
|
|
|
?>
|
2018-02-04 07:05:06 +00:00
|
|
|
|
<div class="body-warp">
|
|
|
|
|
<div class="nav" id="nav">
|
|
|
|
|
<ul>
|
|
|
|
|
<?php
|
|
|
|
|
if(count($this->types))
|
|
|
|
|
{
|
|
|
|
|
foreach($this->types as $k=>$v)
|
|
|
|
|
{
|
|
|
|
|
$haed = "";
|
|
|
|
|
if(!empty($v[$this->deepField])) {$haed = str_repeat(' ',$v[$this->deepField]);}
|
|
|
|
|
echo '<li><a href="'.$v['url'].'">'.$haed.$v['title'].'</a></li>';
|
|
|
|
|
$haed = "";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
?>
|
2013-03-25 09:21:37 +00:00
|
|
|
|
</ul>
|
2012-12-03 10:08:25 +00:00
|
|
|
|
</div>
|
2018-02-04 07:05:06 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="content-warp">
|
|
|
|
|
<div class="container">
|
|
|
|
|
<h1 class="text-center"><?php echo $this->infos['title'];?></h1>
|
|
|
|
|
<div class="text-center">[<?php echo date("Y-m-d",strtotime($this->infos['ts_published']));?>] 来源 : <?php echo $this->infos['source'];?></div>
|
|
|
|
|
<?php if(!empty($this->mdinfo)){?>
|
|
|
|
|
<?php foreach($this->mdinfo as $v){ ?>
|
2012-12-07 07:49:37 +00:00
|
|
|
|
<div class="info">相关数据:《<a href="/data/<?= $v['uuid']?>"><?= $v['title']?></a>》</div>
|
2018-02-04 07:05:06 +00:00
|
|
|
|
<?php } } ?>
|
|
|
|
|
<?php echo $this->infos['body'];?>
|
2013-03-25 09:21:37 +00:00
|
|
|
|
</div>
|
2012-12-03 10:08:25 +00:00
|
|
|
|
</div>
|