From 747d016c2d48ab22f16730af5231831d3e25a370 Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Thu, 17 Nov 2011 07:58:56 +0000 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E8=A1=A8=E5=A1=AB=E5=86=99=E5=90=8E=E7=9A=84=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E6=8E=A8=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/controllers/DataController.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 {