diff --git a/application/default/controllers/DataController.php b/application/default/controllers/DataController.php index 4d154715..4764d71e 100755 --- a/application/default/controllers/DataController.php +++ b/application/default/controllers/DataController.php @@ -50,7 +50,7 @@ class DataController extends Zend_Controller_Action $k5=$state->fetchAll(); $this->view->keywords=array('place'=>$k1,'theme'=>$k2,'discipline'=>$k3,'stratum'=>$k4,'temporal'=>$k5); //最新10个入库数据 - $state=$this->db->query('select id,uuid,title,ts_published from normalmetadata order by id desc limit 10'); + $state=$this->db->query('select id,uuid,title,ts_published,description from normalmetadata order by id desc limit 8'); $this->view->metadata = $state->fetchAll(); //特色数据 diff --git a/application/default/views/scripts/data/index-bak.phtml b/application/default/views/scripts/data/index-bak.phtml new file mode 100755 index 00000000..9e9deeac --- /dev/null +++ b/application/default/views/scripts/data/index-bak.phtml @@ -0,0 +1,230 @@ +headTitle($this->config->title->site); +$this->headTitle($this->config->title->data); +$this->headTitle()->setSeparator(' - '); +$this->headLink()->appendStylesheet('/static-sanji/css/data-index.css'); +?> +