From fb5e2a4ecac88a307048121cc2ad31ba8b7db63e Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Fri, 23 Sep 2011 04:06:23 +0000 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86=E6=96=B0=E9=97=BB?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E7=9A=84=E8=A7=86=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/views/scripts/stat/catlog.phtml | 150 ++++++++++++ .../admin/views/scripts/stat/catlogadd.phtml | 78 ++++++ .../admin/views/scripts/stat/index.phtml | 226 ++++++++---------- .../admin/views/scripts/stat/left.phtml | 40 +++- .../admin/views/scripts/stat/newsadd.phtml | 146 +++++++++++ 5 files changed, 510 insertions(+), 130 deletions(-) create mode 100644 application/admin/views/scripts/stat/catlog.phtml create mode 100644 application/admin/views/scripts/stat/catlogadd.phtml create mode 100644 application/admin/views/scripts/stat/newsadd.phtml diff --git a/application/admin/views/scripts/stat/catlog.phtml b/application/admin/views/scripts/stat/catlog.phtml new file mode 100644 index 00000000..83955b92 --- /dev/null +++ b/application/admin/views/scripts/stat/catlog.phtml @@ -0,0 +1,150 @@ +headTitle($this->config->title->site); + $this->headTitle('后台管理'); + $this->headTitle()->setSeparator(' - '); + $this->headScript()->appendFile('/static/js/jquery.dataTables.min.js'); +?> + + +
+
+

新闻中心

+ +
+
+
+ + + +
+ +
+ + + + + + +
+ +

栏目管理

+
+ + msg or $this->messages) :?> +
+ msg) : ?> + msg; ?> + messages): foreach($this->messages as $msg): ?> + + + +
+ + + + + + + + + + + catlogs)) + { + foreach($this->catlogs as $k=>$v) + { + echo ' + + + + + '; + } + } + else + { + echo ' + + '; + } + ?> + + +
栏目名称栏目管理
+
+ '.$v['title'].' +
+
+ 编辑栏目 +
+ +
+ 栏目信息 + +

+
+ +

+ +

+
+ + e.g. 高程,气象,地理 +

+ +

+
+ + 80个汉字以内,不能使用折行 +

+ +

+
+ + e.g. 数字越大排序越靠前 +

+ + + +

or

+ +
+ +
+
+
+
+ 编辑 + 删除
暂无数据
+ +
+  添加新栏目 + + +
+ + + + +
+ +
+ + \ No newline at end of file diff --git a/application/admin/views/scripts/stat/catlogadd.phtml b/application/admin/views/scripts/stat/catlogadd.phtml new file mode 100644 index 00000000..660ca95a --- /dev/null +++ b/application/admin/views/scripts/stat/catlogadd.phtml @@ -0,0 +1,78 @@ +headTitle($this->config->title->site); + $this->headTitle('后台管理'); + $this->headTitle()->setSeparator(' - '); + $this->headScript()->appendFile('/static/js/jquery.tagInput.min.js'); + $this->headScript()->appendFile('/static/js/jquery.wysiwyg.min.js'); +?> + + +
+
+

新闻中心

+ +
+
+
+ + + +
+ +
+ + + + + + +
+ +

添加栏目

+
+ +
+ 栏目信息 + +

+
+ +

+ +

+
+ + e.g. 高程,气象,地理 +

+ +

+
+ + 80个汉字以内,不能使用折行 +

+ + + +

or

+ +
+ +
+ +
+ + +
+ + + + +
+ +
+ + \ No newline at end of file diff --git a/application/admin/views/scripts/stat/index.phtml b/application/admin/views/scripts/stat/index.phtml index 62dce9a9..59b281df 100644 --- a/application/admin/views/scripts/stat/index.phtml +++ b/application/admin/views/scripts/stat/index.phtml @@ -2,130 +2,112 @@ $this->headTitle($this->config->title->site); $this->headTitle('后台管理'); $this->headTitle()->setSeparator(' - '); - $this->headLink()->appendStylesheet('/css/admin.css'); - $this->breadcrumb('首页'); - $this->breadcrumb('后台首页'); - $this->breadcrumb()->setSeparator(' > '); - $this->headScript()->appendFile('/js/jquery-1.6.4.min.js'); - $this->headScript()->appendFile('/js/jquery.masonry.min.js'); ?> - -
-
-partial('stat/left.phtml'); ?> -
-
- -
-
概况
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
keyvalue
用户总数alluser['num'];?> 位
metadata数据总数alldata['num'];?> 条
数据下载总次数alldown['num'];?> 次
已通过的离线申请allpass['num'];?> 个
未通过的离线申请nopass['num'];?> 个
在线下载申请次数onlinedown['num'];?> 次
-
- -
-
数据下载量概况
- - - - - - - - - - - - - - - - + +
+
+

新闻中心

+ +
+
+
+ -
单位:GB
总下载数据量allsize['num'],2);?>
离线下载数据量offlinesize['num'],2);?>
在线下载数据量onlinesize['num'],2);?>
-
+ +
+ +
+ + + + + + +
+ +

最新发布的新闻

+
+ + + + +
 
+ +
+ + + + +
+ +
+ + + -
-
各单位离线下载情况
- - - - - - - - unitoffline as $k=>$v) - { - echo ' - - - '; - } - ?> -
单位名称离线下载次数
'.$v['unit'].''.$v['num'].'
-
- -
-
各单位在线下载情况
- - - - - - - - unitonline as $k=>$v) - { - echo ' - - - '; - } - ?> -
单位名称在线下载次数
'.$v['unit'].''.$v['num'].'
-
- - - -
-
- \ No newline at end of file diff --git a/application/admin/views/scripts/stat/left.phtml b/application/admin/views/scripts/stat/left.phtml index b440a3e7..b69b0dc7 100644 --- a/application/admin/views/scripts/stat/left.phtml +++ b/application/admin/views/scripts/stat/left.phtml @@ -1,8 +1,32 @@ - \ No newline at end of file +
+
+

新闻中心管理

+
+
+ +
+
栏目管理
+
创建、编辑、删除栏目
+ +
+
新闻管理
+
查看、编辑、搜索、删除新闻
+ +
+
发布新闻
+
为网站发布一篇新闻
+
+
+
+
+

Tips

+
+
+
+
在栏目编辑中,再次点击“编辑”按钮可以关闭栏目编辑窗口
+
去试试
+
新闻添加中可以直接上传图片
+
去试试
+
+
+
\ No newline at end of file diff --git a/application/admin/views/scripts/stat/newsadd.phtml b/application/admin/views/scripts/stat/newsadd.phtml new file mode 100644 index 00000000..8455f898 --- /dev/null +++ b/application/admin/views/scripts/stat/newsadd.phtml @@ -0,0 +1,146 @@ +headTitle($this->config->title->site); + $this->headTitle('后台管理'); + $this->headTitle()->setSeparator(' - '); + $this->headScript()->appendFile('/static/js/jquery.tagInput.min.js'); + $this->headScript()->appendFile('/static/js/kindeditor-min.js'); + $this->headScript()->appendFile('/static/js/kindlang/zh_CN.js'); + $this->headLink()->appendStylesheet('/static/css/kindskin/default/default.css'); + + +?> + + +
+
+

新闻中心

+ +
+
+
+ + + +
+ +
+ + + + + + +
+ +

发布新闻

+ +
+ +
+ 新闻信息 + +

+
+ +

+ +

+
+ +

+ +
+
+

+
+ + e.g. 研究成果 +

+

+ 添加新栏目

+
+ +
+

+ +

+
+
+ +

or

+ +
+ +
+ +
+ + + + +
+ +
+ + \ No newline at end of file