2009-03-06 03:20:46 +00:00
|
|
|
<?php
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
$this->headTitle($this->config->title->data);
|
|
|
|
$this->headTitle('全部浏览');
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
$this->headLink()->appendStylesheet('/css/metadata.css');
|
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
|
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
2009-12-18 13:37:32 +00:00
|
|
|
$this->breadcrumb('浏览');
|
2009-03-06 03:20:46 +00:00
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
?>
|
|
|
|
<div id='tools'>
|
|
|
|
<?= $this->partial('data/tools.phtml'); ?>
|
|
|
|
</div>
|
|
|
|
<?php echo $this->page->getNavigation(); ?>
|
|
|
|
<hr />
|
2011-10-26 06:19:08 +00:00
|
|
|
<?php foreach($this->metadata as $md) : ?>
|
2013-03-28 03:07:58 +00:00
|
|
|
<div class="media">
|
|
|
|
<a class="pull-left" href="#">
|
|
|
|
<img class="media-object" src="/service/thumb/id/<?php echo $md['id'];?>" data-src="holder.js/128x128">
|
|
|
|
</a>
|
|
|
|
<div class="media-body">
|
|
|
|
<h4 class="media-heading"><a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a></h4>
|
2009-03-06 03:20:46 +00:00
|
|
|
<div class="summary"><?php echo str_replace(array("\r\n", "\n", "\r"),'<br />',mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']));?></div>
|
|
|
|
</div>
|
2013-03-28 03:07:58 +00:00
|
|
|
</div>
|
2009-03-06 03:20:46 +00:00
|
|
|
<?php endforeach; ?>
|
2009-11-27 07:31:46 +00:00
|
|
|
<?php echo $this->page->getNavigation(); ?>
|