func('tpl'); $action = 'start'; $storeid=$_COOKIE["storeid"]; $cur_store = $this->getStoreById($storeid); //$GLOBALS['frames'] = $this->getMainMenu2($storeid,$action); $GLOBALS['frames'] = $this->getNaveMenu($storeid, $action); $sql="select a.* ,b.name from " . tablename("wpdc_assess") . " a" . " left join " . tablename("wpdc_user") . " b on b.id=a.user_id where a.uniacid=:uniacid and a.id=:id"; $list=pdo_fetch($sql, array(':uniacid'=>$_W['uniacid'],':id'=>$_GPC['id'])); if (checksubmit('submit')) { $data['content']=$_GPC['content']; $data['reply']=$_GPC['reply']; $res=pdo_update("wpdc_assess",$data,array('id'=>$_GPC['id'])); if($res){ message('修改成功',$this->createWebUrl2('dlassess2',array()),'success'); }else{ message('修改失败','','error'); } } include $this->template('web/dlassessinfo');