Compare commits

..

479 Commits

Author SHA1 Message Date
jack 1f61be723b update hiwater controller 2018-12-11 15:50:49 +08:00
jack 172f272722 update hiwater controller and navi 2018-12-11 15:45:34 +08:00
jack 2f5adcd091 update hiwater 2018-12-11 15:25:52 +08:00
wlx eccf4b907c 修复水文气象2017导航错误 2018-08-12 18:41:28 +08:00
wlx a03a3dc01c 修复水文气象2017错误 2018-08-12 18:26:07 +08:00
wlx 0a62d4f082 增加水文气象2017年链接 2018-08-12 18:17:26 +08:00
wlx 75f4f30e58 增加水文气象2016年链接 2017-12-13 13:56:02 +08:00
wlx 93e200e665 修改HiWATER导航中航空遥感 2016-08-18 09:47:50 +08:00
wlx da346a6b32 增加水文气象2015年链接 2016-07-06 10:56:31 +08:00
wlx fe8cf807c6 修复#35, Bib英文引用问题 2016-04-05 22:18:40 +08:00
wlx ee38a91245 移除多余的分号 2016-03-21 21:36:59 +08:00
wlx 8552975ea2 add hot and latest action in search 2016-03-21 20:58:29 +08:00
wlx f31a39ebbb 修复查看数据作者中的sql错误 2016-03-11 16:01:25 +08:00
wlx d8366a12a0 修复view错误问题 2016-03-11 15:38:32 +08:00
wlx 1557a91e89 修复错误入口问题 2015-12-29 14:43:54 +08:00
wlx 6a59a692f2 修复前台数据作者提交数据时的“错误入口”问题 2015-12-29 08:31:43 +08:00
wlx ffe2f305aa 修复后台元数据发布时的xml解析以及搜索构建问题: westdc/westdc-zf1#24 2015-12-21 23:38:39 +08:00
wlx 6ba0d6e90a 修复链接地址错误:westdc/westdc-zf1#27 2015-12-16 22:02:20 +08:00
Jianxuan Li 7a253b90e6 change view class using name 2015-10-21 17:00:16 +08:00
Jianxuan Li 910a0145c4 use Helper\View as view 2015-10-16 16:30:39 +08:00
wlx 825e447acf 修正获取radio值的js 2015-09-17 16:48:49 +08:00
wlx 0d7d5191ed 添加缺失的id标识 2015-09-17 16:37:40 +08:00
wlx f6281315c5 修复不传递lang参数的问题 2015-09-17 12:28:40 +08:00
wlx fd9323ecc9 修正后台列表搜索中的多语言数据问题 2015-09-14 16:35:22 +08:00
wlx dbb3ee4ce3 实现多语言数据版本的后台支持、前台支持 2015-09-14 16:29:51 +08:00
wlx 6e1093fc51 fix westdc/westdc-zf1#19, set default citation 2015-06-30 08:34:39 +08:00
wlx c6c2bb500e Merge branch 'heihedata' of git.westgis.ac.cn:westdc/westdc-zf1 into heihedata 2015-06-15 08:56:52 +08:00
wlx 55b37b4800 Merge branch 'heihedata' of git.westgis.ac.cn:westdc/westdc-zf1 into heihedata 2015-06-15 08:54:49 +08:00
wlx 8dbda85d90 Merge branch 'heihedata' of git.westgis.ac.cn:westdc/westdc-zf1 into heihedata 2015-06-12 17:13:35 +08:00
wlx 4919adfc68 修复不能导入到英文版的问题 2015-06-12 17:10:14 +08:00
wlx 2d84ed7d2e 修复不能导入到英文版的问题 2015-06-12 16:48:34 +08:00
wlx 3e745f90c2 ISO 19115中不显示副标题为空的解析错误 2015-06-06 13:29:44 +08:00
wlx c61f38218e 修复iss2:westdc/westdc-zf1#2 解决数据作者doi页面错误的问题 2015-06-03 22:27:16 +08:00
wlx 1aa9d98f81 添加hiwater 水文气象2014年数据导航 2015-06-03 19:55:03 +08:00
wlx 78c337db74 优化专题文献,实现两类专题文献的同时支持 2015-04-23 08:06:01 +00:00
wlx 815382324a 修改专题文献的调用方式 2015-04-22 10:57:58 +00:00
Li Jianxuan adc299f09f 在卫星遥感产品菜单中增加地表温度 2015-04-13 08:29:58 +00:00
wlx 132e3d9907 关键词修改 2015-04-11 04:02:33 +00:00
wlx cff8332344 为黑河增加单独的新闻视图 2015-03-19 07:10:37 +00:00
wlx 826a5cfacc 增加未提交未上传的申请检查 2015-03-17 05:22:33 +00:00
wlx 8817a2eb85 add NotSubmitted function 2015-03-17 05:20:23 +00:00
Li Jianxuan e402271180 fixed modal bug 2015-03-17 05:17:10 +00:00
wlx e97afc2e40 后台添加已发布数据的未发布版本浏览功能 2015-02-16 02:13:26 +00:00
wlx 0007081dbf 后台更新版本变化时仅保留原始更新人员记录 2015-02-16 01:37:31 +00:00
wlx 850cc45d6a 完善版本逐数据浏览的排序方式,依据更新时间排序 2015-02-16 01:35:06 +00:00
wlx 871157cbe8 change mapAction to extent 2015-02-07 17:08:16 +00:00
wlx cbee41181c change google map to openlayers 2015-02-07 17:03:57 +00:00
Li Jianxuan 4805826b4e fixed bug in Client.php 2015-01-30 13:08:58 +00:00
Li Jianxuan 24e562dd52 fixed json decode error 2015-01-30 13:07:56 +00:00
Li Jianxuan 6dbcd42b24 添加科技网通行证登录断点 2015-01-30 10:43:12 +00:00
Li Jianxuan b06f113df3 添加科技网通行证断点测试 2015-01-30 10:30:37 +00:00
Li Jianxuan 031f70d28a 增加科技网通行证登录回调信息测试 2015-01-30 10:26:39 +00:00
Li Jianxuan 877d72159f 添加科技网通行证登录断点测试 2015-01-30 10:23:20 +00:00
Li Jianxuan c0236cee84 修改email获取bug 2015-01-30 10:17:32 +00:00
Li Jianxuan 3bad595107 添加断点测试 2015-01-30 10:14:09 +00:00
Li Jianxuan 6c40d71262 添加科技网通行证回调信息完整性检查 2015-01-30 10:05:48 +00:00
wlx 7e92717864 移除google图片访问 2015-01-26 09:00:12 +00:00
wlx 012c4a3f03 修复文献编辑丢失附件的问题 2015-01-24 05:35:27 +00:00
wlx 9e7374e7ee 以表中的多篇引用为准 2015-01-16 08:33:31 +00:00
wlx 11832336ed 修改WATER的引用部分 2015-01-16 08:27:51 +00:00
wlx 9fc9c0d859 修改doi编辑的逻辑 2015-01-15 05:00:19 +00:00
wlx f0a7a6f185 修复sql语句的多选问题 2015-01-15 04:16:05 +00:00
wlx cc4a11d4cd remove unused code, fix doi problem 2015-01-14 06:32:30 +00:00
wlx 7c8ceda68d 修正DOI导出xml内容 2015-01-14 06:13:02 +00:00
wlx a4bab63ad7 修复英文版注册doi数据展示不正常问题(不显示纯英文数据) 2015-01-14 06:09:34 +00:00
wlx 6d65e945b2 后台实现元数据的时空范围编辑功能 2015-01-14 05:59:20 +00:00
wlx a0dfed5425 修改遥感产品分类 2015-01-09 13:47:49 +00:00
wlx 125aa249b2 修复添加doi时的错误 2015-01-09 09:32:47 +00:00
wlx f13f139ca6 修复注册DOI的顺序问题以及单位中的逗号问题 2015-01-09 09:03:20 +00:00
wlx e96ad30e4b remove namespace 2014-12-31 10:53:29 +00:00
wlx b9830396d7 comment the namespace 2014-12-28 05:09:01 +00:00
wlx 5c12967099 更新odt模板 2014-12-27 09:59:23 +00:00
wlx 6deb339d4f fix fund link problem. 2014-12-26 09:55:17 +00:00
wlx 439b62a413 change sql 2014-12-25 09:15:16 +00:00
wlx 3b55dca685 实现根据uuid抽取数据的脚本 2014-12-25 06:22:17 +00:00
wlx c03de349f3 修改变量名称获取方式,并增加空集判断 2014-12-25 03:23:10 +00:00
Li Jianxuan ead0be49a4 修改汇交计划统计中的在线离线服务项目数量sql语句bug 2014-12-18 11:22:50 +00:00
Li Jianxuan 5bb916ae22 添加汇交计划统计中的服务项目个数 2014-12-18 10:52:44 +00:00
Li Jianxuan c38c3eb4f9 在汇交计划统计内加入提示小标题 2014-12-18 06:49:51 +00:00
Li Jianxuan 582f7054ad 更新计划内数据服务情况统计 2014-12-18 06:47:57 +00:00
Li Jianxuan 9ca9d659f6 汇交计划统计中添加了人次统计和用户下载次数统计 2014-12-17 10:54:46 +00:00
Li Jianxuan ae997eee5f 汇交计划统计中鼠标悬浮到项目编号提示出项目名称 2014-12-17 08:24:06 +00:00
Li Jianxuan fb1bac1288 增加查看项目内数据的功能 2014-12-17 08:18:58 +00:00
Li Jianxuan c7eef7a447 添加了汇交计划的统计功能 2014-12-17 08:06:14 +00:00
wlx 36dd47e5dd 修正发布时间归零问题 2014-12-16 02:59:49 +00:00
wlx c19ba18e44 fix fund link 2014-12-15 03:34:34 +00:00
wlx 3b6e7a022d 切换至天地图 2014-12-15 03:30:37 +00:00
Li Jianxuan 37bbaa4b7a 将原有的科技网通行证登陆链接改为https协议 2014-11-03 07:05:24 +00:00
Li Jianxuan bc49f03f75 添加了登录页面自动登录科技网通行证的代码 2014-10-23 09:42:49 +00:00
wlx 35ac496667 Use new google analytics js code 2014-10-07 02:10:58 +00:00
Li Heng 7c3221bd6b 项目来源管理自动增加删除INPUT元素用户体验优化。 2014-09-27 00:56:10 +00:00
Li Heng 302ebbc2fb 项目来源管理功能代码优化。 2014-09-25 06:32:34 +00:00
Li Heng 84cc8d6db9 增加修改项目来源时管理邮箱,排除UUID按条目逐一列出的功能。 2014-09-25 04:20:11 +00:00
Li Heng 81aeadd662 新增专题管理 => 项目来源管理功能
1.项目来源中添加 项目管理机构、管理邮箱、访项目组不管理数据UUID管理功能;
  2.新增管理邮箱条目前台JS自动增减功能;
  3.新增数据UUID条目前台JS自动增减功能;
  4.新增项目管理机构单选功能;

讨论的问题:
   admin_email,exclude_data, 两字段的数据类型自带{}似乎不太方便。
