diff --git a/application/default/controllers/DataController.php b/application/default/controllers/DataController.php index ea7d1be0..e4c1bd28 100755 --- a/application/default/controllers/DataController.php +++ b/application/default/controllers/DataController.php @@ -13,7 +13,7 @@ class DataController extends Zend_Controller_Action function indexAction() { //序列 - $state=$this->db->query('select s.id,name,count(*) from series s,dataseries d where d.sid=s.id group by s.id,s.name'); + $state=$this->db->query('select s.id,name,count(*) from series s,dataseries d where d.sid=s.id group by s.id,s.name'); $this->view->serie=$state->fetchAll(); //分类 $state=$this->db->query('select c.code,name,name_zh,count(*) from category c,categorycode cc where c.code=cc.code group by c.code,cc.name,cc.name_zh'); @@ -812,6 +812,10 @@ class DataController extends Zend_Controller_Action echo "您的信息已经提交成功,可以进行下载。
如果页面没有自动跳转,请点击这里进入下载页面 "; + $msg = "用户{$data['username']} 填写了在线数据申请表 查看详细"; + $title = "用户 {$data['username']} 申请了在线下载数据"; + include_once("message.php"); + message::post($this->db,0,-1,$title,$msg); exit(); } else {