diff --git a/application/default/controllers/DataController.php b/application/default/controllers/DataController.php index 29a928a1..bdbd611f 100755 --- a/application/default/controllers/DataController.php +++ b/application/default/controllers/DataController.php @@ -41,7 +41,7 @@ class DataController extends Zend_Controller_Action $state=$this->db->query("select keyword,count(*) from keyword right join normalmetadata on keyword.id=normalmetadata.id where keytype='theme' group by keyword order by count desc limit 27"); //$state=$this->db->query("select k.keyword,count(k.keyword) from keyword k left join normalmetadata m on k.id=m.id where k.keytype='theme' and (m.uuid in (select uuid from dataorder group by uuid order by count(uuid) desc limit 20)) group by k.keyword order by count(k.keyword) desc limit 20"); $k2=$state->fetchAll(); - $state=$this->db->query("select keyword,count(*) from keyword right join normalmetadata on keyword.id=normalmetadata.id where keytype='discipline' group by keyword order by count desc limit 27"); + $state=$this->db->query("select keyword,count(*) from keyword right join normalmetadata on keyword.id=normalmetadata.id where keytype='discipline' group by keyword order by count desc limit 10"); $k3=$state->fetchAll(); $state=$this->db->query("select keyword,count(*) from keyword right join normalmetadata on keyword.id=normalmetadata.id where keytype='stratum' group by keyword order by count desc limit 27"); $k4=$state->fetchAll(); diff --git a/application/default/views/scripts/data/index.phtml b/application/default/views/scripts/data/index.phtml index db2c40c0..31e0f899 100755 --- a/application/default/views/scripts/data/index.phtml +++ b/application/default/views/scripts/data/index.phtml @@ -37,8 +37,11 @@ $this->headLink()->appendStylesheet('/static-sanjy-np/css/about.css');
DATA
02164057520
欢迎您来电咨询