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

58 lines
1.9 KiB
PHTML
Raw Normal View History

<?php
2011-10-14 07:32:58 +00:00
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->review);
$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/reviewed" method="GET">
2011-10-18 08:53:45 +00:00
<input class="q" type="text" id="q" name="q" value="<?php echo $this->keyword;?>" />
<input type="hidden" name="search" value="1" />
2011-10-18 08:53:45 +00:00
<input type="submit" class="btn" value="搜索" /></form>
2011-10-18 08:53:45 +00:00
<table class="stylized">
<thead>
<tr>
<th>元数据标题</th>
<th>评审结束时间</th>
2011-10-18 08:53:45 +00:00
<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'; ?>">
2011-10-18 08:53:45 +00:00
<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",strtotime($item['ts_finished']));?>
</td>
2011-10-18 08:53:45 +00:00
<td><a href="/review/review/uuid/<?php echo $item['uuid'];?>">查看评审页</a></td>
</tr>
<?php endforeach; endif; ?>
</tbody>
</table>
<div class="pagenavi"><?= $this->paginator; ?></div>
</div>