2014-09-24 09:59:13 +00:00
Cui Xin d3e13801cb doi添加
作者信息文本框显示问题
2014-09-24 07:58:06 +00:00
wlx 20f2ef8dca ignore the error of position of the author 2014-09-24 04:16:02 +00:00
Cui Xin e10faff768 后台搜索框按钮换行修改 2014-09-23 13:50:03 +00:00
Cui Xin baefb056ca #560 后台附件管理实现中英文支持
添加附件语言选项
2014-09-23 05:16:15 +00:00
wlx f29134241c 在前台实现数据作者的自主导入英文版功能 2014-09-21 11:04:06 +00:00
wlx 6d6f843a70 修复后台显示拒绝申请显示范围过大的逻辑问题 2014-09-19 10:55:18 +00:00
wlx b753383a71 remove unused code 2014-09-18 04:13:57 +00:00
wlx 419c627e17 通过按钮仅在收到后执行 2014-09-18 03:47:17 +00:00
Cui Xin 7893742c44 页脚无用字符删除 2014-09-18 02:39:38 +00:00
wlx 25f6da671d fixed #547, remove unused test/watermd controller 2014-09-17 14:32:13 +00:00
wlx 61b7012977 修复天地图bug 2014-09-17 13:57:19 +00:00
wlx dc07c69bf6 Change to DIR constant 2014-09-16 05:34:32 +00:00
wlx 7c6cae86d7 fixed #629: change default tab in data/heihe/hiwater view page. 2014-09-16 05:34:30 +00:00
wlx 3668a7029f fixed #595: 将多篇文献的一篇视为数据引用 2014-09-16 05:34:27 +00:00
wlx 74c5c75e87 优化hiwater导航 2014-09-10 13:13:35 +00:00
wlx 9d9dc04ef1 add zend path 2014-09-10 13:13:34 +00:00
Cui Xin a07f611643 修改hiwater导航
标题进入页面 加号弹出子栏目
2014-09-10 07:14:37 +00:00
Cui Xin 45997ca137 添加新闻编辑器修改默认大小 2014-09-05 07:01:17 +00:00
wlx 7a12415fe8 增加2012、2013分类的文字说明 2014-09-05 02:54:14 +00:00
wlx 03a197c092 修改水文气象网的数据对应 2014-09-05 00:00:04 +00:00
Cui Xin e5c567c9a0 编辑doi 添加作者信息修复 2014-09-04 02:56:47 +00:00
wlx 180c658488 fix users status error 2014-09-03 00:03:20 +00:00
wlx 46b0a1f783 fix status error 2014-09-02 23:47:52 +00:00
wlx d9aba365b9 fix link error 2014-09-02 12:47:27 +00:00
wlx 02b56ccb25 完善HiWATER多级导航 2014-09-02 12:40:06 +00:00
Cui Xin bf0d32d418 hiwater专题
多级导航修改
2014-09-02 08:10:37 +00:00
Cui Xin 1a1f90300b hiwater专题
添加多级导航
2014-09-02 06:37:34 +00:00
Li Jianxuan c16af845c2 #515 增加了用户状态控制 2014-09-02 06:15:48 +00:00
Cui Xin 005a253142 hiwater专题
添加3级导航
2014-09-02 04:03:55 +00:00
wlx 591940e6b9 fix error 2014-08-30 10:21:44 +00:00
wlx 48fb483fce 补充文献类型 2014-08-30 10:17:57 +00:00
wlx 8a8f7a654c 修正不能弹窗问题 2014-08-30 10:00:22 +00:00
Cui Xin 6cfb380cb2 后台 申请管理 弹窗修复 2014-08-28 09:16:34 +00:00
Cui Xin 3d0fd33b9c 前台专题
heihe hiwater修改
2014-08-28 08:03:15 +00:00
Cui Xin d789c1e741 后台 数据-支持项目 弹窗修复 2014-08-28 07:15:05 +00:00
Cui Xin 4c2f9582cf 后台弹窗修复 2014-08-28 05:52:03 +00:00
wlx fef86470ca 完善逻辑判断 2014-08-28 03:26:58 +00:00
Cui Xin 3e9ced9b63 后台-元数据管理-数据路径 弹窗修复 2014-08-28 02:58:45 +00:00
Cui Xin 6a00477b53 #626
后台-数据-版本-提交评审发布 弹窗修复
2014-08-28 02:29:39 +00:00
wlx 547b61d846 add more logic test. 2014-08-27 13:36:00 +00:00
wlx ffbd82ffbe 改进footer判断逻辑 2014-08-27 12:03:43 +00:00
wlx 6f0f2d4a53 修复页脚错误 2014-08-27 09:37:20 +00:00
Cui Xin e659744c41 后台footer修改
替换函数SCRIPT_URL
2014-08-27 09:17:24 +00:00
wlx b51a26d3b1 修复项目链接地址指向 2014-08-27 08:42:54 +00:00
Cui Xin 6ed9206ca9 #597
后台分配责任编辑采用AJAX弹窗形式处理
2014-08-27 03:48:43 +00:00
Cui Xin f3539ba4d3 后台样式修改_5 2014-08-11 01:55:08 +00:00
Cui Xin 8199fdf3fe 后台样式修改_4
changeadmin修改
2014-07-25 06:16:53 +00:00
Cui Xin f27afeaecb 后台样式修改_3
footer修改
2014-07-23 09:29:00 +00:00
Cui Xin 9214e2c675 2014-07-23 08:44:26 +00:00
Cui Xin 719812314d 后台样式修改_2 2014-07-23 08:43:23 +00:00
Cui Xin 8f2e780c05 后台样式修改 2014-07-23 08:38:32 +00:00
wlx 6dacf35e69 fix logic error 2014-06-24 10:54:10 +00:00
wlx 481dd463e5 明确限制 2014-06-24 09:02:05 +00:00
wlx 11bd1dc0e1 全部提交时增加数据条数判断 2014-06-24 08:43:38 +00:00
wlx a588da430f 天地图实现空间浏览以及高级搜素 2014-06-20 11:38:30 +00:00
wlx cdee542ae0 用天地图实现高级搜索功能 2014-06-20 06:34:41 +00:00
wlx fe5dac7daf merge r4760 2014-06-15 07:15:18 +00:00
wlx 39511441a0 fix logic error 2014-06-15 06:55:42 +00:00
wlx 95880ecb12 #607, 用天地图替换google maps 2014-06-15 06:44:09 +00:00
wlx a4dd01e38e #607, 用天地图api替换google maps 2014-06-15 06:30:48 +00:00
wlx 9bd96e461c add tianditu js 2014-06-15 02:47:03 +00:00
wlx 381b4eb719 use local jquery ui lib 2014-06-11 12:52:40 +00:00
Li Jianxuan 61f19051d7 修改google map 为异步加载 2014-06-11 02:27:15 +00:00
wlx 640d989e2d 修正upload目录检查问题 2014-06-06 13:30:19 +00:00
wlx 9aa2cd0c41 添加路径错误的检查 2014-06-06 13:19:28 +00:00
wlx 5389ee5f4b add extra link 2014-06-06 02:46:04 +00:00
wlx f95ee6efbc 增加排除关键词函数 2014-06-05 07:52:20 +00:00
wlx d2d2740a6e 新增并列限制获取数据函数 2014-06-05 07:26:22 +00:00
wlx 46ff85e253 修复元数据管理搜索中的错误 2014-05-26 03:06:09 +00:00
wlx f85eb340c5 fix #586, 优化前台数据作者的文献管理功能 2014-05-24 09:21:04 +00:00
wlx a2d4662d6a change op name 2014-05-23 06:49:08 +00:00
wlx 3b2779cdb3 comment warning 2014-05-23 06:48:48 +00:00
wlx 3c483b1c7f 更新数据产品的对应关键词 2014-05-23 06:27:10 +00:00
wlx ed339631c0 在未提交数据中增加版本数量显示功能 2014-05-22 14:08:23 +00:00
wlx 749e0b6212 修改wsn数据输出方式 2014-05-21 14:18:35 +00:00
wlx e3fcf04eff 添加无RIS的数据作者文献功能 2014-05-20 01:17:54 +00:00
wlx 0164f1c3fd add data url 2014-05-20 00:49:32 +00:00
wlx 32d03825eb add robots.txty 2014-05-20 00:32:59 +00:00
wlx 42ee60454c fix #518, 实现数据作者的委托功能 2014-05-19 06:51:57 +00:00
wlx c37bd2cab4 fix #472, 修改编辑中的定时发布问题 2014-05-19 02:28:27 +00:00
wlx 8517e3426e 参考后台文献管理的方法,重新实现了支持项目的管理 2014-05-18 04:56:23 +00:00
wlx ad9d92de67 优化后台文献功能 2014-05-18 04:49:12 +00:00
wlx 3ba5060d26 #564, add caj file upload 2014-05-16 23:10:23 +00:00
wlx a081351b65 comment some warnings 2014-05-16 14:49:17 +00:00
wlx c40d33d81e 实现数据到文献的管理, #584 2014-05-16 14:48:02 +00:00
wlx 2d745b1e68 修改搜索条件下的导入英文功能 2014-05-16 09:42:44 +00:00
wlx 960887b5c9 加入geonetwork缩略图同步功能 2014-05-16 09:06:42 +00:00
wlx 838190032a fix spell error 2014-05-16 08:15:34 +00:00
wlx d9eb70e99d 增强条件判断 2014-05-16 08:13:47 +00:00
wlx 7c94faf5c2 实现英文版元数据导入功能,移除同步功能 2014-05-16 08:08:51 +00:00
wlx 4c03869064 专题文献的sql效率提升 2014-05-15 16:02:23 +00:00
wlx feb6fc5fc6 revert change 2014-05-15 15:38:13 +00:00
wlx d7dcd4a681 提升sql效率 2014-05-15 15:35:06 +00:00
wlx f73e1165d1 add chinese & unicdoe support for fpdi 2014-05-15 13:46:43 +00:00
wlx e681a49fe5 upgrade fpdi to version 1.5.1 2014-05-15 13:34:18 +00:00
wlx ff12f251ed add doi link 2014-05-15 08:35:04 +00:00
Li Jianxuan fe3ccefa9a 删除旧kindedtor文件 2014-05-09 04:25:39 +00:00
Li Jianxuan 9cb7eb1cc9 升级kindedtor 2014-05-09 04:23:28 +00:00
Li Jianxuan 0cd2c927d4 升级kindeditor并纳入theme类管理 2014-05-09 04:22:44 +00:00
wlx b3b5478ccf 修复变量haed未初始化的错误 2014-05-09 03:21:59 +00:00
Li Jianxuan e25ddb60d7 修改文档类 2014-05-09 02:07:16 +00:00
Li Jianxuan 1c71299174 在新闻添加中增加语言选项 2014-05-08 08:01:44 +00:00
Li Jianxuan e8c79c2153 #559 添加栏目英文名称支持 2014-05-08 03:05:38 +00:00
wlx 30348becbb 忽略警告 2014-04-29 03:33:04 +00:00
wlx 6b9621f7ea 增加默认前2个月的时间判断,并增加在线数据的支持 2014-04-29 03:26:46 +00:00
wlx 4ac0533b62 minor change 2014-04-23 09:13:12 +00:00
wlx 342c540a16 不显示部分输出 2014-04-23 09:12:07 +00:00
wlx 91f5b136dc add http header 2014-04-23 09:10:09 +00:00
wlx aefee3a135 移除config变量,切换为服务器地址 2014-04-23 09:08:45 +00:00
wlx 60259d5fd3 更新在线资源的变量处理 2014-04-23 09:00:43 +00:00
wlx d02bfeb99f 增加空变量的判断 2014-04-23 08:49:02 +00:00
wlx 88aae7f725 修复耗费内存过大的问题 2014-04-02 12:31:15 +00:00
Li Jianxuan 9007aca001 修改附件过大时出现下载错误的bug(超过5MB的文件用fget循环读取) 2014-03-19 09:17:44 +00:00
wlx 3db63caac9 change var name 2014-03-04 16:00:08 +00:00
wlx 6ffe628c27 提升稳定性和效率 2014-03-03 13:37:10 +00:00
wlx 7a9d11a977 add elements to dci 2014-03-03 13:34:19 +00:00
wlx 8a4a5c4386 add DCI action 2014-02-27 14:11:54 +00:00
wlx a8f0424aa6 修改数据委员会地址 2014-02-27 07:46:10 +00:00
wlx 70eb46f541 修正docAction和odtAction中数据引用方式的逻辑错误 2014-02-25 04:12:57 +00:00
wlx f99e98f2c7 增加时间点的判断 2014-02-25 04:11:54 +00:00
wlx 334403081a 在元数据浏览中增加资助项目链接 2014-02-21 08:48:35 +00:00
wlx d57090d5bc 修改底部文字 2014-02-21 08:48:03 +00:00
wlx 6c3f3bf0c3 资助项目以编号进行排序 2014-02-21 08:47:39 +00:00
wlx 5f2f07207a change url 2014-02-17 03:24:32 +00:00
wlx fbd1876e15 修复邮件通知的问题,更精准提取 2014-01-29 04:39:36 +00:00
Li Jianxuan 622a0331a5 fixed a bug about upload folder path 2014-01-27 08:29:18 +00:00
wlx 9818347102 update glacier theme 2014-01-22 02:55:07 +00:00
wlx 8f8ffeee43 update glacier theme 2014-01-22 01:45:38 +00:00
Li Heng b3b09c1839 新注册用户按月统计 2014-01-16 03:15:24 +00:00
wlx 9954be07f9 add more link 2014-01-16 02:42:20 +00:00
wlx 4f7a2765b3 fix link problem 2014-01-14 02:22:56 +00:00
wlx ed6d450d4a 设置为分栏目显示 2014-01-14 02:16:49 +00:00
Li Jianxuan 3967c23ecb #569将标题设为默认不能修改 2014-01-13 07:28:36 +00:00
Li Jianxuan 7ccd999fd5 #569 添加了是否发布的情况区分,未发布时doi标题可修改,并且读取元数据的标题作为默认内容 2014-01-13 07:16:22 +00:00
Li Jianxuan fd1a7260af 统计数据中的按用户统计添加了新用户统计功能 2014-01-10 09:21:13 +00:00
wlx 8f8631ee2f fix logic error 2014-01-10 05:25:21 +00:00
wlx 2425f6304c fix link error 2014-01-10 05:06:02 +00:00
wlx c9cead9996 minor fix 2014-01-10 05:05:04 +00:00
wlx fffe4448c9 layout change 2014-01-10 05:04:03 +00:00
wlx 7871ebfb6a add breadcrump and reference link 2014-01-10 05:01:42 +00:00
wlx 51f3adfa79 更新海河标题 2014-01-10 04:09:50 +00:00
wlx 2c9632d841 add haihe theme 2014-01-09 14:25:27 +00:00
wlx a4530e6e02 merge trunk r4172 - r4175 to heihedata branch 2014-01-09 13:44:26 +00:00
wlx fc2ffc188b 增加排序 2014-01-09 02:47:14 +00:00
wlx dd9a48ddd3 更新后台评审的投稿操作 2014-01-09 02:34:33 +00:00
wlx 55df6a1352 add single quote 2014-01-07 12:37:27 +00:00
wlx e553375dce fix monthreport error 2014-01-07 12:36:19 +00:00
wlx 4408b36c34 修复离线上报跨年生成错误的问题 2014-01-07 12:33:15 +00:00
Li Jianxuan 124ad5263a 修改了离线数据申请页面的模板,删除了导航中新离线申请管理的链接 2014-01-07 07:43:07 +00:00
Li Jianxuan 024cfaef59 更新页面模板 2014-01-07 07:28:45 +00:00
Li Jianxuan 329a25b59e 添加了离线下载记录中更新PDF的功能 2014-01-07 07:01:25 +00:00
Li Jianxuan a6efab68c9 为wsn数据选择时间范围的添加了如果是多个点的话可以设置所有变量的时间 2014-01-03 06:19:04 +00:00
Li Jianxuan e2f2b2ae71 增加了裁图工具 2014-01-03 02:22:45 +00:00
Li Jianxuan f6b1acc273 修改用户名长度和规则判断的正则表达式 2013-12-27 06:21:12 +00:00
Li Jianxuan dd22a0fe70 修改错误提示方式 2013-12-27 05:54:27 +00:00
Li Jianxuan 1822a361cf 修改用户注册界面 2013-12-27 04:14:03 +00:00
Li Jianxuan 0288b30ab6 修改AccountController中返回消息的bug,提交AclManager中有关自动登录的代码,修改member类中关键字支持php5.5+ 2013-12-27 02:39:18 +00:00
Li Jianxuan a1f43ad574 修改了用户名判断的条件 2013-12-27 02:06:40 +00:00
Li Jianxuan 1c6a36d638 取消黑河专题jiathis的注释,解决重复访问登录页面时的死循环问题,修改验证码图片存放路径 2013-12-26 07:59:00 +00:00
Li Jianxuan 9a78f04113 修改函数写法兼容php5.3 2013-12-26 07:28:27 +00:00
Li Jianxuan b54c72b565 修改函数写法 2013-12-26 07:27:27 +00:00
Li Jianxuan e8aba81d7d 为邮件模板功能添加冗错判断,使用模块化封装的找回密码功能 2013-12-26 07:12:59 +00:00
Li Jianxuan 920b71add7 使用事件驱动的登录模块,修复cookie无法保存的bug,添加了验证码助手Helpers\Captcha 2013-12-26 02:50:10 +00:00
Li Jianxuan c2225d4e21 调整后台菜单的统一样式 2013-12-26 02:15:41 +00:00
Li Jianxuan 5483690395 修改form宽度超出页面的bug 2013-12-24 09:39:34 +00:00
Li Jianxuan 88e29d711e 在hiwater中的多篇文献引用列表中加入了查看和下载功能 2013-12-18 02:43:10 +00:00
Li Jianxuan 8f208ef7c5 修改curl中不能初始化配置的bug 2013-11-29 02:26:06 +00:00
wlx 5ae05fb85d 修复成果展示中的错误 2013-11-29 01:47:32 +00:00
Li Jianxuan 35c0883355 添加了card.westgis.ac.cn的科技网通行证Appkey和Appsecret 2013-11-26 10:04:02 +00:00
Li Jianxuan eb98d79dfc 修改了重置申请表的功能,添加了修改状态代码的部分 2013-11-26 09:40:33 +00:00
Li Jianxuan 74a5e3f5fc 修改了Oauth登录时密码重复md5的bug 2013-11-22 03:29:30 +00:00
wlx 580e97cc9d change acl 2013-11-22 03:16:53 +00:00
Li Jianxuan c0642c240a oauth登录部分删除测试用的代码 2013-11-22 02:31:25 +00:00
Li Jianxuan 6ab8c24f94 增加了OpenController,增加了accountController中关于Oauth交互登录的功能 2013-11-21 06:21:22 +00:00
Li Jianxuan 0e11fd37d7 修改 \Open\server 为 \Open\Server 2013-11-21 03:56:00 +00:00
Li Jianxuan 580cc39411 增加了开放平台中Oauth客户端和服务器端部分 2013-11-21 03:54:26 +00:00
Li Jianxuan dbe4d9d728 更新Helper\Curl和Helper\Table类 2013-11-21 02:14:36 +00:00
Li Jianxuan 608b8f29f4 更新Users操作类 2013-11-21 02:09:45 +00:00
wlx 1c3075584e change link css 2013-11-20 10:10:18 +00:00
wlx 6d5397273e 不限制heihe上的order项 2013-11-20 09:53:33 +00:00
wlx 1edecd120a fix #567, 限定施引文献的显示数量 2013-11-20 09:50:41 +00:00
Li Jianxuan 69d3a94ef8 #566 修改查重时的单引号bug,修改Ris导入时作者为字符串时发生错误的bug 2013-11-19 01:56:39 +00:00
wlx afd7f13418 fix problem when generate the reference 2013-11-17 12:07:15 +00:00
wlx ff2c52cfeb fix spell error 2013-11-16 11:28:50 +00:00
wlx 5de71572bb 有数据作者才发信 2013-11-16 11:14:45 +00:00
wlx cd8fe1ca87 fix single author could generate reference problem. 2013-11-16 07:43:30 +00:00
wlx 9512051737 add css 2013-11-15 14:47:36 +00:00
wlx 2bc695660b fix var error 2013-11-15 14:46:28 +00:00
wlx 1ccb1300b0 add ris download function for literatures 2013-11-15 14:41:56 +00:00
Li Jianxuan beb002b648 为Curl类添加自定义头信息功能 2013-11-15 03:44:52 +00:00
wlx 2ca99a2de3 fix spell error 2013-11-15 02:31:03 +00:00
wlx 1c147a88c2 实现后台编辑离线记录功能(补充项目信息) 2013-11-14 06:45:21 +00:00
Li Jianxuan 2eda702362 #563 修改了导入时单个author的bug 2013-11-14 02:49:15 +00:00
wlx 24f253c027 fix single author problem 2013-11-13 18:24:53 +00:00
wlx 7a36469b62 区分数据中心的施引文献展示方式 2013-11-13 18:16:31 +00:00
wlx 7acc24754d change literature view 2013-11-12 13:09:02 +00:00
wlx 98985efc84 修复同作者文章的问题 2013-11-12 12:35:12 +00:00
wlx d7eec24005 重新整理知识积累平台 2013-11-12 07:02:40 +00:00
wlx 9260c03a60 change template name 2013-11-11 10:06:03 +00:00
wlx 747b356901 change template name 2013-11-11 10:02:29 +00:00
Li Jianxuan 6cd975a861 修改了用户注册的邮件模板功能,增加了用户操作的类文件 2013-11-11 08:39:55 +00:00
Li Jianxuan 3ef2748dd1 Account controller修复验证码无法生成的bug 2013-11-11 02:53:34 +00:00
Li Jianxuan 5d80b35553 增加了已通过的服务记录的搜索,增加了操作时的确认按钮 2013-11-05 07:57:17 +00:00
wlx ed711d9a3b change mount to Mount 2013-11-05 04:09:26 +00:00
Li Jianxuan d007786fb1 将Order/mount改为Order/Mount 2013-11-05 04:01:05 +00:00
Li Jianxuan cd2be09bf7 将Order/listener改为Order/Listener 2013-11-05 03:59:35 +00:00
Li Jianxuan ff2f657cb6 规范文件名和namespace命名,修改小心为大些,增加Application类用来处理申请相关事务 2013-11-05 03:57:01 +00:00
Li Jianxuan 8c3d9cf760 添加了数据中心文献的功能 2013-11-05 02:23:49 +00:00
wlx 3cd2e16766 优化RIS输出 2013-11-04 13:27:32 +00:00
wlx 3325569970 不输出已经有RIS内容的文献 2013-11-04 13:26:00 +00:00
wlx 838afc1d5d 优化文献输出方式 2013-11-04 12:09:57 +00:00
Li Jianxuan 8d89e9f435 添加了ris导出功能 2013-11-04 09:04:07 +00:00
Li Jianxuan 6ae3223a84 修改文献列表显示方式,添加按年显示的功能 2013-11-04 07:08:58 +00:00
wlx 075ff2b2c0 放宽批量导入的限制 2013-11-01 09:14:13 +00:00
wlx fff01b40ce 修改参考文献格式生成代码;修改批量导入 2013-11-01 09:13:35 +00:00
wlx e3a6acc635 fix logic error 2013-10-31 05:17:00 +00:00
Li Jianxuan 8e1db6cd3d 删除没用的代码 2013-10-30 06:51:28 +00:00
Li Jianxuan c1f5c7de56 #558 增加了从表中读取信息的功能 2013-10-28 09:45:48 +00:00
wlx 475f67534a add water theme literatures; add paper detail view; 2013-10-28 07:59:40 +00:00
Li Jianxuan 0e87bf7d35 文件类中添加reference类型 2013-10-28 07:32:19 +00:00
Li Jianxuan 40547de3c7 添加头部引用 2013-10-28 06:55:31 +00:00
Li Jianxuan 36a363c354 添加了ris修改单篇文献的功能 2013-10-28 03:26:44 +00:00
Li Jianxuan 2239dfc991 增加了/Helper/View::setUserStorage()方法 2013-10-28 02:15:52 +00:00
wlx f2836ea683 change the reference type 2013-10-27 15:33:14 +00:00
wlx 9a1a5d8f82 #556, add westdc literatures show function 2013-10-27 06:04:30 +00:00
wlx 0a412c9aa4 #555, 移除姓名中的分号 2013-10-27 05:38:13 +00:00
wlx fcf96d5973 #554, 实现挂载目录的定时移除,每月运行一次,清除之前4个月到3个月之间的目录挂载 2013-10-27 05:29:22 +00:00
Li Jianxuan f31402c7be model/Review中添加注释 2013-10-26 09:24:03 +00:00
Li Jianxuan a83c3ee18f 修改RIS中导入处格式处理的bug 2013-10-24 09:54:24 +00:00
Li Jianxuan dacbff71c5 重命名Open/open.php 为 Open/Open.php 2013-10-24 09:23:31 +00:00
Li Jianxuan dc8074c1ac 修改Open/app.php 为 Open/App.php 2013-10-24 09:22:51 +00:00
wlx a4f5c42739 fix sql error 2013-10-22 14:42:10 +00:00
wlx 3628ece4c1 添加待处理文献功能 2013-10-22 13:40:41 +00:00
wlx 4c95532808 add LibRIS code 2013-10-22 12:12:24 +00:00
Li Jianxuan a3551b20e8 添加了文献附件的下载功能 2013-10-18 02:33:40 +00:00
Li Jianxuan dda5be5a23 修改了导航内容 2013-10-17 08:23:39 +00:00
Li Jianxuan 3acef46848 更新了附件上传中的方法 2013-10-16 08:07:54 +00:00
wlx 29557c14c1 fix condition judgement 2013-10-15 10:06:42 +00:00
wlx c30f1c6826 修改文献类型的限制 2013-10-15 10:04:41 +00:00
Li Jianxuan db7faba594 添加了单篇编辑的相关字段的添加和编辑 2013-10-15 06:30:51 +00:00
Li Jianxuan 3269c2fd8c 完善ris导入文献时的update功能 2013-10-15 01:36:49 +00:00
wlx d5034346f3 文献参数修改,调整入库策略 2013-10-13 14:41:35 +00:00
Li Jianxuan f06a9ef590 文献管理中添加了按记录时间排序的功能 2013-10-12 09:36:13 +00:00
Li Jianxuan c0a3ee9e35 文献管理中添加了ris格式导入功能 2013-10-12 09:26:10 +00:00
wlx 3d90704b51 修正文献类型编码 2013-10-12 04:10:22 +00:00
Li Jianxuan 4b98d2787f 修改参数bug 2013-10-12 03:59:53 +00:00
wlx 88c058854c 修复生成脚本中的路径错误 2013-10-11 01:34:00 +00:00
Li Jianxuan e5172936f0 添加了序号显示 2013-10-10 02:32:43 +00:00
Li Jianxuan d978e0e8c7 添加了数据文献的编辑功能,在文献列表页面添加了快速添加数据文献的按钮 2013-10-10 02:19:46 +00:00
Li Jianxuan e1f1a30f98 增加了数据文献的添加和移除功能 2013-10-09 10:02:11 +00:00
wlx e322e0cbe2 修改文字说明 2013-10-09 07:58:46 +00:00
Li Jianxuan 8caeae6913 修改了生成pdf时限制数量的判断规则 2013-10-09 03:46:33 +00:00
Li Jianxuan 7760e3fea6 view类中增加新功能,在生成pdf的时候添加数量控制 2013-10-09 03:22:27 +00:00
wlx ef18c978fe fix sql error 2013-10-08 10:34:14 +00:00
Li Jianxuan 99088092ac #552 修改状态读取字段 2013-10-08 08:45:58 +00:00
Li Jianxuan 5d2010ba1d #552 添加待处理列表功能 2013-10-08 03:35:49 +00:00
wlx 01f2117dbd 取消已发布数据的版本发布邮件通知 2013-10-01 06:26:03 +00:00
wlx 2b8c958bfa 修复数据文献管理错误 2013-09-30 04:21:11 +00:00
Li Jianxuan b6bf8b1d40 完善后台文献管理的相关代码 2013-09-30 03:20:50 +00:00
wlx d5e1dbcbee 修改离线服务记录的限定条件 2013-09-30 03:18:06 +00:00
Li Jianxuan 6a9bdd0109 添加了搜索和排序功能 2013-09-30 03:09:21 +00:00
Li Jianxuan 3f216e98bc 添加了文献管理中的备注字段,修改bibtex为ris 2013-09-30 02:16:30 +00:00
Li Jianxuan 2c5a014a47 修改申请查看的后台页面地址 2013-09-30 02:10:57 +00:00
Li Jianxuan 60da9b5ea6 修改了登录后自动跳转的链接. 2013-09-30 02:00:43 +00:00
Li Jianxuan 737a967a51 优化post页面的功能 2013-09-29 10:18:25 +00:00
Li Jianxuan 8ab7186eab 添加了多个上传自动提取文件名作为文献名称的功能,添加了文献删除的功能,优化页面跳转 2013-09-29 10:06:49 +00:00
Li Jianxuan 579a204c0f 更改view::addPaginator的调用参数 2013-09-29 07:02:23 +00:00
wlx 3f303c9b10 修改分类为literature 2013-09-28 06:16:55 +00:00
wlx 7aafcc16d1 change water sql 2013-09-28 03:24:44 +00:00
wlx b918763486 fix spell error 2013-09-28 03:23:34 +00:00
wlx 9a72b44369 fix error 2013-09-28 03:22:48 +00:00
wlx 10937d4d0d 添加WATER文献查看功能 2013-09-28 03:21:40 +00:00
wlx 512ec4b98c 修复无文献的编辑错误 2013-09-28 02:17:33 +00:00
wlx 0fc75d13f5 set no time limit 2013-09-27 08:10:03 +00:00
Li Jianxuan 3edc580c14 文献管理中添加了批量上传功能和文件管理功能 2013-09-27 07:21:14 +00:00
wlx f78bc77e7f comment the unused 2013-09-26 10:38:59 +00:00
Li Jianxuan 1118dca7ce 在数据管理导航中添加了文献管理 2013-09-26 08:33:52 +00:00
Li Jianxuan 31cd51a825 更新文件操作类,添加数据表对象 2013-09-26 08:29:28 +00:00
Li Jianxuan d7d7037a24 后台添加文献管理界面,添加了单篇文献添加和编辑功能 2013-09-26 08:26:29 +00:00
Li Jianxuan cd2c1c831e 修改重置申请表后用户点击的链接地址 2013-09-26 07:16:43 +00:00
wlx 7010683a9d 处理wsn数据生成 2013-09-26 05:11:12 +00:00
wlx 39720be5ad 添加判断是否存在wsn数据的函数 2013-09-26 05:10:30 +00:00
wlx 74ed000c6c 说明文字修改 2013-09-26 05:09:53 +00:00
wlx 7a3dcab48c 修改wsn数据处理地址 2013-09-26 04:11:27 +00:00
wlx f89fd45706 修改文字说明 2013-09-26 04:08:08 +00:00
wlx d5312fe506 修复后台显示多个相同申请表的错误 2013-09-26 03:42:05 +00:00
wlx 19ac21f7c2 修复订单处理中的逻辑错误,修改数据蓝中的相关文字说明 2013-09-26 03:28:43 +00:00
wlx 77efed4024 change search to heihe 2013-09-26 03:27:01 +00:00
wlx 32b2d59015 web执行与cli二合一 2013-09-25 15:19:16 +00:00
wlx c653459536 添加wsndata数据处理支持 2013-09-25 14:07:28 +00:00
Li Jianxuan 013b2cdb32 修改签字版pdf文件读取路径 2013-09-25 09:48:22 +00:00
Li Jianxuan 68004bd83e 增加提取UUID的流程 2013-09-25 09:44:21 +00:00
Li Jianxuan 1cbbb12f8f 修改生成数据的操作进行的流程,修改传递的参数 2013-09-25 09:30:39 +00:00
wlx 1fbbafd719 add use 2013-09-25 09:26:41 +00:00
Li Jianxuan a47bdff70b 删除错误的代码 2013-09-23 02:14:00 +00:00
Li Jianxuan ac3a194a34 修改了pdf生成页面的提示文字 2013-09-17 06:49:01 +00:00
wlx 35ede84804 修复后台错误 2013-09-16 04:13:53 +00:00
Li Jianxuan 9ed360237c 将数据生成接口移动到后台。 2013-09-12 08:06:05 +00:00
Li Jianxuan 256c4a3bc9 修改了导航内容 2013-09-11 08:12:29 +00:00
Li Jianxuan 03ca27e589 注释了数据收藏功能,修复待处理申请中的逻辑错误 2013-09-11 03:56:13 +00:00
wlx b63ab17ab3 change order to Order 2013-09-11 03:33:28 +00:00
wlx a1d032b371 add module path 2013-09-11 03:25:06 +00:00
Li Jianxuan e5cde968b7 已上传pdf后也添加了生成pdf的按钮 2013-09-11 01:42:47 +00:00
Li Jianxuan 0e4e1111f5 修改离线申请的pdf上传流程 2013-09-09 08:46:54 +00:00
Li Jianxuan 3ae66dd5fb 后台添加了申请表的查看和下载功能 2013-09-09 03:11:29 +00:00
wlx 9f7b4ff0f9 更新保密协议抬头 2013-09-09 03:04:24 +00:00
Li Jianxuan 232a08eeb2 修改了列表中applicationform字段的调用位置 2013-09-06 09:20:51 +00:00
Li Jianxuan b2b627c8db 修改了后台操作中相关申请表字段的读取 2013-09-06 08:15:16 +00:00
Li Jianxuan e93fe95ed6 将申请表上传的文件路径保存位置移动到offlineapp表 2013-09-06 07:56:41 +00:00
Li Jianxuan b0cb441d47 修改了project_leader在pdf中读取的bug,添加了提交离线申请后更新信息到用户表的功能 2013-09-06 07:05:33 +00:00
wlx e73480fb38 add smtp.name 2013-09-06 06:18:39 +00:00
Li Jianxuan b2a756cd87 修改了项目负责人字段的名称,在线申请表中也添加了项目负责人字段 2013-09-06 03:41:46 +00:00
Li Jianxuan c5503be20a 视图中删除了项目负责人信息的填写框 2013-09-05 09:14:26 +00:00
Li Jianxuan 3e881ec267 删除了项目负责人职称的填写 2013-09-05 09:14:00 +00:00
Li Jianxuan 7b150ee8ac 添加了作者同意用户申请时的wsn数据生成功能 2013-09-05 04:00:07 +00:00
Li Jianxuan 14c012c78f 添加了重置申请表的确认按钮 2013-09-05 01:57:37 +00:00
Li Jianxuan 04dbd9eeb9 后台离线申请管理中添加了上传申请表、重置申请表,查看申请表的功能 2013-09-05 01:56:30 +00:00
Li Jianxuan 3f4c945dbf 添加了用户上传申请表的功能 2013-09-05 01:54:50 +00:00
Li Jianxuan b062e86e04 文件类中添加了申请表上传的操作,完善Mail、View、dbh助手,完善Order中相关功能,添加Open模块 2013-09-05 01:52:27 +00:00
Li Jianxuan 48ea533412 在PDF类中添加了dataservice相关数据的页面操作,dataservice中添加了wsn数据读取时登录的判断 2013-09-05 01:50:29 +00:00
Li Jianxuan dc7be636fa 添加了后台的申请表上传和前台申请表上传控件的通用操作JS 2013-09-05 01:46:26 +00:00
Li Jianxuan 7c131daf89 完善了dataservice与wsn的对接,在pdf生成中,如果有子集选择数据,则添加到附件中 2013-08-29 07:53:31 +00:00
Li Jianxuan 6152c36246 对数据篮的数据提交过程进行了模块化改造 2013-08-28 09:50:08 +00:00
Li Jianxuan f66616d0dc hiwater\view中添加了dataservice判定 2013-08-28 02:50:40 +00:00
Li Jianxuan 643ccaad7a 在data/view页面中添加了dataservice 2013-08-28 02:49:07 +00:00
Li Jianxuan 849918408b 修改namespace 小写为大写,添加了历史offlineapp信息记录的调用 2013-08-28 01:49:27 +00:00
wlx 8329e665a8 move order directory to module 2013-08-28 01:45:09 +00:00
Li Jianxuan 9552d51276 修改了 namespace order中的若干操作,增加了pdf里的项目负责人和项目负责人职称字段 2013-08-28 01:41:49 +00:00
Li Jianxuan 7c6f3e3f0c 完成了dataservice中wsn接口的开发和调用。在heihe\view中添加了wsn数据选择子集的功能 2013-08-26 02:39:22 +00:00
Li Jianxuan a9a92ffacb 添加了时间选择插件 2013-08-26 02:35:28 +00:00
Li Jianxuan c4effc6c45 修改模块的命名空间,全面采用新模块名称 2013-08-26 02:33:44 +00:00
Li Jianxuan 644baf0a20 创建了新的邮件类,方便操作,并且添加了事件功能 2013-08-22 08:08:45 +00:00
Li Jianxuan 87f2aaa67d 更新助手类 2013-08-22 07:59:09 +00:00
Li Jianxuan e4ef7119fb 完善了文件输出类,修改了csv格式和乱码的问题 2013-08-19 08:17:50 +00:00
Li Jianxuan 5848e2206d 添加了Theme中的uploadify对象 2013-08-16 10:04:18 +00:00
Li Jianxuan 6c21107cc7 增加了后台上传申请表的功能 2013-08-16 09:59:59 +00:00
Li Jianxuan f217f41059 增加了有命名空间和事件驱动模式的新文件模块 2013-08-16 09:59:11 +00:00
Li Jianxuan 1353d1753c 增加了新版本uploadify,由于api与旧版不同,不能直接覆盖旧版,修改了dataservice获取时ajax状态的判断 2013-08-16 09:57:39 +00:00
Li Jianxuan 3f896af13f 增加Dataservice中关于WSN数据的操作,增加CURL类 2013-07-26 10:44:59 +00:00
Li Jianxuan b1abdbf7e9 更新了view页面JS,修改wsn数据交换方式为后台CURL方式 2013-07-26 10:43:30 +00:00
Li Jianxuan 53c820faa0 添加wsn数据选择弹窗控件和数据服务选择功能 2013-07-25 09:13:57 +00:00
Li Jianxuan eac0d60036 更新数据的PDF生成功能,更改添加到数据篮的后台处理 2013-07-24 10:11:14 +00:00
Li Jianxuan 7fe66c8b4b 更新助手类,添加新功能 getHostLink() 2013-07-24 10:09:19 +00:00
Li Jianxuan d33d9934be 修改表单验证流程 2013-07-22 09:16:18 +00:00
wlx 5bf297cb14 添加支持项目的排序功能 2013-07-22 05:23:41 +00:00
wlx 7df336092d 更新黑河协议 2013-07-22 04:12:11 +00:00
Li Jianxuan 77c95fde76 修改离线申请表,增加wsn数据来源判定 2013-07-19 10:19:59 +00:00
Li Jianxuan a0c8be3a73 初步完成数据收藏功能 2013-07-19 10:18:07 +00:00
wlx 57990bcd4a 修正doi操作逻辑 2013-07-19 09:06:37 +00:00
Li Jianxuan a7462e4921 #546 添加数据篮操作的相关类,初步模块化数据篮功能,修改视图中链接bug 2013-07-17 09:53:44 +00:00
wlx 8eee6b352a fix gn url error 2013-07-17 08:21:01 +00:00
wlx 985120fe69 #545, 初步实现黑河数据的协议分离 2013-07-17 08:04:33 +00:00
wlx 0cfab6f6aa fix url link error 2013-07-15 15:51:28 +00:00
Li Jianxuan 4d78dbd2ff 更新邮件模板类,将set簇方法和send() 进行了整合 2013-07-15 08:39:31 +00:00
Li Jianxuan 0a2f5cc4d1 修改后台元数据评审功能 2013-07-15 03:44:50 +00:00
wlx b7b62a9960 更新在线、离线视图 2013-07-14 10:04:11 +00:00
wlx b71f0c79e9 #539, 实现heihe专题的在线、离线列表查看 2013-07-14 09:58:14 +00:00
wlx 7f529491da #537,修复首页统计不准确的问题 2013-07-12 07:00:39 +00:00
Li Jianxuan 27082e4a26 #536 修改一处逻辑错误 2013-07-11 06:59:16 +00:00
Li Jianxuan 3f3198b355 #536 修改元数据默认的doi显示 2013-07-11 06:57:17 +00:00
Li Jianxuan e393f8085a 修改后台我负责的元数据管理功能,增加了分字段排序功能 2013-07-10 09:04:43 +00:00
Li Jianxuan c94f452eb6 删除了等待评审和我评审过的中的测试代码,增加登录跳转 2013-07-09 01:35:21 +00:00
Li Jianxuan 68d6f6a0bd 数据评审中增加了等待我评审的和我评审过的元数据查看功能 2013-07-08 10:15:39 +00:00
wlx ff27b69a51 修改默认使用声明中的数据中心名称 2013-07-08 01:40:46 +00:00
wlx 92971d651f 更新数据引用信息以及项目信息的支持 2013-07-02 06:44:01 +00:00
wlx 36ab07c9ea 更新数据保密协议以及使用协议 2013-07-02 03:32:51 +00:00
wlx d9d6177a91 增加doi的搜索功能 2013-06-29 16:15:23 +00:00
wlx 734327fa82 修改数据排序方式 2013-06-29 14:49:03 +00:00
wlx d8d1eb9135 更新专题数据展示 2013-06-29 14:37:27 +00:00
Li Jianxuan 790922246b 添加文献编辑中修改链接和类型的功能 2013-06-27 06:27:59 +00:00
wlx bf2e91f2c7 修改文字说明 2013-06-26 14:04:19 +00:00
wlx 196db663b2 次序调整 2013-06-26 02:35:00 +00:00
wlx 56fc5d0b13 修改数据协议模板,添加黑河计划数据管理中心 2013-06-26 02:32:52 +00:00
wlx 2d4c668c88 修改hiwater页面 2013-06-25 00:49:31 +00:00
Li Jianxuan 4e1b6e8241 修改了文献添加部分的操作 2013-06-24 08:58:21 +00:00
wlx 065d5988cf 列出所有待审数据 2013-06-21 09:27:55 +00:00
wlx 2c474145f5 修复不能发邮件的错误 2013-06-21 09:05:21 +00:00
wlx 2b369ef8c2 fix type error 2013-06-21 08:49:38 +00:00
wlx 2034f79a65 fix url error 2013-06-21 08:48:51 +00:00
wlx 0281f7f1b1 实现 #511, #514, #516. 问题数据检查 2013-06-20 15:20:29 +00:00
Li Jianxuan 97b8d9292f 修改登录页面表单,增加鼠标单击切换验证码的功能 2013-06-20 08:59:32 +00:00
wlx 7ec4679db8 切换normalmetadata为heihemetadata,并做页面的修改 2013-06-20 07:34:53 +00:00
wlx 7e77feb16d 添加了空白数据的处理 2013-06-20 06:52:40 +00:00
wlx bec46a5b16 修复右箭头乱跑的问题 2013-06-19 13:58:18 +00:00
wlx bbbe84061c #513, 修改站点名及logo 2013-06-19 13:40:46 +00:00
69 changed files with 1496 additions and 2665 deletions

