From aa4233d4a47df4d733c97bb9abafac1deb436617 Mon Sep 17 00:00:00 2001 From: Li Heng Date: Fri, 30 Jan 2015 09:56:01 +0000 Subject: [PATCH] base --- .../default/controllers/IndexController.php | 2 +- .../default/views/scripts/header.phtml | 2 +- .../default/views/scripts/index/index.phtml | 42 +++++++++++++------ application/layouts/layout.phtml | 1 + htdocs/sjyportal/css/style.css | 30 +++++++------ 5 files changed, 49 insertions(+), 28 deletions(-) diff --git a/application/default/controllers/IndexController.php b/application/default/controllers/IndexController.php index a5ef3427..9ce8c4da 100755 --- a/application/default/controllers/IndexController.php +++ b/application/default/controllers/IndexController.php @@ -66,7 +66,7 @@ class IndexController extends Zend_Controller_Action //$time = date("Y-m-d H:i:s",time()); $sql = "SELECT * FROM archive WHERE is_pub=true and sub='$this->subnews' AND ts_publisheddb->query($sql); $rows = $sth->fetchAll(PDO::FETCH_BOTH); diff --git a/application/default/views/scripts/header.phtml b/application/default/views/scripts/header.phtml index 1081e14d..c7b2f6bc 100755 --- a/application/default/views/scripts/header.phtml +++ b/application/default/views/scripts/header.phtml @@ -11,7 +11,7 @@ - 青海省水文水资源勘测局 + config->title->site ?>