From 020a9d7a0ed0e5895b64e8daf1862a9dd9b8c80a Mon Sep 17 00:00:00 2001 From: Li Heng Date: Sat, 25 Jan 2014 14:21:59 +0000 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=88=97=E8=A1=A8=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=9D=BF=E5=9D=97=E6=AF=94=E4=BE=8B=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default/views/scripts/archives/list.phtml | 101 +++++++++++------- .../default/views/scripts/index/index.phtml | 2 +- 2 files changed, 61 insertions(+), 42 deletions(-) diff --git a/application/default/views/scripts/archives/list.phtml b/application/default/views/scripts/archives/list.phtml index 10af8532..0601f822 100644 --- a/application/default/views/scripts/archives/list.phtml +++ b/application/default/views/scripts/archives/list.phtml @@ -9,44 +9,32 @@ $this->breadcrumb()->setSeparator(' > '); ?> + ================================================== -->
-
-
-

新闻动态

-
    - paginator)) - { - foreach ($this->paginator as $v) - { - $description = ""; - if (mb_strlen($v['description'])>160) - { - $description = mb_substr($v['description'],0,160,'utf-8').'...(more)'; - }else{ - $description = $v['description']; - } - ?> -
  1. []
  2. - -
-
-
-
+
+ +
+

热门排行

    @@ -71,19 +59,50 @@ $this->breadcrumb()->setSeparator(' > ');
- + + +
+
+

新闻动态

+
    + paginator)) + { + foreach ($this->paginator as $v) + { + $description = ""; + if (mb_strlen($v['description'])>160) + { + $description = mb_substr($v['description'],0,160,'utf-8').'...(more)'; + }else{ + $description = $v['description']; + } + ?> +
  1. []
  2. + +
+
+
+
- + -
+ \ No newline at end of file diff --git a/application/default/views/scripts/index/index.phtml b/application/default/views/scripts/index/index.phtml index c3cd67b7..b7a3e25b 100755 --- a/application/default/views/scripts/index/index.phtml +++ b/application/default/views/scripts/index/index.phtml @@ -14,7 +14,7 @@
-

数据中心新闻

+

省监测中心新闻

    list_news as $k=>$v){ ?>