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(' - ');
|
2013-11-10 08:34:18 +00:00
|
|
|
|
$this->breadcrumb('<a href="/">Home</a>');
|
|
|
|
|
$this->breadcrumb('<a href="/archives/">News & Events</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'));
|
2013-04-17 01:56:37 +00:00
|
|
|
|
$this->headLink()->appendStylesheet('/css/news.css');
|
2012-12-03 10:08:25 +00:00
|
|
|
|
?>
|
2013-03-25 09:21:37 +00:00
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="span3">
|
2013-04-09 12:52:14 +00:00
|
|
|
|
<div class="bs-review-nav sidebar-nav">
|
2013-04-09 13:25:30 +00:00
|
|
|
|
<ul class="nav nav-list bs-review-sidenav">
|
2013-11-10 08:34:18 +00:00
|
|
|
|
<li><a href="/archives"><i class="icon-chevron-right"></i>News & Events</a></li>
|
2013-03-25 09:21:37 +00:00
|
|
|
|
<?php
|
|
|
|
|
if(count($this->types))
|
|
|
|
|
{
|
|
|
|
|
foreach($this->types as $k=>$v)
|
2012-12-03 10:08:25 +00:00
|
|
|
|
{
|
2013-03-25 09:21:37 +00:00
|
|
|
|
$haed = "";
|
|
|
|
|
if(!empty($v[$this->deepField])) {$haed = str_repeat(' ',$v[$this->deepField]);}
|
2013-11-10 08:34:18 +00:00
|
|
|
|
echo '<li'.($v['code']==$this->type?' class="active"':'').'><a href="'.$v['url'].'"><i class="icon-chevron-right"></i>'.$haed.$v['title_en'].'</a></li>';
|
2013-03-25 09:21:37 +00:00
|
|
|
|
$haed = "";
|
2012-12-03 10:08:25 +00:00
|
|
|
|
}
|
2013-03-25 09:21:37 +00:00
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
</ul>
|
2012-12-03 10:08:25 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-03-25 09:21:37 +00:00
|
|
|
|
<div class="span9" id="archive_body">
|
2013-04-17 01:56:37 +00:00
|
|
|
|
<h3 class="text-center"><?php echo $this->infos['title'];?></h3>
|
2013-11-10 08:34:18 +00:00
|
|
|
|
<div class="text-center">[<?php echo date("Y-m-d",strtotime($this->infos['ts_published']));?>] From : <?php echo $this->infos['source'];?></div>
|
2012-12-05 07:12:38 +00:00
|
|
|
|
<?php if(!empty($this->mdinfo)){?>
|
2012-12-07 07:49:37 +00:00
|
|
|
|
<?php foreach($this->mdinfo as $v){ ?>
|
2013-11-10 08:34:18 +00:00
|
|
|
|
<div class="info">Related data: <a href="/data/<?= $v['uuid']?>"><?= $v['title']?></a></div>
|
2012-12-07 07:49:37 +00:00
|
|
|
|
<?php } } ?>
|
2013-04-09 12:52:14 +00:00
|
|
|
|
<div class="media">
|
2013-04-09 13:33:43 +00:00
|
|
|
|
<div class="pull-left">
|
|
|
|
|
<?php echo $this->infos['body'];?>
|
|
|
|
|
</div>
|
|
|
|
|
<?php
|
2012-12-04 04:34:47 +00:00
|
|
|
|
if(!empty($this->infos['image']))
|
|
|
|
|
{
|
2013-04-09 13:25:30 +00:00
|
|
|
|
echo ' <a class="inline" href="#"><img class="inline span3" src="'.$this->infos['image'].'" data-src="holder.js/128x128" /></a>';
|
2012-12-04 04:34:47 +00:00
|
|
|
|
}
|
2013-04-09 13:25:30 +00:00
|
|
|
|
?>
|
2012-12-03 10:08:25 +00:00
|
|
|
|
</div>
|
2013-03-25 09:21:37 +00:00
|
|
|
|
</div>
|
2012-12-03 10:08:25 +00:00
|
|
|
|
</div>
|