61 lines
2.2 KiB
PHTML
61 lines
2.2 KiB
PHTML
<?php
|
|
$this->headTitle($this->config->title->site);
|
|
$this->headTitle($this->config->title->mdreview);
|
|
$this->headTitle()->setSeparator(' - ');
|
|
$this->headLink()->appendStylesheet('/css/mdreview.css');
|
|
$this->headScript()->appendFile('/js/jquery-1.6.4.min.js');
|
|
$this->headScript()->appendFile('/js/jquery.masonry.min.js');
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
$this->breadcrumb('<a href="/review">元数据评审</a>');
|
|
$this->breadcrumb('我参审的元数据');
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
?>
|
|
<div id='myreview'>
|
|
|
|
<?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/myreview" 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>
|
|
|
|
<div class="wapper">
|
|
<?php if (count($this->paginator)): ?>
|
|
<ul id="container" style="width:100%">
|
|
<?php foreach ($this->paginator as $item): ?>
|
|
<li class="items">
|
|
<img class="thumb" src="/service/thumb/id/<?php echo $item['id'];?>" width="180" />
|
|
<a href="/data/<?php echo $item['uuid'];?>"><?php echo $item['title'];?></a>
|
|
<br />状态:<?php echo $item['status'];?>
|
|
<br /><a href="/review/review/uuid/<?php echo $item['uuid'];?>"><img src="/images/review.png" alt="查看评审页" title="进行数据评审"></a>
|
|
</li>
|
|
<?php endforeach;?>
|
|
</ul>
|
|
<?php endif; ?>
|
|
</div>
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
|
|
|
</div>
|
|
<script>
|
|
var $tumblelog = $('#container');
|
|
$tumblelog.imagesLoaded(function(){
|
|
$tumblelog.masonry({
|
|
itemSelector: '.items',
|
|
columnWidth: 240
|
|
});
|
|
});
|
|
$(".items").mouseover(function(){$(this).addClass("hover")}).mouseout(function(){$(this).removeClass("hover")})
|
|
</script>
|