调整视图

This commit is contained in:
Li Jianxuan 2011-10-08 09:02:42 +00:00
parent 271f266336
commit 5aa28f17c7
2 changed files with 14 additions and 9 deletions

View File

@ -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 = "";
@ -209,14 +212,15 @@ class Admin_ReviewController extends Zend_Controller_Action
$paginator->setView($this->view);
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;
}

View File

@ -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>