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

59 lines
1.8 KiB
PHTML

<?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='rightPanel'>
<?php if ($this->msg or $this->messages) :?>
<div class="box box-info">
<?php if ($this->msg) : ?>
<?php echo $this->msg; ?>
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
<?php echo $msg; ?>
<?php endforeach;endif; ?>
<script language="javascript">
setTimeout("document.getElementsByClassName('box-info').remove(0)",5000);
</script>
</div>
<?php endif; ?>
<h3>目前在审的元数据:</h3>
<form action="/review/inreview" method="POST">
<input class="q" type="text" id="q" name="q" value="<?php echo $this->keyword;?>" />
<input type="hidden" name="search" value="1" />
<input type="submit" class="btn" value="搜索" /></form>
<table class="stylized">
<thead>
<tr>
<th>元数据标题</th>
<th>收稿时间</th>
<th>状态</th>
</tr>
</thead>
<tbody id="datas">
<?php
if (count($this->paginator)):
foreach ($this->paginator as $item):
?>
<tr>
<td> <img src="/images/westdc_20w.gif" /> <a href="/review/review/uuid/<?php echo $item['uuid'];?>"><?php echo $item['title'];?></a></td>
<td>
<?php echo date("Y-m-d",strtotime($item['ts_created']));?>
</td>
<td>
<?php echo $item['status'];?>
</td>
</tr>
<?php endforeach; endif; ?>
</tbody>
</table>
<div class="pagenavi"><?= $this->paginator; ?></div>
</div>