57 lines
1.8 KiB
PHTML
57 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/draft" method="GET">
|
|
<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>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php
|
|
if (count($this->paginator)):
|
|
$autoindex=0;
|
|
foreach ($this->paginator as $item):
|
|
$autoindex++;?>
|
|
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
|
<td> <img src="/images/westdc_20w.gif" /> <a href="/data/<?php echo $item['uuid'];?>"><?php echo $item['title'];?></a></td>
|
|
<td>
|
|
<?php echo date("Y-m-d H:i",strtotime($item['ts_created']));?>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; endif; ?>
|
|
</tbody>
|
|
</table>
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
|
|
|
</div>
|