This commit is contained in:
parent
69fab9300a
commit
0d938af6dc
|
@ -50,7 +50,7 @@ class DataController extends Zend_Controller_Action
|
||||||
$k5=$state->fetchAll();
|
$k5=$state->fetchAll();
|
||||||
$this->view->keywords=array('place'=>$k1,'theme'=>$k2,'discipline'=>$k3,'stratum'=>$k4,'temporal'=>$k5);
|
$this->view->keywords=array('place'=>$k1,'theme'=>$k2,'discipline'=>$k3,'stratum'=>$k4,'temporal'=>$k5);
|
||||||
//最新10个入库数据
|
//最新10个入库数据
|
||||||
$state=$this->db->query('select id,uuid,title,ts_published,description from normalmetadata order by id desc limit 4');
|
$state=$this->db->query('select id,uuid,title,ts_published,description from normalmetadata order by id desc limit 8');
|
||||||
$this->view->metadata = $state->fetchAll();
|
$this->view->metadata = $state->fetchAll();
|
||||||
//特色数据
|
//特色数据
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue