调整视图
This commit is contained in:
parent
271f266336
commit
5aa28f17c7
|
@ -182,9 +182,12 @@ class Admin_ReviewController extends Zend_Controller_Action
|
|||
|
||||
$this->view->id = $id;
|
||||
|
||||
if(!empty($stid) && !empty($uid))
|
||||
if(!empty($submit))
|
||||
{
|
||||
|
||||
if(is_array($exps))
|
||||
{
|
||||
echo "s";
|
||||
}
|
||||
}
|
||||
|
||||
$searchjoin = "";
|
||||
|
@ -210,13 +213,14 @@ class Admin_ReviewController extends Zend_Controller_Action
|
|||
Zend_View_Helper_PaginationControl::setDefaultViewPartial('pagination_param.phtml');
|
||||
$this->view->paginator=$paginator;
|
||||
|
||||
if(!empty($submit))
|
||||
{
|
||||
if(is_array($exps))
|
||||
{
|
||||
$sql = "select m.title from metadata m
|
||||
left join mdstatus s on s.uuid=m.uuid
|
||||
where s.id='$id'";
|
||||
|
||||
$re = $this->db->query($sql);
|
||||
$title = $re->fetch();
|
||||
$this->view->md=$title;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -65,6 +65,7 @@
|
|||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
<input type="submit" value="邀请选中的专家评审《<?php echo $this->md['title'];?>》" />
|
||||
</form>
|
||||
<div style="width:50%;text-align:left;">
|
||||
<?= $this->paginator; ?></div>
|
||||
|
|
Loading…
Reference in New Issue