diff --git a/application/default/controllers/DataController.php b/application/default/controllers/DataController.php index a80a2835..7e18ce4b 100755 --- a/application/default/controllers/DataController.php +++ b/application/default/controllers/DataController.php @@ -582,11 +582,11 @@ class DataController extends Zend_Controller_Action //建议参考文献 $sql="select r.* from reference r left join mdref m on m.refid=r.id where m.uuid=? and m.reftype=0"; $sql=$this->db->quoteInto($sql,$uuid); - $this->view->ref=$this->db->fetchAll($sql); + $this->view->ref=$this->db->fetchAll($sql); //用户发表文献 $sql="select r.* from reference r left join mdref m on m.refid=r.id where m.uuid=? and m.reftype=1"; $sql=$this->db->quoteInto($sql,$uuid); - $this->view->userref=$this->db->fetchAll($sql); + $this->view->userref=$this->db->fetchAll($sql); //相关用户 $sql="select p.email,p.individual,p.organisation,r.role from role r left join responsible p on r.resid=p.id where r.uuid=? order by r.role,r.id"; $this->view->authors=$this->db->fetchAll($sql,array($uuid)); @@ -762,7 +762,7 @@ class DataController extends Zend_Controller_Action array( 'user' =>$user->username, 'uuid' =>$data['uuid'], - 'title' =>$this->replace(trim($this->_request->getParam('mdtitle'))), + 'title' =>$this->replace(trim($this->_request->getParam('mdtitle'))), 'content'=>$content ) ); @@ -826,13 +826,26 @@ class DataController extends Zend_Controller_Action
温馨提示:您需要填写以下信息才可以下载该数据
- - - - - - - + + + + + + + + + +
真实姓名
单位名称
联系电话
联系地址
邮政编码
电子邮箱
项目说明
真实姓名
单位名称
联系电话
联系地址
邮政编码
电子邮箱
项目编号
项目名称
项目类型
项目说明
请您填写完整的数据用途信息,包括项目类型、编号、题目、负责人等信息;若仅用于论文写作,请告知研究题目或主要内容,并注明导师姓名;其他用途如实注明即可。清晰明确的数据用途有助于我们更快得审核和通过申请,也会使您更快获得数据!
例一:
@@ -890,6 +903,9 @@ class DataController extends Zend_Controller_Action $datas['postcode'] = $this->_request->getParam('postcode'); $datas['email'] = $this->_request->getParam('email'); $datas['project'] = $this->_request->getParam('project'); + $datas['project_id'] = $this->_request->getParam('projectid'); + $datas['project_type'] = $this->_request->getParam('projecttype'); + $datas['project_title'] = $this->_request->getParam('projecttitle'); @@ -927,7 +943,10 @@ class DataController extends Zend_Controller_Action 'postcode' => $datas['postcode'], 'project' => $datas['project'], 'uuid' =>$uuid, - 'email' =>$datas['email'] + 'email' =>$datas['email'], + 'project_id'=>$datas['project_id'], + 'project_title'=>$datas['project_title'], + 'project_type'=>$datas['project_type'] ); if($this->db->insert('onlineapp',$data)) diff --git a/application/default/views/scripts/data/view.phtml b/application/default/views/scripts/data/view.phtml index d13fc66e..a7c103d9 100755 --- a/application/default/views/scripts/data/view.phtml +++ b/application/default/views/scripts/data/view.phtml @@ -105,7 +105,7 @@ else status>0 and $md->status<5) : ?> datatype) : ?> - + @@ -180,7 +180,7 @@ endforeach; endforeach; ?> - + userref) : ?>

数据用户发表文献

    @@ -335,7 +335,6 @@ if($auth->hasIdentity())