View File

@ -4109,9 +4109,9 @@ group by m.uuid,m.title,m.description) md ON md.uuid=v.uuid
'title'=>$metadata['title'],
'doi'=>$metadata['doi'],
'url'=>"http://" . $_SERVER['HTTP_HOST'].'/data/'.$uuid,
'publisher'=>'寒区旱区科学数据中心',
'publisher'=>'黑河计划数据管理中心',
'title_en'=>$metadata['title_en'],
'publisher_en'=>'Cold and Arid Regions Science Data at Lanzhou',
'publisher_en'=>'Heihe Plan Science Data Center',
);
}else{
$this->view->data['doi'] = $metadata['doi'];
@ -4210,7 +4210,7 @@ group by m.uuid,m.title,m.description) md ON md.uuid=v.uuid
$doi.='<doi_data>
<doi>'.$row['doi'].'</doi>
<timestamp>'.$timestamp.'</timestamp>
<resource><![CDATA[http://westdc.westgis.ac.cn/data/'.$row['uuid'].']]></resource>
<resource><![CDATA[http://www.heihedata.org/data/'.$row['uuid'].']]></resource>
</doi_data>';
$doi.='</database>
</science_data>

View File

@ -24,16 +24,16 @@
{?>
<p>主机:<br /><input type="text" id="host" name="host" value="<?= $this->dataset['host']?>" class="full" /></p>
<p>路径:<br /><input type="text" id="path" name="path" value="<?= $this->dataset['path']?>" class="full" /></p>
<p>语言:<br /><input type="radio" name="lang" value="" <?php if ($this->dataset['lang']=='') echo 'checked="checked"'; ?> /> 不限制语言
<input type="radio" name="lang" value="cn" <?php if ($this->dataset['lang']=='cn') echo 'checked="checked"'; ?> /> 中文
<input type="radio" name="lang" value="en" <?php if ($this->dataset['lang']=='en') echo 'checked="checked"'; ?> /> 英文 </p>
<p>语言:<br /><input type="radio" id="lang" name="lang" value="" <?php if ($this->dataset['lang']=='') echo 'checked="checked"'; ?> /> 不限制语言
<input type="radio" id="lang" name="lang" value="cn" <?php if ($this->dataset['lang']=='cn') echo 'checked="checked"'; ?> /> 中文
<input type="radio" id="lang" name="lang" value="en" <?php if ($this->dataset['lang']=='en') echo 'checked="checked"'; ?> /> 英文 </p>
<p><button type="button" class="btn btn-green" onclick="updateDataSet()">修改</button></p>
<?php }else{ ?>
<p>主机:<br /><input type="text" id="host" name="host" value="" class="full" /></p>
<p>路径:<br /><input type="text" id="path" name="path" value="" class="full" /></p>
<p>语言:<br /><input type="radio" name="lang" value="" /> 不限制语言
<input type="radio" name="lang" value="cn" /> 中文
<input type="radio" name="lang" value="en" /> 英文 </p>
<p>语言:<br /><input type="radio" id="lang" name="lang" value="" /> 不限制语言
<input type="radio" id="lang" name="lang" value="cn" /> 中文
<input type="radio" id="lang" name="lang" value="en" /> 英文 </p>
<p><button type="button" class="btn btn-green" onclick="addDataSet()">添加</button></p>
<?php } ?>
</div>

View File

@ -5,7 +5,7 @@ db.params.username = gis
db.params.password = gispassword
db.params.dbname = metadata
geonetwork.url=http://westdc.westgis.ac.cn/geonetwork/
geonetwork.url=http://www.heihedata.org/geonetwork/
geonetwork.adapter = PDO_PGSQL
geonetwork.params.host = localhost
geonetwork.params.username = gis
@ -31,10 +31,10 @@ paths.newsletter=images/newsletter/
logging.file = /var/www/test.westgis.ac.cn/data/logs/debug.log
page.limit=10
import.dir=../data/import
title.site=寒区旱区科学数据中心
title.data=数据产品
title.site=黑河计划数据管理中心
title.data=数据产品与服务
title.heihe=黑河计划数据管理中心
title.yrnmr=黄河上游宁蒙河段综合数据
title.yrnmr=黄河上游宁蒙河段综合数据平台
title.glacier=中国冰川资源及其变化调查
title.review=数据评审
title.author=数据作者
@ -169,7 +169,3 @@ routes.news.route = archives/:ptype/:type/:page
routes.news.defaults.controller = archives
routes.news.defaults.action = list
routes.news.defaults.page = 1
routes.qzr.route = qzr/news/:title
routes.qzr.defaults.controller = qzr
routes.qzr.defaults.action = news

View File

@ -4,8 +4,6 @@ class AboutController extends Zend_Controller_Action
{
function indexAction()
{
$archives=new Archive($this->db);
$this->view->item=$archives->getOneArchive('中心简介','about');
}
function preDispatch()
{
@ -46,23 +44,21 @@ class AboutController extends Zend_Controller_Action
}
function termsAction()
{
$archives=new Archive($this->db);
$this->view->item=$archives->getOneArchive('使用条款','about');
}
function backgroundAction()
{
$archives=new Archive($this->db);
$this->view->item=$archives->getOneArchive('发展历史','about');
$archives=new Archive($this->db);
$this->view->item=$archives->getOneArchive('发展历史','about');
}
function legalAction()
{
$archives=new Archive($this->db);
$this->view->item=$archives->getOneArchive('隐私政策','about');
$archives=new Archive($this->db);
$this->view->item=$archives->getOneArchive('隐私政策','about');
}
function supportusAction()
{
$archives=new Archive($this->db);
$this->view->item=$archives->getOneArchive('支持我们','about');
$archives=new Archive($this->db);
$this->view->item=$archives->getOneArchive('支持我们','about');
}
function copyrightAction()
{

View File

@ -30,21 +30,21 @@ class DataController extends Zend_Controller_Action
$state=$this->db->query('select c.code,name,name_zh,count(*) from category c,categorycode cc where c.code=cc.code group by c.code,cc.name,cc.name_zh');
$this->view->category=$state->fetchAll();
//关键词
$state=$this->db->query("select keyword,count(*) from keyword right join normalmetadata on keyword.id=normalmetadata.id where keytype='place' group by keyword order by count desc limit 20");
$state=$this->db->query("select keyword,count(*) from keyword right join heihemetadata on keyword.id=heihemetadata.id where keytype='place' group by keyword order by count desc limit 20");
$k1=$state->fetchAll();
$state=$this->db->query("select keyword,count(*) from keyword right join normalmetadata on keyword.id=normalmetadata.id where keytype='theme' group by keyword order by count desc limit 20");
//$state=$this->db->query("select k.keyword,count(k.keyword) from keyword k left join normalmetadata m on k.id=m.id where k.keytype='theme' and (m.uuid in (select uuid from dataorder group by uuid order by count(uuid) desc limit 20)) group by k.keyword order by count(k.keyword) desc limit 20");
$state=$this->db->query("select keyword,count(*) from keyword right join heihemetadata on keyword.id=heihemetadata.id where keytype='theme' group by keyword order by count desc limit 20");
//$state=$this->db->query("select k.keyword,count(k.keyword) from keyword k left join heihemetadata m on k.id=m.id where k.keytype='theme' and (m.uuid in (select uuid from dataorder group by uuid order by count(uuid) desc limit 20)) group by k.keyword order by count(k.keyword) desc limit 20");
$k2=$state->fetchAll();
$state=$this->db->query("select keyword,count(*) from keyword right join normalmetadata on keyword.id=normalmetadata.id where keytype='discipline' group by keyword order by count desc limit 20");
$state=$this->db->query("select keyword,count(*) from keyword right join heihemetadata on keyword.id=heihemetadata.id where keytype='discipline' group by keyword order by count desc limit 20");
$k3=$state->fetchAll();
$state=$this->db->query("select keyword,count(*) from keyword right join normalmetadata on keyword.id=normalmetadata.id where keytype='stratum' group by keyword order by count desc limit 20");
$state=$this->db->query("select keyword,count(*) from keyword right join heihemetadata on keyword.id=heihemetadata.id where keytype='stratum' group by keyword order by count desc limit 20");
$k4=$state->fetchAll();
$state=$this->db->query("select keyword,count(*) from keyword right join normalmetadata on keyword.id=normalmetadata.id where keytype='temporal' group by keyword order by count desc limit 20");
//$state=$this->db->query("select k.keyword,count(k.keyword) from keyword k left join normalmetadata m on k.id=m.id where k.keytype='temporal' and (m.uuid in (select uuid from dataorder group by uuid order by count(uuid) desc limit 20)) group by k.keyword order by count(k.keyword) desc limit 20");
$state=$this->db->query("select keyword,count(*) from keyword right join heihemetadata on keyword.id=heihemetadata.id where keytype='temporal' group by keyword order by count desc limit 20");
//$state=$this->db->query("select k.keyword,count(k.keyword) from keyword k left join heihemetadata m on k.id=m.id where k.keytype='temporal' and (m.uuid in (select uuid from dataorder group by uuid order by count(uuid) desc limit 20)) group by k.keyword order by count(k.keyword) desc limit 20");
$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 from normalmetadata order by id desc limit 10');
$state=$this->db->query('select id,uuid,title from heihemetadata order by id desc limit 10');
$this->view->metadata = $state->fetchAll();
//特色数据
@ -91,11 +91,11 @@ class DataController extends Zend_Controller_Action
if (empty($page)) $page=1;
$limit=30;
$offset=$limit*($page-1);
$state=$this->db->query('select count(*) from normalmetadata where datatype=0');
$state=$this->db->query('select count(*) from heihemetadata where datatype=0');
$row=$state->fetchAll();
$sum=$row[0]['count'];
$select=$this->db->select();
$select->from('normalmetadata','*')->where('datatype=0')->order('title')->limitPage($page,$limit);
$select->from('heihemetadata','*')->where('datatype=0')->order('title')->limitPage($page,$limit);
$this->view->metadata = $this->db->fetchAll($select);
$this->view->page=new Pagination($sum,$page,$limit);
}
@ -105,11 +105,11 @@ class DataController extends Zend_Controller_Action
if (empty($page)) $page=1;
$limit=30;
$offset=$limit*($page-1);
$state=$this->db->query('select count(*) from normalmetadata where datatype=1');
$state=$this->db->query('select count(*) from heihemetadata where datatype=1');
$row=$state->fetchAll();
$sum=$row[0]['count'];
$select=$this->db->select();
$select->from('normalmetadata','*')->where('datatype=1')->order('title')->limitPage($page,$limit);
$select->from('heihemetadata','*')->where('datatype=1')->order('title')->limitPage($page,$limit);
$this->view->metadata = $this->db->fetchAll($select);
$this->view->page=new Pagination($sum,$page,$limit);
}
@ -209,7 +209,7 @@ class DataController extends Zend_Controller_Action
if (empty($page)) $page=1;
$limit=10;
$offset=$limit*($page-1);
$sql='select keyword,count(*),keytype from keyword right join normalmetadata on keyword.id=normalmetadata.id ';
$sql='select keyword,count(*),keytype from keyword right join heihemetadata on keyword.id=heihemetadata.id ';
if (!empty($keytype) && ($keytype=='place' || $keytype=='theme' || $keytype=='discipline'||$keytype=='temporal')) $sql.=" where keytype='".$keytype."'";
$sql.=' group by keyword,keytype order by keytype,keyword,count desc';
$state=$this->db->query($sql);
@ -222,13 +222,13 @@ class DataController extends Zend_Controller_Action
$key=$row->name;
}
$this->view->codename=$key;
$sql=$this->db->quoteInto('select count(m.id) from normalmetadata m,keyword k where m.id=k.id and k.keyword=?',$key);
$sql=$this->db->quoteInto('select count(m.id) from heihemetadata m,keyword k where m.id=k.id and k.keyword=?',$key);
$state=$this->db->query($sql);
$row=$state->fetchAll();
$sum=$row[0]['count'];
$select=$this->db->select();
$select->from('normalmetadata','*')->join('keyword','normalmetadata.id=keyword.id')->where('keyword.keyword=?',$key)->order('normalmetadata.title')->limitPage($page,$limit);
$select->from('heihemetadata','*')->join('keyword','heihemetadata.id=keyword.id')->where('keyword.keyword=?',$key)->order('heihemetadata.title')->limitPage($page,$limit);
//$sql=$db->quoteInto('select m.* from metadata m,keyword k where m.id=k.id and k.keyword=?',$key);
//$state=$db->query($sql);
$this->view->metadata=$this->db->fetchAll($select);
@ -275,17 +275,17 @@ class DataController extends Zend_Controller_Action
$this->view->codename=$row['name'];
if (!empty($keyword))
{
$sql='select count(m.id) as count from normalmetadata m,dataseries d,keyword k where m.id=d.id and m.id=k.id and d.sid=? and k.keyword=?';
$sql='select count(m.id) as count from heihemetadata m,dataseries d,keyword k where m.id=d.id and m.id=k.id and d.sid=? and k.keyword=?';
$row=$this->db->fetchAll($sql,array($id,$keyword));
$this->view->codename.="【关键词:".$keyword."";
}else{
$sql='select count(m.id) as count from normalmetadata m,dataseries d where m.id=d.id and d.sid=?';
$sql='select count(m.id) as count from heihemetadata m,dataseries d where m.id=d.id and d.sid=?';
$row=$this->db->fetchAll($sql,array($id));
}
$sum=$row[0]['count'];
$select=$this->db->select();
$select->from('normalmetadata','*')->join('dataseries','normalmetadata.id=dataseries.id')->where('dataseries.sid=?',$id)->order('normalmetadata.title')->limitPage($page,$limit);
if (!empty($keyword)) $select->join('keyword','keyword.id=normalmetadata.id')->where('keyword.keyword=?',$keyword);
$select->from('heihemetadata','*')->join('dataseries','heihemetadata.id=dataseries.id')->where('dataseries.sid=?',$id)->order('heihemetadata.title')->limitPage($page,$limit);
if (!empty($keyword)) $select->join('keyword','keyword.id=heihemetadata.id')->where('keyword.keyword=?',$keyword);
$this->view->metadata=$this->db->fetchAll($select);
$this->view->page=new Pagination($sum,$page,$limit);
//$this->view->showtools=($sum>$page)?true:false;
@ -312,11 +312,11 @@ class DataController extends Zend_Controller_Action
$where=$this->db->quoteInto('code = ?',$code);
$row=$this->db->fetchRow("select * from categorycode where ".$where);
$this->view->codename=(empty($row['name_zh'])?$row['name']:$row['name_zh']);
$sql='select count(m.id) from normalmetadata m left join category c on m.id=c.id where c.code=?';
$sql='select count(m.id) from heihemetadata m left join category c on m.id=c.id where c.code=?';
$row=$this->db->fetchRow($sql,array($code));
$sum=$row['count'];
$select=$this->db->select();
$select->from('normalmetadata as m','*')->joinLeft('category as c','m.id=c.id')->where('c.code=?',$code)->order('m.title')->limitPage($page,$this->limit);
$select->from('heihemetadata as m','*')->joinLeft('category as c','m.id=c.id')->where('c.code=?',$code)->order('m.title')->limitPage($page,$this->limit);
$this->view->metadata=$this->db->fetchAll($select);
$this->view->page=new Pagination($sum,$page,$this->limit);
} else {
@ -330,14 +330,14 @@ class DataController extends Zend_Controller_Action
function timelineAction()
{
$fn="time1.xml";
$rows=$this->db->fetchAll("select ts_created from normalmetadata order by ts_created desc limit 1");
$rows=$this->db->fetchAll("select ts_created from heihemetadata order by ts_created desc limit 1");
$last_update=strtotime($rows[0]['ts_created']);
if (!file_exists($fn) || (filemtime($fn)<$last_update))
{
$dateformat="M j Y";
$md = new MetadataTable();
$db=$md->getAdapter();
$state=$db->query('select id,uuid,description,title,timebegin,timeend from normalmetadata where timebegin is not null order by timebegin');
$state=$db->query('select id,uuid,description,title,timebegin,timeend from heihemetadata where timebegin is not null order by timebegin');
$rows=$state->fetchAll();
$timexml='<data>';
foreach($rows as $row) {
@ -376,7 +376,7 @@ class DataController extends Zend_Controller_Action
$id = (int)$this->_request->getParam('id');
$where='';
if (!empty($id)) { $where=' where id='.$id; }
$sql='select id,uuid,west,south,north,east,title from normalmetadata'.$where;
$sql='select id,uuid,west,south,north,east,title from heihemetadata'.$where;
$state=$db->query($sql);
$rows=$state->fetchAll();
$geomd=new GeoMetaData();
@ -400,7 +400,7 @@ class DataController extends Zend_Controller_Action
*/
function timemapAction()
{
$sql='select id,uuid,west,south,north,east,title,timebegin,timeend from normalmetadata where timebegin is not null';
$sql='select id,uuid,west,south,north,east,title,timebegin,timeend from heihemetadata where timebegin is not null';
$this->view->rows=$this->db->fetchAll($sql);
}
/*
@ -449,7 +449,7 @@ class DataController extends Zend_Controller_Action
//'generator' => 'Zend Framework Zend_Feed',
'entries' => array()
);
$sql="select * from normalmetadata order by ts_created desc";
$sql="select * from heihemetadata order by ts_created desc";
$rs=$this->db->fetchAll($sql);
$feedArray['published']=strtotime($rs[0]['ts_created']);
foreach($rs as $r)
@ -487,9 +487,9 @@ class DataController extends Zend_Controller_Action
$offset=$this->limit*($page-1);
$search=new Search($key);
$where=$search->sql_expr(array("title","description"));
$row=$this->db->fetchAll("select count(*) from normalmetadata where ".$where);
$row=$this->db->fetchAll("select count(*) from heihemetadata where ".$where);
$sum=$row[0]['count'];
$sql="select uuid,title,id,description from normalmetadata where ".$where." order by title limit ? offset ?";
$sql="select uuid,title,id,description from heihemetadata where ".$where." order by title limit ? offset ?";
$this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset));
$this->view->page=new Pagination($sum,$page,$this->limit);
$this->view->key=$key;
@ -523,15 +523,15 @@ class DataController extends Zend_Controller_Action
$start=$this->_request->getParam('start');
$end=$this->_request->getParam('end');
if (!empty($key)) {
$sql='select count(*) from normalmetadata where east<? and west>? and north<? and south>? and (title ilike ? or description ilike ?)';
$sql='select count(*) from heihemetadata where east<? and west>? and north<? and south>? and (title ilike ? or description ilike ?)';
$row=$db->fetchAll($sql,array($e,$w,$n,$s,'%'.$key.'%','%'.$key.'%'));
} else {
$sql='select count(*) from normalmetadata where east<? and west>? and north<? and south>?';
$sql='select count(*) from heihemetadata where east<? and west>? and north<? and south>?';
$row=$db->fetchAll($sql,array($e,$w,$n,$s));
}
$sum=$row[0]['count'];
$select=$db->select();
$select->from('normalmetadata','*')->where('east<?',$e)->where('west>?',$w)->where('north<?',$n)->where('south>?',$s);
$select->from('heihemetadata','*')->where('east<?',$e)->where('west>?',$w)->where('north<?',$n)->where('south>?',$s);
if (!empty($key)) $select->where('(title ilike ? or description ilike ?)','%'.$key.'%');
$select->order('title')->limit($limit,$offset);
$this->view->metadata = $db->fetchAll($select);
@ -546,7 +546,7 @@ class DataController extends Zend_Controller_Action
function viewAction()
{
$id = (int)$this->_request->getParam('id');
$sql="select m.*,s.status,g.id as gid,t.filename,i.doi as datadoi,i.authors,i.author_en,i.publisher,i.publisher_en, date_part('year',i.ts_published) as publish_year from normalmetadata m left join mdstatus s on m.uuid=s.uuid
$sql="select m.*,s.status,g.id as gid,t.filename,i.doi as datadoi,i.authors,i.author_en,i.publisher,i.publisher_en, date_part('year',i.ts_published) as publish_year from heihemetadata m left join mdstatus s on m.uuid=s.uuid
left join thumbnail t on t.id=m.id left join geonetworkmetadata g on m.uuid=g.uuid left join datadoi i on i.uuid=m.uuid where ";
if (empty($id)) {
$uuid = $this->_request->getParam('uuid');
@ -655,7 +655,7 @@ where ds.uuid=? )) ) a ) p on r.id=p.refid order by p.place";
$sql.=" 1<>1) order by a.ts_created desc limit 10";
$this->view->literature=$this->db->fetchAll($sql);
//相关元数据,根据同名关键词实现
$sql="select distinct(md.uuid),md.title from keyword kw left join normalmetadata md on kw.id=md.id where kw.keyword in (select k.keyword from keyword k left join metadata m on k.id=m.id where m.id=? and k.keytype='theme') and kw.id<>? limit 10";
$sql="select distinct(md.uuid),md.title from keyword kw left join heihemetadata md on kw.id=md.id where kw.keyword in (select k.keyword from keyword k left join metadata m on k.id=m.id where m.id=? and k.keytype='theme') and kw.id<>? limit 10";
$this->view->related=$this->db->fetchAll($sql,array($id,$id));
//用户下载记录
$sql = "select o.ts_created,m.uuid,u.realname,u.unit,oa.project as onlineproject, fa.project as offlineproject
@ -1955,11 +1955,11 @@ where ds.uuid=? )) ) a ) p on r.id=p.refid order by p.place";
$page=(int)$this->_request->getParam('page');
if (empty($page)) $page=1;
$offset=$this->limit*($page-1);
$state=$this->db->query("select count(*) from normalmetadata");
$state=$this->db->query("select count(*) from heihemetadata");
$row=$state->fetchAll();
$sum=$row[0]['count'];
$select=$this->db->select();
$select->from('normalmetadata as m','m.*')
$select->from('heihemetadata as m','m.*')
->order('m.title desc')->limitPage($page,9);
$this->view->metadata = $this->db->fetchAll($select);
$this->view->page=new Pagination($sum,$page,$this->limit);
@ -2103,7 +2103,7 @@ where ds.uuid=? )) ) a ) p on r.id=p.refid order by p.place";
{
$this->_helper->layout->disableLayout();
$this->_helper->viewRenderer->setNoRender();
$sql="select title,datatype,filesize,id from normalmetadata";
$sql="select title,datatype,filesize,id from heihemetadata";
$md=$this->db->fetchAll($sql);
foreach($md as $m)
{
@ -2136,7 +2136,7 @@ where ds.uuid=? )) ) a ) p on r.id=p.refid order by p.place";
$this->view->organisation=$state->fetchAll();
if (!empty($name)) {
$this->view->codename=$name;
$sql="select distinct m.* from normalmetadata m left join role r on m.uuid=r.uuid left join responsible s on r.resid=s.id where r.role in ('pointOfContact','resourceProvider','owner') and s.organisation=?";
$sql="select distinct m.* from heihemetadata m left join role r on m.uuid=r.uuid left join responsible s on r.resid=s.id where r.role in ('pointOfContact','resourceProvider','owner') and s.organisation=?";
$sth = $this->db->prepare($sql);
$sth->execute(array($name));
$rows = $sth->fetchAll();
@ -2157,7 +2157,7 @@ where ds.uuid=? )) ) a ) p on r.id=p.refid order by p.place";
$sql="select * from fund where id=?";
$this->view->fund=$this->db->fetchRow($sql,array($id));
if ($this->view->fund) {
$sql="select distinct m.* from normalmetadata m left join mdfund mf on m.uuid=mf.uuid where mf.fid=?";
$sql="select distinct m.* from heihemetadata m left join mdfund mf on m.uuid=mf.uuid where mf.fid=?";
$sth = $this->db->prepare($sql);
$sth->execute(array($id));
$rows = $sth->fetchAll();
@ -2190,23 +2190,23 @@ where ds.uuid=? )) ) a ) p on r.id=p.refid order by p.place";
$ac = $this->_request->getParam('ac');
if ($ac=='unready') {
//列出没有DOI的数据
$sql="select m.* from normalmetadata m where length(m.doi)<3 and m.uuid not in (select uuid from datadoi) order by m.ts_created desc";
$sql="select m.* from heihemetadata m where length(m.doi)<3 and m.uuid not in (select uuid from datadoi) order by m.ts_created desc";
$this->view->pageID='doi-unready';
} else if ($ac=='prepare') {
//列出有DOI但还未进行提交申请的数据
$sql="select m.* from normalmetadata m where length(m.doi)>3 and m.uuid not in (select uuid from datadoi) order by m.ts_created desc";
$sql="select m.* from heihemetadata m where length(m.doi)>3 and m.uuid not in (select uuid from datadoi) order by m.ts_created desc";
$this->view->pageID='doi-prepare';
} else if ($ac=='unsubmit') {
//列出有DOI并计划提交申请的数据
$sql="select m.*,d.doi as datadoi,date(d.ts_created) as ts_created from normalmetadata m left join datadoi d on m.uuid=d.uuid where length(m.doi)>3 and d.ts_created is not null and d.ts_submitted is null order by d.ts_created desc";
$sql="select m.*,d.doi as datadoi,date(d.ts_created) as ts_created from heihemetadata m left join datadoi d on m.uuid=d.uuid where length(m.doi)>3 and d.ts_created is not null and d.ts_submitted is null order by d.ts_created desc";
$this->view->pageID='doi-unsubmit';
} else if ($ac=='submit') {
//列出有DOI并计划提交申请的数据
$sql="select m.*,d.doi as datadoi,date(d.ts_submitted) as ts_submitted from normalmetadata m left join datadoi d on m.uuid=d.uuid where length(m.doi)>3 and d.ts_submitted is not null and d.ts_published is null order by d.ts_submitted desc,d.ts_created desc";
$sql="select m.*,d.doi as datadoi,date(d.ts_submitted) as ts_submitted from heihemetadata m left join datadoi d on m.uuid=d.uuid where length(m.doi)>3 and d.ts_submitted is not null and d.ts_published is null order by d.ts_submitted desc,d.ts_created desc";
$this->view->pageID='doi-submit';
} else if ($ac=='publish' || empty($ac)) {
//默认列出最新发布的DOI数据
$sql="select m.*,d.doi as datadoi,date(d.ts_submitted) as ts_submitted,date(d.ts_published) as ts_published from normalmetadata m left join datadoi d on m.uuid=d.uuid where length(m.doi)>3 and d.ts_published is not null order by d.ts_published desc,d.ts_submitted desc,d.ts_created desc";
$sql="select m.*,d.doi as datadoi,date(d.ts_submitted) as ts_submitted,date(d.ts_published) as ts_published from heihemetadata m left join datadoi d on m.uuid=d.uuid where length(m.doi)>3 and d.ts_published is not null order by d.ts_published desc,d.ts_submitted desc,d.ts_created desc";
$this->view->pageID='doi-publish';
}
$sth = $this->db->prepare($sql);
@ -2233,7 +2233,7 @@ where ds.uuid=? )) ) a ) p on r.id=p.refid order by p.place";
//列出作者的数据
$sql="select username,realname from users where id=?";
$this->view->author=$this->db->fetchRow($sql,array($id));
$sql="select m.* from normalmetadata m left join mdauthor a on a.uuid=m.uuid where a.userid=?";
$sql="select m.* from heihemetadata m left join mdauthor a on a.uuid=m.uuid where a.userid=?";
$sth = $this->db->prepare($sql);
$sth->execute(array($id));
$rows = $sth->fetchAll();
@ -2245,7 +2245,7 @@ where ds.uuid=? )) ) a ) p on r.id=p.refid order by p.place";
$this->view->paginator=$paginator;
} else {
//已经认证过的数据作者
$sql="select u.username,u.realname,u.id,count(u.id) as count from mdauthor a left join users u on a.userid=u.id where a.status=1 and a.uuid in (select uuid from normalmetadata) group by u.id,u.username,u.realname";
$sql="select u.username,u.realname,u.id,count(u.id) as count from mdauthor a left join users u on a.userid=u.id where a.status=1 and a.uuid in (select uuid from heihemetadata) group by u.id,u.username,u.realname";
$sth = $this->db->prepare($sql);
$sth->execute();
$rows = $sth->fetchAll();
@ -2264,7 +2264,7 @@ where ds.uuid=? )) ) a ) p on r.id=p.refid order by p.place";
//列出数据
$sql="select individual as username from responsible where id=?";
$this->view->author=$this->db->fetchRow($sql,array($id));
$sql="select distinct m.* from normalmetadata m left join role r on m.uuid=r.uuid left join responsible s on r.resid=s.id where r.role in ('pointOfContact','resourceProvider','owner') and s.id=?";
$sql="select distinct m.* from heihemetadata m left join role r on m.uuid=r.uuid left join responsible s on r.resid=s.id where r.role in ('pointOfContact','resourceProvider','owner') and s.id=?";
$sth = $this->db->prepare($sql);
$sth->execute(array($id));
$rows = $sth->fetchAll();
@ -2292,7 +2292,7 @@ where ds.uuid=? )) ) a ) p on r.id=p.refid order by p.place";
function listAction()
{
$sql="select m.uuid,m.title,m.citation,m.doi,d.doi as datadoi,d.ts_published,d.authors,d.publisher,date_part('year',d.ts_published) as publish_year from normalmetadata m
$sql="select m.uuid,m.title,m.citation,m.doi,d.doi as datadoi,d.ts_published,d.authors,d.publisher,date_part('year',d.ts_published) as publish_year from heihemetadata m
left join mdstatus s on m.uuid=s.uuid
left join datadoi d on d.uuid=m.uuid
where s.status>4
@ -2302,16 +2302,16 @@ where s.code in ('heihe','water','hiwater','westee'))
order by m.title";
$this->view->metadata=$this->db->fetchAll($sql);
$sql="select m.uuid,m.title,m.citation,m.doi,d.doi as datadoi,d.ts_published,d.authors,d.publisher,date_part('year',d.ts_published) as publish_year
from normalmetadata m left join datadoi d on d.uuid=m.uuid left join mdstatus s on m.uuid=s.uuid where s.status>4 and m.title like '黑河综合遥感联合试验%' order by title";
from heihemetadata m left join datadoi d on d.uuid=m.uuid left join mdstatus s on m.uuid=s.uuid where s.status>4 and m.title like '黑河综合遥感联合试验%' order by title";
$this->view->water=$this->db->fetchAll($sql);
$sql="select m.uuid,m.title,m.citation ,m.doi,d.doi as datadoi,d.ts_published,d.authors,d.publisher,date_part('year',d.ts_published) as publish_year
from normalmetadata m left join datadoi d on d.uuid=m.uuid left join mdstatus s on m.uuid=s.uuid where s.status>0 and m.title like '黑河生态水文遥感试验%' order by title";
from heihemetadata m left join datadoi d on d.uuid=m.uuid left join mdstatus s on m.uuid=s.uuid where s.status>0 and m.title like '黑河生态水文遥感试验%' order by title";
$this->view->hiwater=$this->db->fetchAll($sql);
$sql="select m.uuid,m.title,m.citation ,m.doi,d.doi as datadoi,d.ts_published,d.authors,d.publisher,date_part('year',d.ts_published) as publish_year
from normalmetadata m left join datadoi d on d.uuid=m.uuid left join mdstatus s on m.uuid=s.uuid left join datasource ds on ds.uuid=m.uuid left join source sr on ds.sourceid=sr.id where sr.code='heihe' and s.status>0 and m.title not like '黑河生态水文遥感试验%' order by title";
from heihemetadata m left join datadoi d on d.uuid=m.uuid left join mdstatus s on m.uuid=s.uuid left join datasource ds on ds.uuid=m.uuid left join source sr on ds.sourceid=sr.id where sr.code='heihe' and s.status>0 and m.title not like '黑河生态水文遥感试验%' order by title";
$this->view->heihe=$this->db->fetchAll($sql);
$sql="select m.uuid,m.title,m.citation ,m.doi,d.doi as datadoi,d.ts_published,d.authors,d.publisher,date_part('year',d.ts_published) as publish_year
from normalmetadata m left join datadoi d on d.uuid=m.uuid left join mdstatus s on m.uuid=s.uuid left join datasource ds on ds.uuid=m.uuid left join source sr on ds.sourceid=sr.id where sr.code='westee' and s.status>4 order by title";
from heihemetadata m left join datadoi d on d.uuid=m.uuid left join mdstatus s on m.uuid=s.uuid left join datasource ds on ds.uuid=m.uuid left join source sr on ds.sourceid=sr.id where sr.code='westee' and s.status>4 order by title";
$this->view->westee=$this->db->fetchAll($sql);
}

View File

@ -49,12 +49,6 @@ class HaiheController extends DataController
$this->_helper->viewRenderer('base');
}
function huailaiAction()
{
$this->getmd(array('怀来县'),'place');
$this->_helper->viewRenderer('base');
}
function viewAction()
{
parent::viewAction();

View File

@ -45,6 +45,9 @@ class HiwaterController extends DataController
{
$this->view->pageIn = "collapse9";
}
else if(in_array($acName, array("et", "satelliteet", "basinet"))){
$this->view->pageIn = "collapse12";
}
$this->view->pageID = "hiwater-".$acName;
$this->_helper->layout->setLayout('heihe');
}
@ -106,7 +109,7 @@ class HiwaterController extends DataController
function aviationAction()
{
$this->getmdlimited(array('WiDAS','PLMR','Lidar','CASI','热红外高光谱数据'),'航空遥感');
$this->getmd(array('航空遥感'));
$this->_helper->viewRenderer('base');
}
function radiometerAction()
@ -521,6 +524,23 @@ class HiwaterController extends DataController
$this->_helper->viewRenderer('base');
}
function etAction(){
$this->getmdrestricted(array('地表蒸散发'));
$archive = new Archive($this->db);
$this->view->info = $archive->getOneArchive('卫星像元/流域尺度地表蒸散发','about');
$this->_helper->viewRenderer('base');
}
function satelliteetAction(){
$this->getmdrestricted(array('地表蒸散发', '卫星像元尺度'));
$this->_helper->viewRenderer('base');
}
function basinetAction(){
$this->getmdrestricted(array('地表蒸散发', '区域尺度'));
$this->_helper->viewRenderer('base');
}
function listAction()
{
$sql="select uuid,title from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='hiwater') order by timebegin,title";

View File

@ -13,7 +13,7 @@ class IndexController extends Zend_Controller_Action
function indexAction()
{
//统计数据
$sql='select (select count(*) from users) as usernum,(select count(*) from metadata) as metanum,(select count(*) from offlineapp where ts_approved is not null ) as offlinenum';
$sql='select (select count(*) from users) as usernum,(select count(*) from heihemetadata) as metanum,(select count(*) from offlineapp where ts_approved is not null ) as offlinenum';
$row=$this->db->fetchRow($sql);
$this->view->usernum=$row['usernum'];
$this->view->metanum=$row['metanum'];
@ -21,7 +21,7 @@ class IndexController extends Zend_Controller_Action
/*$sql='select count(*) from metadata';
$row=$this->db->fetchRow($sql);
$this->view->metanum=$row['count'];*/
$sql="select sum(filesize) as sum,datatype from metadata group by datatype";
$sql="select sum(filesize) as sum,datatype from heihemetadata group by datatype";
$rows=$this->db->fetchAll($sql);
foreach($rows as $row)
{
@ -34,12 +34,12 @@ class IndexController extends Zend_Controller_Action
$sql="select * from datafeature order by id desc";
$this->view->feature=$this->db->fetchRow($sql);
//下载最多数据(top 5)
$sql="select uuid,title,id from normalmetadata where id in (select m.id from normalmetadata m left join dataorder d on m.uuid=d.uuid where m.datatype=0 group by m.id order by count(d.uuid) desc limit 5)";
$sql="select uuid,title,id from heihemetadata where id in (select m.id from heihemetadata m left join dataorder d on m.uuid=d.uuid where m.datatype=0 group by m.id order by count(d.uuid) desc limit 5)";
$this->db->setFetchMode(Zend_Db::FETCH_OBJ);
$this->view->mdtop=$this->db->fetchAll($sql);
$sql="select uuid,title,id from normalmetadata where id in (select m.id from normalmetadata m left join dataorder d on m.uuid=d.uuid where m.datatype=1 group by m.id order by count(d.uuid) desc limit 5)";
$sql="select uuid,title,id from heihemetadata where id in (select m.id from heihemetadata m left join dataorder d on m.uuid=d.uuid where m.datatype=1 group by m.id order by count(d.uuid) desc limit 5)";
$this->view->offlinemdtop=$this->db->fetchAll($sql);
$sql="select m.uuid,m.title,m.id,m.description from normalmetadata m left join thumbnail t on m.id=t.id where length(t.data)>2 order by random()";
$sql="select m.uuid,m.title,m.id,m.description from heihemetadata m left join thumbnail t on m.id=t.id where length(t.data)>2 order by random()";
$this->view->mdrandom=$this->db->fetchRow($sql);
//搜索
$this->view->addHelperPath('helper','Zend_View_Helper_');
@ -50,7 +50,7 @@ class IndexController extends Zend_Controller_Action
$News = new Archive($this->db);
$time = date("Y-m-d H:i:s",time());
$sql = "SELECT * FROM archive WHERE is_pub=true AND ts_published<'$time' AND image!='' and id in (select ar_catalog.aid from ar_category left join ar_catalog on ar_category.id=ar_catalog.cid where ar_category.code='featured') order by ts_published desc LIMIT 5";
$sql = "SELECT * FROM heihearchive WHERE is_pub=true AND ts_published<'$time' AND image!='' and id in (select ar_catalog.aid from ar_category left join ar_catalog on ar_category.id=ar_catalog.cid where ar_category.code='featured') order by ts_published desc LIMIT 5";
$sth = $this->db->query($sql);
$rows = $sth->fetchAll(PDO::FETCH_BOTH);
@ -77,7 +77,7 @@ class IndexController extends Zend_Controller_Action
$this->view->list_news = $rows;
$sql="select d.*,m.ts_published as publish_year from datadoi d left join metadata m on d.uuid=m.uuid where length(d.title)>1 and d.ts_published is not null order by ts_published desc limit 4";
$sql="select d.*,m.ts_published as publish_year from datadoi d right join heihemetadata m on d.uuid=m.uuid where length(d.title)>1 and d.ts_published is not null order by ts_published desc limit 4";
$sth = $this->db->query($sql);
$this->view->dois = $sth->fetchAll();

View File

@ -1,12 +0,0 @@
<?php
class NepalquakeController extends Zend_Controller_Action
{
function indexAction()
{
$this->_helper->ViewRenderer->setNoRender();
$this->_helper->layout->disableLayout();
$this->_redirect("http://nepalquake.westgis.ac.cn/");
}
}

View File

@ -12,11 +12,8 @@ class QzrController extends DataController
function indexAction()
{
//$sql="select m.uuid,m.title,m.id,m.description from normalmetadata m left join thumbnail t on m.id=t.id where m.uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='heihe') and length(t.data)>2 order by random() limit 3";
//$this->view->meatdata=$this->db->fetchAll($sql);
$archive = new Archive($this->db);
$this->view->info = $archive->getOneArchive('青藏铁路介绍','about');
$this->_helper->viewRenderer('base');
$sql="select m.uuid,m.title,m.id,m.description from normalmetadata m left join thumbnail t on m.id=t.id where m.uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='heihe') and length(t.data)>2 order by random() limit 3";
$this->view->meatdata=$this->db->fetchAll($sql);
}
function newsAction()

View File

@ -15,8 +15,6 @@ class YrnmrController extends DataController
{
$sql="select m.uuid,m.title,m.id,m.description from normalmetadata m left join thumbnail t on m.id=t.id where m.uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr') and length(t.data)>2 order by random() limit 3";
$this->view->meatdata=$this->db->fetchAll($sql);
$archive = new Archive($this->db);
$this->view->info = $archive->getOneArchive('黄河上游宁蒙河段:数据简介','about');
}
/*
@ -68,113 +66,126 @@ class YrnmrController extends DataController
function baseAction()
{
$this->getmd(array('基础地理','陆地表层','遥感影像','水文地质','社会经济'));
$archive = new Archive($this->db);
$this->view->info = $archive->getOneArchive('YRNMR-基础数据','about');
$page=(int)$this->_request->getParam('page');
if (empty($page)) $page=1;
$offset=$this->limit*($page-1);
$state=$this->db->query("select count(*) from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr') and id in (select id from keyword where keytype='theme' and (keyword='冰川' or keyword='沙漠' or keyword='地貌' or keyword='植被' or keyword='草场' or keyword='沙漠化' or keyword='基础地理' or keyword='遥感影像' or keyword='水文地质' or keyword='社会经济' or keyword='人口' or keyword='SWAT' or keyword='NPP' or keyword='WRF' or keyword='辐射' or keyword='NEP'))");
$row=$state->fetchAll();
$sum=$row[0]['count'];
$sql="select uuid,title from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr') and id in (select id from keyword where keytype='theme' and (keyword='冰川' or keyword='沙漠' or keyword='地貌' or keyword='植被' or keyword='草场' or keyword='沙漠化' or keyword='基础地理' or keyword='遥感影像' or keyword='水文地质' or keyword='社会经济' or keyword='人口' or keyword='SWAT' or keyword='NPP' or keyword='WRF' or keyword='辐射' or keyword='NEP')) order by timebegin,title limit ? offset ?";
$this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset));
$this->view->page=new Pagination($sum,$page,$this->limit);
$this->view->offset=$offset+1;
}
function geobaseAction()
{
$this->getmd('基础地理');
$this->_helper->viewRenderer('base');
$archive = new Archive($this->db);
$this->view->info = $archive->getOneArchive('YRNMR-基础地理','about');
}
function landsurfaceAction()
{
$this->getmd('陆地表层');
$this->_helper->viewRenderer('base');
$archive = new Archive($this->db);
$this->view->info = $archive->getOneArchive('YRNMR-陆地表层','about');
}
function rsAction()
{
$this->getmd('遥感影像');
$this->_helper->viewRenderer('base');
$archive = new Archive($this->db);
$this->view->info = $archive->getOneArchive('YRNMR-遥感影像','about');
}
function waterAction()
{
$this->getmd('水文地质');
$this->_helper->viewRenderer('base');
$archive = new Archive($this->db);
$this->view->info = $archive->getOneArchive('YRNMR-水文地质','about');
}
function modelAction()
{
$this->getmd('模型数据');
$this->_helper->viewRenderer('base');
$archive = new Archive($this->db);
$this->view->info = $archive->getOneArchive('YRNMR-模型数据','about');
}
function economicAction()
{
$this->getmd('社会经济');
$this->_helper->viewRenderer('base');
$archive = new Archive($this->db);
$this->view->info = $archive->getOneArchive('YRNMR-社会经济','about');
}
function coreAction()
{
$this->getmd(array('DEM','土地利用','土壤','气象','水文观测','实验'));
$this->_helper->viewRenderer('base');
$archive = new Archive($this->db);
$this->view->info = $archive->getOneArchive('YRNMR-核心数据','about');
$page=(int)$this->_request->getParam('page');
if (empty($page)) $page=1;
$offset=$this->limit*($page-1);
$state=$this->db->query("select count(*) from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr') and id in (select id from keyword where keytype='theme' and (keyword='DEM' or keyword='土地利用' or keyword='土壤' or keyword='气象' or keyword='水文观测' or keyword='灌溉' or keyword='试验'))");
$row=$state->fetchAll();
$sum=$row[0]['count'];
$sql="select uuid,title from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr') and id in (select id from keyword where keytype='theme' and (keyword='DEM' or keyword='土地利用' or keyword='土壤' or keyword='气象' or keyword='水文观测' or keyword='灌溉' or keyword='试验')) order by timebegin,title limit ? offset ?";
$this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset));
$this->view->page=new Pagination($sum,$page,$this->limit);
$this->view->offset=$offset+1;
}
function demAction()
{
$this->getmd('DEM');
$this->_helper->viewRenderer('base');
$archive = new Archive($this->db);
$this->view->info = $archive->getOneArchive('YRNMR-DEM','about');
}
function rsAction()
{
$this->getmd('遥感影像');
}
function waterAction()
{
$this->getmd('水文地质');
}
function modelAction()
{
$page=(int)$this->_request->getParam('page');
if (empty($page)) $page=1;
$offset=$this->limit*($page-1);
$state=$this->db->query("select count(*) from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr') and id in (select id from keyword where keytype='theme' and (keyword='WRF' or keyword='NPP' or keyword='SWAT' or keyword='NEP' or keyword='辐射'))");
$row=$state->fetchAll();
$sum=$row[0]['count'];
$sql="select uuid,title from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr') and id in (select id from keyword where keytype='theme' and (keyword='WRF' or keyword='NPP' or keyword='SWAT' or keyword='NEP' or keyword='辐射')) order by timebegin,title limit ? offset ?";
$this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset));
$this->view->page=new Pagination($sum,$page,$this->limit);
$this->view->offset=$offset+1;
}
function economicAction()
{
$page=(int)$this->_request->getParam('page');
if (empty($page)) $page=1;
$offset=$this->limit*($page-1);
$state=$this->db->query("select count(*) from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr') and id in (select id from keyword where keytype='theme' and (keyword='人口' or keyword='社会经济'))");
$row=$state->fetchAll();
$sum=$row[0]['count'];
$sql="select uuid,title from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr') and id in (select id from keyword where keytype='theme' and (keyword='人口' or keyword='社会经济')) order by timebegin,title limit ? offset ?";
$this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset));
$this->view->page=new Pagination($sum,$page,$this->limit);
$this->view->offset=$offset+1;
}
function landsurfaceAction()
{
$page=(int)$this->_request->getParam('page');
if (empty($page)) $page=1;
$offset=$this->limit*($page-1);
$state=$this->db->query("select count(*) from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr') and id in (select id from keyword where keytype='theme' and (keyword='冰川' or keyword='沙漠' or keyword='地貌' or keyword='植被' or keyword='草场' or keyword='沙漠化'))");
$row=$state->fetchAll();
$sum=$row[0]['count'];
$sql="select uuid,title from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr') and id in (select id from keyword where keytype='theme' and (keyword='冰川' or keyword='沙漠' or keyword='地貌' or keyword='植被' or keyword='草场' or keyword='沙漠化')) order by timebegin,title limit ? offset ?";
$this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset));
$this->view->page=new Pagination($sum,$page,$this->limit);
$this->view->offset=$offset+1;
}
function landuseAction()
{
$this->getmd('土地利用');
$this->_helper->viewRenderer('base');
$archive = new Archive($this->db);
$this->view->info = $archive->getOneArchive('YRNMR-土地利用','about');
$this->getmd('土地利用','theme');
}
function soilAction()
{
$this->getmd('土壤');
$this->_helper->viewRenderer('base');
$archive = new Archive($this->db);
$this->view->info = $archive->getOneArchive('YRNMR-土地利用','about');
$this->getmd('土壤','theme');
}
function meteoAction()
{
$this->getmd('气象');
$this->_helper->viewRenderer('base');
$archive = new Archive($this->db);
$this->view->info = $archive->getOneArchive('YRNMR-气象','about');
$this->getmd('气象','theme');
}
function hydroAction()
{
$this->getmd('水文观测','theme');
}
function irragationAction()
{
$this->getmd('灌溉','theme');
}
function expAction()
{
$this->getmd('实验');
$this->_helper->viewRenderer('base');
$archive = new Archive($this->db);
$this->view->info = $archive->getOneArchive('YRNMR-实验','about');
$this->getmd('实验','theme');
}
function obsAction()
{
$this->getmd('观测');
$this->_helper->viewRenderer('base');
$archive = new Archive($this->db);
$this->view->info = $archive->getOneArchive('YRNMR-观测','about');
$this->getmd('观测','theme');
}
function listAction()
@ -186,13 +197,12 @@ class YrnmrController extends DataController
function tagAction()
{
$key = $this->_request->getParam('key');
$keytype = $this->_request->getParam('keytype');
$page=(int)$this->_request->getParam('page');
if (empty($page)) $page=1;
$offset=$this->limit*($page-1);
if (!empty($key)) {
$this->view->codename=$key;
$sql=$this->db->quoteInto("select count(k.id) from keyword k left join normalmetadata m on k.id=m.id where m.uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr') and k.keyword=?",$key);
$sql=$this->db->quoteInto('select count(id) from keyword where keyword=?',$key);
$state=$this->db->query($sql);
$row=$state->fetchAll();
$sum=$row[0]['count'];
@ -200,12 +210,17 @@ class YrnmrController extends DataController
$this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset));
$this->view->page=new Pagination($sum,$page,$this->limit);
} else {
$sql="select k.keyword,count(*),k.keytype from keyword k left join normalmetadata m on k.id=m.id where m.uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr') ";
if (!empty($keytype) && ($keytype=='place' || $keytype=='theme' || $keytype=='discipline'||$keytype=='temporal')) $sql.=" and k.keytype='".$keytype."'";
$sql.=' group by k.keyword,k.keytype order by k.keytype,k.keyword,count desc';
$state=$this->db->query($sql);
$this->view->keytype=$keytype;
$this->view->keywords=$state->fetchAll();
$state=$this->db->query("select keyword.keyword,count(*) from keyword left join normalmetadata m on keyword.id=m.id where keyword.keytype='place' and m.uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr') group by keyword.keyword order by count desc");
$k1=$state->fetchAll();
$state=$this->db->query("select k.keyword,count(k.keyword) from keyword k left join normalmetadata m on k.id=m.id where k.keytype='theme' and m.uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr') group by k.keyword order by k.keyword");
$k2=$state->fetchAll();
$state=$this->db->query("select k.keyword,count(k.keyword) from keyword k left join normalmetadata m on k.id=m.id where k.keytype='discipline' and m.uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr') group by k.keyword order by k.keyword");
$k3=$state->fetchAll();
$state=$this->db->query("select k.keyword,count(k.keyword) from keyword k left join normalmetadata m on k.id=m.id where k.keytype='stratum' and m.uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr') group by k.keyword order by k.keyword");
$k4=$state->fetchAll();
$state=$this->db->query("select keyword.keyword,count(*) from keyword left join normalmetadata m on keyword.id=m.id where keyword.keytype='temporal' and m.uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr') group by keyword.keyword order by keyword.keyword");
$k5=$state->fetchAll();
$this->view->keywords=array('place'=>$k1,'theme'=>$k2,'discipline'=>$k3,'stratum'=>$k4,'temporal'=>$k5);
}
}
@ -291,113 +306,11 @@ class YrnmrController extends DataController
$page=(int)$this->_request->getParam('page');
if (empty($page)) $page=1;
$offset=$this->limit*($page-1);
if (!is_array($keyword))
{
$keyword=array($keyword);
}
$key="(";
foreach($keyword as $k)
{
$key.="'".$k."',";
}
$key=substr($key,0,-1);
$key.=")";
$keyword=$key;
$state=$this->db->query("select count(m.*) from normalmetadata m left join datasource d on m.uuid=d.uuid left join source s on d.sourceid=s.id where s.code='yrnmr' and m.id in (select id from keyword where keytype='".$type."' and keyword in ".$keyword.")");
$state=$this->db->query("select count(m.*) from normalmetadata m left join datasource d on m.uuid=d.uuid left join source s on d.sourceid=s.id where s.code='yrnmr' and m.id in (select id from keyword where keytype='".$type."' and keyword='".$keyword."')");
$row=$state->fetchAll();
$sum=$row[0]['count'];
//@todo: add order with title
$sql="select uuid,title from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr') and id in (select id from keyword where keytype='".$type."' and keyword in ".$keyword.") order by title limit ? offset ?";
$this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset));
$this->view->page=new Pagination($sum,$page,$this->limit);
$this->view->offset=$offset+1;
}
//获取多项条件并列关系的数据并必须满足limited条件
//$keyword:字符串或字符串数组
//$limited:限制字符串
//$without:明确不包含的字符串数组
private function getmdlimited($keyword,$limited,$without='')
{
$page=(int)$this->_request->getParam('page');
if (empty($page)) $page=1;
$offset=$this->limit*($page-1);
if (!is_array($keyword))
{
$keyword=array($keyword);
}
$key="(";
foreach($keyword as $k)
{
$key.="'".$k."',";
}
$key=substr($key,0,-1);
$key.=")";
$keyword=$key;
if (!empty($without))
{
if (!is_array($without))
{
$without=array($without);
}
$withoutkey="(";
foreach ($without as $wo)
{
$withoutkey.="'".$wo."',";
}
$withoutkey=substr($withoutkey,0,-1);
$withoutkey.=")";
}
$sql="select count(m.*) from normalmetadata m left join datasource d on m.uuid=d.uuid left join source s on d.sourceid=s.id
where s.code='yrnmr' and m.id in (select id from keyword where keyword='".$limited."')
and m.id in (select id from keyword where keyword in ".$keyword.")";
if (!empty($without)) $sql.=" and m.id not in (select id from keyword where keyword in $withoutkey)";
$state=$this->db->query($sql);
$row=$state->fetchAll();
$sum=$row[0]['count'];
//@todo: add order with title
$sql="select uuid,title from normalmetadata where
uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr')
and id in (select id from keyword where keyword='".$limited."')
and id in (select id from keyword where keyword in ".$keyword.")";
if (!empty($without)) $sql.=" and id not in (select id from keyword where keyword in $withoutkey)";
$sql.=" order by title limit ? offset ?";
$this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset));
$this->view->page=new Pagination($sum,$page,$this->limit);
$this->view->offset=$offset+1;
}
//获取多项必须满足的条件
//$keyword:字符串或字符串数组
private function getmdrestricted($keyword)
{
$page=(int)$this->_request->getParam('page');
if (empty($page)) $page=1;
$offset=$this->limit*($page-1);
if (!is_array($keyword))
{
$keyword=array($keyword);
}
$key="(";
foreach($keyword as $k)
{
$key.="m.id in (select id from keyword where keyword='".$k."') and ";
}
$key=substr($key,0,-4);
$key.=")";
$keyword=$key;
$state=$this->db->query("select count(m.*) from normalmetadata m left join datasource d on m.uuid=d.uuid left join source s on d.sourceid=s.id where s.code='yrnmr' and $keyword");
$row=$state->fetchAll();
$sum=$row[0]['count'];
//@todo: add order with title
$sql="select uuid,title from normalmetadata m where m.uuid in
(select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr')
and $keyword
order by title limit ? offset ?";
$sql="select uuid,title from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='yrnmr') and id in (select id from keyword where keytype='".$type."' and keyword='".$keyword."') order by timebegin,title limit ? offset ?";
$this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset));
$this->view->page=new Pagination($sum,$page,$this->limit);
$this->view->offset=$offset+1;

View File

@ -13,8 +13,27 @@ $this->breadcrumb()->setSeparator(' > ');
</div>
<div class="span9">
<div id="content">
<h2>中心简介</h2>
<?= $this->item['body']; ?>
<div class="hero-unit">
<div class="pull-right" style="margin-left:5px;">
<img src="/images/westdc_logo_white.gif" /><br />
<a href="/images/westdc_logo_white.gif">下载LOGO</a>
</div>
<p>中国西部环境与生态科学数据中心(“西部数据中心”)受<a href="http://www.nsfc.gov.cn" target="_blank">中国自然科学基金委</a>资助以中国西部环境与生态科学研究计划“西部计划”重点项目的形式立项编号90502010旨在收集和整理“西部计划”各项目执行期间产出数据集为中国西部环境与生态科学研究乃至更广泛意义上的地表表层科学研究服务。</p>
</div>
<h2>
<a href="/about/background">项目背景</a></h2>
<p>
介绍“西部数据中心”项目立项的一些背景,可以理解西部数据中心要做些什么内容,以及采用什么样的实现手段。</p>
<h2>
项目参与单位</h2>
<p>
“西部数据中心”以<a href="http://www.casnw.net" target="_blank">中国科学院寒区旱区环境与工程研究所</a>为承担单位,由<a
href="http://www.westgis.ac.cn" target="_blank">遥感与地理信息科学研究室</a>组织实施。参与单位包括<a href="http://www.igsnrr.ac.cn"
target="_blank">中国科学院地理科学与资源研究所</a>。其中“知识积累平台”依托<a href="http://www.llas.ac.cn" target="_blank">中国科学院资源环境科学信息中心</a>实现项目中的文献收集和管理。</p>
<h2>
<a href="/about/contact">联系我们</a></h2>
</div>
</div>
</div>

View File

@ -7,7 +7,6 @@
<li id="Nav-about-publication"><a href="/about/publication"><i class="icon-chevron-right"></i>成果发表</a></li>
<li id="Nav-about-copyright"><a href="/about/copyright"><i class="icon-chevron-right"></i>数据与版权</a></li>
<li id="Nav-about-legal"><a href="/about/legal"><i class="icon-chevron-right"></i>隐私政策</a></li>
<li id="Nav-about-terms"><a href="/about/terms"><i class="icon-chevron-right"></i>使用条款</a></li>
<li id="Nav-about-supportus"><a href="/about/supportus"><i class="icon-chevron-right"></i>支持我们</a></li>
<li id="Nav-about-contact"><a href="/about/contact"><i class="icon-chevron-right"></i>联系我们</a></li>
<li id="Nav-about-link"><a href="/about/link"><i class="icon-chevron-right"></i>友情链接</a></li>

View File

@ -1,21 +1,66 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle('使用条款和免责申明');
$this->headTitle($this->config->title->site);
$this->headTitle('使用条款和免责申明');
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/about.css');
$this->headLink()->appendStylesheet('/css/terms.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/about">关于本站</a>');
$this->breadcrumb('使用条款和免责申明');
$this->breadcrumb()->setSeparator(' > ');
?>
<div class="row">
<div class="span3">
<?= $this->partial('about/navi.phtml'); ?>
</div>
<div class="span9">
<div id="content">
<h2>使用条款和免责申明</h2>
<?= $this->item['body']; ?>
</div>
</div>
</div>
<div id="print"><a href="javascript:window.print();">打印本页</a></div>&nbsp;
<div class="LeftMargin">
<p>
中国国家自然科学基金委以下简称“基金委”“中国西部环境与生态科学数据中心”以下简称“西部数据中心”采用“完全与开放”Full & Open的数据共享政策即所有的科学家或研究项目都有权无差别地获得数据中心的数据以及包括数据处理过程等的技术文档以不高于复制和邮寄成本或免费的形式向基金委“中国西部环境与生态科学研究计划”以下简称“西部计划”内项目和人员以及对中国西部环境生态科学研究感兴趣的研究团队或个人提供数据。
</p>
<h2>
使用条款</h2>
<p>
本着尊重知识产权和维护网络安全的原则,我们向数据用户提出以下使用条款:</p>
<p>
第一条 “西部数据中心”网站上的一切数据和资料版权归数据和资料原生产单位所有。</p>
<p>
第二条 为保障数据开发者的著作权,用户在使用全部或部分 “西部数据中心”所提供的数据的基础上产出的研究成果中(包括公开发表的论文、论著、数据产品和未公开发表的研究报告、数据产品、系统开发等),须在相关成果的显著位置上明确注明数据来源。除对数据来源署名有特殊要求以外,用户须依据以下规范注明数据来源:</p>
<blockquote>
<strong>中文成果</strong>“数据来源于国家自然科学基金委员“中国西部环境与生态科学数据中心”http://westdc.westgis.ac.cn</blockquote>
<blockquote>
<strong>英文成果</strong>“This data set is provided by Environmental & Ecological Science Data Center
for West China, National Natural Science Foundation of China”http://westdc.westgis.ac.cn</blockquote>
<p>
第三条 数据仅供用户用于科研目的,不得用于商业目的。不得将数据转让给第三方,由此引起的一切后果由数据用户承担。</p>
<p>
第四条 从数据中心获取的数据如属数据保密范围,用户须与“西部数据中心”签署保密协议,并有义务遵守国家相关法律法规,如出现问题,责任由用户完全承担。</p>
<p>
第五条 用户在申请数据时,应填写真实资料,如用户资料发生变更,应及时更改相关资料。若您提供的资料不齐全或不正确,“西部数据中心”有权拒绝提供服务。
</p>
<p>
第六条 “西部数据中心”用户须遵守中华人民共和国计算机安全、互联网通讯的有关法律法规,用户不得利用西部数据中心网站传输、出版、上载、登载或流通任何非法、有害、恐吓、骚扰、侵权、毁谤、淫秽、中伤、违反他人隐私或宣传权、违反他人知识产权、或者任何其他具攻击性或令人不悦的资料;用户不得以任何方式篡改任何材料或数据,也不得以任何方式干扰本站的运行;用户也不得利用网站收集本站用户的资料。
</p>
<p>
第七条 移动IP文献查询服务客户端网筝持有者应严格遵守<a runat="server" href="/netkites/nk-contract.v1.2.pdf" target="_blank" id="a1">网筝NK-800使用协议</a>
</p>
<p>
第八条 “西部数据中心” 提供的网络版期刊全文链接的使用范围仅限于浏览和用于个人学习、研究目的的少量下载与暂时保存。下载(包括印出)的任何材料都含有版权提示信息,为防止该文的全部或部分被用于其它目的,这样的提示信息不得被删改。删改版权提示信息的用户将根据著作权法承担版权侵权责任。
</p>
<p>
第九条 尊重并维护原作者和出版者的知识产权, 并要求获取并使用这些资源的用户认真遵守中国版权法的有关规定未经版权所有者或者“西部数据中心”许可严禁任何个人或单位批量下载文献包括文档或将它们用于任何商业或其他营利性用途严禁任何个人或单位私设代理进行非法使用。上述情况一经发现“西部数据中心”将有权停止违规IP的使用必要时将通报给有关部门做出处理。
</p>
<h2>
免责申明</h2>
<p>
第一条 “西部数据中心”对于服务变更,中断而发生的问题不负任何责任。</p>
<p>
第二条 当政府机关依照法定程序要求数据中心披露个人资料时,本中心将根据执法单位之要求或为公共安全之目的提供个人资料。在此情况下之任何披露,本中心均得免责。
</p>
<p>
第三条 “西部数据中心”可能包含第三方网站链接,但对任何链接网站之内容概不承担责任。西部数据中心仅为便利而提供这些链接,并不保证其任何链接网站之公司或内容的准确性;如若您对第三方网站感兴趣,请阅读第三方网站的使用条款或类似申明。
</p>
<p>
第四条 “西部数据中心”严格筛选系统中提供服务的文献种类和和各种数据资料,但只根据用户的要求提供所需文献和数据资料,不对文献和数据资料的具体内容负责。“西部数据中心”对因使用(或不能使用)本中心资料而导致之任何直接、间接、特殊、偶然或结果性损失概不承担责任。
</p>
<p>
第五条 在使用数据过程中产出的问题或存在疑问,鼓励用户直接与数据生产者进行交流。
</p>
<p>
第六条 “西部数据中心”鼓励用户对本中心的数据进行验证,以完善您的科学研究。</p>
</div>

View File

@ -12,12 +12,9 @@ $this->headTitle()->setSeparator(' - ');
<div class="row">
<div class="span12">
<h4><i class="icon-folder-open"></i>专题数据集</h4>
<a class="btn btn-info" href="/heihe/"><i class="icon-folder-open"></i>黑河计划</a>
<a class="btn btn-info" href="/heihe/"><i class="icon-folder-open"></i>黑河计划数据管理中心</a>
<a class="btn btn-info" href="/hiwater"><i class="icon-folder-open"></i>黑河生态水文遥感试验(HiWATER)</a>
<a class="btn btn-info" href="/water"><i class="icon-folder-open"></i>黑河综合遥感联合试验(WATER)</a>
<a class="btn btn-info" href="/haihe"><i class="icon-folder-open"></i>海河流域多尺度地表通量与气象要素观测</a>
<a class="btn btn-info" href="/yrnmr"><i class="icon-folder-open"></i>黄河上游宁蒙河段</a>
<a class="btn btn-info disabled" href="/glacier"><i class="icon-folder-open"></i>中国冰川资源及其变化调查</a>
<a class="btn btn-info" href="/water"><i class="icon-folder-open"></i>黑河综合遥感联合试验(WATER)</a>
</div>
<div class="span12">
<h4><i class="icon-flag"></i>特色导航</h4>
@ -95,7 +92,7 @@ $this->headTitle()->setSeparator(' - ');
</div>
<div class="row">
<div class="span6">
<h4><img src="/images/dbs.png" align="absmiddle" />数据导航</h4>
<div class="fieldlist">
<fieldset><legend><a href="/data/category">数据集类别</a></legend>
<ul class="unstyled inline">
@ -103,19 +100,19 @@ $this->headTitle()->setSeparator(' - ');
<li><a href='/data/category/code/<?php echo $cg['code']; ?>'><i class="icon-th-large"></i><?php (empty($cg['name_zh']))?print($cg['name']):print($cg['name_zh']); ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<?php endforeach; ?>
</ul></fieldset>
</div>
<div class="fieldlist">
<?php if ($this->serie) : ?>
<div id='series' class="fieldlist">
<fieldset><legend><a href="/data/series">数据集序列</a></legend>
<ul class="unstyled inline">
<?php foreach($this->serie as $cg) : ?>
<li><a href='/data/series/<?php echo $cg['id']; ?>'><i class="icon-list-ol"></i><?php echo $cg['name']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<?php endforeach; ?>
</ul></fieldset>
</div>
<?php endif; ?>
</div>
</div>
<h4><img src="/images/Project24x24_24-bit.png" align="absmiddle" />&nbsp;数据服务</h4>
<div class="items">
<div class="item">
<ul class="unstyled">
<li>-&nbsp;&nbsp;&nbsp;<a href="/data/offlineapp">离线数据服务记录最近20个</a></li>
<li>-&nbsp;&nbsp;&nbsp;<a href="/data/request">如何从数据中心申请数据</a></li>
<li>-&nbsp;&nbsp;&nbsp;<a href="/data/submit">如何在数据中心发布数据</a></li>
</ul>
</div>
</div>
</div><!-- /left -->
<div class="span6">
<div class="news_list">
@ -128,18 +125,7 @@ $this->headTitle()->setSeparator(' - ');
</ul>
</div>
<div>
<h4><img src="/images/Project24x24_24-bit.png" align="absmiddle" />&nbsp;数据服务</h4>
<div class="items">
<div class="item">
<ul class="unstyled">
<li>-&nbsp;&nbsp;&nbsp;<a href="/data/offlineapp">离线数据服务记录最近20个</a></li>
<li>-&nbsp;&nbsp;&nbsp;<a href="/data/request">如何从西部数据中心申请数据</a></li>
<li>-&nbsp;&nbsp;&nbsp;<a href="/data/submit">如何在西部数据中心发布数据</a></li>
</ul>
</div>
</div>
</div>

View File

@ -606,4 +606,4 @@ function addfavorite(url,title){
<p>Cannot find the metadata.</p>
<p>没有找到对应的元数据。</p>
<?php endif;?>
<script type="text/javascript" src="http://v3.jiathis.com/code_mini/jia.js?uid=1336100079460458" charset="utf-8"></script>
<script type="text/javascript" src="http://v3.jiathis.com/code_mini/jia.js?uid=1336100079460458" charset="utf-8"></script>

View File

@ -203,7 +203,7 @@ if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
<li><a href="#service" data-toggle="tab">服务记录</a></li>
<li><a href="#recommend" data-toggle="tab" id="recommend_t">给我推荐</a></li>
</ul>
<div class="tab-content active">
<div class="tab-content">
<div id="related" class="tab-pane">
</div>
<div id="literature" class="tab-pane">

View File

@ -28,13 +28,6 @@
</a>
</div>
</div>
<div class="accordion-group heihe-accordion-title">
<div class="accordion-heading" id="Nav-haihe-huailai">
<a class="accordion-toggle" href="/haihe/huailai">
怀来站
</a>
</div>
</div>
<div class="accordion-group heihe-accordion-title">
<div class="accordion-heading" id="Nav-haihe-document">
<a class="accordion-toggle" href="/haihe/document">

View File

@ -1,7 +1,7 @@
<div class="masthead">
<div class="row">
<div class="span5"><a href="/"><img src="/images/westdc-logo-1.png" alt="Westdc Logo" /></a></div>
<div class="span5 pull-right">
<div class="span5"><a href="/"><img src="/images/heihe-logo.png" alt="Heihe Logo" /></a></div>
<div class="span5">
<form method="get" action="/search" id="search" style="padding-top:17px;">
<div class="input-append">
<input type="text" value="" id="q" name="q" class="span4" placeholder="全文搜索">

View File

@ -112,6 +112,25 @@
</li>
</ul>
</li>
<li class="accordion-group">
<div class="tree-toggle accordion-heading">
<a href="#" class="detail-link pull-right"><i class="icon-plus"></i></a>
<a class="accordion-toggle" href="/hiwater/et" title="查看详细">卫星像元/流域尺度地表蒸散发“相对真值”</a>
</div>
<ul class="nav nav-list tree" id="collapse12">
<li>
<div class="tree-toggle accordion-heading">
<a href="#" class="detail-link pull-right"><i class="icon-plus"></i></a>
<a class="accordion-toggle" href="/hiwater/satelliteet" title="查看详细">卫星像元尺度ET</a>
</div>
<ul class="nav nav-list tree">
<li><a href="/hiwater/satelliteet"><i class="icon-double-angle-right"></i>多测点-卫星像元尺度</a></li>
</ul>
</li>
<li id="Nav-hiwater-sync"><a href="/hiwater/basinet"><i class="icon-double-angle-right"></i>流域尺度ET</a></li>
</ul>
</li>
<li class="accordion-group">
<div class="tree-toggle accordion-heading">

View File

@ -70,8 +70,8 @@
</ul>
<h4>数据服务</h4>
<span><a href="/data/offlineapp"><i class="icon-user"></i>最近20条离线数据服务记录</a></span><span>(共<?= $this->offlinenum; ?>)</span><br />
<span><a href="/data/request"><i class="icon-tint"></i>如何申请数据</a></span>
<span><a href="/data/submit"><i class="icon-tint"></i>如何发布数据</a></span>
<span><a class="btn btn-danger" href="/data/request"><i class="icon-tint"></i>如何申请数据</a></span>
<span><a class="btn btn-danger" href="/data/submit"><i class="icon-tint"></i>如何发布数据</a></span>
</div>
<div class="span8">
@ -94,7 +94,6 @@
<li><a href="/hiwater" class="btn btn-danger"><i class="icon-folder-open"></i>黑河生态水文遥感试验(HiWATER)</a></li>
<li><a href="/heihe" class="btn"><i class="icon-folder-open"></i>黑河计划数据管理中心</a></li>
<li><a href="/water" class="btn"><i class="icon-folder-open"></i>黑河综合遥感联合试验(WATER)</a></li>
<li><a href="/haihe" class="btn"><i class="icon-folder-open"></i>海河流域多尺度地表通量与气象要素观测</a></li>
</ul>
<!-- <hr />
<h4>友情链接</h4>

View File

@ -1,30 +0,0 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->nav[] = array('link'=>"/qzr",'title'=>'青藏铁路');
?>
<?= $this->render('breadcrumbs.phtml'); ?>
<div class="row">
<div class="span2">
<?= $this->partial('qzr/navi.phtml'); ?>
</div>
<div class="span10">
<?php if ($this->info) : ?>
<div class="well">
<?php if(!empty($this->info['body'])) echo $this->info['body'];?>
</div>
<?php endif; ?>
<?php if ($this->metadata) : ?>
<?php echo $this->page->getNavigation(); ?>
<div id="mdlist">
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->metadata as $md) : ?>
<li><a href="/qzr/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
<?php endforeach; ?>
</ol>
</div>
<?php endif; ?>
</div>
</div>

View File

@ -1,4 +0,0 @@
<ul class="nav nav-pills nav-stacked">
<li id="Nav-qzr-index"><a href="/qzr/">青藏铁路介绍</a></li>
<li id="Nav-qzr-news"><a href="/qzr/news">相关新闻</a></li>
</ul>

View File

@ -1,123 +0,0 @@
<?php
$config = Zend_Registry::get('config');
$this->headTitle($config->title->site);
$this->headTitle($config->title->qzr);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->theme->AppendPlus($this,'jquery');
$this->theme->AppendPlus($this,'jplayer');
$this->headScript()->appendFile("/js/lib/jplayer/add-on/jplayer.playlist.min.js");
$this->headLink()->appendStylesheet('/js/lib/jplayer/skin/blue.monday/jplayer.blue.monday.css');
$this->nav[] = array('link'=>"/qzr",'title'=>'青藏铁路');
?>
<?= $this->render('breadcrumbs.phtml'); ?>
<div class='row'>
<div class='span2'>
<?= $this->partial('qzr/navi.phtml'); ?>
</div>
<div class='span10'>
<p>视频摘要Abstract of the video</p>
<p>Extreme Railway: Qinghai-Tibet Railway Engineer Pasi Lautala takes a look at the hi-tech solutions employed by the Chinese government in building the Qinghai-Tibet railway, which runs all the way from Xining to Lhasa. The 1000 kilometre track was planned over 50 years ago but had to wait until modern technology and engineering know-how could help to overcome the harsh environment of the Tibetan plateau. Permafrost, thin air and sand still threaten the amazing achievement which includes 675 bridges and the worlds highest tunnel. 140,000 labourers built the railway with the help of 2,000 medics who were needed to deal with altitude sickness. Lautala follows the trains route and looks at the structural solutions devised by Chinas top engineers.</p>
<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){
new jPlayerPlaylist(
{
jPlayer: "#jquery_jplayer_1",
cssSelectorAncestor: "#jp_container_1"
},
[
{
title:"National Geographic Megastructures Extreme Railway",
artist:"Natioan Geography",
free:true,
flv: "<?= 'http://'.$_SERVER['SERVER_NAME'] ?>/images/National Geographic Megastructures Extreme Railway.flv",
},
{
title:"寰宇地理:青藏铁路",
artist:"中国教育",
flv: "<?= 'http://'.$_SERVER['SERVER_NAME'] ?>/images/extreme_railway_chs.flv",
}
],
{
swfPath: "<?= 'http://'.$_SERVER['SERVER_NAME'] ?>/js/lib/jplayer/",
supplied: "flv",
size: {
width: "640px",
height: "360px",
cssClass: "jp-video-360p"
}
}
);
});
//]]>
</script>
<div id="jp_container_1" class="jp-video jp-video-270p">
<div class="jp-type-playlist">
<div id="jquery_jplayer_1" class="jp-jplayer"></div>
<div class="jp-gui">
<div class="jp-video-play">
<a href="javascript:;" class="jp-video-play-icon" tabindex="1">play</a>
</div>
<div class="jp-interface">
<div class="jp-progress">
<div class="jp-seek-bar">
<div class="jp-play-bar"></div>
</div>
</div>
<div class="jp-current-time"></div>
<div class="jp-duration"></div>
<div class="jp-controls-holder">
<ul class="jp-controls">
<li><a href="javascript:;" class="jp-previous" tabindex="1">previous</a></li>
<li><a href="javascript:;" class="jp-play" tabindex="1">play</a></li>
<li><a href="javascript:;" class="jp-pause" tabindex="1">pause</a></li>
<li><a href="javascript:;" class="jp-next" tabindex="1">next</a></li>
<li><a href="javascript:;" class="jp-stop" tabindex="1">stop</a></li>
<li><a href="javascript:;" class="jp-mute" tabindex="1" title="mute">mute</a></li>
<li><a href="javascript:;" class="jp-unmute" tabindex="1" title="unmute">unmute</a></li>
<li><a href="javascript:;" class="jp-volume-max" tabindex="1" title="max volume">max volume</a></li>
</ul>
<div class="jp-volume-bar">
<div class="jp-volume-bar-value"></div>
</div>
<ul class="jp-toggles">
<li><a href="javascript:;" class="jp-full-screen" tabindex="1" title="full screen">full screen</a></li>
<li><a href="javascript:;" class="jp-restore-screen" tabindex="1" title="restore screen">restore screen</a></li>
<li><a href="javascript:;" class="jp-shuffle" tabindex="1" title="shuffle">shuffle</a></li>
<li><a href="javascript:;" class="jp-shuffle-off" tabindex="1" title="shuffle off">shuffle off</a></li>
<li><a href="javascript:;" class="jp-repeat" tabindex="1" title="repeat">repeat</a></li>
<li><a href="javascript:;" class="jp-repeat-off" tabindex="1" title="repeat off">repeat off</a></li>
</ul>
</div>
<div class="jp-title">
<ul>
<li></li>
</ul>
</div>
</div>
</div>
<div class="jp-playlist">
<ul>
<!-- The method Playlist.displayPlaylist() uses this unordered list -->
<li></li>
</ul>
</div>
<div class="jp-no-solution">
<span>Update Required</span>
To play the media you will need to either update your browser to a recent version or update your <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash plugin</a>.
</div>
</div>
</div>
<p><a href="/images/National Geographic Megastructures Extreme Railway.avi">National Geographic Megastructures Extreme Railway: AVI版本下载</a><br/>
<a href="/images/extreme_railway_chs.avi">寰宇地理:青藏铁路 AVI版本下载</a>
</p>
<p>
<?php echo $this->infos['body'];?>
</p>
</div>
</div>

View File

@ -8,28 +8,30 @@ $this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('基础数据');
$this->breadcrumb()->setSeparator(' > ');
$this->nav[] = array('link'=>"/yrnmr",'title'=>'黄河上游宁蒙河段');
?>
<?= $this->render('breadcrumbs.phtml'); ?>
<div class="row">
<div class="span2">
<div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span10">
<?php if ($this->info) : ?>
<div class="well">
<?php if(!empty($this->info['body'])) echo $this->info['body'];?>
<div class="span9">
<div id="intro">
<p>
基础数据指为流域生态-水文研究提供各种自然、生态、水文、社会经济等本底信息的数据,同时还包括了主要的几次科学试验数据、模型数据集等。
</p>
<p>
基础数据主要包括了流域基础地理数据、流域各种专题数据、水文水资源数据、流域科学试验数据、航空遥感和卫星遥感数据、模型数据、社会经济数据等。
</p>
</div>
<?php endif; ?>
<hr />
<?php if ($this->metadata) : ?>
<?php echo $this->page->getNavigation(); ?>
<div id="mdlist">
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->metadata as $md) : ?>
<li><a href="/yrnmr/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
<?php endforeach; ?>
</ol>
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->metadata as $md) : ?>
<li><a href="/yrnmr/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
<?php endforeach; ?>
</ol>
</div>
<?php endif; ?>
</div>
</div>
</div>

View File

@ -4,14 +4,17 @@
$this->headTitle('全部浏览');
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->nav[] = array('link'=>"/yrnmr",'title'=>'黄河上游宁蒙河段');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('浏览');
$this->breadcrumb()->setSeparator(' > ');
?>
<?= $this->render('breadcrumbs.phtml'); ?>
<div class="row">
<div class="span2">
<div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span10">
<div class="span9">
<?php echo $this->page->getNavigation(); ?>
<hr />
<div id="mdlist">

View File

@ -0,0 +1,32 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('核心数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<div class="row">
<div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span9">
<div id="intro">
<p>核心数据指流域生态-水文模型、陆面过程模型、社会经济模型以及其他各类模型所需要的关键性的驱动和参数数据集以及验证、发展和改进模型所需的关键观测数据。</p>
</div>
<hr />
<?php if ($this->metadata) : ?>
<?php echo $this->page->getNavigation(); ?>
<div id="mdlist">
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->metadata as $md) : ?>
<li><a href="/yrnmr/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
<?php endforeach; ?>
</ol>
</div>
<?php endif; ?>
</div>
</div>

View File

@ -0,0 +1,33 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('DEM数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<div class="row">
<div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span9">
<div id="intro">
<p>DEM是数字高程模型的英文简称(Digital Elevation Model)DEM是地貌形态信息的离散表示这些信息包含流域网格单元的坡度、坡向以及单元格之间的关系等是开展流域研究的重要原始资料。</p>
<p>数据包括黑河全流域范围各种不同分辨率的数字高程模型DEM栅格大小为30m、90m、1000m和30sec</p>
</div>
<hr />
<?php if ($this->metadata) : ?>
<?php echo $this->page->getNavigation(); ?>
<div id="mdlist">
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->metadata as $md) : ?>
<li><a href="/yrnmr/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
<?php endforeach; ?>
</ol>
</div>
<?php endif; ?>
</div>
</div>

View File

@ -3,15 +3,20 @@ $this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->nav[] = array('link'=>"/yrnmr",'title'=>'黄河上游宁蒙河段');
$this->theme->AppendPlus($this,'colorbox');
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
$this->headScript()->appendFile('/js/jquery.colorbox-min.js');
$this->headLink()->appendStylesheet('/css/colorbox.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('数据文档');
$this->breadcrumb()->setSeparator(' > ');
?>
<?= $this->render('breadcrumbs.phtml'); ?>
<div class="row">
<div class="span2">
<div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span10">
<div class="span9">
<div id="intro">
</div>
<hr />

View File

@ -0,0 +1,34 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('社会经济数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<div class="row">
<div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span9">
<div id="intro">
<p>
各类社会经济数据。
</p>
</div>
<hr />
<?php if ($this->metadata) : ?>
<?php echo $this->page->getNavigation(); ?>
<div id="mdlist">
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->metadata as $md) : ?>
<li><a href="/yrnmr/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
<?php endforeach; ?>
</ol>
</div>
<?php endif; ?>
</div>
</div>

View File

@ -0,0 +1,34 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('观测试验数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<div class="row">
<div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span9">
<div id="intro">
<p>
实验数据
</p>
</div>
<hr />
<?php if ($this->metadata) : ?>
<?php echo $this->page->getNavigation(); ?>
<div id="mdlist">
<ol start="2">
<?php foreach($this->metadata as $md) : ?>
<li><a href="/yrnmr/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
<?php endforeach; ?>
</ol>
</div>
<?php endif; ?>
</div>
</div>

View File

@ -0,0 +1,31 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('基础地理数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<div class="row">
<div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span9">
<div id="intro">
</div>
<hr />
<?php if ($this->metadata) : ?>
<?php echo $this->page->getNavigation(); ?>
<div id="mdlist">
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->metadata as $md) : ?>
<li><a href="/yrnmr/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
<?php endforeach; ?>
</ol>
</div>
<?php endif; ?>
</div>
</div>

View File

@ -3,19 +3,24 @@ $this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->nav[] = array('link'=>"/yrnmr",'title'=>'黄河上游宁蒙河段');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb($this->config->title->yrnmr);
$this->breadcrumb()->setSeparator(' > ');
?>
<?= $this->render('breadcrumbs.phtml'); ?>
<div class="row">
<div class="span2">
<div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span10">
<div class="span9">
<div id="intro">
<h1><?php if(!empty($this->info['title'])) echo $this->info['title']; ?></h1>
<table>
<tr><td><?php if(!empty($this->info['body'])) echo $this->info['body'];?></td></tr>
</table>
<h1>黄河上游宁蒙河段数据简介</h1>
<p>
黄河上游宁蒙河段穿越腾格里沙漠、河东沙地、乌兰布和沙漠和库布齐沙漠长约1000 km形成典型的沙漠宽谷。该区是我国西北重要的能源基地、粮食产区、回蒙少数民族集居区是黄河上游风沙水沙活动强烈、河道演变剧烈的关键河段是黄河上游产水区与中下游河段水沙关系的调节河段也是上游大型水库联合调度影响显著的河段。近50多年来由于气候变化、沙漠化发展、水库调蓄、过度用水等导致黄河水沙关系变异河槽萎缩洪凌灾害频发。该河段的水沙形势不仅关系到上游水资源的开发利用和重大水利工程布局而且危及黄河下游河道安全。目前在国家重点基础研究规划项目973项目“黄河上游沙漠宽谷段风沙水沙过程与调控机理”的支持下项目组对黄河上游宁蒙河段开展了大量的观测与研究积累了大量的数据为该区域风沙、水沙与河道过程研究奠定了数据基础。根据项目需求该项目第六课题“黄河上游沙漠宽谷段河道冲淤演变趋势预测与调控对策”基于研究区已有的环境背景资料和本项目的观测实验等资料构建了黄河上游宁蒙河段多元数据平台。
</p>
<p>
该数据平台包括属性数据集与空间数据集。其中属性数据集包括.dbf属性表、ASCII文本文件、mdb属性数据库、EXCEL文件等空间数据集主要包括两种空间坐标系统WGS84坐标系与ALBERS坐标系。其中WGS84坐标系采用原点是地球质心椭球体为WGS84椭球体主要考虑到许多来自GPS野外定位测量的数据和国际组织机构发布的空间数据使用这一坐标系ALBERS坐标系采用Krasovsky椭球体两根标准纬线分别为北纬25度和北纬47度中央经线采用东经105度该坐标系主要在小比例尺而且要求保持等面积特性的数据情况下使用如小于1:100万比例尺的数据同时该投影与我国小比例尺专题图的投影是吻合的有助于和这些数据的配准。
</p>
</div>
<div id="heihe_ad">
<h2>已整理数据展示</h2>

View File

@ -0,0 +1,32 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('陆地表层数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<div class="row">
<div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span9">
<div id="intro">
<p>陆地表层数据包括冰川、沙漠、草场、植被、地貌等数据。</p>
</div>
<hr />
<?php if ($this->metadata) : ?>
<?php echo $this->page->getNavigation(); ?>
<div id="mdlist">
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->metadata as $md) : ?>
<li><a href="/yrnmr/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
<?php endforeach; ?>
</ol>
</div>
<?php endif; ?>
</div>
</div>

View File

@ -0,0 +1,32 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/heihe/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('土地利用数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<div class="row">
<div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span9">
<div id="intro">
<p>1:10万土地利用数据</p>
</div>
<hr />
<?php if ($this->metadata) : ?>
<?php echo $this->page->getNavigation(); ?>
<div id="mdlist">
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->metadata as $md) : ?>
<li><a href="/yrnmr/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
<?php endforeach; ?>
</ol>
</div>
<?php endif; ?>
</div>
</div>

View File

@ -0,0 +1,34 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('气象观测数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<div class="row">
<div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span9">
<div id="intro">
<p>
观测要素包括日平均气压、最高气压、最低气压、平均气温、最高气温、最低气温、平均相对湿度、最小相对湿度、平均风速、最大风速及风向、极大风速及风向、日照时数、降水量。
</p>
</div>
<hr />
<?php if ($this->metadata) : ?>
<?php echo $this->page->getNavigation(); ?>
<div id="mdlist">
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->metadata as $md) : ?>
<li><a href="/yrnmr/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
<?php endforeach; ?>
</ol>
</div>
<?php endif; ?>
</div>
</div>

View File

@ -0,0 +1,34 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('模型数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<div class="row">
<div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span9">
<div id="intro">
<p>
模型数据
</p>
</div>
<hr />
<?php if ($this->metadata) : ?>
<?php echo $this->page->getNavigation(); ?>
<div id="mdlist">
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->metadata as $md) : ?>
<li><a href="/yrnmr/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
<?php endforeach; ?>
</ol>
</div>
<?php endif; ?>
</div>
</div>

View File

@ -1,5 +1,5 @@
<ul class="nav nav-pills nav-stacked">
<li id="Nav-yrnmr-index"><a href="/yrnmr/">数据简介</a></li>
<li id="Nav-yrnmr-index"><a href="/yrnmr/">黄河上游宁蒙河段数据简介</a></li>
<li id="Nav-yrnmr-core"><a href="/yrnmr/core">核心数据</a>
<ul class="nav nav-list nav-stacked heihe-subnav">
<li id="Nav-yrnmr-dem"><i class="icon-chevron-right"></i><a href="/yrnmr/dem">DEM数据</a></li>
@ -23,7 +23,9 @@
</ul>
<ul class="nav nav-pills nav-stacked">
<li id="Nav-yrnmr-document"><a href="/yrnmr/document">相关文档</a></li>
<li id="Nav-yrnmr-list"><a href="/yrnmr/list">数据列表</a></li>
<li id="Nav-yrnmr-browse"><a href="/yrnmr/browse">整体浏览</a></li>
<li id="Nav-yrnmr-category"><a href="/yrnmr/category">ISO19115分类</a></li>
<li id="Nav-yrnmr-thumb"><a href="/yrnmr/thumb">缩略图浏览</a></li>
<li id="Nav-yrnmr-tag"><a href="/yrnmr/tag">关键词导航</a></li>
<li id="Nav-yrnmr-timeline"><a href="/yrnmr/timeline">时间轴导航</a></li>

View File

@ -0,0 +1,34 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('观测数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<div class="row">
<div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span9">
<div id="intro">
<p>
观测数据
</p>
</div>
<hr />
<?php if ($this->metadata) : ?>
<?php echo $this->page->getNavigation(); ?>
<div id="mdlist">
<ol start="2">
<?php foreach($this->metadata as $md) : ?>
<li><a href="/yrnmr/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
<?php endforeach; ?>
</ol>
</div>
<?php endif; ?>
</div>
</div>

View File

@ -0,0 +1,31 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('遥感数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<div class="row">
<div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span9">
<div id="intro">
</div>
<hr />
<?php if ($this->metadata) : ?>
<?php echo $this->page->getNavigation(); ?>
<div id="mdlist">
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->metadata as $md) : ?>
<li><a href="/yrnmr/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
<?php endforeach; ?>
</ol>
</div>
<?php endif; ?>
</div>
</div>

View File

@ -1,22 +1,28 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle('快速搜索');
if (!empty($this->codename)) $this->headTitle($this->codename);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->nav[] = array('link'=>"/yrnmr",'title'=>'黄河上游宁蒙河段');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('快速搜索');
$this->breadcrumb()->setSeparator(' > ');
?>
<?= $this->render('breadcrumbs.phtml'); ?>
<div class="row">
<div class="span2">
<?= $this->partial('yrnmr/navi.phtml',array('key'=>$this->key)); ?>
</div>
<div class='span10'>
<div id='sidebar'>
<div id='leftnavi'>
<?= $this->partial('yrnmr/navi.phtml',array('key'=>$this->key)); ?>
</div>
</div>
<div id='right'>
<div class="clear">&nbsp;</div>
<?php if (!empty($this->metadata)) : ?>
<?php echo $this->page->getNavigation(); ?>
<hr />
<div class="mdlist">
<div id="mdlist">
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->metadata as $md) : ?>
<li><a href="/yrnmr/view/uuid/<?php echo $md['uuid']; ?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"><?php echo $md['title']; ?></a></li>
@ -30,6 +36,4 @@ else :
<div>
<p>您的搜索结果为空,请尝试其他关键词进行查询。</p>
</div>
<?php endif; ?>
</div>
</div>
<?php endif; ?>

View File

@ -0,0 +1,34 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('土壤数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<div class="row">
<div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span9">
<div id="intro">
<p>
土壤类型数据
</p>
</div>
<hr />
<?php if ($this->metadata) : ?>
<?php echo $this->page->getNavigation(); ?>
<div id="mdlist">
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->metadata as $md) : ?>
<li><a href="/yrnmr/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
<?php endforeach; ?>
</ol>
</div>
<?php endif; ?>
</div>
</div>

View File

@ -4,20 +4,23 @@ $this->headTitle($this->config->title->data);
if (!empty($this->codename)) $this->headTitle($this->codename);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->nav[] = array('link'=>"/yrnmr",'title'=>'黄河上游宁蒙河段');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('关键词导航'.(($this->codename)?''.$this->codename:''));
$this->breadcrumb()->setSeparator(' > ');
?>
<?= $this->render('breadcrumbs.phtml'); ?>
<div class="row">
<div class="span2">
<?= $this->partial('yrnmr/navi.phtml'); ?>
<div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span10">
<div class="span9">
<?php if (!empty($this->metadata)) : ?>
<div id='mdlist'>
<h1>关键词:<?php echo $this->codename; ?><a href="/yrnmr/tag/">全部关键词</a></h1>
<?php echo $this->page->getNavigation(); ?>
<hr />
<div class="md-list">
<div id="mdlist">
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->metadata as $md) : ?>
<li><a href="/yrnmr/view/uuid/<?php echo $md['uuid']; ?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"><?php echo $md['title']; ?></a></li>
@ -29,27 +32,22 @@ $this->nav[] = array('link'=>"/yrnmr",'title'=>'黄河上游宁蒙河段');
</div>
<?php else : ?>
<div>
<div id='links'>
<?php
$keytypezh=array('place'=>'地点关键词','theme'=>'主题关键词','discipline'=>'学科关键词','stratum'=>'地层关键词','temporal'=>'时间关键词');
$type='';
foreach($this->keywords as $cg) :
if ($type!=$cg['keytype']) :
if ($type!='') : ?>
</ul>
<?php endif;
$type=$cg['keytype'];
?>
<h4><a href="/yrnmr/tag/keytype/<?php echo $type; ?>"><?php echo $keytypezh[$type]; ?></a>
<?php if ($this->keytype) : ?><a class="pull-right" href="/hiwater/tag"><i class="icon-tags"></i>全部关键词</a> <?php endif; ?></h4>
<ul class="inline">
<li><a href='/yrnmr/tag/key/<?php echo urlencode($cg['keyword']); ?>'><i class="icon-tag"></i><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<?php else : ?>
<li><a href='/yrnmr/tag/key/<?php echo urlencode($cg['keyword']); ?>'><i class="icon-tag"></i><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<?php endif; ?>
<?php endforeach; ?>
</ul>
</fieldset></div>
foreach($this->keywords as $type=>$kcg) :
if (is_array($kcg) && count($kcg)>0 ) :
?>
<fieldset><legend><?php echo $keytypezh[$type]; ?></legend>
<ul>
<?php foreach($kcg as $cg) : ?>
<li><a href='/yrnmr/tag/key/<?php echo urlencode($cg['keyword']); ?>'><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<?php endforeach; ?>
</ul>
</fieldset>
<?php endif;endforeach; ?>
</div>
<?php endif; ?>
</div>
</div>
</div>
</div>

View File

@ -4,45 +4,37 @@ $this->headTitle($this->config->title->data);
$this->headTitle('全部浏览');
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('缩略图浏览');
$this->breadcrumb()->setSeparator(' > ');
$this->theme->AppendPlus($this,'colorbox');
$this->theme->AppendPlus($this,'masonry');
$this->nav[] = array('link'=>"/yrnmr",'title'=>'黄河上游宁蒙河段');
?>
<?= $this->render('breadcrumbs.phtml'); ?>
<div class="row">
<div class="span2">
<div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span10">
<div class="span9">
<?php echo $this->page->getNavigation(); ?>
<div>
<ul class="thumb water-thumb unstyled" id="container">
<hr />
<div id="mdlist">
<?php foreach($this->metadata as $md) : ?>
<li class="items">
<h4><a href="/yrnmr/view/uuid/<?php echo $md['uuid'];?>"><?= $this->escape($md['title']);?></a></h4>
<a href="/service/bigthumb/uuid/<?= $md['uuid'] ?>" class="thumbnail colorbox">
<img src="/service/thumb/id/<?php echo $md['id'];?>" alt="">
</a>
<div class="caption">
<p>
<?php echo mb_strlen($md['description'])>120?$this->escape(mb_substr($md['description'],0,120,'UTF-8').'...'):$this->escape($md['description']);?>
</p>
</div>
<span class="pull-right"><a href="/hiwater/view/uuid/<?php echo $md['uuid'];?>" class="btn"><i class="icon-zoom-in"></i>查看</a></span>
</li>
<div class="thumb">
<div class="thumbtitle">
<a href="/yrnmr/view/uuid/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']); ?> </a>
</div>
<a class="colorbox" href="/service/bigthumb/id/<?php echo $md['id'];?>" title="<?php echo $this->escape($md['title']); ?>">
<img src="/service/thumb/id/<?php echo $md['id'];?>" alt="<?php echo $this->escape($md['title']);?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>" />
</a>
</div>
<?php endforeach; ?>
</ul>
</div>
<hr class="clearfix" />
<hr style="clear:left;"/>
<?php echo $this->page->getNavigation(); ?>
</div>
</div>
</div>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$(".colorbox").colorbox({rel:"colorbox",photo:"true",transition:"fade"});
$(".colorbox").colorbox({photo:"true"});
});
$('#container').masonry({
itemSelector : '.items',
});
$(document).ready(function(){$(".colorbox").colorbox({rel:"colorbox",photo:"true",transition:"fade"});});
</script>

View File

@ -4,21 +4,20 @@ $this->headTitle($this->config->title->data);
$this->headTitle('时间轴导航');
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('时间轴导航');
$this->breadcrumb()->setSeparator(' > ');
$this->headScript()->appendFile('/js/timeline_var.js');
$this->headScript()->appendFile('/js/timeline_js/timeline-api.js');
$this->headScript()->appendFile('/js/yrnmrtime.js');
$this->nav[] = array('link'=>"/yrnmr",'title'=>'黄河上游宁蒙河段');
?>
<?= $this->render('breadcrumbs.phtml'); ?>
<div class="row">
<div class="span2">
<div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span10">
<div class="span9">
<div id="tl" class="timeline-default" style="height:600px;"> </div>
</div>
</div>
<script type="text/javascript" charset="utf-8">
$('#tl').height($(window).height());
$("html,body").animate({scrollTop:$('#tl').offset().top},600);
</script>
</div>

View File

@ -4,52 +4,61 @@ $this->headTitle($this->config->title->data);
$this->headTitle('时空导航');
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->headScript()->appendFile('/js/OpenLayers.js');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('时空联合导航');
$this->breadcrumb()->setSeparator(' > ');
//$this->headScript()->appendFile('http://maps.google.cN/maps?file=api&v=2&key='.$this->config->google->maps->api);
$this->headScript()->appendFile('/js/timeline_var.js');
$this->headScript()->appendFile('/js/timeline_js/timeline-api.js');
$this->headScript()->appendFile('/js/timemap.2.0.1/lib/mxn/mxn.js?(openlayers)');
$this->headScript()->appendFile('/js/timemap.2.0.1/lib/mxn/mxn.js?(google)');
$this->headScript()->appendFile('/js/timemap.2.0.1/timemap.pack.js');
$this->nav[] = array('link'=>"/yrnmr",'title'=>'黄河上游宁蒙河段');
$this->theme->AppendPlus($this,'colorbox');
?>
<style>
img{max-width:none}
</style>
<?= $this->render('breadcrumbs.phtml'); ?>
<div class="row">
<div class="span2">
<?= $this->partial('yrnmr/navi.phtml'); ?>
<div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span10">
<div id="timemap">
<div id="timeline" style="height:400px;border-bottom:1px solid #abc;"></div>
<div id="map" style="height:400px;"></div>
</div>
<div class="span9">
<div id="timemap">
<div id="watermap" style="height:500px;width:40%;float:right;"></div>
<div id="timeline" style="height:500px;border-right:1px solid #abc;"></div>
</div>
</div>
</div>
<script type="text/javascript" charset="utf-8">
$('#map').height($(window).height()/2);
$('#timeline').height($(window).height()/2);
$("html,body").animate({scrollTop:$('#timemap').offset().top},600);
var tm;
$(function() {
tm = TimeMap.init({
mapId: "map", // Id of map div element (required)
timelineId: "timeline", // Id of timeline div element (required)
scrollTo:"2012-01-01",
options: {
eventIconPath: "../images/"
$(window).bind("load", function() { var timeout = setTimeout(function() { initLoader(); }, 100);});
//$(window).bind("load", function() { var timeout = setTimeout(function() { gmaploaded(); }, 1000);});
function loadMaps() {
google.load("maps", "2", {"callback" : tmloaded,"base_domain": "ditu.google.cn"});
}
function initLoader() {
var script = document.createElement("script");
script.src = "https://www.google.com/jsapi?key=<?php echo $this->config->google->maps->api; ?>&callback=loadMaps";
script.type = "text/javascript";
document.getElementsByTagName("head")[0].appendChild(script);
}
function tmloaded() {
tm = TimeMap.init({
mapId: "watermap", // Id of map div element (required)
timelineId: "timeline", // Id of timeline div element (required)
scrollTo: "2000-01-01",
options: {
eventIconPath: "../images/",
mapType:G_HYBRID_MAP,
mapCenter: new GLatLng(39,100)
},
datasets: [
datasets: [
{
id: "metadata",
title: "Metadata",
data:{
theme: "orange",
// note that the lines below are now the preferred syntax
type: "basic",
options: {
items: [
<?php
foreach($this->rows as $row) : ?>
value: [
<?php foreach($this->rows as $row) : ?>
{
"start" : "<?php echo $row['timebegin']; ?>",
<?php if ($row['timeend']!='') : ?>
@ -62,11 +71,13 @@ $(function() {
},
"title" : "<?php echo htmlspecialchars($row['title']); ?>",
"options" : {
// set the full HTML for the info window
"infoHtml": "<div class='info'><a href=/yrnmr/view/uuid/<?php echo $row['uuid']; ?>><?php echo htmlspecialchars($row['title']); ?></a><hr /><img src=/service/thumb/id/<?php echo $row['id']; ?> onclick='$.colorbox({photo:\"true\",href:\"/service/bigthumb/id/<?php echo $row['id']; ?>\"});' /></div>",
}
"theme":"orange"
}
},
<?php endforeach; ?>
]
<?php endforeach; ?>
]
}
}
],
@ -75,7 +86,8 @@ $(function() {
Timeline.DateTime.YEAR
]
});
});
</script>
// manipulate the timemap further here if you like
var map=tm.map;
map.setCenter(new GLatLng(39,100),7);
}
</script>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,34 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/water.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
$this->breadcrumb('水文水资源数据');
$this->breadcrumb()->setSeparator(' > ');
?>
<div class="row">
<div class="span3">
<?= $this->partial('yrnmr/navi.phtml'); ?>
</div>
<div class="span9">
<div id="intro">
<p>
水资源
</p>
</div>
<hr />
<?php if ($this->metadata) : ?>
<?php echo $this->page->getNavigation(); ?>
<div id="mdlist">
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->metadata as $md) : ?>
<li><a href="/yrnmr/view/uuid/<?php echo $md['uuid']; ?>"><?php echo $md['title']; ?></a></li>
<?php endforeach; ?>
</ol>
</div>
<?php endif; ?>
</div>
</div>

View File

@ -66,7 +66,7 @@ class Search
function __construct($text='')
{
require_once '/home/wlx/xunsearch/sdk/php/lib/XS.php';
$this->xs=new XS('westdc');
$this->xs=new XS('heihe');
$this->search=$this->xs->search;
$this->terms = array();
$this->text=$text;

View File

@ -400,7 +400,7 @@ class ReviewListener implements Zend_EventManager_ListenerAggregate
$res=$rs->fetch();
$mailtp=new EmailText($this->db,'metadata-publish',array('uuid'=>$res['uuid'],'title'=>$res['title']));
$mail->setBodyText($mailtp->getBody());
$mail->setFrom($config->service->email,'数据服务组');
$mail->setFrom($config->service->email,'西部数据中心服务组');
foreach($emails as $email) $mail->addTo($email);
$mail->setSubject($mailtp->getSubject());
$mail->send();

View File

@ -46,7 +46,7 @@ class Client extends \Zend_Controller_Plugin_Abstract
public function initSource()
{
$this->source = new Source('westdc');
$this->source = new Source('heihedata');
}
public function getSource()

View File

@ -140,4 +140,4 @@ class OrderOperate implements \Order\Listener\OrderEvents
}
}
}

Binary file not shown.

View File

@ -1,640 +0,0 @@
/*
* Skin for jPlayer Plugin (jQuery JavaScript Library)
* http://www.jplayer.org
*
* Skin Name: Blue Monday
*
* Copyright (c) 2010-2012 Happyworm Ltd
* Dual licensed under the MIT and GPL licenses.
* - http://www.opensource.org/licenses/mit-license.php
* - http://www.gnu.org/copyleft/gpl.html
*
* Author: Silvia Benvenuti
* Skin Version: 4.2 (jPlayer 2.2.0)
* Date: 22nd October 2012
*/
div.jp-audio,
div.jp-audio-stream,
div.jp-video {
/* Edit the font-size to counteract inherited font sizing.
* Eg. 1.25em = 1 / 0.8em
*/
font-size:1.25em; /* 1.25em for testing in site pages */ /* No parent CSS that can effect the size in the demos ZIP */
font-family:Verdana, Arial, sans-serif;
line-height:1.6;
color: #666;
border:1px solid #009be3;
background-color:#eee;
}
div.jp-audio {
width:420px;
}
div.jp-audio-stream {
width:182px;
}
div.jp-video-270p {
width:480px;
}
div.jp-video-360p {
width:640px;
}
div.jp-video-full {
/* Rules for IE6 (full-screen) */
width:480px;
height:270px;
/* Rules for IE7 (full-screen) - Otherwise the relative container causes other page items that are not position:static (default) to appear over the video/gui. */
position:static !important; position:relative
}
/* The z-index rule is defined in this manner to enable Popcorn plugins that add overlays to video area. EG. Subtitles. */
div.jp-video-full div div {
z-index:1000;
}
div.jp-video-full div.jp-jplayer {
top: 0;
left: 0;
position: fixed !important; position: relative; /* Rules for IE6 (full-screen) */
overflow: hidden;
}
div.jp-video-full div.jp-gui {
position: fixed !important; position: static; /* Rules for IE6 (full-screen) */
top: 0;
left: 0;
width:100%;
height:100%;
z-index:1001; /* 1 layer above the others. */
}
div.jp-video-full div.jp-interface {
position: absolute !important; position: relative; /* Rules for IE6 (full-screen) */
bottom: 0;
left: 0;
}
div.jp-interface {
position: relative;
background-color:#eee;
width:100%;
}
div.jp-audio div.jp-type-single div.jp-interface {
height:80px;
}
div.jp-audio div.jp-type-playlist div.jp-interface {
height:80px;
}
div.jp-audio-stream div.jp-type-single div.jp-interface {
height:80px;
}
div.jp-video div.jp-interface {
border-top:1px solid #009be3;
}
/* @group CONTROLS */
div.jp-controls-holder {
clear: both;
width:440px;
margin:0 auto;
position: relative;
overflow:hidden;
top:-8px; /* This negative value depends on the size of the text in jp-currentTime and jp-duration */
}
div.jp-interface ul.jp-controls {
list-style-type:none;
margin:0;
padding: 0;
overflow:hidden;
}
div.jp-audio ul.jp-controls {
width: 380px;
padding:20px 20px 0 20px;
}
div.jp-audio-stream ul.jp-controls {
width: 142px;
padding:20px 20px 0 20px;
}
div.jp-video div.jp-type-single ul.jp-controls {
width: 78px;
margin-left: 200px;
}
div.jp-video div.jp-type-playlist ul.jp-controls {
width: 134px;
margin-left: 172px;
}
div.jp-video ul.jp-controls,
div.jp-interface ul.jp-controls li {
display:inline;
float: left;
}
div.jp-interface ul.jp-controls a {
display:block;
overflow:hidden;
text-indent:-9999px;
}
a.jp-play,
a.jp-pause {
width:40px;
height:40px;
}
a.jp-play {
background: url("jplayer.blue.monday.jpg") 0 0 no-repeat;
}
a.jp-play:hover {
background: url("jplayer.blue.monday.jpg") -41px 0 no-repeat;
}
a.jp-pause {
background: url("jplayer.blue.monday.jpg") 0 -42px no-repeat;
display: none;
}
a.jp-pause:hover {
background: url("jplayer.blue.monday.jpg") -41px -42px no-repeat;
}
a.jp-stop, a.jp-previous, a.jp-next {
width:28px;
height:28px;
margin-top:6px;
}
a.jp-stop {
background: url("jplayer.blue.monday.jpg") 0 -83px no-repeat;
margin-left:10px;
}
a.jp-stop:hover {
background: url("jplayer.blue.monday.jpg") -29px -83px no-repeat;
}
a.jp-previous {
background: url("jplayer.blue.monday.jpg") 0 -112px no-repeat;
}
a.jp-previous:hover {
background: url("jplayer.blue.monday.jpg") -29px -112px no-repeat;
}
a.jp-next {
background: url("jplayer.blue.monday.jpg") 0 -141px no-repeat;
}
a.jp-next:hover {
background: url("jplayer.blue.monday.jpg") -29px -141px no-repeat;
}
/* @end */
/* @group progress bar */
div.jp-progress {
overflow:hidden;
background-color: #ddd;
}
div.jp-audio div.jp-progress {
position: absolute;
top:32px;
height:15px;
}
div.jp-audio div.jp-type-single div.jp-progress {
left:110px;
width:186px;
}
div.jp-audio div.jp-type-playlist div.jp-progress {
left:166px;
width:130px;
}
div.jp-video div.jp-progress {
top:0px;
left:0px;
width:100%;
height:10px;
}
div.jp-seek-bar {
background: url("jplayer.blue.monday.jpg") 0 -202px repeat-x;
width:0px;
height:100%;
cursor: pointer;
}
div.jp-play-bar {
background: url("jplayer.blue.monday.jpg") 0 -218px repeat-x ;
width:0px;
height:100%;
}
/* The seeking class is added/removed inside jPlayer */
div.jp-seeking-bg {
background: url("jplayer.blue.monday.seeking.gif");
}
/* @end */
/* @group volume controls */
a.jp-mute,
a.jp-unmute,
a.jp-volume-max {
width:18px;
height:15px;
margin-top:12px;
}
div.jp-audio div.jp-type-single a.jp-mute,
div.jp-audio div.jp-type-single a.jp-unmute {
margin-left: 210px;
}
div.jp-audio div.jp-type-playlist a.jp-mute,
div.jp-audio div.jp-type-playlist a.jp-unmute {
margin-left: 154px;
}
div.jp-audio-stream div.jp-type-single a.jp-mute,
div.jp-audio-stream div.jp-type-single a.jp-unmute {
margin-left:10px;
}
div.jp-audio a.jp-volume-max,
div.jp-audio-stream a.jp-volume-max {
margin-left: 56px;
}
div.jp-video a.jp-mute,
div.jp-video a.jp-unmute,
div.jp-video a.jp-volume-max {
position: absolute;
top:12px;
margin-top:0;
}
div.jp-video a.jp-mute,
div.jp-video a.jp-unmute {
left: 50px;
}
div.jp-video a.jp-volume-max {
left: 134px;
}
a.jp-mute {
background: url("jplayer.blue.monday.jpg") 0 -170px no-repeat;
}
a.jp-mute:hover {
background: url("jplayer.blue.monday.jpg") -19px -170px no-repeat;
}
a.jp-unmute {
background: url("jplayer.blue.monday.jpg") -60px -170px no-repeat;
display: none;
}
a.jp-unmute:hover {
background: url("jplayer.blue.monday.jpg") -79px -170px no-repeat;
}
a.jp-volume-max {
background: url("jplayer.blue.monday.jpg") 0 -186px no-repeat;
}
a.jp-volume-max:hover {
background: url("jplayer.blue.monday.jpg") -19px -186px no-repeat;
}
div.jp-volume-bar {
position: absolute;
overflow:hidden;
background: url("jplayer.blue.monday.jpg") 0 -250px repeat-x;
width:46px;
height:5px;
cursor: pointer;
}
div.jp-audio div.jp-volume-bar {
top:37px;
left:330px;
}
div.jp-audio-stream div.jp-volume-bar {
top:37px;
left:92px;
}
div.jp-video div.jp-volume-bar {
top:17px;
left:72px;
}
div.jp-volume-bar-value {
background: url("jplayer.blue.monday.jpg") 0 -256px repeat-x;
width:0px;
height:5px;
}
/* @end */
/* @group current time and duration */
div.jp-audio div.jp-time-holder {
position:absolute;
top:50px;
}
div.jp-audio div.jp-type-single div.jp-time-holder {
left:110px;
width:186px;
}
div.jp-audio div.jp-type-playlist div.jp-time-holder {
left:166px;
width:130px;
}
div.jp-current-time,
div.jp-duration {
width:60px;
font-size:.64em;
font-style:oblique;
}
div.jp-current-time {
float: left;
display:inline;
}
div.jp-duration {
float: right;
display:inline;
text-align: right;
}
div.jp-video div.jp-current-time {
margin-left:20px;
}
div.jp-video div.jp-duration {
margin-right:20px;
}
/* @end */
/* @group playlist */
div.jp-title {
font-weight:bold;
text-align:center;
}
div.jp-title,
div.jp-playlist {
width:100%;
background-color:#ccc;
border-top:1px solid #009be3;
}
div.jp-type-single div.jp-title,
div.jp-type-playlist div.jp-title,
div.jp-type-single div.jp-playlist {
border-top:none;
}
div.jp-title ul,
div.jp-playlist ul {
list-style-type:none;
margin:0;
padding:0 20px;
font-size:.72em;
}
div.jp-title li {
padding:5px 0;
font-weight:bold;
}
div.jp-playlist li {
padding:5px 0 4px 20px;
border-bottom:1px solid #eee;
}
div.jp-playlist li div {
display:inline;
}
/* Note that the first-child (IE6) and last-child (IE6/7/8) selectors do not work on IE */
div.jp-type-playlist div.jp-playlist li:last-child {
padding:5px 0 5px 20px;
border-bottom:none;
}
div.jp-type-playlist div.jp-playlist li.jp-playlist-current {
list-style-type:square;
list-style-position:inside;
padding-left:7px;
}
div.jp-type-playlist div.jp-playlist a {
color: #333;
text-decoration: none;
}
div.jp-type-playlist div.jp-playlist a:hover {
color:#0d88c1;
}
div.jp-type-playlist div.jp-playlist a.jp-playlist-current {
color:#0d88c1;
}
div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove {
float:right;
display:inline;
text-align:right;
margin-right:10px;
font-weight:bold;
color:#666;
}
div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove:hover {
color:#0d88c1;
}
div.jp-type-playlist div.jp-playlist span.jp-free-media {
float:right;
display:inline;
text-align:right;
margin-right:10px;
}
div.jp-type-playlist div.jp-playlist span.jp-free-media a{
color:#666;
}
div.jp-type-playlist div.jp-playlist span.jp-free-media a:hover{
color:#0d88c1;
}
span.jp-artist {
font-size:.8em;
color:#666;
}
/* @end */
div.jp-video-play {
width:100%;
overflow:hidden; /* Important for nested negative margins to work in modern browsers */
cursor:pointer;
background-color:rgba(0,0,0,0); /* Makes IE9 work with the active area over the whole video area. IE6/7/8 only have the button as active area. */
}
div.jp-video-270p div.jp-video-play {
margin-top:-270px;
height:270px;
}
div.jp-video-360p div.jp-video-play {
margin-top:-360px;
height:360px;
}
div.jp-video-full div.jp-video-play {
height:100%;
}
a.jp-video-play-icon {
position:relative;
display:block;
width: 112px;
height: 100px;
margin-left:-56px;
margin-top:-50px;
left:50%;
top:50%;
background: url("jplayer.blue.monday.video.play.png") 0 0 no-repeat;
text-indent:-9999px;
}
div.jp-video-play:hover a.jp-video-play-icon {
background: url("jplayer.blue.monday.video.play.png") 0 -100px no-repeat;
}
div.jp-jplayer audio,
div.jp-jplayer {
width:0px;
height:0px;
}
div.jp-jplayer {
background-color: #000000;
}
/* @group TOGGLES */
/* The audio toggles are nested inside jp-time-holder */
ul.jp-toggles {
list-style-type:none;
padding:0;
margin:0 auto;
overflow:hidden;
}
div.jp-audio .jp-type-single ul.jp-toggles {
width:25px;
}
div.jp-audio .jp-type-playlist ul.jp-toggles {
width:55px;
margin: 0;
position: absolute;
left: 325px;
top: 50px;
}
div.jp-video ul.jp-toggles {
margin-top:10px;
width:100px;
}
ul.jp-toggles li {
display:block;
float:right;
}
ul.jp-toggles li a {
display:block;
width:25px;
height:18px;
text-indent:-9999px;
line-height:100%; /* need this for IE6 */
}
a.jp-full-screen {
background: url("jplayer.blue.monday.jpg") 0 -310px no-repeat;
margin-left: 20px;
}
a.jp-full-screen:hover {
background: url("jplayer.blue.monday.jpg") -30px -310px no-repeat;
}
a.jp-restore-screen {
background: url("jplayer.blue.monday.jpg") -60px -310px no-repeat;
margin-left: 20px;
}
a.jp-restore-screen:hover {
background: url("jplayer.blue.monday.jpg") -90px -310px no-repeat;
}
a.jp-repeat {
background: url("jplayer.blue.monday.jpg") 0 -290px no-repeat;
}
a.jp-repeat:hover {
background: url("jplayer.blue.monday.jpg") -30px -290px no-repeat;
}
a.jp-repeat-off {
background: url("jplayer.blue.monday.jpg") -60px -290px no-repeat;
}
a.jp-repeat-off:hover {
background: url("jplayer.blue.monday.jpg") -90px -290px no-repeat;
}
a.jp-shuffle {
background: url("jplayer.blue.monday.jpg") 0 -270px no-repeat;
margin-left: 5px;
}
a.jp-shuffle:hover {
background: url("jplayer.blue.monday.jpg") -30px -270px no-repeat;
}
a.jp-shuffle-off {
background: url("jplayer.blue.monday.jpg") -60px -270px no-repeat;
margin-left: 5px;
}
a.jp-shuffle-off:hover {
background: url("jplayer.blue.monday.jpg") -90px -270px no-repeat;
}
/* @end */
/* @group NO SOLUTION error feedback */
.jp-no-solution {
padding:5px;
font-size:.8em;
background-color:#eee;
border:2px solid #009be3;
color:#000;
display:none;
}
.jp-no-solution a {
color:#000;
}
.jp-no-solution span {
font-size:1em;
display:block;
text-align:center;
font-weight:bold;
}
/* @end */

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

View File

@ -1,133 +0,0 @@
/*
* Project: CirclePlayer
* http://www.jplayer.org
*
* Copyright (c) 2012 Happyworm Ltd
*
* Author: Silvia Benvenuti
* Edited by: Mark J Panaghiston
* Date: 2nd October 2012
* Artwork inspired by: http://forrst.com/posts/Untitled-CJz
*/
.cp-container {
position:relative;
width:104px; /* 200 - (2 * 48) */
height:104px;
background:url("bgr.jpg") 0 0 no-repeat;
padding:48px;
-webkit-tap-highlight-color:rgba(0,0,0,0);
}
.cp-container :focus {
border:none;
outline:0;
}
.cp-buffer-1,
.cp-buffer-2,
.cp-progress-1,
.cp-progress-2 {
position:absolute;
top:0;
left:0;
width:104px;
height:104px;
clip:rect(0px,52px,104px,0px);
-moz-border-radius:52px;
-webkit-border-radius:52px;
border-radius:52px;
}
.cp-buffer-1,
.cp-buffer-2 {
background:url("buffer.png") 0 0 no-repeat;
}
/* FALLBACK for .progress
* (24 steps starting from 1hr filled progress, Decrease second value by 104px for next step)
* (It needs the container selector to work. Or use div)
*/
.cp-container .cp-fallback {
background:url("progress_sprite.jpg") no-repeat;
background-position:0 104px;
}
.cp-progress-1,
.cp-progress-2 {
background:url("progress.png") 0 0 no-repeat;
}
.cp-buffer-holder,
.cp-progress-holder,
.cp-circle-control {
position:absolute;
width:104px;
height:104px;
}
.cp-circle-control {
cursor:pointer;
}
.cp-buffer-holder,
.cp-progress-holder {
clip:rect(0px,104px,104px,52px);
display:none;
}
/* This is needed when progress is greater than 50% or for fallback */
.cp-buffer-holder.cp-gt50,
.cp-progress-holder.cp-gt50,
.cp-progress-1.cp-fallback{
clip:rect(auto, auto, auto, auto);
}
.cp-controls {
margin:0;
padding:26px;
}
.cp-controls li{
list-style-type:none;
display:block;
/*IE Fix*/
position:absolute;
}
.cp-controls li a{
position:relative;
display:block;
width:50px;
height:50px;
text-indent:-9999px;
z-index:1;
cursor:pointer;
}
.cp-controls .cp-play {
background:url("controls.jpg") 0 0 no-repeat;
}
.cp-controls .cp-play:hover {
background:url("controls.jpg") -50px 0 no-repeat;
}
.cp-controls .cp-pause {
background:url("controls.jpg") 0 -50px no-repeat;
}
.cp-controls .cp-pause:hover {
background:url("controls.jpg") -50px -50px no-repeat;
}
.cp-jplayer {
width:0;
height:0;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

View File

@ -1,670 +0,0 @@
/*
* Skin for jPlayer Plugin (jQuery JavaScript Library)
* http://www.jplayer.org
*
* Skin Name: Pink Flag
*
* Copyright (c) 2012 Happyworm Ltd
* Dual licensed under the MIT and GPL licenses.
* - http://www.opensource.org/licenses/mit-license.php
* - http://www.gnu.org/copyleft/gpl.html
*
* Author: Silvia Benvenuti
* Skin Version: 1.2 (jPlayer 2.2.0)
* Date: 22nd October 2012
*/
div.jp-audio,
div.jp-audio-stream,
div.jp-video {
/* Edit the font-size to counteract inherited font sizing.
* Eg. 1.25em = 1 / 0.8em
*/
font-size:1.25em; /* 1.25em for testing in site pages */ /* No parent CSS that can effect the size in the demos ZIP */
font-family:Verdana, Arial, sans-serif;
line-height:1.6;
color: #fff;
border-top:1px solid #554461;
border-left:1px solid #554461;
border-right:1px solid #180a1f;
border-bottom:1px solid #180a1f;
background-color:#3a2a45;
}
div.jp-audio {
width:201px;
padding:20px;
}
div.jp-audio-stream {
width:101px;
padding:20px 20px 10px 20px;
}
div.jp-video-270p {
width:480px;
}
div.jp-video-360p {
width:640px;
}
div.jp-video-full {
/* Rules for IE6 (full-screen) */
width:480px;
height:270px;
/* Rules for IE7 (full-screen) - Otherwise the relative container causes other page items that are not position:static (default) to appear over the video/gui. */
position:static !important; position:relative;
}
/* The z-index rule is defined in this manner to enable Popcorn plugins that add overlays to video area. EG. Subtitles. */
div.jp-video-full div div {
z-index:1000;
}
div.jp-video-full div.jp-jplayer {
top: 0;
left: 0;
position: fixed !important; position: relative; /* Rules for IE6 (full-screen) */
overflow: hidden;
}
div.jp-video-full div.jp-gui {
position: fixed !important; position: static; /* Rules for IE6 (full-screen) */
top: 0;
left: 0;
width:100%;
height:100%;
z-index:1001; /* 1 layer above the others. */
}
div.jp-video-full div.jp-interface {
position: absolute !important; position: relative; /* Rules for IE6 (full-screen) */
bottom: 0;
left: 0;
}
div.jp-interface {
position: relative;
width:100%;
background-color:#3a2a45; /* Required for the full screen */
}
div.jp-audio .jp-interface {
height: 80px;
padding-top:30px;
}
div.jp-audio-stream .jp-interface {
height: 50px;
padding-top:30px;
}
/* @group CONTROLS */
div.jp-controls-holder {
clear: both;
width:440px;
margin:0 auto 10px auto;
position: relative;
overflow:hidden;
}
div.jp-interface ul.jp-controls {
background: url("jplayer.pink.flag.jpg") 0 0 no-repeat;
list-style-type:none;
padding: 1px 0 2px 1px;
overflow:hidden;
width: 201px;
height: 34px;
}
div.jp-audio ul.jp-controls,
div.jp-audio-stream ul.jp-controls {
margin:0 auto;
}
div.jp-audio-stream ul.jp-controls {
width: 100px;
}
div.jp-video ul.jp-controls {
margin:0 0 0 115px;
float:left;
display:inline; /* need this to fix IE6 double margin */
}
div.jp-interface ul.jp-controls li {
display:inline;
float: left;
}
div.jp-interface ul.jp-controls a {
display:block;
overflow:hidden;
text-indent:-9999px;
height: 34px;
margin: 0 1px 2px 0;
padding: 0;
}
/* @group single player controls */
div.jp-type-single .jp-controls li a{
width: 99px;
}
div.jp-type-single .jp-play {
background: url("jplayer.pink.flag.jpg") 0px -40px no-repeat;
}
div.jp-type-single .jp-play:hover {
background: url("jplayer.pink.flag.jpg") -100px -40px no-repeat;
}
div.jp-type-single .jp-pause {
background: url("jplayer.pink.flag.jpg") 0px -120px no-repeat;
}
div.jp-type-single .jp-pause:hover {
background: url("jplayer.pink.flag.jpg") -100px -120px no-repeat;
}
/* The right border is normally in the ul background image. */
div.jp-audio-stream .jp-play,
div.jp-audio-stream .jp-pause {
border-right:1px solid #180920;
}
div.jp-type-single .jp-stop {
background: url("jplayer.pink.flag.jpg") 0px -80px no-repeat;
}
div.jp-type-single .jp-stop:hover {
background: url("jplayer.pink.flag.jpg") -100px -80px no-repeat;
}
/* @end */
/* @group playlist player controls */
div.jp-type-playlist .jp-controls li a{
width: 49px;
}
div.jp-type-playlist .jp-play {
background: url("jplayer.pink.flag.jpg") -24px -40px no-repeat;
}
div.jp-type-playlist .jp-play:hover {
background: url("jplayer.pink.flag.jpg") -124px -40px no-repeat;
}
div.jp-type-playlist .jp-pause {
background: url("jplayer.pink.flag.jpg") -24px -120px no-repeat;
}
div.jp-type-playlist .jp-pause:hover {
background: url("jplayer.pink.flag.jpg") -124px -120px no-repeat;
}
div.jp-type-playlist .jp-stop {
background: url("jplayer.pink.flag.jpg") -24px -80px no-repeat;
}
div.jp-type-playlist .jp-stop:hover {
background: url("jplayer.pink.flag.jpg") -124px -80px no-repeat;
}
div.jp-type-playlist .jp-previous {
background: url("jplayer.pink.flag.jpg") -24px -200px no-repeat;
}
div.jp-type-playlist .jp-previous:hover {
background: url("jplayer.pink.flag.jpg") -124px -200px no-repeat;
}
div.jp-type-playlist .jp-next {
background: url("jplayer.pink.flag.jpg") -24px -160px no-repeat;
}
div.jp-type-playlist .jp-next:hover {
background: url("jplayer.pink.flag.jpg") -124px -160px no-repeat;
}
/* @end */
/* @end */
/* @group TOGGLES */
ul.jp-toggles {
list-style-type:none;
padding:0;
margin:0 auto;
overflow:hidden;
}
div.jp-audio ul.jp-toggles {
width:55px;
}
div.jp-audio .jp-type-single ul.jp-toggles {
width:25px;
}
div.jp-video ul.jp-toggles {
width:100px;
margin-top: 10px;
}
ul.jp-toggles li{
display:block;
float:right;
}
ul.jp-toggles li a{
display:block;
width:25px;
height:18px;
text-indent:-9999px;
line-height:100%; /* need this for IE6 */
}
.jp-full-screen {
background: url("jplayer.pink.flag.jpg") 0 -420px no-repeat;
margin-left: 20px;
}
.jp-full-screen:hover {
background: url("jplayer.pink.flag.jpg") -30px -420px no-repeat;
}
.jp-restore-screen {
background: url("jplayer.pink.flag.jpg") -60px -420px no-repeat;
margin-left: 20px;
}
.jp-restore-screen:hover {
background: url("jplayer.pink.flag.jpg") -90px -420px no-repeat;
}
.jp-repeat {
background: url("jplayer.pink.flag.jpg") 0 -440px no-repeat;
}
.jp-repeat:hover {
background: url("jplayer.pink.flag.jpg") -30px -440px no-repeat;
}
.jp-repeat-off {
background: url("jplayer.pink.flag.jpg") -60px -440px no-repeat;
}
.jp-repeat-off:hover {
background: url("jplayer.pink.flag.jpg") -90px -440px no-repeat;
}
.jp-shuffle {
background: url("jplayer.pink.flag.jpg") 0 -460px no-repeat;
margin-left: 5px;
}
.jp-shuffle:hover {
background: url("jplayer.pink.flag.jpg") -30px -460px no-repeat;
}
.jp-shuffle-off {
background: url("jplayer.pink.flag.jpg") -60px -460px no-repeat;
margin-left: 5px;
}
.jp-shuffle-off:hover {
background: url("jplayer.pink.flag.jpg") -90px -460px no-repeat;
}
/* @end */
/* @group progress bar */
/* The seeking class is added/removed inside jPlayer */
div.jp-seeking-bg {
background: url("jplayer.pink.flag.seeking.gif");
}
.jp-progress {
background: url("jplayer.pink.flag.jpg") 0px -240px no-repeat;
width: 197px;
height: 13px;
padding: 0 2px 2px 2px;
margin-bottom: 4px;
overflow:hidden;
}
div.jp-video .jp-progress {
border-top:1px solid #180a1f;
border-bottom: 1px solid #554560;
width:100%;
background-image: none;
padding: 0;
}
.jp-seek-bar {
background: url("jplayer.pink.flag.jpg") 0px -260px repeat-x;
width:0px;
height: 100%;
overflow:hidden;
cursor:pointer;
}
.jp-play-bar {
background: url("jplayer.pink.flag.jpg") 0px -280px repeat-x;
width:0px;
height: 100%;
overflow:hidden;
}
/* @end */
/* @group volume controls */
div.jp-interface ul.jp-controls a.jp-mute,
div.jp-interface ul.jp-controls a.jp-unmute,
div.jp-interface ul.jp-controls a.jp-volume-max {
background: url("jplayer.pink.flag.jpg") 0px -330px no-repeat;
position: absolute;
width: 16px;
height: 11px;
}
div.jp-audio ul.jp-controls a.jp-mute,
div.jp-audio ul.jp-controls a.jp-unmute,
div.jp-audio-stream ul.jp-controls a.jp-mute,
div.jp-audio-stream ul.jp-controls a.jp-unmute {
top:-6px;
left: 0;
}
div.jp-audio ul.jp-controls a.jp-volume-max,
div.jp-audio-stream ul.jp-controls a.jp-volume-max {
top:-6px;
right: 0;
}
div.jp-video ul.jp-controls a.jp-mute,
div.jp-video ul.jp-controls a.jp-unmute {
left: 0;
top:14px;
}
div.jp-video ul.jp-controls a.jp-volume-max {
left: 84px;
top:14px;
}
div.jp-interface ul.jp-controls a.jp-mute:hover {
background: url("jplayer.pink.flag.jpg") -25px -330px no-repeat;
}
div.jp-interface ul.jp-controls a.jp-unmute {
background: url("jplayer.pink.flag.jpg") -60px -330px no-repeat;
}
div.jp-interface ul.jp-controls a.jp-unmute:hover {
background: url("jplayer.pink.flag.jpg") -85px -330px no-repeat;
}
div.jp-interface ul.jp-controls a.jp-volume-max {
background: url("jplayer.pink.flag.jpg") 0px -350px no-repeat;
}
div.jp-interface ul.jp-controls a.jp-volume-max:hover {
background: url("jplayer.pink.flag.jpg") -25px -350px no-repeat;
}
.jp-volume-bar {
background: url("jplayer.pink.flag.jpg") 0px -300px repeat-x;
position: absolute;
width: 197px;
height: 4px;
padding: 2px 2px 1px 2px;
overflow: hidden;
}
.jp-volume-bar:hover {
cursor: pointer;
}
div.jp-audio .jp-interface .jp-volume-bar,
div.jp-audio-stream .jp-interface .jp-volume-bar {
top:10px;
left: 0;
}
div.jp-audio-stream .jp-interface .jp-volume-bar {
width: 97px;
border-right:1px solid #180920;
padding-right:1px;
}
div.jp-video .jp-volume-bar {
top: 0;
left: 0;
width:95px;
border-right:1px solid #180920;
padding-right:1px;
margin-top: 30px;
}
.jp-volume-bar-value {
background: url("jplayer.pink.flag.jpg") 0px -320px repeat-x;
height: 4px;
}
/* @end */
/* @group current time and duration */
.jp-current-time, .jp-duration {
width:70px;
font-size:.5em;
color: #8c7a99;
}
.jp-current-time {
float: left;
}
.jp-duration {
float: right;
text-align:right;
}
.jp-video .jp-current-time {
padding-left:20px;
}
.jp-video .jp-duration {
padding-right:20px;
}
/* @end */
/* @group playlist */
.jp-title ul,
.jp-playlist ul {
list-style-type:none;
font-size:.7em;
margin: 0;
padding: 0;
}
.jp-video .jp-title ul {
margin: 0 20px 10px;
}
.jp-video .jp-playlist ul {
margin: 0 20px;
}
.jp-title li,
.jp-playlist li {
position: relative;
padding: 2px 0;
border-top:1px solid #554461;
border-bottom:1px solid #180a1f;
overflow: hidden;
}
.jp-title li{
border-bottom:none;
border-top:none;
padding:0;
text-align:center;
}
/* Note that the first-child (IE6) and last-child (IE6/7/8) selectors do not work on IE */
div.jp-type-playlist div.jp-playlist li:first-child {
border-top:none;
padding-top:3px;
}
div.jp-type-playlist div.jp-playlist li:last-child {
border-bottom:none;
padding-bottom:3px;
}
div.jp-type-playlist div.jp-playlist a {
color: #fff;
text-decoration:none;
}
div.jp-type-playlist div.jp-playlist a:hover {
color: #e892e9;
}
div.jp-type-playlist div.jp-playlist li.jp-playlist-current {
background-color: #26102e;
margin: 0 -20px;
padding: 2px 20px;
border-top: 1px solid #26102e;
border-bottom: 1px solid #26102e;
}
div.jp-type-playlist div.jp-playlist li.jp-playlist-current a{
color: #e892e9;
}
div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove {
float:right;
display:inline;
text-align:right;
margin-left:10px;
font-weight:bold;
color:#8C7A99;
}
div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove:hover {
color:#E892E9;
}
div.jp-type-playlist div.jp-playlist span.jp-free-media {
float: right;
display:inline;
text-align:right;
color:#8C7A99;
}
div.jp-type-playlist div.jp-playlist span.jp-free-media a{
color:#8C7A99;
}
div.jp-type-playlist div.jp-playlist span.jp-free-media a:hover{
color:#E892E9;
}
span.jp-artist {
font-size:.8em;
color:#8C7A99;
}
/* @end */
div.jp-video div.jp-video-play {
width:100%;
overflow:hidden; /* Important for nested negative margins to work in modern browsers */
cursor:pointer;
}
div.jp-video-270p div.jp-video-play {
margin-top:-270px;
height:270px;
}
div.jp-video-360p div.jp-video-play {
margin-top:-360px;
height:360px;
}
div.jp-video-full div.jp-video-play {
height:100%;
}
a.jp-video-play-icon {
position:relative;
display:block;
width: 112px;
height: 100px;
margin-left:-56px;
margin-top:-50px;
left:50%;
top:50%;
background: url("jplayer.pink.flag.video.play.png") 0 0 no-repeat;
text-indent:-9999px;
}
div.jp-video-play:hover a.jp-video-play-icon {
background: url("jplayer.pink.flag.video.play.png") 0 -100px no-repeat;
}
div.jp-jplayer audio,
div.jp-jplayer {
width:0px;
height:0px;
}
div.jp-jplayer {
background-color: #000000;
}
/* @group NO SOLUTION error feedback */
.jp-no-solution {
padding:5px;
font-size:.8em;
background-color:#3a2a45;
border-top:2px solid #554461;
border-left:2px solid #554461;
border-right:2px solid #180a1f;
border-bottom:2px solid #180a1f;
color:#FFF;
display:none;
}
.jp-no-solution a {
color:#FFF;
}
.jp-no-solution span {
font-size:1em;
display:block;
text-align:center;
font-weight:bold;
}
/* @end */

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

View File

@ -103,8 +103,8 @@ ini_set('error_log','/tmp/wsn.log');
}
//获取变量名称
$sql="select distinct va.fld_name from tbl_value v left join tbl_variable_info va on v.fld_variable_id=va.fld_variable_id
WHERE v.fld_site_id=$site AND v.fld_time>='$start' AND v.fld_time<'$end'";
$sql="select distinct va.fld_name from tbl_site_sensor_variable ssv left join tbl_variable_info va on ssv.fld_variable_id=va.fld_variable_id
WHERE ssv.fld_site_id=$site";
if ($variable==1)
{
$sql.=" and va.fld_variable_id in (select distinct variable from users_pm_down where starttime is not null and result=-1 and type='down' and uid=$uid) ";
@ -112,6 +112,7 @@ ini_set('error_log','/tmp/wsn.log');
$sql.=" order by va.fld_name";
$sth=$db->query($sql);
$rs=$sth->fetchAll();
if (!$rs) continue;
$head = "Time";
$sql2= "select * from crosstab('SELECT v.fld_time as time,va.fld_name as variablename,v.fld_value as value
FROM tbl_value v left join tbl_variable_info va on v.fld_variable_id=va.fld_variable_id

110
tools/wsnuuid.php Normal file
View File

@ -0,0 +1,110 @@
<?php
set_time_limit(0);
error_reporting(-1);
ini_set("display_errors",'On');
ini_set('error_log','/tmp/wsn.log');
$db = new PDO('pgsql:host=210.77.68.40;dbname=observation', "gis", "gispassword");
$file=array();
$basepath='/disk1/WestDC/wsndata/';
//接收uuid只生成这个对应的数据
if($argc==2)
{
$uuid = $argv[1];
}else{
die("Error in parameter.");
}
$sql = "SELECT distinct ys.fld_site_id as site,si.fld_name from tbl_yuan_site ys left join tbl_site_info si on ys.fld_site_id=si.fld_site_id where ys.uuid='$uuid'";
$rs = $db->query($sql);
$sites = $rs->fetchAll();
//先为该数据创建一个文件夹
$datapath=$basepath.$uuid;
if (!file_exists($datapath))
{
$result = mkdir($datapath);
}
//有需要生成的数据
if($sites)
{
foreach($sites as $k=>$v )
{
//逐个site生成
$site = $v['site'];
//获取观测点的名称
$sitename= $v['fld_name'];
//在该文件夹下面再建立一个观测点文件夹
$sitepath=$datapath.DIRECTORY_SEPARATOR.$sitename;
if (!file_exists($sitepath))
{
$result = mkdir($sitepath);
}
//获取变量名称
$sql="select distinct va.fld_name from tbl_site_sensor_variable ssv left join tbl_variable_info va on ssv.fld_variable_id=va.fld_variable_id
WHERE ssv.fld_site_id=$site order by va.fld_name";
$sth=$db->query($sql);
$rs=$sth->fetchAll();
if (!$rs) continue;
$head = "Time";
$sql2= "select * from crosstab('SELECT v.fld_time as time,va.fld_name as variablename,v.fld_value as value
FROM tbl_value v left join tbl_variable_info va on v.fld_variable_id=va.fld_variable_id
WHERE v.fld_site_id=$site ORDER BY time',
'select distinct va.fld_name from tbl_variable_info va left join tbl_site_sensor_variable v on v.fld_variable_id=va.fld_variable_id
WHERE v.fld_site_id=$site order by va.fld_name')
as ct(time timestamp without time zone";
foreach($rs as $k=>$var)
{
$head.=", ".$var['fld_name'];
$sql2.=",v".$k." real";
}
$head.="\n";
$sql2.=")";
//获取数据
$sth2 = $db->query($sql2);
$html="";
$datastart=true;
$start="";
while ($v=$sth2->fetch())
{
//组装数据
if ($datastart)
{
$start=$v['time'];
$endtime=date("Y-m-d",strtotime($start)+24*3600);
$datastart=false;
$html="";
}
if ($v['time']>=$start && $v['time']<$endtime)
{
$html.=$v['time'];
foreach ($rs as $k=>$var)
$html.=",".$v['v'.$k];
$html.="\n";
} elseif ($v['time']>=$endtime) {
//写入文件
$resulttime=date("Ymd",strtotime($start));
$fp = fopen($sitepath.DIRECTORY_SEPARATOR.$sitename.$resulttime.".CSV","w+");
fwrite($fp,$head.$html); //写入数据
fclose($fp); //关闭文件句柄
$datastart=true;
}
}
if (!$datastart)
{
//写入最后的文件
$resulttime=date("Ymd",strtotime($start));
$fp = fopen($sitepath.DIRECTORY_SEPARATOR.$sitename.$resulttime.".CSV","w+");
fwrite($fp,$head.$html); //写入数据
fclose($fp); //关闭文件句柄
}
print $sitename."\r\n";
}
}