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