diff --git a/application/default/controllers/ReviewController.php b/application/default/controllers/ReviewController.php
index ff42c5ef..6a098113 100644
--- a/application/default/controllers/ReviewController.php
+++ b/application/default/controllers/ReviewController.php
@@ -105,6 +105,50 @@ class ReviewController extends Zend_Controller_Action
$keyword = $this->_request->getParam('q');
$search = $this->_request->getParam('search');
+ try{
+
+ $wheresql = array();
+ $wheresql[]=" ms.status=0 ";
+
+ if(!empty($keyword) && !empty($search))
+ {
+ if (preg_match("/[<|>|#|$|%|^|*|(|)|{|}|'|\"|;|:]/i",$keyword) || !is_numeric($search))
+ {
+ $this->messenger->addMessage('您的输入的搜索条件包含非法请求,请不要输入特殊符号');
+ $this->_redirect('/review/draft');
+ }//非法请求过滤
+ $this->view->keyword = $keyword;
+ $wheresql[] = " md.title like '%$keyword%' ";
+ }
+
+ $wheresql = join(' and ',$wheresql);
+
+ $sql = "select ms.uuid,ms.status,ms.ts_created,md.title,md.author from mdstatus ms
+ left join metadata md on md.uuid=ms.uuid
+ where $wheresql";
+
+ $rs = $this->db->query($sql);
+ $rows = $rs->fetchAll();
+
+ $paginator = Zend_Paginator::factory($rows);
+ $paginator->setCurrentPageNumber($this->_getParam('page'));
+ $paginator->setItemCountPerPage($this->view->config->page->max);
+ $paginator->setView($this->view);
+ Zend_View_Helper_PaginationControl::setDefaultViewPartial('pagination_param.phtml');
+ $this->view->paginator=$paginator;
+
+ }catch(Exception $e){
+ $this->messenger->addMessage('查询失败,请稍后重试 :(');
+ $this->_redirect('/review/draft');
+ }
+
+ }//最新收稿
+
+ function acceptAction(){
+
+ $keyword = $this->_request->getParam('q');
+ $search = $this->_request->getParam('search');
+
try{
$wheresql = array();
diff --git a/application/default/views/scripts/pagination_param.phtml b/application/default/views/scripts/pagination_param.phtml
index bc11a2c9..26489fd4 100644
--- a/application/default/views/scripts/pagination_param.phtml
+++ b/application/default/views/scripts/pagination_param.phtml
@@ -1,26 +1,26 @@
-pageCount): ?>
-
+pageCount): ?>
+
\ No newline at end of file
diff --git a/application/default/views/scripts/review/accept.phtml b/application/default/views/scripts/review/accept.phtml
new file mode 100644
index 00000000..4793fa76
--- /dev/null
+++ b/application/default/views/scripts/review/accept.phtml
@@ -0,0 +1,57 @@
+headTitle($config->title->site);
+$this->headTitle($config->title->mdreview);
+$this->headTitle()->setSeparator(' - ');
+$this->headLink()->appendStylesheet('/css/mdreview.css');
+$this->breadcrumb('首页 ');
+$this->breadcrumb('元数据评审 ');
+$this->breadcrumb()->setSeparator(' > ');
+?>
+
+
+msg or $this->messages) :?>
+
+msg) : ?>
+ msg; ?>
+messages): foreach($this->messages as $msg): ?>
+
+
+
+
+
+
+
最新收稿的元数据:
+
+
+
+
+
+
+ 元数据标题
+ 操作
+
+
+
+ paginator)):
+ $autoindex=0;
+ foreach ($this->paginator as $item):
+ $autoindex++;?>
+
+
+
+ 评审 查看
+
+
+
+
+
+
= $this->paginator; ?>
+
+
\ No newline at end of file
diff --git a/application/default/views/scripts/review/draft.phtml b/application/default/views/scripts/review/draft.phtml
index 672e4988..b0205129 100644
--- a/application/default/views/scripts/review/draft.phtml
+++ b/application/default/views/scripts/review/draft.phtml
@@ -26,11 +26,11 @@ setTimeout("document.getElementsByClassName('box-info').remove(0)",5000);
最新收稿的元数据:
+
-
+
元数据标题
diff --git a/application/default/views/scripts/review/myreview.phtml b/application/default/views/scripts/review/myreview.phtml
index d4c00d37..239c2a6a 100644
--- a/application/default/views/scripts/review/myreview.phtml
+++ b/application/default/views/scripts/review/myreview.phtml
@@ -26,11 +26,11 @@ setTimeout("document.getElementsByClassName('box-info').remove(0)",5000);
我参审的元数据:
-