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

70 lines
2.9 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->review);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/mdreview.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('元数据评审');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id='sidebar'>
<div id='leftnavi'>
<?= $this->partial('review/navi.phtml'); ?>
</div>
<ul>
<li class="title">统计</li>
<li>专家:<?php echo $this->stat['experts']; ?></li>
<?php if ($this->stat['draft']) : ?>
<li>投稿:<?php echo $this->stat['draft']; ?></li>
<?php endif; ?>
<li>接收:<?php echo $this->stat['accept']; ?></li>
<li>评审:<?php echo $this->stat['inreview']; ?></li>
<li>完成:<?php echo $this->stat['reviewed']; ?></li>
<li>参与者:<?php echo $this->stat['openreviewuser']; ?></li>
<li>评审数:<?php echo $this->stat['openreview']; ?></li>
</ul>
</div>
<div id='indexbody'>
<?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>