westdc-zf1/application/default/views/scripts/review/index.phtml

54 lines
2.8 KiB
PHTML
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
$config = Zend_Registry::get('config');
$this->headTitle($config->title->site);
$this->headTitle($config->title->mdreview);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/mdreview.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/review">元数据评审</a>');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id='indexbody'>
<h3>目前系统中专家库为<?php echo $this->stat['experts']; ?>人,新投稿元数据<?php echo $this->stat['draft']; ?>条,已接收元数据<?php echo $this->stat['accept']; ?>条,有<?php echo $this->stat['inreview']; ?>条元数据正在评审中,已完成评审元数据<?php echo $this->stat['reviewed']; ?>条,有<?php echo $this->stat['openreviewuser']; ?>个用户参与了<?php echo $this->stat['openreview']; ?>次评审。 <a href="/review/myreview">我参审的元数据</a></h3>
<?php if ($this->mdreceived) : ?>
<ul>
<div class="title"><a href="/review/draft">元数据:最新收稿</a></div>
<?php foreach($this->mdreceived as $md) : ?>
<div class="mditem">
<li> <img src="/images/westdc_20w.gif" /> <?php echo $this->escape($md['title']);?>(收稿时间:<?php echo $md['ts_created'];?></li>
</div>
<?php endforeach; ?>
<li class="more"><a href="/review/draft">更多>></a></li>
</ul>
<?php endif; if ($this->mdaccepted) : ?>
<ul>
<div class="title"><a href="/review/accept">元数据:已接收</a></div>
<?php foreach($this->mdaccepted as $md) : ?>
<div class="mditem">
<li> <img src="/images/westdc_20w.gif" /> <?php echo $this->escape($md['title']);?> [<a href="/review/review/uuid/<?php echo $md['uuid'];?>">评审</a> <a href="/data/<?php echo $md['uuid'];?>">查看</a>]</li>
</div>
<?php endforeach; ?>
<li class="more"><a href="/review/accept">更多>></a></li>
</ul>
<?php endif; if ($this->mdinreview) : ?>
<ul>
<div class="title"><a href="/review/inreview">元数据:送审中</a></div>
<?php foreach($this->mdinreview as $md) : ?>
<div class="mditem">
<li> <img src="/images/westdc_20w.gif" /> <?php echo $this->escape($md['title']);?> [<a href="/review/review/uuid/<?php echo $md['uuid'];?>">评审</a> <a href="/data/<?php echo $md['uuid'];?>">查看</a>]</li>
</div>
<?php endforeach; ?>
<li class="more"><a href="/review/inreview">更多>></a></li>
</ul>
<?php endif; if ($this->mdreviewed) : ?>
<ul>
<div class="title"><a href="/review/reviewed">元数据:最新完成评审</a></div>
<?php foreach($this->mdreviewed as $md) : ?>
<div class="mditem">
<li> <img src="/images/westdc_20w.gif" /> <a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a> </li>
</div>
<?php endforeach; ?>
<li class="more"><a href="/review/reviewed">更多>></a></li>
</ul>
<?php endif; ?>
</div>