2011-10-17 09:23:30 +00:00
|
|
|
<?php
|
2011-11-01 02:51:51 +00:00
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
$this->headTitle($this->config->title->review);
|
|
|
|
$this->headTitle('接收元数据');
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
$this->headLink()->appendStylesheet('/css/mdreview.css');
|
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
|
|
$this->breadcrumb('<a href="/review">'.$this->config->title->review.'</a>');
|
|
|
|
$this->breadcrumb('接收元数据');
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
2011-10-28 02:32:39 +00:00
|
|
|
$this->headScript()->appendFile('/js/pubfunc.js');
|
2011-10-17 09:23:30 +00:00
|
|
|
?>
|
2013-03-26 03:56:42 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="span3">
|
|
|
|
<?= $this->partial('review/navi.phtml'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="span9">
|
|
|
|
<div id='mdlist'>
|
|
|
|
<?php if (!empty($this->metadata)) : ?>
|
|
|
|
<?php echo $this->page->getNavigation(); ?>
|
|
|
|
<hr />
|
|
|
|
<?php foreach($this->metadata as $md) :
|
|
|
|
$thumburl='/gndata/'.sprintf('%05d',floor(($md['gid']+0.1)/100)*100).'-'.sprintf('%05d',ceil(($md['gid']+0.1)/100)*100-1)."/".$md['gid'];
|
|
|
|
$thumburl.='/public/'.str_replace('_s.','.',$md['filename']);
|
|
|
|
?>
|
|
|
|
<div class="media" style="border-bottom:1px dashed #ccc;">
|
|
|
|
<a class="pull-left" href="#">
|
|
|
|
<img class="media-object pull-left" src="/service/thumb/id/<?php echo $md['id'];?>">
|
|
|
|
</a>
|
|
|
|
<div class="media-body">
|
|
|
|
<h4 class="media-heading"><a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']); ?> </a>【接收时间:<?php echo date('Y-m-d',strtotime($md['ts_accepted'])); ?>】</h4>
|
|
|
|
<?php if ($md['status']!=5) : ?>
|
|
|
|
<a href="/review/review/uuid/<?php echo $md['uuid'];?>"><img src="/images/review.png" alt="查看评审页" title="进行数据评审"></a>
|
|
|
|
<?php endif; ?>
|
|
|
|
<p><?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?></p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
<hr class="clear"/>
|
|
|
|
<?php echo $this->page->getNavigation();
|
|
|
|
else :
|
|
|
|
?>
|
|
|
|
<div>
|
|
|
|
<p>当前没有对应元数据。</p>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
2011-11-01 02:51:51 +00:00
|
|
|
</div>
|