修改关于本站,黑河专题、water专题数据页面,修改数据页面的推荐列表样式,相关搜索样式,相关文献等中的分页样式
This commit is contained in:
parent
7a1e65b42d
commit
cdfdac313e
|
@ -1,104 +1,105 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
class AboutController extends Zend_Controller_Action
|
class AboutController extends Zend_Controller_Action
|
||||||
{
|
{
|
||||||
function indexAction()
|
function indexAction()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
function preDispatch()
|
function preDispatch()
|
||||||
{
|
{
|
||||||
$this->view->config = Zend_Registry::get('config');
|
$this->view->config = Zend_Registry::get('config');
|
||||||
$this->messenger=$this->_helper->getHelper('FlashMessenger');
|
$this->messenger=$this->_helper->getHelper('FlashMessenger');
|
||||||
$this->view->messages = $this->messenger->getMessages();
|
$this->view->messages = $this->messenger->getMessages();
|
||||||
$this->db=Zend_Registry::get('db');
|
$this->db=Zend_Registry::get('db');
|
||||||
}
|
$this->view->pageID = "about-".$this->_request->getActionName();
|
||||||
function contactAction()
|
}
|
||||||
{
|
function contactAction()
|
||||||
$form=new ContactForm();
|
{
|
||||||
$this->view->form=$form;
|
$form=new ContactForm();
|
||||||
$this->view->addHelperPath('helper','Zend_View_Helper_');
|
$this->view->form=$form;
|
||||||
if ($this->_request->isPost()) {
|
$this->view->addHelperPath('helper','Zend_View_Helper_');
|
||||||
//发送邮件
|
if ($this->_request->isPost()) {
|
||||||
$formData=$this->_request->getPost();
|
//发送邮件
|
||||||
include_once("bcspamblock.php");
|
$formData=$this->_request->getPost();
|
||||||
if (bcspamblock_verify() && $form->isValid($formData)) {
|
include_once("bcspamblock.php");
|
||||||
$mail=new Zend_Mail('utf-8');
|
if (bcspamblock_verify() && $form->isValid($formData)) {
|
||||||
$mail->setFrom($formData['email'],$formData['username']);
|
$mail=new Zend_Mail('utf-8');
|
||||||
$mail->setBodyText($formData['body']);
|
$mail->setFrom($formData['email'],$formData['username']);
|
||||||
$mail->setSubject($formData['subject']);
|
$mail->setBodyText($formData['body']);
|
||||||
$mail->addTo($this->view->config->supportemail);
|
$mail->setSubject($formData['subject']);
|
||||||
$mail->send();
|
$mail->addTo($this->view->config->supportemail);
|
||||||
$this->messenger->addMessage('发送成功!');
|
$mail->send();
|
||||||
$this->_redirect('/about/contact');
|
$this->messenger->addMessage('发送成功!');
|
||||||
}
|
$this->_redirect('/about/contact');
|
||||||
} else {
|
}
|
||||||
$auth = Zend_Auth::getInstance();
|
} else {
|
||||||
if ($auth->hasIdentity()) {
|
$auth = Zend_Auth::getInstance();
|
||||||
$user=$auth->getIdentity();
|
if ($auth->hasIdentity()) {
|
||||||
$formData['username']=($user->realname)?$user->realname:$user->username;
|
$user=$auth->getIdentity();
|
||||||
$formData['email']=$user->email;
|
$formData['username']=($user->realname)?$user->realname:$user->username;
|
||||||
$form->populate($formData);
|
$formData['email']=$user->email;
|
||||||
}
|
$form->populate($formData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function termsAction()
|
}
|
||||||
{
|
function termsAction()
|
||||||
}
|
{
|
||||||
function backgroundAction()
|
}
|
||||||
{
|
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()
|
}
|
||||||
{
|
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()
|
}
|
||||||
{
|
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()
|
}
|
||||||
{
|
function copyrightAction()
|
||||||
$archives=new Archive($this->db);
|
{
|
||||||
$this->view->item=$archives->getOneArchive('数据与版权','about');
|
$archives=new Archive($this->db);
|
||||||
}
|
$this->view->item=$archives->getOneArchive('数据与版权','about');
|
||||||
function linkAction()
|
}
|
||||||
{
|
function linkAction()
|
||||||
$archives=new Archive($this->db);
|
{
|
||||||
$this->view->item=$archives->getOneArchive('友情链接','about');
|
$archives=new Archive($this->db);
|
||||||
}
|
$this->view->item=$archives->getOneArchive('友情链接','about');
|
||||||
function honorAction()
|
}
|
||||||
{
|
function honorAction()
|
||||||
$archives=new Archive($this->db);
|
{
|
||||||
$this->view->item=$archives->getOneArchive('服务成效','about');
|
$archives=new Archive($this->db);
|
||||||
}
|
$this->view->item=$archives->getOneArchive('服务成效','about');
|
||||||
function sponsorsAction()
|
}
|
||||||
{
|
function sponsorsAction()
|
||||||
$archives=new Archive($this->db);
|
{
|
||||||
$this->view->item=$archives->getOneArchive('支持项目','about');
|
$archives=new Archive($this->db);
|
||||||
}
|
$this->view->item=$archives->getOneArchive('支持项目','about');
|
||||||
function publicationAction()
|
}
|
||||||
{
|
function publicationAction()
|
||||||
$ac = $this->_request->getParam("ac");
|
{
|
||||||
$siteid="e31f5ea7-a4af-4ae3-9ac1-1a84132c4338";//site uuid from geonetowrk
|
$ac = $this->_request->getParam("ac");
|
||||||
if(empty($ac))
|
$siteid="e31f5ea7-a4af-4ae3-9ac1-1a84132c4338";//site uuid from geonetowrk
|
||||||
{
|
if(empty($ac))
|
||||||
$sql="select * from mdref mr left join reference r on mr.refid=r.id where mr.uuid=? order by r.id desc";
|
{
|
||||||
|
$sql="select * from mdref mr left join reference r on mr.refid=r.id where mr.uuid=? order by r.id desc";
|
||||||
$sth = $this->db->prepare($sql);
|
$sth = $this->db->prepare($sql);
|
||||||
$sth->execute(array($siteid));
|
$sth->execute(array($siteid));
|
||||||
$rows = $sth->fetchAll();
|
$rows = $sth->fetchAll();
|
||||||
} elseif ($ac=='patent' || $ac=='report') {
|
} elseif ($ac=='patent' || $ac=='report') {
|
||||||
$archives=new Archive($this->db);
|
$archives=new Archive($this->db);
|
||||||
$rows=$archives->getArchive($ac);
|
$rows=$archives->getArchive($ac);
|
||||||
$this->_helper->viewRenderer($ac);
|
$this->_helper->viewRenderer($ac);
|
||||||
}
|
}
|
||||||
$paginator = Zend_Paginator::factory($rows);
|
$paginator = Zend_Paginator::factory($rows);
|
||||||
$paginator->setCurrentPageNumber($this->_getParam('page'));
|
$paginator->setCurrentPageNumber($this->_getParam('page'));
|
||||||
$paginator->setItemCountPerPage(10);
|
$paginator->setItemCountPerPage(10);
|
||||||
$paginator->setView($this->view);
|
$paginator->setView($this->view);
|
||||||
Zend_View_Helper_PaginationControl::setDefaultViewPartial('pagination_param.phtml');
|
Zend_View_Helper_PaginationControl::setDefaultViewPartial('pagination_param.phtml');
|
||||||
$this->view->paginator=$paginator;
|
$this->view->paginator=$paginator;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -6,7 +6,6 @@ class HeiheController extends DataController
|
||||||
function preDispatch()
|
function preDispatch()
|
||||||
{
|
{
|
||||||
parent::preDispatch();
|
parent::preDispatch();
|
||||||
$this->_helper->layout->setLayout('heihe');
|
|
||||||
$this->debug = 1;
|
$this->debug = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -117,8 +117,8 @@ class ServiceController extends Zend_Controller_Action
|
||||||
$search=new SimpleSearch($key);
|
$search=new SimpleSearch($key);
|
||||||
$where=$search->sql_expr(array("title","description"));
|
$where=$search->sql_expr(array("title","description"));
|
||||||
$sql.= " and ".$where;
|
$sql.= " and ".$where;
|
||||||
$sql.= " order by title";
|
$sql.= " order by title";
|
||||||
$rows=$this->db->fetchAll($sql,array($e,$w,$n,$s));
|
$rows=$this->db->fetchAll($sql,array($e,$w,$n,$s));
|
||||||
} else {
|
} else {
|
||||||
$sql.= " order by title limit 10";
|
$sql.= " order by title limit 10";
|
||||||
$rows=$this->db->fetchAll($sql,array($e,$w,$n,$s));
|
$rows=$this->db->fetchAll($sql,array($e,$w,$n,$s));
|
||||||
|
@ -1065,11 +1065,11 @@ class ServiceController extends Zend_Controller_Action
|
||||||
{
|
{
|
||||||
if($page > 0)
|
if($page > 0)
|
||||||
{
|
{
|
||||||
$pre = '<div class="pagnv"><a href="javascript:void(0);" onClick="recommend('. ($page-1) .')" class="pleft"><img src="/images/scroll_left.gif" /></a></div>';
|
$pre = '<li><a href="javascript:void(0);" onClick="recommend('. ($page-1) .')">Prev</a></li>';
|
||||||
}
|
}
|
||||||
if($num > $pageSize*($page+1))
|
if($num > $pageSize*($page+1))
|
||||||
{
|
{
|
||||||
$next = "<div class=\"pagnv\"><a href=\"javascript:void(0);\" onclick=\"recommend(". ($page+1) .")\" class=\"pright\"><img src=\"/images/scroll_right.gif\" /></a></a></div>";
|
$next = '<li><a href="javascript:void(0);" onclick="recommend('. ($page+1) .')">Next</a></li>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$sql .=" limit $pageSize offset ".$page*$pageSize;
|
$sql .=" limit $pageSize offset ".$page*$pageSize;
|
||||||
|
@ -1082,14 +1082,23 @@ class ServiceController extends Zend_Controller_Action
|
||||||
$rows = $re->fetchAll();
|
$rows = $re->fetchAll();
|
||||||
if(count($rows>0))
|
if(count($rows>0))
|
||||||
{
|
{
|
||||||
echo $pre;
|
|
||||||
echo '<ul>';
|
echo '<ul class="unstyled">';
|
||||||
foreach($rows as $c)
|
foreach($rows as $c)
|
||||||
{
|
{
|
||||||
echo '<li><a target="_blank" href="/data/'.$c['uuid'].'"><span class="title">'.$c['title'].'</span><img src="/service/thumb/uuid/'.$c['uuid'].'" alt="'.$c['title'].'" title="'.$c['title'].'(推荐指数:'.$c['downtimes'].') "/></a></li>';
|
echo
|
||||||
|
'<li class="well well-small" style="overflow:hidden;">
|
||||||
|
<img src="/service/thumb/uuid/'.$c['uuid'].'" alt="'.$c['title'].'" title="'.$c['title'].'"
|
||||||
|
class="pull-left img-polaroid img-rounded" style="height:80px;"/>
|
||||||
|
<h4><a target="_blank" href="/data/'.$c['uuid'].'"><span class="title">'.$c['title'].'</span></a></h4>
|
||||||
|
<h5>推荐指数:'.$c['downtimes'].'</h5>
|
||||||
|
</li>';
|
||||||
}
|
}
|
||||||
echo '</ul>';
|
echo '</ul>';
|
||||||
|
echo '<div class="pagination"><ul>';
|
||||||
|
echo $pre;
|
||||||
echo $next;
|
echo $next;
|
||||||
|
echo '</ul></div>';
|
||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
echo "暂无相关数据";
|
echo "暂无相关数据";
|
||||||
|
|
|
@ -1,19 +1,21 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('发展历史');
|
$this->headTitle('发展历史');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/about.css');
|
$this->headLink()->appendStylesheet('/css/about.css');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/about">关于本站</a>');
|
$this->breadcrumb('<a href="/about">关于本站</a>');
|
||||||
$this->breadcrumb('发展历史');
|
$this->breadcrumb('发展历史');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<div id='sidebar'>
|
<div class="row">
|
||||||
<div id='leftnavi'>
|
<div class="span3">
|
||||||
<?= $this->partial('about/navi.phtml'); ?>
|
<?= $this->partial('about/navi.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="span9">
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<h2>发展历史</h2>
|
<h2>发展历史</h2>
|
||||||
<?= $this->item['body']; ?>
|
<?= $this->item['body']; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -1,41 +1,45 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('联系我们');
|
$this->headTitle('联系我们');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/about.css');
|
$this->headLink()->appendStylesheet('/css/about.css');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/about">关于本站</a>');
|
$this->breadcrumb('<a href="/about">关于本站</a>');
|
||||||
$this->breadcrumb('联系我们');
|
$this->breadcrumb('联系我们');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<div id='sidebar'>
|
<div class="row">
|
||||||
<div id='leftnavi'>
|
<div class="span3">
|
||||||
<?= $this->partial('about/navi.phtml'); ?>
|
<?= $this->partial('about/navi.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="span9">
|
||||||
<div id="contactUs"> 联系我们</div>
|
<div id="content">
|
||||||
<div id="offline">
|
<h2>联系我们</h2>
|
||||||
<p class="title">离线方式</p>
|
<div id="offline">
|
||||||
<p>
|
<p class="title">离线方式</p>
|
||||||
中国西部环境与生态科学数据中心<br />
|
<p>
|
||||||
中国科学院寒区旱区环境与工程研究所 6#1102<br />
|
中国西部环境与生态科学数据中心<br />
|
||||||
甘肃省兰州市东岗西路320号<br />
|
中国科学院寒区旱区环境与工程研究所 6#1102<br />
|
||||||
邮编:730000<br />
|
甘肃省兰州市东岗西路320号<br />
|
||||||
E-mail: westdc@lzb.ac.cn<br />
|
邮编:730000<br />
|
||||||
电话: +86-931-4967287<br />
|
E-mail: westdc@lzb.ac.cn<br />
|
||||||
<br />
|
电话: +86-931-4967287<br />
|
||||||
</div>
|
<br />
|
||||||
|
</div>
|
||||||
<div id="online">
|
|
||||||
<p class="title">在线联系</p>
|
<div id="online">
|
||||||
<p class="note">请填写以下表单,系统会自动发送到westdc邮箱里</p>
|
<p class="title">在线联系</p>
|
||||||
<?php echo $this->form; ?>
|
<p class="note">请填写以下表单,系统会自动发送到westdc邮箱里</p>
|
||||||
|
<?php echo $this->form; ?>
|
||||||
<?php if (!empty($this->messages)) : ?>
|
|
||||||
<div id="message">
|
<?php if (!empty($this->messages)) : ?>
|
||||||
<?php
|
<div id="message">
|
||||||
foreach ($this->messages as $info)echo $info;
|
<?php
|
||||||
?>
|
foreach ($this->messages as $info)echo $info;
|
||||||
</div>
|
?>
|
||||||
<?php endif; ?>
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -1,19 +1,21 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('联系我们');
|
$this->headTitle('联系我们');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/about.css');
|
$this->headLink()->appendStylesheet('/css/about.css');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/about">关于本站</a>');
|
$this->breadcrumb('<a href="/about">关于本站</a>');
|
||||||
$this->breadcrumb('联系我们');
|
$this->breadcrumb('联系我们');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<div id='sidebar'>
|
<div class="row">
|
||||||
<div id='leftnavi'>
|
<div class="span3">
|
||||||
<?= $this->partial('about/navi.phtml'); ?>
|
<?= $this->partial('about/navi.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="span9">
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<h2>数据与版权</h2>
|
<h2>数据与版权</h2>
|
||||||
<?= $this->item['body']; ?>
|
<?= $this->item['body']; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -1,19 +1,21 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('服务成效');
|
$this->headTitle('服务成效');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/about.css');
|
$this->headLink()->appendStylesheet('/css/about.css');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/about">关于本站</a>');
|
$this->breadcrumb('<a href="/about">关于本站</a>');
|
||||||
$this->breadcrumb('服务成效');
|
$this->breadcrumb('服务成效');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<div id='sidebar'>
|
<div class="row">
|
||||||
<div id='leftnavi'>
|
<div class="span3">
|
||||||
<?= $this->partial('about/navi.phtml'); ?>
|
<?= $this->partial('about/navi.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="span9">
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<h2>服务成效</h2>
|
<h2>服务成效</h2>
|
||||||
<?= $this->item['body']; ?>
|
<?= $this->item['body']; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -1,34 +1,36 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('关于我们');
|
$this->headTitle('关于我们');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/about.css');
|
$this->headLink()->appendStylesheet('/css/about.css');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('关于我们');
|
$this->breadcrumb('关于我们');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<div id='sidebar'>
|
<div class="row">
|
||||||
<div id='leftnavi'>
|
<div class="span3">
|
||||||
<?= $this->partial('about/navi.phtml'); ?>
|
<?= $this->partial('about/navi.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="span9">
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
<img src="/images/westdc_logo_white.gif" /><br />
|
<img src="/images/westdc_logo_white.gif" /><br />
|
||||||
<a href="/images/westdc_logo_white.gif">下载LOGO</a></div>
|
<a href="/images/westdc_logo_white.gif">下载LOGO</a></div>
|
||||||
<div class="preface">
|
<div class="preface">
|
||||||
中国西部环境与生态科学数据中心(“西部数据中心”)受<a href="http://www.nsfc.gov.cn" target="_blank">中国自然科学基金委</a>资助,以中国西部环境与生态科学研究计划(“西部计划”)重点项目的形式立项(编号:90502010),旨在收集和整理“西部计划”各项目执行期间产出数据集,为中国西部环境与生态科学研究,乃至更广泛意义上的地表表层科学研究服务。</div>
|
中国西部环境与生态科学数据中心(“西部数据中心”)受<a href="http://www.nsfc.gov.cn" target="_blank">中国自然科学基金委</a>资助,以中国西部环境与生态科学研究计划(“西部计划”)重点项目的形式立项(编号:90502010),旨在收集和整理“西部计划”各项目执行期间产出数据集,为中国西部环境与生态科学研究,乃至更广泛意义上的地表表层科学研究服务。</div>
|
||||||
<h2>
|
<h2>
|
||||||
<a href="/about/background">项目背景</a></h2>
|
<a href="/about/background">项目背景</a></h2>
|
||||||
<p>
|
<p>
|
||||||
介绍“西部数据中心”项目立项的一些背景,可以理解西部数据中心要做些什么内容,以及采用什么样的实现手段。</p>
|
介绍“西部数据中心”项目立项的一些背景,可以理解西部数据中心要做些什么内容,以及采用什么样的实现手段。</p>
|
||||||
<h2>
|
<h2>
|
||||||
项目参与单位</h2>
|
项目参与单位</h2>
|
||||||
<p>
|
<p>
|
||||||
“西部数据中心”以<a href="http://www.casnw.net" target="_blank">中国科学院寒区旱区环境与工程研究所</a>为承担单位,由<a
|
“西部数据中心”以<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"
|
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>
|
target="_blank">中国科学院地理科学与资源研究所</a>。其中“知识积累平台”依托<a href="http://www.llas.ac.cn" target="_blank">中国科学院资源环境科学信息中心</a>实现项目中的文献收集和管理。</p>
|
||||||
<h2>
|
<h2>
|
||||||
<a href="/about/contact">联系我们</a></h2>
|
<a href="/about/contact">联系我们</a></h2>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -1,19 +1,21 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('隐私政策');
|
$this->headTitle('隐私政策');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/about.css');
|
$this->headLink()->appendStylesheet('/css/about.css');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/about">关于本站</a>');
|
$this->breadcrumb('<a href="/about">关于本站</a>');
|
||||||
$this->breadcrumb('隐私政策');
|
$this->breadcrumb('隐私政策');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<div id='sidebar'>
|
<div class="row">
|
||||||
<div id='leftnavi'>
|
<div class="span3">
|
||||||
<?= $this->partial('about/navi.phtml'); ?>
|
<?= $this->partial('about/navi.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="span9">
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<h2>隐私政策</h2>
|
<h2>隐私政策</h2>
|
||||||
<?= $this->item['body']; ?>
|
<?= $this->item['body']; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -1,19 +1,21 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('友情链接');
|
$this->headTitle('友情链接');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/about.css');
|
$this->headLink()->appendStylesheet('/css/about.css');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/about">关于本站</a>');
|
$this->breadcrumb('<a href="/about">关于本站</a>');
|
||||||
$this->breadcrumb('友情链接');
|
$this->breadcrumb('友情链接');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<div id='sidebar'>
|
<div class="row">
|
||||||
<div id='leftnavi'>
|
<div class="span3">
|
||||||
<?= $this->partial('about/navi.phtml'); ?>
|
<?= $this->partial('about/navi.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="span9">
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<h2>友情链接</h2>
|
<h2>友情链接</h2>
|
||||||
<?= $this->item['body']; ?>
|
<?= $this->item['body']; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -1,12 +1,14 @@
|
||||||
<ul>
|
<div class="sidebar-nav bs-review-nav">
|
||||||
<li><a href="/about/">中心简介</a></li>
|
<ul class="nav nav-list bs-review-sidenav">
|
||||||
<li><a href="/about/background">发展历史</a></li>
|
<li id="Nav-about-index"><a href="/about/"><i class="icon-chevron-right"></i>中心简介</a></li>
|
||||||
<li><a href="/about/sponsors">支持项目</a></li>
|
<li id="Nav-about-background"><a href="/about/background"><i class="icon-chevron-right"></i>发展历史</a></li>
|
||||||
<li><a href="/about/honor">服务成效</a></li>
|
<li id="Nav-about-sponsors"><a href="/about/sponsors"><i class="icon-chevron-right"></i>支持项目</a></li>
|
||||||
<li><a href="/about/publication">成果发表</a></li>
|
<li id="Nav-about-honor"><a href="/about/honor"><i class="icon-chevron-right"></i>服务成效</a></li>
|
||||||
<li><a href="/about/copyright">数据与版权</a></li>
|
<li id="Nav-about-publication"><a href="/about/publication"><i class="icon-chevron-right"></i>成果发表</a></li>
|
||||||
<li><a href="/about/legal">隐私政策</a></li>
|
<li id="Nav-about-copyright"><a href="/about/copyright"><i class="icon-chevron-right"></i>数据与版权</a></li>
|
||||||
<li><a href="/about/supportus">支持我们</a></li>
|
<li id="Nav-about-legal"><a href="/about/legal"><i class="icon-chevron-right"></i>隐私政策</a></li>
|
||||||
<li><a href="/about/contact">联系我们</a></li>
|
<li id="Nav-about-supportus"><a href="/about/supportus"><i class="icon-chevron-right"></i>支持我们</a></li>
|
||||||
<li><a href="/about/link">友情链接</a></li>
|
<li id="Nav-about-contact"><a href="/about/contact"><i class="icon-chevron-right"></i>联系我们</a></li>
|
||||||
</ul>
|
<li id="Nav-about-link"><a href="/about/link"><i class="icon-chevron-right"></i>友情链接</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
|
@ -1,41 +1,43 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('成果发表');
|
$this->headTitle('成果发表');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/about.css');
|
$this->headLink()->appendStylesheet('/css/about.css');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/about">关于本站</a>');
|
$this->breadcrumb('<a href="/about">关于本站</a>');
|
||||||
$this->breadcrumb('<a href="/about/publication">成果发表</a>');
|
$this->breadcrumb('<a href="/about/publication">成果发表</a>');
|
||||||
$this->breadcrumb('专利与著作权');
|
$this->breadcrumb('专利与著作权');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<div id='sidebar'>
|
<div class="row">
|
||||||
<div id='leftnavi'>
|
<div class="span3">
|
||||||
<?= $this->partial('about/navi.phtml'); ?>
|
<?= $this->partial('about/navi.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="span9">
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<h2>成果发表</h2>
|
<h2>成果发表</h2>
|
||||||
<div id="tabs-controller">
|
<div>
|
||||||
<ul>
|
<ul class="nav nav-pills">
|
||||||
<li class="box-shadow"><a class="text-shadow" href="/about/publication/">期刊文章</a></li>
|
<li><a href="/about/publication/">期刊文章</a></li>
|
||||||
<li class="box-shadow"><a class="text-shadow" href="/about/publication/ac/report">文档报告</a></li>
|
<li><a href="/about/publication/ac/report">文档报告</a></li>
|
||||||
<li class="box-shadow active"><a class="text-shadow" href="/about/publication/ac/patent">专利与著作权</a></li>
|
<li class="active"><a href="/about/publication/ac/patent">专利与著作权</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="datalist">
|
<div>
|
||||||
<?php if (count($this->paginator)): ?>
|
<?php if (count($this->paginator)): ?>
|
||||||
<ul>
|
<ul>
|
||||||
<?php foreach ($this->paginator as $item): ?>
|
<?php foreach ($this->paginator as $item): ?>
|
||||||
<li> <?php echo $item['title']; ?>
|
<li> <?php echo $item['title']; ?>
|
||||||
<?php if (!empty($ref->link)) :
|
<?php if (!empty($ref->link)) :
|
||||||
echo ' <a href="'.$ref->link.'">下载</a>';
|
echo ' <a href="'.$ref->link.'">下载</a>';
|
||||||
endif;
|
endif;
|
||||||
?>
|
?>
|
||||||
</li>
|
</li>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -1,40 +1,42 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('成果发表');
|
$this->headTitle('成果发表');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/about.css');
|
$this->headLink()->appendStylesheet('/css/about.css');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/about">关于本站</a>');
|
$this->breadcrumb('<a href="/about">关于本站</a>');
|
||||||
$this->breadcrumb('成果发表');
|
$this->breadcrumb('成果发表');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<div id='sidebar'>
|
<div class="row">
|
||||||
<div id='leftnavi'>
|
<div class="span3">
|
||||||
<?= $this->partial('about/navi.phtml'); ?>
|
<?= $this->partial('about/navi.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="span9">
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<h2>成果发表</h2>
|
<h2>成果发表</h2>
|
||||||
<div id="tabs-controller">
|
<div>
|
||||||
<ul>
|
<ul class="nav nav-pills">
|
||||||
<li class="box-shadow active"><a class="text-shadow" href="/about/publication/">期刊文章</a></li>
|
<li class="active"><a href="/about/publication/">期刊文章</a></li>
|
||||||
<li class="box-shadow"><a class="text-shadow" href="/about/publication/ac/report">文档报告</a></li>
|
<li><a href="/about/publication/ac/report">文档报告</a></li>
|
||||||
<li class="box-shadow"><a class="text-shadow" href="/about/publication/ac/patent">专利与著作权</a></li>
|
<li><a href="/about/publication/ac/patent">专利与著作权</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="datalist">
|
<div>
|
||||||
<?php if (count($this->paginator)): ?>
|
<?php if (count($this->paginator)): ?>
|
||||||
<ul>
|
<ul>
|
||||||
<?php foreach ($this->paginator as $item): ?>
|
<?php foreach ($this->paginator as $item): ?>
|
||||||
<li> <?php echo $item['reference']; ?>
|
<li> <?php echo $item['reference']; ?>
|
||||||
<?php if (!empty($item['link'])) :
|
<?php if (!empty($item['link'])) :
|
||||||
echo ' <a href="'.$item['link'].'">下载</a>';
|
echo ' <a href="'.$item['link'].'">下载</a>';
|
||||||
endif;
|
endif;
|
||||||
?>
|
?>
|
||||||
</li>
|
</li>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -1,41 +1,43 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('成果发表');
|
$this->headTitle('成果发表');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/about.css');
|
$this->headLink()->appendStylesheet('/css/about.css');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/about">关于本站</a>');
|
$this->breadcrumb('<a href="/about">关于本站</a>');
|
||||||
$this->breadcrumb('<a href="/about/publication">成果发表</a>');
|
$this->breadcrumb('<a href="/about/publication">成果发表</a>');
|
||||||
$this->breadcrumb('文档报告');
|
$this->breadcrumb('文档报告');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<div id='sidebar'>
|
<div class="row">
|
||||||
<div id='leftnavi'>
|
<div class="span3">
|
||||||
<?= $this->partial('about/navi.phtml'); ?>
|
<?= $this->partial('about/navi.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="span9">
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<h2>成果发表</h2>
|
<h2>成果发表</h2>
|
||||||
<div id="tabs-controller">
|
<div>
|
||||||
<ul>
|
<ul class="nav nav-pills">
|
||||||
<li class="box-shadow"><a class="text-shadow" href="/about/publication/">期刊文章</a></li>
|
<li><a href="/about/publication/">期刊文章</a></li>
|
||||||
<li class="box-shadow active"><a class="text-shadow" href="/about/publication/ac/report">文档报告</a></li>
|
<li class="active"><a href="/about/publication/ac/report">文档报告</a></li>
|
||||||
<li class="box-shadow"><a class="text-shadow" href="/about/publication/ac/patent">专利与著作权</a></li>
|
<li><a href="/about/publication/ac/patent">专利与著作权</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="datalist">
|
<div>
|
||||||
<?php if (count($this->paginator)): ?>
|
<?php if (count($this->paginator)): ?>
|
||||||
<ul>
|
<ul>
|
||||||
<?php foreach ($this->paginator as $item): ?>
|
<?php foreach ($this->paginator as $item): ?>
|
||||||
<li> <?php echo $item['title']; ?>
|
<li> <?php echo $item['title']; ?>
|
||||||
<?php if (!empty($ref->link)) :
|
<?php if (!empty($ref->link)) :
|
||||||
echo ' <a href="'.$ref->link.'">下载</a>';
|
echo ' <a href="'.$ref->link.'">下载</a>';
|
||||||
endif;
|
endif;
|
||||||
?>
|
?>
|
||||||
</li>
|
</li>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -1,19 +1,21 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('支持项目');
|
$this->headTitle('支持项目');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/about.css');
|
$this->headLink()->appendStylesheet('/css/about.css');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/about">关于本站</a>');
|
$this->breadcrumb('<a href="/about">关于本站</a>');
|
||||||
$this->breadcrumb('支持项目');
|
$this->breadcrumb('支持项目');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<div id='sidebar'>
|
<div class="row">
|
||||||
<div id='leftnavi'>
|
<div class="span3">
|
||||||
<?= $this->partial('about/navi.phtml'); ?>
|
<?= $this->partial('about/navi.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="span9">
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<h2>支持项目</h2>
|
<h2>支持项目</h2>
|
||||||
<?= $this->item['body']; ?>
|
<?= $this->item['body']; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -1,19 +1,21 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle('支持我们');
|
$this->headTitle('支持我们');
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/about.css');
|
$this->headLink()->appendStylesheet('/css/about.css');
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/about">关于本站</a>');
|
$this->breadcrumb('<a href="/about">关于本站</a>');
|
||||||
$this->breadcrumb('支持我们');
|
$this->breadcrumb('支持我们');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<div id='sidebar'>
|
<div class="row">
|
||||||
<div id='leftnavi'>
|
<div class="span3">
|
||||||
<?= $this->partial('about/navi.phtml'); ?>
|
<?= $this->partial('about/navi.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="span9">
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<h2>支持我们</h2>
|
<h2>支持我们</h2>
|
||||||
<?= $this->item['body']; ?>
|
<?= $this->item['body']; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -1,26 +1,28 @@
|
||||||
<?php if ($this->pageCount): ?>
|
<?php if ($this->pageCount): ?>
|
||||||
<div class="paginationControl">
|
<div class="pagination pagination-mini">
|
||||||
|
<ul>
|
||||||
<!-- Previous page link -->
|
<!-- Previous page link -->
|
||||||
<?php if (isset($this->previous)): ?>
|
<?php if (isset($this->previous)): ?>
|
||||||
<a href="javascript:void(0);" onclick="literature(<?php echo $this->previous;?>)">< Previous</a>
|
<li><a href="javascript:void(0);" onclick="literature(<?php echo $this->previous;?>)">«</a></li>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<span class="disabled">< Previous</span>
|
<li class="disabled"><a href="javascript:;">«</a></li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<!-- Numbered page links -->
|
<!-- Numbered page links -->
|
||||||
<?php foreach ($this->pagesInRange as $page): ?>
|
<?php foreach ($this->pagesInRange as $page): ?>
|
||||||
<?php if ($page != $this->current): ?>
|
<?php if ($page != $this->current): ?>
|
||||||
<a href="javascript:void(0);" onclick="literature(<?php echo $page;?>)"><?= $page; ?></a>
|
<li><a href="javascript:void(0);" onclick="literature(<?php echo $page;?>)"><?= $page; ?></a></li>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<span class="current"><?= $page; ?></span>
|
<li class="active"><a href="javascript:void(0);"><?= $page; ?></a></li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
|
||||||
<!-- Next page link -->
|
<!-- Next page link -->
|
||||||
<?php if (isset($this->next)): ?>
|
<?php if (isset($this->next)): ?>
|
||||||
<a href="javascript:void(0);" onclick="literature(<?php echo $this->next;?>)">Next ></a>
|
<li><a href="javascript:void(0);" onclick="literature(<?php echo $this->next;?>)">»</a></li>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<span class="disabled">Next ></span>
|
<li class="disabled"><a href="javascript:;">»</a></li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</ul>
|
||||||
<?php endif; ?>
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
|
@ -1,26 +1,28 @@
|
||||||
<?php if ($this->pageCount): ?>
|
<?php if ($this->pageCount): ?>
|
||||||
<div class="paginationControl">
|
<div class="pagination pagination-mini">
|
||||||
|
<ul>
|
||||||
<!-- Previous page link -->
|
<!-- Previous page link -->
|
||||||
<?php if (isset($this->previous)): ?>
|
<?php if (isset($this->previous)): ?>
|
||||||
<a href="javascript:void(0);" onclick="related(<?php echo $this->previous;?>)">< Previous</a>
|
<li><a href="javascript:void(0);" onclick="related(<?php echo $this->previous;?>)">«</a></li>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<span class="disabled">< Previous</span>
|
<li class="disabled"><a href="javascript:;">«</a></li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<!-- Numbered page links -->
|
<!-- Numbered page links -->
|
||||||
<?php foreach ($this->pagesInRange as $page): ?>
|
<?php foreach ($this->pagesInRange as $page): ?>
|
||||||
<?php if ($page != $this->current): ?>
|
<?php if ($page != $this->current): ?>
|
||||||
<a href="javascript:void(0);" onclick="related(<?php echo $page;?>)"><?= $page; ?></a>
|
<li><a href="javascript:void(0);" onclick="related(<?php echo $page;?>)"><?= $page; ?></a></li>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<span class="current"><?= $page; ?></span>
|
<li class="active"><a href="javascript:void(0);"><?= $page; ?></a></li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
|
||||||
<!-- Next page link -->
|
<!-- Next page link -->
|
||||||
<?php if (isset($this->next)): ?>
|
<?php if (isset($this->next)): ?>
|
||||||
<a href="javascript:void(0);" onclick="related(<?php echo $this->next;?>)">Next ></a>
|
<li><a href="javascript:void(0);" onclick="related(<?php echo $this->next;?>)">»</a></li>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<span class="disabled">Next ></span>
|
<li class="disabled"><a href="javascript:;">»</a></li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</ul>
|
||||||
<?php endif; ?>
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
|
@ -126,13 +126,13 @@ if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
||||||
<div id="literature" class="tab-pane">
|
<div id="literature" class="tab-pane">
|
||||||
</div>
|
</div>
|
||||||
<div id="gsearch" class="tab-pane">
|
<div id="gsearch" class="tab-pane">
|
||||||
<ul id="searchctrl">
|
<ul id="searchctrl" class="unstyled span2">
|
||||||
<li><a href="javascript:;" class="googlesearch">Google搜索</a></li>
|
<li><a href="javascript:;" class="googlesearch">Google搜索</a></li>
|
||||||
<li><a href="javascript:;" class="bingsearch">BING搜索</a></li>
|
<li><a href="javascript:;" class="bingsearch">BING搜索</a></li>
|
||||||
<li><a href="javascript:;" class="scholar">Google学术搜索</a></li>
|
<li><a href="javascript:;" class="scholar">Google学术搜索</a></li>
|
||||||
<li><a href="javascript:;" class="cnkiSearch">CNKI学术搜索</a></li>
|
<li><a href="javascript:;" class="cnkiSearch">CNKI学术搜索</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul id="searchlist">
|
<ul id="searchlist" class="unstyled span6 well well-small">
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="service" class="tab-pane">
|
<div id="service" class="tab-pane">
|
||||||
|
|
|
@ -1,27 +1,28 @@
|
||||||
<ul>
|
<ul class="nav nav-list">
|
||||||
<li><a href="/heihe/">黑河流域数据简介</a></li>
|
<li><a href="/heihe/">黑河流域数据简介</a></li>
|
||||||
<li><a href="/heihe/core">核心数据</a>
|
<li><a href="/heihe/core">核心数据</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/heihe/dem">DEM数据</a></li>
|
<li><a href="/heihe/dem">DEM数据</a></li>
|
||||||
<li><a href="/heihe/landuse">土地利用数据</a></li>
|
<li><a href="/heihe/landuse">土地利用数据</a></li>
|
||||||
<li><a href="/heihe/soil">土壤数据</a></li>
|
<li><a href="/heihe/soil">土壤数据</a></li>
|
||||||
<li><a href="/heihe/meteo">气象观测数据</a></li>
|
<li><a href="/heihe/meteo">气象观测数据</a></li>
|
||||||
<li><a href="/heihe/hydro">水文观测数据</a></li>
|
<li><a href="/heihe/hydro">水文观测数据</a></li>
|
||||||
<li><a href="/heihe/irragation">灌溉数据</a></li>
|
<li><a href="/heihe/irragation">灌溉数据</a></li>
|
||||||
<li><a href="/heihe/obs">观测试验数据</a></li>
|
<li><a href="/heihe/obs">观测试验数据</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="/heihe/base">基础数据</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/heihe/geobase">基础地理数据</a></li>
|
||||||
|
<li><a href="/heihe/landsurface">陆地表层数据</a></li>
|
||||||
|
<li><a href="/heihe/rs">遥感数据</a></li>
|
||||||
|
<li><a href="/heihe/water">水文水资源数据</a></li>
|
||||||
|
<li><a href="/heihe/model">模型数据</a></li>
|
||||||
|
<li><a href="/heihe/economic">社会经济数据</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
<ul class="nav nav-list">
|
||||||
<li><a href="/heihe/base">基础数据</a>
|
|
||||||
<ul><li><a href="/heihe/geobase">基础地理数据</a></li>
|
|
||||||
<li><a href="/heihe/landsurface">陆地表层数据</a></li>
|
|
||||||
<li><a href="/heihe/rs">遥感数据</a></li>
|
|
||||||
<li><a href="/heihe/water">水文水资源数据</a></li>
|
|
||||||
<li><a href="/heihe/model">模型数据</a></li>
|
|
||||||
<li><a href="/heihe/economic">社会经济数据</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul>
|
|
||||||
<li><a href="/heihe/document">黑河文档</a></li>
|
<li><a href="/heihe/document">黑河文档</a></li>
|
||||||
<li><a href="/heihe/list">数据列表</a></li>
|
<li><a href="/heihe/list">数据列表</a></li>
|
||||||
<li><a href="/heihe/browse">整体浏览</a></li>
|
<li><a href="/heihe/browse">整体浏览</a></li>
|
||||||
|
@ -37,7 +38,7 @@
|
||||||
<li class="bigtitle text-shadow"><a href="/heihe/projects">数据汇交计划</a></li>
|
<li class="bigtitle text-shadow"><a href="/heihe/projects">数据汇交计划</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<form id="search" enctype="application/x-www-form-urlencoded" action="/heihe/search" method="post">
|
<form id="search" enctype="application/x-www-form-urlencoded" action="/heihe/search" method="post">
|
||||||
<input type="text" name="q" id="q" value="<?php echo (empty($this->key))?'回车搜索标题和摘要':$this->key; ?>" onfocus="myfocus(this);" onblur="myblur(this);">
|
<input type="text" name="q" id="q" value="<?php echo (empty($this->key))?'回车搜索标题和摘要':$this->key; ?>" onfocus="myfocus(this);" onblur="myblur(this);" style="width:100%;">
|
||||||
<input type="hidden" name="submit" value="submit">
|
<input type="hidden" name="submit" value="submit">
|
||||||
</form>
|
</form>
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -3,348 +3,412 @@
|
||||||
$this->headTitle($this->config->title->data);
|
$this->headTitle($this->config->title->data);
|
||||||
$this->headTitle($this->metadata->title);
|
$this->headTitle($this->metadata->title);
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/water.css');
|
|
||||||
$this->headLink()->appendStylesheet('/css/heihemdview.css');
|
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
$this->breadcrumb('<a href="/heihe/">'.$this->config->title->heihe.'</a>');
|
$this->breadcrumb('<a href="/heihe/">'.$this->config->title->heihe.'</a>');
|
||||||
$this->breadcrumb('查看元数据');
|
$this->breadcrumb('查看元数据');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
$this->theme->AppendPlus($this,'google_map_v3');
|
$this->theme->AppendPlus($this,'google_map_v3');
|
||||||
$this->theme->AppendPlus($this,'jquery');
|
|
||||||
$this->theme->AppendPlus($this,'colorbox');
|
$this->theme->AppendPlus($this,'colorbox');
|
||||||
$this->headScript()->appendFile('/js/jquery.idTabs.min.js');
|
|
||||||
?>
|
?>
|
||||||
<div id='sidebar'>
|
|
||||||
<div id='leftnavi'>
|
|
||||||
<?= $this->partial('heihe/navi.phtml'); ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="right">
|
|
||||||
<?php $md=$this->metadata;if ($md):?>
|
<?php $md=$this->metadata;if ($md):?>
|
||||||
<div class="clear"> </div>
|
|
||||||
<h1><?php echo $this->escape($md->title);
|
<h1><?php echo $this->escape($md->title);
|
||||||
if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
||||||
</h1>
|
</h1>
|
||||||
<div id="rightbar">
|
|
||||||
<div id="ItemSummary">
|
|
||||||
<div id="category">
|
|
||||||
<ul><?php foreach($this->category as $cat): ?>
|
|
||||||
<li><a href="/heihe/category/code/<?php echo $cat->code;?>"><?php echo $this->escape($cat->name_zh);?></a></li>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<?php
|
|
||||||
$kt='';
|
|
||||||
$i=0;
|
|
||||||
foreach($this->keys as $cg) :
|
|
||||||
if ($kt==$cg->keytype) :
|
|
||||||
$i+=1;
|
|
||||||
else :
|
|
||||||
if (!empty($kt)) echo '</ul></div>';
|
|
||||||
$kt=$cg->keytype;
|
|
||||||
$i=0;
|
|
||||||
endif;
|
|
||||||
if ($i==0) echo '<div id="'.$cg->keytype.'"><ul>';
|
|
||||||
echo '<li><a href="/heihe/tag/key/'.urlencode($cg->keyword).'">'.$cg->keyword.'</a></li>';
|
|
||||||
endforeach;
|
|
||||||
echo '</ul></div>';
|
|
||||||
?>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
<?php if ($this->series): ?>
|
|
||||||
<div id="series">
|
|
||||||
<ul><?php foreach($this->series as $serie): ?>
|
|
||||||
<li><a href="/data/series/id/<?php echo $serie->id; ?>"> <?php echo $this->escape($serie->name);?></a></li>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
|
||||||
-->
|
|
||||||
<ul id=OtherInfo>
|
|
||||||
<?php if ($md->fileformat) : ?>
|
|
||||||
<li id="fileformat">格式:<?php echo $md->fileformat; ?></li>
|
|
||||||
<?php endif; ?>
|
|
||||||
<li id="filesize">大小:<?php echo $md->filesize; ?>MB</li>
|
|
||||||
<?php if ($this->downloaded>9) :?>
|
|
||||||
<li id="downtimes">下载:<?php echo $this->downloaded; ?>次</li>
|
|
||||||
<?php endif; ?>
|
|
||||||
<li id="viewtimes">浏览量:<?php echo $this->viewed; ?>次</li>
|
|
||||||
<!--
|
|
||||||
<?php if ($md->projection) : ?>
|
|
||||||
<li id="projection" title="<?= $this->projection; ?>">数据投影:
|
|
||||||
<?php
|
|
||||||
$p=explode(" ",$this->projection);
|
|
||||||
$p=explode("=",$p[0]);
|
|
||||||
if (!empty($p[1]))
|
|
||||||
echo $p[1];
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (is_numeric($md->projection)) echo 'EPSG_CODE_';
|
|
||||||
echo $md->projection;
|
|
||||||
}
|
|
||||||
?></li>
|
|
||||||
<?php endif; ?>
|
|
||||||
-->
|
|
||||||
<?php if (!empty($md->timebegin)) : ?>
|
|
||||||
<li id="datatimes">数据时间范围:<?php echo date('Y-m-d',strtotime($md->timebegin));if (!empty($md->timeend)) echo " 至 ".date('Y-m-d',strtotime($md->timeend)); ?></li>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php if ($this->attachments) : ?>
|
|
||||||
<li>相关文档:
|
|
||||||
<?php foreach ($this->attachments as $k=>$a) : ?>
|
|
||||||
<a href="/service/attach/id/<?php echo $a->id; ?>" title="<?php echo $a->realname; ?>"><?php echo ($k+1); ?></a>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
<a href="/service/attach/zip/<?php echo $md->uuid; ?>"><img src="/images/zip_icon.gif" title="打包下载"/></a>
|
|
||||||
</li>
|
|
||||||
<?php endif; ?>
|
|
||||||
<li id="datatype">数据共享方式:<?php if ($md->datatype) print "离线"; else print "在线(可直接下载)";?> <a href="javascript:void(0);" id="show-list" onclick="getFileList()" title="">文件列表</a></li>
|
|
||||||
</ul>
|
|
||||||
<div id="linkurl">
|
|
||||||
<?php if ($md->status>0 and $md->status<5) : ?>
|
|
||||||
<a href="/review/review/uuid/<?php echo $md->uuid; ?>"><img src="/images/review.png" title="此数据正在评审中,我们邀请您对此数据进行评审,以便其能尽快发布!" /></a>
|
|
||||||
<?php else : if (!$md->datatype) : ?>
|
|
||||||
<a href="javascript:todownload(1);"><img src="/images/download.png" title="直接下载" /></a>
|
|
||||||
<?php else: ?>
|
|
||||||
<a href="/data/order/uuid/<?php echo $md->uuid; ?>"><img src="/images/order.png" title="免费!离线申请此数据(在线数据和离线数据都可申请)"/></a>
|
|
||||||
<?php endif;endif; ?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<hr />
|
<hr />
|
||||||
<h2>空间位置</h2>
|
<div class="row">
|
||||||
<div id='watermap'></div>
|
<div class="span2">
|
||||||
<hr />
|
<?= $this->partial('heihe/navi.phtml'); ?>
|
||||||
<h2>联系信息</h2>
|
</div>
|
||||||
<div id="authors">
|
<div class="span6">
|
||||||
<ul>
|
<div>
|
||||||
<?php
|
<a class="colorbox pull-right" title="<?php echo $md->title; ?>" href="/service/bigthumb/uuid/<?php echo $md->uuid; ?>"><img src="/service/thumb/uuid/<?php echo $md->uuid;?>"/></a>
|
||||||
$party_zh=array('resourceProvider'=>'资源提供者','custodian'=>'维护者','owner'=>'拥有者','user'=>'用户','distributor'=>'数据服务联系人','originator'=>'创建者','pointOfContact'=>'联系人','principalInvestigator'=>'数据调查与处理者','processor'=>'处理者','publisher'=>'元数据发布者','author'=>'元数据作者');
|
<p>
|
||||||
$r='';
|
<?php echo str_replace(array("\r\n", "\n", "\r"),'</p><p>',$md->description);?>
|
||||||
$i=0;
|
</p>
|
||||||
foreach($this->authors as $k=>$author) :
|
</div>
|
||||||
if ($author->role!=$r)
|
<hr />
|
||||||
{
|
<div>
|
||||||
$r=$author->role;
|
<?php if ($md->citation) : ?>
|
||||||
$i=0;
|
<hr />
|
||||||
if ($k>0) echo '</li>';
|
<h5>本数据引用方式</h5>
|
||||||
echo '<li>'.$party_zh[$author->role].':';
|
<p><?php echo $this->escape($md->citation);?></p>
|
||||||
}
|
<?php endif; ?>
|
||||||
if ($i>0) echo ',';
|
<?php if ($this->ref) : ?>
|
||||||
$i+=1;
|
<hr />
|
||||||
if (!empty($author->email) && $r!='principalInvestigator')
|
<h5>建议参考文献</h5>
|
||||||
echo '<a href="mailto:'.$author->email.'">';
|
<ol>
|
||||||
echo '<strong title="'.$author->organisation.'">';
|
<?php foreach($this->ref as $ref) :
|
||||||
if (!empty($author->individual))
|
if (empty($ref->link))
|
||||||
echo $author->individual;
|
echo '<li style="white-space:normal; word-break:break-all;overflow:hidden;">'.$ref->reference.'</li>';
|
||||||
else
|
else
|
||||||
echo $author->organisation;
|
echo '<li style="white-space:normal; word-break:break-all;overflow:hidden;">'.$ref->reference.' <a href="'.$ref->link.'">下载</a></li>';
|
||||||
echo '</strong>';
|
endforeach;
|
||||||
if (!empty($author->email)) echo '</a>';
|
?>
|
||||||
if ($k+1==count($this->authors)) echo '</li>';
|
</ol>
|
||||||
endforeach;
|
<?php endif; ?>
|
||||||
?>
|
<?php if ($this->userref) : ?>
|
||||||
</ul>
|
<hr />
|
||||||
<hr />
|
<h5>数据用户发表文献</h5>
|
||||||
<ul>
|
<ol>
|
||||||
<li>元数据更新时间:<?php print date('Y-m-d',strtotime($md->ts_created)); ?></li>
|
<?php foreach($this->userref as $ref) :
|
||||||
<li>
|
if (empty($ref->link))
|
||||||
<a href="/service/pdf/uuid/<?php echo $md->uuid; ?>"><img src="/images/pdf_icon.gif" alt="Adobe PDF格式" title="Adobe PDF格式"></a>
|
echo '<li>'.$ref->reference.'</li>';
|
||||||
<a href="/service/odt/uuid/<?php echo $md->uuid; ?>"><img src="/images/odt_icon.gif" alt="OpenOffice odt格式" title="OpenOffice odt格式"></a>
|
else
|
||||||
<a href="/service/doc/uuid/<?php echo $md->uuid; ?>"><img src="/images/doc_icon.gif" alt="Word doc格式" title="Word doc格式"></a>
|
echo '<li>'.$ref->reference.' <a href="'.$ref->link.'">下载</a></li>';
|
||||||
<a href="/service/xml/uuid/<?php echo $md->uuid;?>"><img src="/images/xml_icon.gif" alt="查看XML源文件" title="查看XML源文件"></a>
|
endforeach;
|
||||||
</li>
|
?>
|
||||||
</ul>
|
</ol>
|
||||||
</div>
|
<?php endif; ?>
|
||||||
<!-- JiaThis Button BEGIN -->
|
<hr />
|
||||||
<div class="jiathis_style" style="padding-left:12px;">
|
<h5>数据使用声明</h5>
|
||||||
<a class="jiathis_button_tsina"></a>
|
<?php
|
||||||
<a class="jiathis_button_linkedin"></a>
|
if ($this->uselimits) :
|
||||||
<a class="jiathis_button_googleplus"></a>
|
foreach($this->uselimits as $uselimit) :
|
||||||
<a class="jiathis_button_qzone"></a>
|
echo '<p>'.str_replace(array("\r\n", "\n", "\r"),'</p><p>',$this->escape($uselimit->uselimit)).'</p>';
|
||||||
<a class="jiathis_button_tqq"></a>
|
endforeach;
|
||||||
<a class="jiathis_button_renren"></a>
|
?>
|
||||||
<a class="jiathis_button_douban"></a>
|
<?php else : ?>
|
||||||
<a class="jiathis_button_tsohu"></a>
|
<p>为尊重知识产权、保障数据作者的权益、扩展数据中心的服务、评估数据的应用潜力,请数据使用者在使用数据所产生的研究成果中(包括公开发表的论文、论著、数据产品和未公开发表的研究报告、数据产品等成果),明确注明数据来源和数据作者。对于转载(二次或多次发布)的数据,作者还须注明原始数据来源。</p>
|
||||||
<a class="jiathis_button_t163"></a>
|
<p>中文发表的成果参考以下规范注明: 数据来源于国家自然科学基金委员会"中国西部环境与生态科学数据中心"(http://westdc.westgis.ac.cn)</p>
|
||||||
<a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
|
<p>英文发表的成果依据以下规范注明: The data set is provided by Environmental and Ecological Science Data Center for West China,National Natural Science Foundation of China (http://westdc.westgis.ac.cn)</p>
|
||||||
<a class="jiathis_counter_style"></a>
|
</p>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if($this->data_archives){ ?>
|
||||||
|
<h5>相关数据新闻</h5>
|
||||||
|
<ul>
|
||||||
|
<?php
|
||||||
|
foreach($this->data_archives as $v){?>
|
||||||
|
<li><a href="<?= $v['url']['archive_url']?>"><?= $v['title']?></a></li>
|
||||||
|
<?php } ?>
|
||||||
|
</ul>
|
||||||
|
<hr />
|
||||||
|
<?php }?>
|
||||||
|
<?php if ($md->suppinfo) : ?>
|
||||||
|
<h5>项目支持信息</h5>
|
||||||
|
<?php echo '<p>'.str_replace(array("\r\n", "\n", "\r"),'</p><p>',$this->escape($md->suppinfo)).'</p>';?>
|
||||||
|
<hr />
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if ($this->resources) : ?>
|
||||||
|
<h5>其他在线资源</h5>
|
||||||
|
<ul><?php foreach($this->resources as $link) : ?>
|
||||||
|
<li><a href="<?php echo $link->linkage; ?>" title="<?php echo $link->description; ?>">
|
||||||
|
<?php
|
||||||
|
if (!empty($link->name))
|
||||||
|
echo $link->name;
|
||||||
|
elseif (!empty($link->description))
|
||||||
|
echo $link->description;
|
||||||
|
else
|
||||||
|
echo $link->linkage;
|
||||||
|
?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
<hr />
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<?php
|
||||||
|
$keywords = array();
|
||||||
|
foreach($this->keys as $cg){
|
||||||
|
if($cg['keytype']=="theme")
|
||||||
|
$keywords[]=$cg['keyword'];
|
||||||
|
}
|
||||||
|
$ev = join(" ",$keywords);
|
||||||
|
?>
|
||||||
|
<div class="tabbable"> <!-- Only required for left/right tabs -->
|
||||||
|
<ul class="nav nav-tabs">
|
||||||
|
<li class="active"><a href="#related" data-toggle="tab" id="related_t">相关数据</a></li>
|
||||||
|
<li><a href="#literature" data-toggle="tab" id="literature_t">相关文献</a></li>
|
||||||
|
<li><a href="#gsearch" data-toggle="tab">相关搜索</a></li>
|
||||||
|
<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">
|
||||||
|
<div id="related" class="tab-pane active">
|
||||||
|
</div>
|
||||||
|
<div id="literature" class="tab-pane">
|
||||||
|
</div>
|
||||||
|
<div id="gsearch" class="tab-pane">
|
||||||
|
<ul id="searchctrl" class="unstyled span2">
|
||||||
|
<li><a href="javascript:;" class="googlesearch">Google搜索</a></li>
|
||||||
|
<li><a href="javascript:;" class="bingsearch">BING搜索</a></li>
|
||||||
|
<li><a href="javascript:;" class="scholar">Google学术搜索</a></li>
|
||||||
|
<li><a href="javascript:;" class="cnkiSearch">CNKI学术搜索</a></li>
|
||||||
|
</ul>
|
||||||
|
<ul id="searchlist" class="unstyled span6 well well-small">
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="service" class="tab-pane">
|
||||||
|
<?php if ($this->downhistory) : ?>
|
||||||
|
<p>最近10条服务记录如下:</p>
|
||||||
|
<ol start="1">
|
||||||
|
<?php
|
||||||
|
foreach($this->downhistory as $v){
|
||||||
|
echo '<li>'.date("Y-m-d",strtotime($v->ts_created))." ".$v->unit." ".$v->realname;
|
||||||
|
if (!empty($v->offlineproject))
|
||||||
|
echo ' 用途:'.$v->offlineproject;
|
||||||
|
elseif (!empty($v->onlineproject))
|
||||||
|
echo ' 用途:'.$v->onlineproject;
|
||||||
|
echo '</li>';
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</ol>
|
||||||
|
<?php else : ?>
|
||||||
|
暂时没有服务记录,欢迎您下载使用!
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
<div id="recommend" class="tab-pane">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<div id="comments">
|
||||||
|
<?php if ($md->status>0 and $md->status<5) : ?>
|
||||||
|
<p class="strong">此数据还在评审过程中,我们真切地邀请您参加此数据的评审,以便我们能尽快发布此数据!<a href="/review/review/uuid/<?php echo $md->uuid; ?>"><img src="/images/review.png" title="此数据正在评审中,我们邀请您对此数据进行评审,以便其能尽快发布!" /></a></p>
|
||||||
|
<?php else : ?>
|
||||||
|
<h4>数据评论</h4>
|
||||||
|
<div id="allcomments">
|
||||||
|
<div id="loading"><img src="/images/loading.gif" />评论加载中</div>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
$auth = Zend_Auth::getInstance();
|
||||||
|
if($auth->hasIdentity())
|
||||||
|
{
|
||||||
|
$user = $auth->getIdentity();
|
||||||
|
$name = $user->realname;
|
||||||
|
$email = $user->email;
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
$name = "";
|
||||||
|
$email = "";
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
<form class="form-horizontal" id="postcommentform">
|
||||||
|
<div class="control-group">
|
||||||
|
<label class="control-label">姓名</label>
|
||||||
|
<div class="controls">
|
||||||
|
<input type="text" name="author" value="<?php echo $name;?>" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="control-group">
|
||||||
|
<label class="control-label">Email</label>
|
||||||
|
<div class="controls">
|
||||||
|
<input type="text" name="email" value="<?php echo $email;?>" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="control-group">
|
||||||
|
<label class="control-label">Website</label>
|
||||||
|
<div class="controls">
|
||||||
|
<input type="text" name="url" value="" /> <span class="help-block">e.g. http://westdc.westgis.ac.cn/</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="control-group">
|
||||||
|
<label class="control-label">内容</label>
|
||||||
|
<div class="controls">
|
||||||
|
<textarea name="content" class="span5"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="control-group">
|
||||||
|
<label class="control-label">验证码</label>
|
||||||
|
<div class="controls">
|
||||||
|
<img id="imgcode" style="margin-bottom:-10px;cursor:pointer;border:0px;" src="/service/imgcode/" onClick="this.src=this.src+'?'"><input type="text" name="vdcode" id="vdcode" maxlength="4" value="" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="control-group">
|
||||||
|
<div class="controls">
|
||||||
|
<input type="hidden" name="mdtitle" value="<?php echo $md->title;?>" />
|
||||||
|
<input type="hidden" name="uuid" value="<?php echo $md->uuid;?>" />
|
||||||
|
<a class="btn btn-primary" id="postcomment" href="javascript:;" onclick="postcomment();">提交</a><button type="reset" id="reset" class="btn">重置</button><span id="returninfo"></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
<div id="infobox"></div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="span4">
|
||||||
|
<div>
|
||||||
|
<table class="table table-striped">
|
||||||
|
<thead>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>类别</td>
|
||||||
|
<td>
|
||||||
|
<ul class="nav nav-pills inline unstyled">
|
||||||
|
<?php foreach($this->category as $cat): ?>
|
||||||
|
<li><a href="/data/category/code/<?php echo $cat->code;?>"><?php echo $this->escape($cat->name_zh);?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<?php
|
||||||
|
foreach($this->keys as $k=>$v)
|
||||||
|
{
|
||||||
|
if($v['keytype'] == "category"){ $title = "类别";
|
||||||
|
}else if($v['keytype'] == "discipline"){$title = "学科";
|
||||||
|
}else if($v['keytype'] == "place"){$title = "地点";
|
||||||
|
}else if($v['keytype'] == "theme"){ $title = "主题";
|
||||||
|
}
|
||||||
|
$keys[$title][] = $v['keyword'];
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
<?php foreach($keys as $k=>$v) { ?>
|
||||||
|
<tr>
|
||||||
|
<td><?= $k ?></td>
|
||||||
|
<td>
|
||||||
|
<ul class="nav nav-pills inline unstyled">
|
||||||
|
<?php foreach($v as $keys) { ?>
|
||||||
|
<li><a href="/data/tag/key/"><?= $keys ?></a></li>
|
||||||
|
<?php } ?>
|
||||||
|
</ul>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<?php } ?>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!--
|
||||||
|
<?php if ($this->series): ?>
|
||||||
|
<div id="series">
|
||||||
|
<ul><?php foreach($this->series as $serie): ?>
|
||||||
|
<li><a href="/data/series/id/<?php echo $serie->id; ?>"> <?php echo $this->escape($serie->name);?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
-->
|
||||||
|
<div>
|
||||||
|
<hr />
|
||||||
|
<h4>数据信息</h4>
|
||||||
|
<ul class="unstyled">
|
||||||
|
<?php if ($md->fileformat) : ?>
|
||||||
|
<li id="fileformat">格式:<?php echo $md->fileformat; ?></li>
|
||||||
|
<?php endif; ?>
|
||||||
|
<li id="filesize">大小:<?php echo $md->filesize; ?>MB</li>
|
||||||
|
<?php if ($this->downloaded>9) :?>
|
||||||
|
<li id="downtimes">下载:<?php echo $this->downloaded; ?>次</li>
|
||||||
|
<?php endif; ?>
|
||||||
|
<li id="viewtimes">浏览:<?php echo $this->viewed; ?>次</li>
|
||||||
|
<!--
|
||||||
|
<?php if ($md->projection) : ?>
|
||||||
|
<li id="projection" title="<?= $this->projection; ?>">数据投影:
|
||||||
|
<?php
|
||||||
|
$p=explode(" ",$this->projection);
|
||||||
|
$p=explode("=",$p[0]);
|
||||||
|
if (!empty($p[1]))
|
||||||
|
echo $p[1];
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (is_numeric($md->projection)) echo 'EPSG_CODE_';
|
||||||
|
echo $md->projection;
|
||||||
|
}
|
||||||
|
?></li>
|
||||||
|
<?php endif; ?>
|
||||||
|
-->
|
||||||
|
<?php if (!empty($md->timebegin)) : ?>
|
||||||
|
<li id="datatimes">数据时间范围:<?php echo date('Y-m-d',strtotime($md->timebegin));if (!empty($md->timeend)) echo " 至 ".date('Y-m-d',strtotime($md->timeend)); ?></li>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if (!empty($this->doc)) : ?>
|
||||||
|
<li id="datadoc"><a href="<?php $wikiTitle = $this->doc;
|
||||||
|
if(strpos($wikiTitle,'http://wiki.westgis.ac.cn/index.php/')!==false){
|
||||||
|
$title=str_replace('http://wiki.westgis.ac.cn/index.php/','',$wikiTitle);
|
||||||
|
echo "/data/wiki/$title";
|
||||||
|
}else{
|
||||||
|
echo $this->doc;
|
||||||
|
}?>">数据说明文档</a></li>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if ($this->attachments) : ?>
|
||||||
|
<li id="attach"><span>相关文档:</span>
|
||||||
|
<?php foreach ($this->attachments as $k=>$a) : ?>
|
||||||
|
<a href="/service/attach/id/<?php echo $a->id; ?>" title="<?php echo $a->realname; ?>"><img src="/images/document.png"></a>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
<a href="/service/attach/zip/<?php echo $md->uuid; ?>"><img src="/images/zip_icon.gif" title="打包下载"/></a>
|
||||||
|
</li>
|
||||||
|
<?php endif; ?>
|
||||||
|
<li id="datatype">数据共享方式:<?php if ($md->datatype) print "离线"; else print "在线(可直接下载)";?> <a href="javascript:void(0);" id="show-list" onclick="getFileList()" title="">文件列表</a></li>
|
||||||
|
</ul>
|
||||||
|
<div id="linkurl">
|
||||||
|
<?php if ($md->status>0 and $md->status<5) : ?>
|
||||||
|
<a href="/review/review/uuid/<?php echo $md->uuid; ?>"><img src="/images/review.png" title="此数据正在评审中,我们邀请您对此数据进行评审,以便其能尽快发布!" /></a>
|
||||||
|
<?php else : if (!$md->datatype) : ?>
|
||||||
|
<a href="/data/todownload/?uuid=<?= $md->uuid?>"><img src="/images/download.png" title="直接下载" /></a>
|
||||||
|
<?php else: ?>
|
||||||
|
<a href="/data/order/uuid/<?php echo $md->uuid; ?>"><img src="/images/order.png" title="免费!离线申请此数据(在线数据和离线数据都可申请)"/></a>
|
||||||
|
<?php endif;endif; ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<h4>空间位置</h4>
|
||||||
|
<div id='watermap' style="width:100%;height:300px;"></div>
|
||||||
|
<hr />
|
||||||
|
<h4>联系信息</h4>
|
||||||
|
<div id="authors">
|
||||||
|
<ul class="unstyled">
|
||||||
|
<?php
|
||||||
|
$party_zh=array('resourceProvider'=>'资源提供者','custodian'=>'维护者','owner'=>'拥有者','user'=>'用户','distributor'=>'数据服务联系人','originator'=>'创建者','pointOfContact'=>'联系人','principalInvestigator'=>'数据调查与处理者','processor'=>'处理者','publisher'=>'元数据发布者','author'=>'元数据作者');
|
||||||
|
$r='';
|
||||||
|
$i=0;
|
||||||
|
foreach($this->authors as $k=>$author) :
|
||||||
|
if ($author->role!=$r)
|
||||||
|
{
|
||||||
|
$r=$author->role;
|
||||||
|
$i=0;
|
||||||
|
if ($k>0) echo '</li>';
|
||||||
|
echo '<li>'.$party_zh[$author->role].':';
|
||||||
|
}
|
||||||
|
if ($i>0) echo ',';
|
||||||
|
$i+=1;
|
||||||
|
if (!empty($author->email) && $r!='principalInvestigator')
|
||||||
|
echo '<a href="mailto:'.$author->email.'">';
|
||||||
|
echo '<strong title="'.$author->organisation.'">';
|
||||||
|
if (!empty($author->individual))
|
||||||
|
echo $author->individual;
|
||||||
|
else
|
||||||
|
echo $author->organisation;
|
||||||
|
echo '</strong>';
|
||||||
|
if (!empty($author->email)) echo '</a>';
|
||||||
|
if ($k+1==count($this->authors)) echo '</li>';
|
||||||
|
endforeach;
|
||||||
|
?>
|
||||||
|
</ul>
|
||||||
|
<hr />
|
||||||
|
<ul class="unstyled">
|
||||||
|
<li>元数据更新时间:<?php print date('Y-m-d',strtotime($md->ts_created)); ?> <a href="/service/xml/uuid/<?php echo $md->uuid;?>"><img src="/images/xml.gif" alt="查看XML源文件"></a><a href="/service/doc/uuid/<?php echo $md->uuid; ?>"><img src="/images/doc-icon.png" alt="Word doc格式"></a></li>
|
||||||
|
<!--<li><a href="/data/detail/id/<?php echo $md->id;?>">详细元数据</a></li>-->
|
||||||
|
<?php if($this->version->c>0):?>
|
||||||
|
<li id="dataversion">版本历史:<a href="javascript:void(0);" onclick="dataVersion()" title=""><?= $this->version->c ?> 个 <img src="/images/list_extensions.gif" style="vertical-align:middle" /></a></li>
|
||||||
|
<?php endif;?>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<div class="pull-left">分享到</div>
|
||||||
|
<!-- JiaThis Button BEGIN -->
|
||||||
|
<div class="jiathis_style" style="margin-left:10px;">
|
||||||
|
<a class="jiathis_button_tsina"></a>
|
||||||
|
<a class="jiathis_button_linkedin"></a>
|
||||||
|
<a class="jiathis_button_googleplus"></a>
|
||||||
|
<a class="jiathis_button_qzone"></a>
|
||||||
|
<a class="jiathis_button_tqq"></a>
|
||||||
|
<a class="jiathis_button_renren"></a>
|
||||||
|
<a class="jiathis_button_douban"></a>
|
||||||
|
<a class="jiathis_button_tsohu"></a>
|
||||||
|
<a class="jiathis_button_t163"></a>
|
||||||
|
<a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
|
||||||
|
<a class="jiathis_counter_style"></a>
|
||||||
|
</div>
|
||||||
|
<!-- JiaThis Button END -->
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- JiaThis Button END -->
|
|
||||||
</div>
|
|
||||||
<div id="left">
|
|
||||||
|
|
||||||
<div id="ImageViewer"><a class="colorbox" title="<?php echo $md->title; ?>" href="/service/bigthumb/uuid/<?php echo $md->uuid; ?>"><img src="/service/thumb/uuid/<?php echo $md->uuid;?>" /></a> </div>
|
|
||||||
<div id="abstract">
|
|
||||||
<p>
|
|
||||||
<?php echo str_replace(array("\r\n", "\n", "\r"),'</p><p>',$md->description);?>
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="cite">
|
|
||||||
<hr />
|
|
||||||
<?php if ($md->citation) : ?>
|
|
||||||
<h2>本数据引用方式</h2>
|
|
||||||
<p><?php echo $this->escape($md->citation);?></p>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php if ($this->ref) : ?>
|
|
||||||
<h2>建议参考文献</h2>
|
|
||||||
<ol>
|
|
||||||
<?php foreach($this->ref as $ref) :
|
|
||||||
if (empty($ref->link))
|
|
||||||
echo '<li>'.$ref->reference.'</li>';
|
|
||||||
else
|
|
||||||
echo '<li>'.$ref->reference.' <a href="'.$ref->link.'">下载</a></li>';
|
|
||||||
endforeach;
|
|
||||||
?>
|
|
||||||
</ol>
|
|
||||||
<?php endif; ?>
|
|
||||||
<h2>数据使用声明</h2>
|
|
||||||
<?php
|
|
||||||
if ($this->uselimits) :
|
|
||||||
foreach($this->uselimits as $uselimit) :
|
|
||||||
echo '<p>'.str_replace(array("\r\n", "\n", "\r"),'</p><p>',$this->escape($uselimit->uselimit)).'</p>';
|
|
||||||
endforeach;
|
|
||||||
?>
|
|
||||||
<?php else : ?>
|
|
||||||
<p>为尊重知识产权、保障数据作者的权益、扩展数据中心的服务、评估数据的应用潜力,请数据使用者在使用数据所产生的研究成果中(包括公开发表的论文、论著、数据产品和未公开发表的研究报告、数据产品等成果),明确注明数据来源和数据作者。对于转载(二次或多次发布)的数据,作者还须注明原始数据来源。</p>
|
|
||||||
<p>中文发表的成果参考以下规范注明: 数据来源于国家自然科学基金委员会"中国西部环境与生态科学数据中心"(http://westdc.westgis.ac.cn)</p>
|
|
||||||
<p>英文发表的成果依据以下规范注明: The data set is provided by Environmental and Ecological Science Data Center for West China,National Natural Science Foundation of China (http://westdc.westgis.ac.cn)</p>
|
|
||||||
</p>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php if ($md->suppinfo) : ?>
|
|
||||||
<h2>项目支持信息</h2>
|
|
||||||
<?php echo '<p>'.str_replace(array("\r\n", "\n", "\r"),'</p><p>',$this->escape($md->suppinfo)).'</p>';?>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php if($this->data_archives){ ?>
|
|
||||||
<h2>相关数据新闻</h2>
|
|
||||||
<?php
|
|
||||||
foreach($this->data_archives as $v){?>
|
|
||||||
<p><a href="<?= $v['url']['archive_url']?>"><?= $v['title']?></a></p>
|
|
||||||
<?php } ?>
|
|
||||||
<?php }?>
|
|
||||||
<?php if ($this->resources) : ?>
|
|
||||||
<h2>其他在线资源</h2>
|
|
||||||
<ul><?php foreach($this->resources as $link) : ?>
|
|
||||||
<li><a href="<?php echo $link->linkage; ?>" title="<?php echo $this->escape($link->description); ?>">
|
|
||||||
<?php
|
|
||||||
if (!empty($link->name))
|
|
||||||
echo $this->escape($link->name);
|
|
||||||
elseif (!empty($link->description))
|
|
||||||
echo $this->escape($link->description);
|
|
||||||
else
|
|
||||||
echo $link->linkage;
|
|
||||||
?></a></li>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</ul>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<?php
|
|
||||||
$keywords = array();
|
|
||||||
foreach($this->keys as $cg){
|
|
||||||
if($cg->keytype=="theme")
|
|
||||||
$keywords[]=$cg->keyword;
|
|
||||||
}
|
|
||||||
$ev = join(" ",$keywords);
|
|
||||||
?>
|
|
||||||
<ul class="idTabs">
|
|
||||||
<li><a href="#related" id="related_t">相关数据</a></li>
|
|
||||||
<li><a href="#literature" id="literature_t">相关文献</a></li>
|
|
||||||
<li><a href="#gsearch" class="googlesearch">相关搜索</a></li>
|
|
||||||
<li><a href="#service">服务记录</a></li>
|
|
||||||
<li><a href="#recommend" id="recommend_t">给我推荐</a></li>
|
|
||||||
</ul>
|
|
||||||
<div id="related">
|
|
||||||
</div>
|
|
||||||
<div id="literature">
|
|
||||||
</div>
|
|
||||||
<div id="gsearch">
|
|
||||||
<ul id="searchctrl">
|
|
||||||
<li><a href="javascript:;" class="googlesearch">Google搜索</a></li>
|
|
||||||
<li><a href="javascript:;" class="bingsearch">BING搜索</a></li>
|
|
||||||
<li><a href="javascript:;" class="scholar">Google学术搜索</a></li>
|
|
||||||
<li><a href="javascript:;" class="cnkiSearch">CNKI学术搜索</a></li>
|
|
||||||
</ul>
|
|
||||||
<ul id="searchlist">
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="service">
|
|
||||||
<?php if ($this->downhistory) : ?>
|
|
||||||
<p>最近10条服务记录如下:</p>
|
|
||||||
<ol start="1">
|
|
||||||
<?php
|
|
||||||
foreach($this->downhistory as $v){
|
|
||||||
echo '<li>'.date("Y-m-d",strtotime($v->ts_created))." ".$v->unit." ".$v->realname;
|
|
||||||
if (!empty($v->offlineproject))
|
|
||||||
echo ' 用途:'.$v->offlineproject;
|
|
||||||
elseif (!empty($v->onlineproject))
|
|
||||||
echo ' 用途:'.$v->onlineproject;
|
|
||||||
echo '</li>';
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</ol>
|
|
||||||
<?php else : ?>
|
|
||||||
暂时没有服务记录,欢迎您下载使用!
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
<div id="recommend">
|
|
||||||
</div>
|
|
||||||
<div id="comments">
|
|
||||||
<hr />
|
|
||||||
<?php if ($md->status>0 and $md->status<5) : ?>
|
|
||||||
<p class="strong">此数据还在评审过程中,我们真切地邀请您参加此数据的评审,以便我们能尽快发布此数据!<a href="/review/review/uuid/<?php echo $md->uuid; ?>"><img src="/images/review.png" title="此数据正在评审中,我们邀请您对此数据进行评审,以便其能尽快发布!" /></a></p>
|
|
||||||
<?php else : ?>
|
|
||||||
<h2>数据评论</h2>
|
|
||||||
<div id="allcomments">
|
|
||||||
</div>
|
|
||||||
<?php
|
|
||||||
$auth = Zend_Auth::getInstance();
|
|
||||||
if($auth->hasIdentity())
|
|
||||||
{
|
|
||||||
$user = $auth->getIdentity();
|
|
||||||
$name = $user->realname;
|
|
||||||
$email = $user->email;
|
|
||||||
}else
|
|
||||||
{
|
|
||||||
$name = "";
|
|
||||||
$email = "";
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
<form id="postcommentform">
|
|
||||||
<p>
|
|
||||||
<label class="required" style="background:none;">姓名</label>
|
|
||||||
<input type="text" name="author" value="<?php echo $name;?>" />
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label class="required" style="background:none;">EMAIL</label>
|
|
||||||
<input type="text" name="email" value="<?php echo $email;?>" />
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>WEBSITE</label>
|
|
||||||
<input type="text" name="url" value="" /> <small>e.g. http://westdc.westgis.ac.cn/</small>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label class="required" style="background:none;">内容</label>
|
|
||||||
<textarea name="content" class="medium half"></textarea>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label class="required">验证码</label>
|
|
||||||
<img id="imgcode" style="margin-bottom:-10px;cursor:pointer;border:0px;" src="/service/imgcode/" onClick="this.src=this.src+'?'"><input type="text" name="vdcode" id="vdcode" maxlength="4" value="" />
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label> </label>
|
|
||||||
<input type="hidden" name="mdtitle" value="<?php echo $md->title;?>" />
|
|
||||||
<input type="hidden" name="uuid" value="<?php echo $md->uuid;?>" />
|
|
||||||
<a class="btn btn-green" id="postcomment" href="javascript:;" onclick="postcomment();">提交</a><button type="reset" id="reset" class="btn">重置</button><span id="returninfo"></span>
|
|
||||||
</p>
|
|
||||||
</form>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
<div id="window-outter" style="display:none;">
|
<div id="window-outter" style="display:none;">
|
||||||
<div id="window-inner">
|
<div id="window-inner">
|
||||||
<div id="window-content-container">
|
<div id="window-content-container">
|
||||||
<div id="window-loading"><img src="/images/loading.gif" />加载中...</div>
|
<div id="window-loading">加载中...</div>
|
||||||
<ol id="file-list">
|
<ol id="file-list">
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -3,355 +3,409 @@
|
||||||
$this->headTitle($this->config->title->data);
|
$this->headTitle($this->config->title->data);
|
||||||
$this->headTitle($this->metadata->title);
|
$this->headTitle($this->metadata->title);
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/js/theme/default/style.css');
|
|
||||||
$this->headLink()->appendStylesheet('/css/watermdview.css');
|
|
||||||
$this->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
$this->breadcrumb('<a href="/water/">黑河综合遥感联合试验</a>');
|
$this->breadcrumb('<a href="/water/">黑河综合遥感联合试验</a>');
|
||||||
$this->breadcrumb('查看试验元数据');
|
$this->breadcrumb('查看试验元数据');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
$this->theme->AppendPlus($this,'google_map_v3');
|
$this->theme->AppendPlus($this,'google_map_v3');
|
||||||
$this->theme->AppendPlus($this,'jquery');
|
|
||||||
$this->theme->AppendPlus($this,'colorbox');
|
$this->theme->AppendPlus($this,'colorbox');
|
||||||
$this->headScript()->appendFile('/js/jquery.idTabs.min.js');
|
|
||||||
?>
|
?>
|
||||||
<?php $md=$this->metadata;if ($md):?>
|
<?php $md=$this->metadata;if ($md):?>
|
||||||
<h1><?php echo $this->escape($md->title);
|
<h1><?php echo $this->escape($md->title);
|
||||||
if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
||||||
</h1>
|
</h1>
|
||||||
<div id="right">
|
|
||||||
|
|
||||||
<div id="ItemSummary">
|
|
||||||
<div id="category">
|
|
||||||
<ul><?php foreach($this->category as $cat): ?>
|
|
||||||
<li><a href="/heihe/category/code/<?php echo $cat->code;?>"><?php echo $this->escape($cat->name_zh);?></a></li>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<?php
|
|
||||||
$kt='';
|
|
||||||
$i=0;
|
|
||||||
foreach($this->keys as $cg) :
|
|
||||||
if ($kt==$cg->keytype) :
|
|
||||||
$i+=1;
|
|
||||||
else :
|
|
||||||
if (!empty($kt)) echo '</ul></div>';
|
|
||||||
$kt=$cg->keytype;
|
|
||||||
$i=0;
|
|
||||||
endif;
|
|
||||||
if ($i==0) echo '<div id="'.$cg->keytype.'"><ul>';
|
|
||||||
echo '<li><a href="/heihe/tag/key/'.urlencode($cg->keyword).'">'.$cg->keyword.'</a></li>';
|
|
||||||
endforeach;
|
|
||||||
echo '</ul></div>';
|
|
||||||
?>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
<?php if ($this->series): ?>
|
|
||||||
<div id="series">
|
|
||||||
<ul><?php foreach($this->series as $serie): ?>
|
|
||||||
<li><a href="/data/series/id/<?php echo $serie->id; ?>"> <?php echo $this->escape($serie->name);?></a></li>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
|
||||||
-->
|
|
||||||
<ul id=OtherInfo>
|
|
||||||
<?php if ($md->fileformat) : ?>
|
|
||||||
<li id="fileformat">格式:<?php echo $md->fileformat; ?></li>
|
|
||||||
<?php endif; ?>
|
|
||||||
<li id="filesize">大小:<?php echo $md->filesize; ?>MB</li>
|
|
||||||
<?php if ($this->downloaded>9) :?>
|
|
||||||
<li id="downtimes">下载:<?php echo $this->downloaded; ?>次</li>
|
|
||||||
<?php endif; ?>
|
|
||||||
<li id="viewtimes">浏览量:<?php echo $this->viewed; ?>次</li>
|
|
||||||
<!--
|
|
||||||
<?php if ($md->projection) : ?>
|
|
||||||
<li id="projection" title="<?= $this->projection; ?>">数据投影:
|
|
||||||
<?php
|
|
||||||
$p=explode(" ",$this->projection);
|
|
||||||
$p=explode("=",$p[0]);
|
|
||||||
if (!empty($p[1]))
|
|
||||||
echo $p[1];
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (is_numeric($md->projection)) echo 'EPSG_CODE_';
|
|
||||||
echo $md->projection;
|
|
||||||
}
|
|
||||||
?></li>
|
|
||||||
<?php endif; ?>
|
|
||||||
-->
|
|
||||||
<?php if (!empty($md->timebegin)) : ?>
|
|
||||||
<li id="datatimes">数据时间范围:<?php echo date('Y-m-d',strtotime($md->timebegin));if (!empty($md->timeend)) echo " 至 ".date('Y-m-d',strtotime($md->timeend)); ?></li>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php if (!empty($this->doc)) : ?>
|
|
||||||
<li id="datadoc"><a href="<?php $wikiTitle = $this->doc;
|
|
||||||
if(strpos($wikiTitle,'http://wiki.westgis.ac.cn/index.php/')!==false){
|
|
||||||
$title=str_replace('http://wiki.westgis.ac.cn/index.php/','',$wikiTitle);
|
|
||||||
echo "/metainfo/$title";
|
|
||||||
}else{
|
|
||||||
echo $this->doc;
|
|
||||||
}?>">数据说明文档</a></li>
|
|
||||||
<?php endif; ?>
|
|
||||||
<li id="datatype">数据共享方式:<?php if ($md->datatype) print "离线"; else print "在线(可直接下载)";?> <a href="javascript:void(0);" id="show-list" onclick="getFileList()" title="">文件列表</a></li>
|
|
||||||
</ul>
|
|
||||||
<div id="linkurl">
|
|
||||||
<?php if ($md->status>0 and $md->status<5) : ?>
|
|
||||||
<a href="/review/review/uuid/<?php echo $md->uuid; ?>"><img src="/images/review.png" title="此数据正在评审中,我们邀请您对此数据进行评审,以便其能尽快发布!" /></a>
|
|
||||||
<?php else : if (!$md->datatype) : ?>
|
|
||||||
<a href="/data/download/uuid/<?php echo $md->uuid; ?>"><img src="/images/download.png" title="直接下载" /></a>
|
|
||||||
<?php else: ?>
|
|
||||||
<a href="/water/order/uuid/<?php echo $md->uuid; ?>"><img src="/images/order.png" title="免费!离线申请此数据(在线数据和离线数据都可申请)"/></a>
|
|
||||||
<?php endif;endif; ?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<hr />
|
<hr />
|
||||||
<h2>空间位置</h2>
|
<div class="row">
|
||||||
<div id='watermap'></div>
|
<div class="span8">
|
||||||
<hr />
|
<div>
|
||||||
<h2>联系信息</h2>
|
<a class="colorbox pull-right" title="<?php echo $md->title; ?>" href="/service/bigthumb/uuid/<?php echo $md->uuid; ?>"><img src="/service/thumb/uuid/<?php echo $md->uuid;?>"/></a>
|
||||||
<div id="authors">
|
<p>
|
||||||
<ul>
|
<?php echo str_replace(array("\r\n", "\n", "\r"),'</p><p>',$md->description);?>
|
||||||
<?php
|
</p>
|
||||||
$party_zh=array('resourceProvider'=>'资源提供者','custodian'=>'维护者','owner'=>'拥有者','user'=>'用户','distributor'=>'数据服务联系人','originator'=>'创建者','pointOfContact'=>'联系人','principalInvestigator'=>'数据调查与处理者','processor'=>'处理者','publisher'=>'元数据发布者','author'=>'元数据作者');
|
</div>
|
||||||
$r='';
|
<hr />
|
||||||
$i=0;
|
<div>
|
||||||
foreach($this->authors as $k=>$author) :
|
<?php if ($md->citation) : ?>
|
||||||
if ($author->role!=$r)
|
<hr />
|
||||||
{
|
<h5>本数据引用方式</h5>
|
||||||
$r=$author->role;
|
<p><?php echo $this->escape($md->citation);?></p>
|
||||||
$i=0;
|
<?php endif; ?>
|
||||||
if ($k>0) echo '</li>';
|
<?php if ($this->ref) : ?>
|
||||||
echo '<li>'.$party_zh[$author->role].':';
|
<hr />
|
||||||
}
|
<h5>建议参考文献</h5>
|
||||||
if ($i>0) echo ',';
|
<ol>
|
||||||
$i+=1;
|
<?php foreach($this->ref as $ref) :
|
||||||
if (!empty($author->email) && $r!='principalInvestigator')
|
if (empty($ref->link))
|
||||||
echo '<a href="mailto:'.$author->email.'">';
|
echo '<li style="white-space:normal; word-break:break-all;overflow:hidden;">'.$ref->reference.'</li>';
|
||||||
echo '<strong title="'.$author->organisation.'">';
|
else
|
||||||
if (!empty($author->individual))
|
echo '<li style="white-space:normal; word-break:break-all;overflow:hidden;">'.$ref->reference.' <a href="'.$ref->link.'">下载</a></li>';
|
||||||
echo $author->individual;
|
endforeach;
|
||||||
else
|
?>
|
||||||
echo $author->organisation;
|
</ol>
|
||||||
echo '</strong>';
|
<?php endif; ?>
|
||||||
if (!empty($author->email)) echo '</a>';
|
<?php if ($this->userref) : ?>
|
||||||
if ($k+1==count($this->authors)) echo '</li>';
|
<hr />
|
||||||
endforeach;
|
<h5>数据用户发表文献</h5>
|
||||||
?>
|
<ol>
|
||||||
</ul>
|
<?php foreach($this->userref as $ref) :
|
||||||
<hr />
|
if (empty($ref->link))
|
||||||
<ul>
|
echo '<li>'.$ref->reference.'</li>';
|
||||||
<li>元数据更新时间:<?php print date('Y-m-d',strtotime($md->ts_created)); ?>
|
else
|
||||||
<a href="/heihe/xml/uuid/<?php echo $md->uuid;?>"><img src="/images/xml.gif" alt="查看XML源文件"></a>
|
echo '<li>'.$ref->reference.' <a href="'.$ref->link.'">下载</a></li>';
|
||||||
<a href="/data/doc/uuid/<?php echo $md->uuid; ?>"><img src="/images/doc-icon.png" alt="Word doc格式"></a>
|
endforeach;
|
||||||
</li>
|
?>
|
||||||
</ul>
|
</ol>
|
||||||
</div>
|
<?php endif; ?>
|
||||||
<!-- JiaThis Button BEGIN -->
|
<hr />
|
||||||
<div class="jiathis_style" style="padding-left:12px;">
|
<h5>数据使用声明</h5>
|
||||||
<a class="jiathis_button_tsina"></a>
|
<?php
|
||||||
<a class="jiathis_button_linkedin"></a>
|
if ($this->uselimits) :
|
||||||
<a class="jiathis_button_googleplus"></a>
|
foreach($this->uselimits as $uselimit) :
|
||||||
<a class="jiathis_button_qzone"></a>
|
echo '<p>'.str_replace(array("\r\n", "\n", "\r"),'</p><p>',$this->escape($uselimit->uselimit)).'</p>';
|
||||||
<a class="jiathis_button_tqq"></a>
|
endforeach;
|
||||||
<a class="jiathis_button_renren"></a>
|
?>
|
||||||
<a class="jiathis_button_douban"></a>
|
<?php else : ?>
|
||||||
<a class="jiathis_button_tsohu"></a>
|
<p>为尊重知识产权、保障数据作者的权益、扩展数据中心的服务、评估数据的应用潜力,请数据使用者在使用数据所产生的研究成果中(包括公开发表的论文、论著、数据产品和未公开发表的研究报告、数据产品等成果),明确注明数据来源和数据作者。对于转载(二次或多次发布)的数据,作者还须注明原始数据来源。</p>
|
||||||
<a class="jiathis_button_t163"></a>
|
<p>中文发表的成果参考以下规范注明: 数据来源于国家自然科学基金委员会"中国西部环境与生态科学数据中心"(http://westdc.westgis.ac.cn)</p>
|
||||||
<a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
|
<p>英文发表的成果依据以下规范注明: The data set is provided by Environmental and Ecological Science Data Center for West China,National Natural Science Foundation of China (http://westdc.westgis.ac.cn)</p>
|
||||||
<a class="jiathis_counter_style"></a>
|
</p>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if($this->data_archives){ ?>
|
||||||
|
<h5>相关数据新闻</h5>
|
||||||
|
<ul>
|
||||||
|
<?php
|
||||||
|
foreach($this->data_archives as $v){?>
|
||||||
|
<li><a href="<?= $v['url']['archive_url']?>"><?= $v['title']?></a></li>
|
||||||
|
<?php } ?>
|
||||||
|
</ul>
|
||||||
|
<hr />
|
||||||
|
<?php }?>
|
||||||
|
<?php if ($md->suppinfo) : ?>
|
||||||
|
<h5>项目支持信息</h5>
|
||||||
|
<?php echo '<p>'.str_replace(array("\r\n", "\n", "\r"),'</p><p>',$this->escape($md->suppinfo)).'</p>';?>
|
||||||
|
<hr />
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if ($this->resources) : ?>
|
||||||
|
<h5>其他在线资源</h5>
|
||||||
|
<ul><?php foreach($this->resources as $link) : ?>
|
||||||
|
<li><a href="<?php echo $link->linkage; ?>" title="<?php echo $link->description; ?>">
|
||||||
|
<?php
|
||||||
|
if (!empty($link->name))
|
||||||
|
echo $link->name;
|
||||||
|
elseif (!empty($link->description))
|
||||||
|
echo $link->description;
|
||||||
|
else
|
||||||
|
echo $link->linkage;
|
||||||
|
?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
<hr />
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<?php
|
||||||
|
$keywords = array();
|
||||||
|
foreach($this->keys as $cg){
|
||||||
|
if($cg['keytype']=="theme")
|
||||||
|
$keywords[]=$cg['keyword'];
|
||||||
|
}
|
||||||
|
$ev = join(" ",$keywords);
|
||||||
|
?>
|
||||||
|
<div class="tabbable"> <!-- Only required for left/right tabs -->
|
||||||
|
|
||||||
|
<ul class="nav nav-tabs">
|
||||||
|
<li class="active"><a href="#related" data-toggle="tab" id="related_t">相关数据</a></li>
|
||||||
|
<li><a href="#literature" data-toggle="tab" id="literature_t">相关文献</a></li>
|
||||||
|
<li><a href="#gsearch" data-toggle="tab">相关搜索</a></li>
|
||||||
|
<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">
|
||||||
|
<div id="related" class="tab-pane active">
|
||||||
|
</div>
|
||||||
|
<div id="literature" class="tab-pane">
|
||||||
|
</div>
|
||||||
|
<div id="gsearch" class="tab-pane">
|
||||||
|
<ul id="searchctrl" class="unstyled span2">
|
||||||
|
<li><a href="javascript:;" class="googlesearch">Google搜索</a></li>
|
||||||
|
<li><a href="javascript:;" class="bingsearch">BING搜索</a></li>
|
||||||
|
<li><a href="javascript:;" class="scholar">Google学术搜索</a></li>
|
||||||
|
<li><a href="javascript:;" class="cnkiSearch">CNKI学术搜索</a></li>
|
||||||
|
</ul>
|
||||||
|
<ul id="searchlist" class="unstyled span6 well well-small">
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="service" class="tab-pane">
|
||||||
|
<?php if ($this->downhistory) : ?>
|
||||||
|
<p>最近10条服务记录如下:</p>
|
||||||
|
<ol start="1">
|
||||||
|
<?php
|
||||||
|
foreach($this->downhistory as $v){
|
||||||
|
echo '<li>'.date("Y-m-d",strtotime($v->ts_created))." ".$v->unit." ".$v->realname;
|
||||||
|
if (!empty($v->offlineproject))
|
||||||
|
echo ' 用途:'.$v->offlineproject;
|
||||||
|
elseif (!empty($v->onlineproject))
|
||||||
|
echo ' 用途:'.$v->onlineproject;
|
||||||
|
echo '</li>';
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</ol>
|
||||||
|
<?php else : ?>
|
||||||
|
暂时没有服务记录,欢迎您下载使用!
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
<div id="recommend" class="tab-pane">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<div id="comments">
|
||||||
|
<?php if ($md->status>0 and $md->status<5) : ?>
|
||||||
|
<p class="strong">此数据还在评审过程中,我们真切地邀请您参加此数据的评审,以便我们能尽快发布此数据!<a href="/review/review/uuid/<?php echo $md->uuid; ?>"><img src="/images/review.png" title="此数据正在评审中,我们邀请您对此数据进行评审,以便其能尽快发布!" /></a></p>
|
||||||
|
<?php else : ?>
|
||||||
|
<h4>数据评论</h4>
|
||||||
|
<div id="allcomments">
|
||||||
|
<div id="loading"><img src="/images/loading.gif" />评论加载中</div>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
$auth = Zend_Auth::getInstance();
|
||||||
|
if($auth->hasIdentity())
|
||||||
|
{
|
||||||
|
$user = $auth->getIdentity();
|
||||||
|
$name = $user->realname;
|
||||||
|
$email = $user->email;
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
$name = "";
|
||||||
|
$email = "";
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
<form class="form-horizontal" id="postcommentform">
|
||||||
|
<div class="control-group">
|
||||||
|
<label class="control-label">姓名</label>
|
||||||
|
<div class="controls">
|
||||||
|
<input type="text" name="author" value="<?php echo $name;?>" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="control-group">
|
||||||
|
<label class="control-label">Email</label>
|
||||||
|
<div class="controls">
|
||||||
|
<input type="text" name="email" value="<?php echo $email;?>" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="control-group">
|
||||||
|
<label class="control-label">Website</label>
|
||||||
|
<div class="controls">
|
||||||
|
<input type="text" name="url" value="" /> <span class="help-block">e.g. http://westdc.westgis.ac.cn/</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="control-group">
|
||||||
|
<label class="control-label">内容</label>
|
||||||
|
<div class="controls">
|
||||||
|
<textarea name="content" class="span5"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="control-group">
|
||||||
|
<label class="control-label">验证码</label>
|
||||||
|
<div class="controls">
|
||||||
|
<img id="imgcode" style="margin-bottom:-10px;cursor:pointer;border:0px;" src="/service/imgcode/" onClick="this.src=this.src+'?'"><input type="text" name="vdcode" id="vdcode" maxlength="4" value="" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="control-group">
|
||||||
|
<div class="controls">
|
||||||
|
<input type="hidden" name="mdtitle" value="<?php echo $md->title;?>" />
|
||||||
|
<input type="hidden" name="uuid" value="<?php echo $md->uuid;?>" />
|
||||||
|
<a class="btn btn-primary" id="postcomment" href="javascript:;" onclick="postcomment();">提交</a><button type="reset" id="reset" class="btn">重置</button><span id="returninfo"></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
<div id="infobox"></div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="span4">
|
||||||
|
<div>
|
||||||
|
<table class="table table-striped">
|
||||||
|
<thead>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>类别</td>
|
||||||
|
<td>
|
||||||
|
<ul class="nav nav-pills inline unstyled">
|
||||||
|
<?php foreach($this->category as $cat): ?>
|
||||||
|
<li><a href="/data/category/code/<?php echo $cat->code;?>"><?php echo $this->escape($cat->name_zh);?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<?php
|
||||||
|
foreach($this->keys as $k=>$v)
|
||||||
|
{
|
||||||
|
if($v['keytype'] == "category"){ $title = "类别";
|
||||||
|
}else if($v['keytype'] == "discipline"){$title = "学科";
|
||||||
|
}else if($v['keytype'] == "place"){$title = "地点";
|
||||||
|
}else if($v['keytype'] == "theme"){ $title = "主题";
|
||||||
|
}
|
||||||
|
$keys[$title][] = $v['keyword'];
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
<?php foreach($keys as $k=>$v) { ?>
|
||||||
|
<tr>
|
||||||
|
<td><?= $k ?></td>
|
||||||
|
<td>
|
||||||
|
<ul class="nav nav-pills inline unstyled">
|
||||||
|
<?php foreach($v as $keys) { ?>
|
||||||
|
<li><a href="/data/tag/key/"><?= $keys ?></a></li>
|
||||||
|
<?php } ?>
|
||||||
|
</ul>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<?php } ?>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!--
|
||||||
|
<?php if ($this->series): ?>
|
||||||
|
<div id="series">
|
||||||
|
<ul><?php foreach($this->series as $serie): ?>
|
||||||
|
<li><a href="/data/series/id/<?php echo $serie->id; ?>"> <?php echo $this->escape($serie->name);?></a></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
-->
|
||||||
|
<div>
|
||||||
|
<hr />
|
||||||
|
<h4>数据信息</h4>
|
||||||
|
<ul class="unstyled">
|
||||||
|
<?php if ($md->fileformat) : ?>
|
||||||
|
<li id="fileformat">格式:<?php echo $md->fileformat; ?></li>
|
||||||
|
<?php endif; ?>
|
||||||
|
<li id="filesize">大小:<?php echo $md->filesize; ?>MB</li>
|
||||||
|
<?php if ($this->downloaded>9) :?>
|
||||||
|
<li id="downtimes">下载:<?php echo $this->downloaded; ?>次</li>
|
||||||
|
<?php endif; ?>
|
||||||
|
<li id="viewtimes">浏览:<?php echo $this->viewed; ?>次</li>
|
||||||
|
<!--
|
||||||
|
<?php if ($md->projection) : ?>
|
||||||
|
<li id="projection" title="<?= $this->projection; ?>">数据投影:
|
||||||
|
<?php
|
||||||
|
$p=explode(" ",$this->projection);
|
||||||
|
$p=explode("=",$p[0]);
|
||||||
|
if (!empty($p[1]))
|
||||||
|
echo $p[1];
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (is_numeric($md->projection)) echo 'EPSG_CODE_';
|
||||||
|
echo $md->projection;
|
||||||
|
}
|
||||||
|
?></li>
|
||||||
|
<?php endif; ?>
|
||||||
|
-->
|
||||||
|
<?php if (!empty($md->timebegin)) : ?>
|
||||||
|
<li id="datatimes">数据时间范围:<?php echo date('Y-m-d',strtotime($md->timebegin));if (!empty($md->timeend)) echo " 至 ".date('Y-m-d',strtotime($md->timeend)); ?></li>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if (!empty($this->doc)) : ?>
|
||||||
|
<li id="datadoc"><a href="<?php $wikiTitle = $this->doc;
|
||||||
|
if(strpos($wikiTitle,'http://wiki.westgis.ac.cn/index.php/')!==false){
|
||||||
|
$title=str_replace('http://wiki.westgis.ac.cn/index.php/','',$wikiTitle);
|
||||||
|
echo "/data/wiki/$title";
|
||||||
|
}else{
|
||||||
|
echo $this->doc;
|
||||||
|
}?>">数据说明文档</a></li>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if ($this->attachments) : ?>
|
||||||
|
<li id="attach"><span>相关文档:</span>
|
||||||
|
<?php foreach ($this->attachments as $k=>$a) : ?>
|
||||||
|
<a href="/service/attach/id/<?php echo $a->id; ?>" title="<?php echo $a->realname; ?>"><img src="/images/document.png"></a>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
<a href="/service/attach/zip/<?php echo $md->uuid; ?>"><img src="/images/zip_icon.gif" title="打包下载"/></a>
|
||||||
|
</li>
|
||||||
|
<?php endif; ?>
|
||||||
|
<li id="datatype">数据共享方式:<?php if ($md->datatype) print "离线"; else print "在线(可直接下载)";?> <a href="javascript:void(0);" id="show-list" onclick="getFileList()" title="">文件列表</a></li>
|
||||||
|
</ul>
|
||||||
|
<div id="linkurl">
|
||||||
|
<?php if ($md->status>0 and $md->status<5) : ?>
|
||||||
|
<a href="/review/review/uuid/<?php echo $md->uuid; ?>"><img src="/images/review.png" title="此数据正在评审中,我们邀请您对此数据进行评审,以便其能尽快发布!" /></a>
|
||||||
|
<?php else : if (!$md->datatype) : ?>
|
||||||
|
<a href="/data/todownload/?uuid=<?= $md->uuid?>"><img src="/images/download.png" title="直接下载" /></a>
|
||||||
|
<?php else: ?>
|
||||||
|
<a href="/data/order/uuid/<?php echo $md->uuid; ?>"><img src="/images/order.png" title="免费!离线申请此数据(在线数据和离线数据都可申请)"/></a>
|
||||||
|
<?php endif;endif; ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<h4>空间位置</h4>
|
||||||
|
<div id='watermap' style="width:100%;height:300px;"></div>
|
||||||
|
<hr />
|
||||||
|
<h4>联系信息</h4>
|
||||||
|
<div id="authors">
|
||||||
|
<ul class="unstyled">
|
||||||
|
<?php
|
||||||
|
$party_zh=array('resourceProvider'=>'资源提供者','custodian'=>'维护者','owner'=>'拥有者','user'=>'用户','distributor'=>'数据服务联系人','originator'=>'创建者','pointOfContact'=>'联系人','principalInvestigator'=>'数据调查与处理者','processor'=>'处理者','publisher'=>'元数据发布者','author'=>'元数据作者');
|
||||||
|
$r='';
|
||||||
|
$i=0;
|
||||||
|
foreach($this->authors as $k=>$author) :
|
||||||
|
if ($author->role!=$r)
|
||||||
|
{
|
||||||
|
$r=$author->role;
|
||||||
|
$i=0;
|
||||||
|
if ($k>0) echo '</li>';
|
||||||
|
echo '<li>'.$party_zh[$author->role].':';
|
||||||
|
}
|
||||||
|
if ($i>0) echo ',';
|
||||||
|
$i+=1;
|
||||||
|
if (!empty($author->email) && $r!='principalInvestigator')
|
||||||
|
echo '<a href="mailto:'.$author->email.'">';
|
||||||
|
echo '<strong title="'.$author->organisation.'">';
|
||||||
|
if (!empty($author->individual))
|
||||||
|
echo $author->individual;
|
||||||
|
else
|
||||||
|
echo $author->organisation;
|
||||||
|
echo '</strong>';
|
||||||
|
if (!empty($author->email)) echo '</a>';
|
||||||
|
if ($k+1==count($this->authors)) echo '</li>';
|
||||||
|
endforeach;
|
||||||
|
?>
|
||||||
|
</ul>
|
||||||
|
<hr />
|
||||||
|
<ul class="unstyled">
|
||||||
|
<li>元数据更新时间:<?php print date('Y-m-d',strtotime($md->ts_created)); ?> <a href="/service/xml/uuid/<?php echo $md->uuid;?>"><img src="/images/xml.gif" alt="查看XML源文件"></a><a href="/service/doc/uuid/<?php echo $md->uuid; ?>"><img src="/images/doc-icon.png" alt="Word doc格式"></a></li>
|
||||||
|
<!--<li><a href="/data/detail/id/<?php echo $md->id;?>">详细元数据</a></li>-->
|
||||||
|
<?php if($this->version->c>0):?>
|
||||||
|
<li id="dataversion">版本历史:<a href="javascript:void(0);" onclick="dataVersion()" title=""><?= $this->version->c ?> 个 <img src="/images/list_extensions.gif" style="vertical-align:middle" /></a></li>
|
||||||
|
<?php endif;?>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<div class="pull-left">分享到</div>
|
||||||
|
<!-- JiaThis Button BEGIN -->
|
||||||
|
<div class="jiathis_style" style="margin-left:10px;">
|
||||||
|
<a class="jiathis_button_tsina"></a>
|
||||||
|
<a class="jiathis_button_linkedin"></a>
|
||||||
|
<a class="jiathis_button_googleplus"></a>
|
||||||
|
<a class="jiathis_button_qzone"></a>
|
||||||
|
<a class="jiathis_button_tqq"></a>
|
||||||
|
<a class="jiathis_button_renren"></a>
|
||||||
|
<a class="jiathis_button_douban"></a>
|
||||||
|
<a class="jiathis_button_tsohu"></a>
|
||||||
|
<a class="jiathis_button_t163"></a>
|
||||||
|
<a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
|
||||||
|
<a class="jiathis_counter_style"></a>
|
||||||
|
</div>
|
||||||
|
<!-- JiaThis Button END -->
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- JiaThis Button END -->
|
|
||||||
</div>
|
|
||||||
<div id="left">
|
|
||||||
|
|
||||||
<div id="ImageViewer"><a class="colorbox" title="<?php echo $md->title; ?>" href="/service/bigthumb/uuid/<?php echo $md->uuid; ?>"><img src="/service/thumb/uuid/<?php echo $md->uuid;?>" /></a> </div>
|
|
||||||
<div id="abstract">
|
|
||||||
<p>
|
|
||||||
<?php echo str_replace(array("\r\n", "\n", "\r"),'</p><p>',$md->description);?>
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="cite">
|
|
||||||
<hr />
|
|
||||||
<?php if ($md->citation) : ?>
|
|
||||||
<h2>本数据引用方式</h2>
|
|
||||||
<p><?php echo $this->escape($md->citation);?></p>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php if ($this->ref) : ?>
|
|
||||||
<h2>建议参考文献</h2>
|
|
||||||
<ol>
|
|
||||||
<?php foreach($this->ref as $ref) :
|
|
||||||
if (empty($ref->link))
|
|
||||||
echo '<li>'.$ref->reference.'</li>';
|
|
||||||
else
|
|
||||||
echo '<li>'.$ref->reference.' <a href="'.$ref->link.'">下载</a></li>';
|
|
||||||
endforeach;
|
|
||||||
?>
|
|
||||||
</ol>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php if ($this->userref) : ?>
|
|
||||||
<h2>数据用户发表文献</h2>
|
|
||||||
<ol>
|
|
||||||
<?php foreach($this->userref as $ref) :
|
|
||||||
if (empty($ref->link))
|
|
||||||
echo '<li>'.$ref->reference.'</li>';
|
|
||||||
else
|
|
||||||
echo '<li>'.$ref->reference.' <a href="'.$ref->link.'">下载</a></li>';
|
|
||||||
endforeach;
|
|
||||||
?>
|
|
||||||
</ol>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<h2>数据使用声明</h2>
|
|
||||||
<?php
|
|
||||||
if ($this->uselimits) :
|
|
||||||
foreach($this->uselimits as $uselimit) :
|
|
||||||
echo '<p>'.str_replace(array("\r\n", "\n", "\r"),'</p><p>',$this->escape($uselimit->uselimit)).'</p>';
|
|
||||||
endforeach;
|
|
||||||
?>
|
|
||||||
<?php else : ?>
|
|
||||||
<p>为尊重知识产权、保障数据作者的权益、扩展数据中心的服务、评估数据的应用潜力,请数据使用者在使用数据所产生的研究成果中(包括公开发表的论文、论著、数据产品和未公开发表的研究报告、数据产品等成果),明确注明数据来源和数据作者。对于转载(二次或多次发布)的数据,作者还须注明原始数据来源。</p>
|
|
||||||
<p>中文发表的成果参考以下规范注明: 数据来源于国家自然科学基金委员会"中国西部环境与生态科学数据中心"(http://westdc.westgis.ac.cn)</p>
|
|
||||||
<p>英文发表的成果依据以下规范注明: The data set is provided by Environmental and Ecological Science Data Center for West China,National Natural Science Foundation of China (http://westdc.westgis.ac.cn)</p>
|
|
||||||
</p>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php if ($md->suppinfo) : ?>
|
|
||||||
<h2>项目支持信息</h2>
|
|
||||||
<?php echo '<p>'.str_replace(array("\r\n", "\n", "\r"),'</p><p>',$this->escape($md->suppinfo)).'</p>';?>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php if($this->data_archives){ ?>
|
|
||||||
<h2>相关数据新闻</h2>
|
|
||||||
<?php
|
|
||||||
foreach($this->data_archives as $v){?>
|
|
||||||
<p><a href="<?= $v['url']['archive_url']?>"><?= $v['title']?></a></p>
|
|
||||||
<?php } ?>
|
|
||||||
<?php }?>
|
|
||||||
<?php if ($this->resources) : ?>
|
|
||||||
<h2>其他在线资源</h2>
|
|
||||||
<ul><?php foreach($this->resources as $link) : ?>
|
|
||||||
<li><a href="<?php echo $link->linkage; ?>" title="<?php echo $this->escape($link->description); ?>">
|
|
||||||
<?php
|
|
||||||
if (!empty($link->name))
|
|
||||||
echo $this->escape($link->name);
|
|
||||||
elseif (!empty($link->description))
|
|
||||||
echo $this->escape($link->description);
|
|
||||||
else
|
|
||||||
echo $link->linkage;
|
|
||||||
?></a></li>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</ul>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
<?php
|
|
||||||
$keywords = array();
|
|
||||||
foreach($this->keys as $cg){
|
|
||||||
if($cg->keytype=="theme")
|
|
||||||
$keywords[]=$cg->keyword;
|
|
||||||
}
|
|
||||||
$ev = join(" ",$keywords);
|
|
||||||
?>
|
|
||||||
<ul class="idTabs">
|
|
||||||
<li><a href="#related" id="related_t">相关数据</a></li>
|
|
||||||
<li><a href="#literature" id="literature_t">相关文献</a></li>
|
|
||||||
<li><a href="#gsearch" class="googlesearch">相关搜索</a></li>
|
|
||||||
<li><a href="#service">服务记录</a></li>
|
|
||||||
<li><a href="#recommend" id="recommend_t">给我推荐</a></li>
|
|
||||||
</ul>
|
|
||||||
<div id="related">
|
|
||||||
</div>
|
|
||||||
<div id="literature">
|
|
||||||
</div>
|
|
||||||
<div id="gsearch">
|
|
||||||
<ul id="searchctrl">
|
|
||||||
<li><a href="javascript:;" class="googlesearch">Google搜索</a></li>
|
|
||||||
<li><a href="javascript:;" class="bingsearch">BING搜索</a></li>
|
|
||||||
<li><a href="javascript:;" class="scholar">Google学术搜索</a></li>
|
|
||||||
<li><a href="javascript:;" class="cnkiSearch">CNKI学术搜索</a></li>
|
|
||||||
</ul>
|
|
||||||
<ul id="searchlist">
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="service">
|
|
||||||
<?php if ($this->downhistory) : ?>
|
|
||||||
<p>最近10条服务记录如下:</p>
|
|
||||||
<ol start="1">
|
|
||||||
<?php
|
|
||||||
foreach($this->downhistory as $v){
|
|
||||||
echo '<li>'.date("Y-m-d",strtotime($v->ts_created))." ".$v->unit." ".$v->realname;
|
|
||||||
if (!empty($v->offlineproject))
|
|
||||||
echo ' 用途:'.$v->offlineproject;
|
|
||||||
elseif (!empty($v->onlineproject))
|
|
||||||
echo ' 用途:'.$v->onlineproject;
|
|
||||||
echo '</li>';
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</ol>
|
|
||||||
<?php else : ?>
|
|
||||||
暂时没有服务记录,欢迎您下载使用!
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
<div id="recommend">
|
|
||||||
</div>
|
|
||||||
<hr />
|
|
||||||
<div id="comments">
|
|
||||||
<?php if ($md->status>0 and $md->status<5) : ?>
|
|
||||||
<p class="strong">此数据还在评审过程中,我们真切地邀请您参加此数据的评审,以便我们能尽快发布此数据!<a href="/review/review/uuid/<?php echo $md->uuid; ?>"><img src="/images/review.png" title="此数据正在评审中,我们邀请您对此数据进行评审,以便其能尽快发布!" /></a></p>
|
|
||||||
<?php else : ?>
|
|
||||||
<h2>数据评论</h2>
|
|
||||||
<div id="allcomments">
|
|
||||||
<div id="loading"><img src="/images/loading.gif" />评论加载中</div>
|
|
||||||
</div>
|
|
||||||
<?php
|
|
||||||
$auth = Zend_Auth::getInstance();
|
|
||||||
if($auth->hasIdentity())
|
|
||||||
{
|
|
||||||
$user = $auth->getIdentity();
|
|
||||||
$name = $user->realname;
|
|
||||||
$email = $user->email;
|
|
||||||
}else
|
|
||||||
{
|
|
||||||
$name = "";
|
|
||||||
$email = "";
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
<form id="postcommentform">
|
|
||||||
<p>
|
|
||||||
<label class="required" style="background:none;">姓名</label>
|
|
||||||
<input type="text" name="author" value="<?php echo $name;?>" />
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label class="required" style="background:none;">EMAIL</label>
|
|
||||||
<input type="text" name="email" value="<?php echo $email;?>" />
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label>WEBSITE</label>
|
|
||||||
<input type="text" name="url" value="" /> <small>e.g. http://westdc.westgis.ac.cn/</small>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label class="required" style="background:none;">内容</label>
|
|
||||||
<textarea name="content" class="medium half"></textarea>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label class="required">验证码</label>
|
|
||||||
<img id="imgcode" style="margin-bottom:-10px;cursor:pointer;border:0px;" src="/service/imgcode/" onClick="this.src=this.src+'?'"><input type="text" name="vdcode" id="vdcode" maxlength="4" value="" />
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<label> </label>
|
|
||||||
<input type="hidden" name="mdtitle" value="<?php echo $md->title;?>" />
|
|
||||||
<input type="hidden" name="uuid" value="<?php echo $md->uuid;?>" />
|
|
||||||
<a class="btn btn-green" id="postcomment" href="javascript:;" onclick="postcomment();">提交</a><button type="reset" id="reset" class="btn">重置</button><span id="returninfo"></span>
|
|
||||||
</p>
|
|
||||||
</form>
|
|
||||||
<div id="infobox"></div>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
</div>
|
|
||||||
<div id="window-outter" style="display:none;">
|
<div id="window-outter" style="display:none;">
|
||||||
<div id="window-inner">
|
<div id="window-inner">
|
||||||
<div id="window-closer-container">[<a href="#" id="window-closer" onclick="$('#window-outter').hide()">关闭</a>]</div>
|
|
||||||
<div id="window-content-container">
|
<div id="window-content-container">
|
||||||
<div id="window-loading">加载中...</div>
|
<div id="window-loading">加载中...</div>
|
||||||
<ol id="file-list">
|
<ol id="file-list">
|
||||||
|
@ -361,13 +415,11 @@ if($auth->hasIdentity())
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="todownload" style="display:none;">
|
<div id="todownload" style="display:none;">
|
||||||
<div class="closeox"><a href="javascript:void(0);" onclick="$('#todownload').hide()">[关闭]</a></div>
|
<div id="formcontent"></div>
|
||||||
<div id="formcontent" style="">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript" charset="utf-8">
|
<script type="text/javascript" charset="utf-8">
|
||||||
$(document).ready(function(){$(".colorbox").colorbox({photo:"true"});});
|
$(document).ready(function(){$(".colorbox").colorbox({photo:"true"});});
|
||||||
|
|
||||||
//ajax comment
|
//ajax comment
|
||||||
function ajaxpage(page){$.ajax({type:"GET",url:"/data/comment/uuid/<?= $md->uuid; ?>",data:'page='+page,success:function(html){$('#allcomments').html(html);},
|
function ajaxpage(page){$.ajax({type:"GET",url:"/data/comment/uuid/<?= $md->uuid; ?>",data:'page='+page,success:function(html){$('#allcomments').html(html);},
|
||||||
beforeSend:function(){$('#allcomments').html('<img src="/images/loading.gif" />加载中');}});};ajaxpage(0);
|
beforeSend:function(){$('#allcomments').html('<img src="/images/loading.gif" />加载中');}});};ajaxpage(0);
|
||||||
|
@ -390,20 +442,10 @@ $('#recommend_t').click(function(){recommend(0);});
|
||||||
function recommend(page){$.ajax({type:"GET",url:"/service/recommend/uuid/<?= $md->uuid; ?>",data:'page='+page,success:function(html){$('#recommend').html('<ul>'+html+'</ul>');},
|
function recommend(page){$.ajax({type:"GET",url:"/service/recommend/uuid/<?= $md->uuid; ?>",data:'page='+page,success:function(html){$('#recommend').html('<ul>'+html+'</ul>');},
|
||||||
beforeSend:function(){$('#recommend').html('<img src="/images/loading.gif" />加载中');}});}
|
beforeSend:function(){$('#recommend').html('<img src="/images/loading.gif" />加载中');}});}
|
||||||
|
|
||||||
//ajax download
|
|
||||||
function todownload(ft)
|
|
||||||
{
|
|
||||||
var url = "/data/todownload/uuid/<?php echo $md->uuid;?>/ft/"+ft;
|
|
||||||
if($('#todownloadform')) var date = $('#todownloadform').serialize();
|
|
||||||
$.ajax({
|
|
||||||
type:"GET",
|
|
||||||
url:url,
|
|
||||||
data:date,
|
|
||||||
success:function(html){$('#returninfo').html(html);},
|
|
||||||
beforeSend:function(){$('#returninfo').html('<img src="/images/11887177066.gif" />');}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
//ajax comment
|
//ajax comment
|
||||||
|
ajaxpage(0);
|
||||||
|
|
||||||
function ajaxpage(page){
|
function ajaxpage(page){
|
||||||
var url = "/data/comment/uuid/<?= $md->uuid; ?>";
|
var url = "/data/comment/uuid/<?= $md->uuid; ?>";
|
||||||
data='page='+page;
|
data='page='+page;
|
||||||
|
@ -414,12 +456,30 @@ function ajaxpage(page){
|
||||||
success:function(html){$('#allcomments').html(html);},
|
success:function(html){$('#allcomments').html(html);},
|
||||||
beforeSend:function(){$('#allcomments').html('<img src="/images/loading.gif" />评论加载中');}
|
beforeSend:function(){$('#allcomments').html('<img src="/images/loading.gif" />评论加载中');}
|
||||||
});
|
});
|
||||||
};ajaxpage(0);
|
};
|
||||||
|
function postcomment(){
|
||||||
|
var url="/data/postcomment";
|
||||||
|
var date = $('#postcommentform').serialize();
|
||||||
|
$.ajax({
|
||||||
|
'type':"POST",
|
||||||
|
'url':url,
|
||||||
|
'data':date,
|
||||||
|
'success':function(html){
|
||||||
|
$('#postcomment').html('提交');
|
||||||
|
setTimeout("$('#postcomment').removeAttr('disabled');",3000);
|
||||||
|
$('#returninfo').html(html);
|
||||||
|
ajaxpage(0);
|
||||||
|
},
|
||||||
|
'beforeSend':function(){
|
||||||
|
$('#postcomment').attr('disabled','disabled');
|
||||||
|
$('#postcomment').html('<img src="/images/11887177066.gif" />正在提交...');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
function getFileList(){
|
function getFileList(){
|
||||||
var tw = ($(window).width() - $('#window-outter').width())/2;
|
$.colorbox({width:"80%",height:"80%",html:$('#window-outter').html()});
|
||||||
$('#window-outter').css({'right':tw});
|
|
||||||
$('#window-outter').show();
|
|
||||||
$.getJSON("/service/filelist/uuid/<?php echo $md->uuid;?>", function(data) {
|
$.getJSON("/service/filelist/uuid/<?php echo $md->uuid;?>", function(data) {
|
||||||
var items = [];
|
var items = [];
|
||||||
if(data.length>0)
|
if(data.length>0)
|
||||||
|
@ -447,7 +507,7 @@ function getSubFileList(uuid,id,depth){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$('<div/>', {
|
$('<div/>', {
|
||||||
'style':'max-height:400px; overflow:auto; overflow-x:hidden;',
|
'style':'overflow:auto;',
|
||||||
'id': 'div_'+id,
|
'id': 'div_'+id,
|
||||||
"html": '<li><img src="/images/loading.gif" />加载中</li>'
|
"html": '<li><img src="/images/loading.gif" />加载中</li>'
|
||||||
}).appendTo('#li_'+id);
|
}).appendTo('#li_'+id);
|
||||||
|
@ -569,6 +629,42 @@ function cnkiSearch(keyword){
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function dataVersion()
|
||||||
|
{
|
||||||
|
$.ajax({
|
||||||
|
'type':"POST",
|
||||||
|
'url':'/data/getversion',
|
||||||
|
'data':'ac=list&uuid=<?php echo $md->uuid; ?>',
|
||||||
|
'success':onDataVersionLoad,
|
||||||
|
'timeout': 30000,
|
||||||
|
'error': function(){Alert('处理中出现错误,请刷新页面后重试');return false;}
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
function onDataVersionLoad(data){
|
||||||
|
if (typeof(data)=='object')
|
||||||
|
{
|
||||||
|
if(typeof(data.error)!='undefined')
|
||||||
|
{Alert(data.error);return false;}
|
||||||
|
if(typeof(data.list)!='undefined')
|
||||||
|
{
|
||||||
|
var html = "";
|
||||||
|
for(v in data.list)
|
||||||
|
{
|
||||||
|
html+='<li><p>'+data.list[v].changelog+'</p><p>'+data.list[v].ts_created+' by '+data.list[v].username+'</p></li>';
|
||||||
|
}
|
||||||
|
$.colorbox({'innerWidth':'50%','innerHeight':'80%','html':'<div class="datalist"><ul>'+html+'</ul></div>'});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
Alert('出现错误,请稍后再试');return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function Alert(html){
|
||||||
|
$.colorbox({'innerWidth':'50%','html':'<h4 style="font-size:16px;font-weight:bold;">'+html+'</h4>'});
|
||||||
|
}
|
||||||
|
|
||||||
var map = null;
|
var map = null;
|
||||||
var mapElementID = null;
|
var mapElementID = null;
|
||||||
var bounds = null;
|
var bounds = null;
|
||||||
|
@ -624,5 +720,4 @@ $(function() {
|
||||||
<p>Cannot find the metadata.</p>
|
<p>Cannot find the metadata.</p>
|
||||||
<p>没有找到对应的元数据。</p>
|
<p>没有找到对应的元数据。</p>
|
||||||
<?php endif;?>
|
<?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>
|
|
@ -1,15 +1,48 @@
|
||||||
#sidebar{float:left;margin:0;padding:0;width:160px;_margin-right:-3px;float:left;border-right:2px solid #ddd;background:#ddd;border-radius:5px;overflow:hidden;}
|
.bs-review-nav{
|
||||||
#sidebar li{margin:5px 0 5px 30px;}
|
padding:14px;
|
||||||
#sidebar li.title{margin:0;padding:5px 40px;background-color:#ECA965;}
|
}
|
||||||
#leftnavi li{margin:5px 0 5px 20px;font-size:9pt;border:1px #93bee2 solid;background-color:#e8f4ff;width:100px;height:22px;padding:0 10px 0 10px;}
|
.bs-review-sidenav{
|
||||||
#content{margin-left:160px;}
|
padding:0px;
|
||||||
#content p{text-indent: 20px;}
|
margin:0px;
|
||||||
#content ul li{list-style:disc;margin-left:50px;}
|
}
|
||||||
|
.bs-review-sidenav > li:first-child > a {
|
||||||
|
border-radius: 6px 6px 0 0;
|
||||||
|
}
|
||||||
|
.bs-review-sidenav > li:last-child > a {
|
||||||
|
border-radius: 0 0 6px 6px;
|
||||||
|
}
|
||||||
|
.bs-review-sidenav li{
|
||||||
|
margin:0px;
|
||||||
|
padding:0px;
|
||||||
|
line-height:30px;
|
||||||
|
}
|
||||||
|
.bs-review-sidenav li a {
|
||||||
|
border:1px solid #E5E5E5;
|
||||||
|
margin: 0 0 -1px;
|
||||||
|
}
|
||||||
|
.bs-review-sidenav li.active a {
|
||||||
|
border:none;
|
||||||
|
margin: 0 0 0 0;
|
||||||
|
}
|
||||||
|
.bs-review-sidenav li i{
|
||||||
|
float:right;
|
||||||
|
margin-top:8px;
|
||||||
|
}
|
||||||
|
.bs-review-nav .form-search{
|
||||||
|
margin:10px auto;
|
||||||
|
}
|
||||||
|
.bs-review-nav .form-search .keyword{
|
||||||
|
width:95%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#content{}
|
||||||
|
#content p{text-indent: 20px;}
|
||||||
.logo{float:right;margin-left:10px;margin-bottom:15px;text-align:center;}
|
.logo{float:right;margin-left:10px;margin-bottom:15px;text-align:center;}
|
||||||
.preface
|
.preface
|
||||||
{
|
{
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
margin-right: 150px;
|
margin-right: 150px;
|
||||||
margin-top:10px;
|
margin-top:10px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
border: 1px solid gray;
|
border: 1px solid gray;
|
||||||
|
@ -24,16 +57,16 @@ h3{font-size:130%;line-height: 30px;margin:0 0 5px 5px;font-weight:bold;}
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#contactUs,h2
|
#contactUs,h2
|
||||||
{
|
{
|
||||||
font-size: 150%;
|
font-size: 150%;
|
||||||
padding-left: 60px;
|
padding-left: 60px;
|
||||||
background: url(../images/right_03.gif) no-repeat bottom left;
|
background: url(../images/right_03.gif) no-repeat bottom left;
|
||||||
line-height: 35px;
|
line-height: 35px;
|
||||||
margin:0 0 20px 10px;
|
margin:0 0 20px 10px;
|
||||||
}
|
}
|
||||||
#contactUs{margin-left:180px;}
|
#contactUs{margin-left:180px;}
|
||||||
|
|
||||||
|
|
||||||
|
@ -42,47 +75,47 @@ h3{font-size:130%;line-height: 30px;margin:0 0 5px 5px;font-weight:bold;}
|
||||||
color:Navy;
|
color:Navy;
|
||||||
padding-bottom:5px;
|
padding-bottom:5px;
|
||||||
margin-bottom:0px;
|
margin-bottom:0px;
|
||||||
}
|
}
|
||||||
.title{
|
.title{
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding: 0px 10px 0px;
|
padding: 0px 10px 0px;
|
||||||
font-size: 105%;
|
font-size: 105%;
|
||||||
}
|
}
|
||||||
#online{
|
#online{
|
||||||
float:left;
|
float:left;
|
||||||
width:450px;
|
width:450px;
|
||||||
}
|
}
|
||||||
#offline{
|
#offline{
|
||||||
float:left;
|
float:left;
|
||||||
background:#eee;
|
background:#eee;
|
||||||
margin:10px;
|
margin:10px;
|
||||||
padding:5px;
|
padding:5px;
|
||||||
width:300px;
|
width:300px;
|
||||||
}
|
}
|
||||||
dd {float:left;padding-top:5px;margin-left:5px;}
|
dd {float:left;padding-top:5px;margin-left:5px;}
|
||||||
dt {clear:both;float:left;width:150px;padding-top:5px;}
|
dt {clear:both;float:left;width:150px;padding-top:5px;}
|
||||||
label {
|
label {
|
||||||
display: block;
|
display: block;
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
float:left;
|
float:left;
|
||||||
}
|
}
|
||||||
label.required { background:url(/images/req-asterisk.gif) right no-repeat; padding-right:26px; }
|
label.required { background:url(/images/req-asterisk.gif) right no-repeat; padding-right:26px; }
|
||||||
#message{
|
#message{
|
||||||
width:400px;padding-top:10px;
|
width:400px;padding-top:10px;
|
||||||
border:1px dotted;
|
border:1px dotted;
|
||||||
color:red;
|
color:red;
|
||||||
}
|
}
|
||||||
input,select,textarea,button {
|
input,select,textarea,button {
|
||||||
font:1em Tahoma;
|
font:1em Tahoma;
|
||||||
color:#444444;
|
color:#444444;
|
||||||
width:80%;
|
width:80%;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-color: #444;
|
border-color: #444;
|
||||||
}
|
}
|
||||||
|
|
||||||
#submitbutton{width:100px;}
|
#submitbutton{width:100px;}
|
||||||
ul{list-style-type: none;}
|
ul{list-style-type: none;}
|
||||||
#tabs-controller {overflow:hidden;padding:5px 0;margin:5px 0px;}
|
#tabs-controller {overflow:hidden;padding:5px 0;margin:5px 0px;}
|
||||||
#tabs-controller ul li{float:left;padding:3px 10px;border:1px solid #93bee2;border-radius:5px;margin:0 5px;list-style-type:none;}
|
#tabs-controller ul li{float:left;padding:3px 10px;border:1px solid #93bee2;border-radius:5px;margin:0 5px;list-style-type:none;}
|
||||||
#tabs-controller ul li:hover{background:#f1f8fe;}
|
#tabs-controller ul li:hover{background:#f1f8fe;}
|
||||||
|
|
Loading…
Reference in New Issue