change the ui
This commit is contained in:
parent
7e4f79cd47
commit
be471ec795
|
@ -546,15 +546,15 @@ class DataController extends Zend_Controller_Action
|
||||||
if ($rs) $this->view->projection=$rs->proj4text;
|
if ($rs) $this->view->projection=$rs->proj4text;
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = "select * from keyword where id=? order by keytype,ts_created";
|
$sql = "select * from en.keyword where id=? order by keytype,ts_created";
|
||||||
$sth = $this->db->prepare($sql);
|
$sth = $this->db->prepare($sql);
|
||||||
$rs = $sth->execute(array($id));
|
$rs = $sth->execute(array($id));
|
||||||
$this->view->keys = $sth->fetchAll(PDO::FETCH_BOTH);
|
$this->view->keys = $sth->fetchAll(PDO::FETCH_BOTH);
|
||||||
|
|
||||||
$sql='select c.code,cc.name,cc.name_zh from category c,categorycode cc where c.code=cc.code and c.id= ?';
|
$sql='select c.code,cc.name,cc.name_zh from en.category c,en.categorycode cc where c.code=cc.code and c.id= ?';
|
||||||
$state=$this->db->query($sql,array($id));
|
$state=$this->db->query($sql,array($id));
|
||||||
$this->view->category=$state->fetchAll();
|
$this->view->category=$state->fetchAll();
|
||||||
$sql='select s.name,s.id from dataseries d, series s where d.sid=s.id and d.id= ?';
|
$sql='select s.name,s.id from en.dataseries d, en.series s where d.sid=s.id and d.id= ?';
|
||||||
$state=$this->db->query($sql,array($id));
|
$state=$this->db->query($sql,array($id));
|
||||||
$this->view->series=$state->fetchAll();
|
$this->view->series=$state->fetchAll();
|
||||||
$sql=$this->db->quoteInto("select count(*) as count from dataorder where uuid=?",$uuid);
|
$sql=$this->db->quoteInto("select count(*) as count from dataorder where uuid=?",$uuid);
|
||||||
|
@ -566,71 +566,48 @@ class DataController extends Zend_Controller_Action
|
||||||
$sql=$this->db->quoteInto("select viewed from mdstat where uuid=?",$uuid);
|
$sql=$this->db->quoteInto("select viewed from mdstat where uuid=?",$uuid);
|
||||||
$row=$this->db->fetchRow($sql);
|
$row=$this->db->fetchRow($sql);
|
||||||
$this->view->viewed=$row->viewed;
|
$this->view->viewed=$row->viewed;
|
||||||
//数据文档
|
|
||||||
$sql="select linkage from onlineresource where uuid=? and description='数据说明文档'";
|
|
||||||
$sql=$this->db->quoteInto($sql,$uuid);
|
|
||||||
$row=$this->db->fetchRow($sql);
|
|
||||||
if ($row) $this->view->doc=$row->linkage;
|
|
||||||
//相关资源
|
//相关资源
|
||||||
$sql="select * from onlineresource where uuid=? and (linkage not like '%ftp.westgis%') and name<>'元数据地址'";
|
$sql="select * from en.onlineresource where uuid=? and (linkage not like '%ftp.westgis%') and name<>'元数据地址'";
|
||||||
$sql=$this->db->quoteInto($sql,$uuid);
|
$sql=$this->db->quoteInto($sql,$uuid);
|
||||||
$this->view->resources=$this->db->fetchAll($sql);
|
$this->view->resources=$this->db->fetchAll($sql);
|
||||||
//相关文献:作者建议
|
//相关文献:作者建议
|
||||||
$sql="select r.* from reference r left join mdref m on m.refid=r.id where m.uuid=? and m.reftype=0 order by m.place";
|
$sql="select r.* from reference r left join mdref m on m.refid=r.id where m.uuid=? and m.reftype=0 and r.language<>'zh' order by m.place";
|
||||||
$sql=$this->db->quoteInto($sql,$uuid);
|
$sql=$this->db->quoteInto($sql,$uuid);
|
||||||
$this->view->ref=$this->db->fetchAll($sql);
|
$this->view->ref=$this->db->fetchAll($sql);
|
||||||
//数据的参考文献
|
//数据的参考文献
|
||||||
$sql="select r.* from reference r left join mdref m on m.refid=r.id where m.uuid=? and m.reftype=2 order by m.place";
|
$sql="select r.* from reference r left join mdref m on m.refid=r.id where m.uuid=? and m.reftype=2 and r.language<>'zh' order by m.place";
|
||||||
$sql=$this->db->quoteInto($sql,$uuid);
|
$sql=$this->db->quoteInto($sql,$uuid);
|
||||||
$this->view->dataref=$this->db->fetchAll($sql);
|
$this->view->dataref=$this->db->fetchAll($sql);
|
||||||
//数据的专题文献
|
//数据的专题文献
|
||||||
$sql="select r.* from reference r left join mdref m on m.refid=r.id where m.uuid=? and m.reftype=4 order by m.place";
|
$sql="select r.* from reference r left join mdref m on m.refid=r.id where m.uuid=? and m.reftype=4 and r.language<>'zh' order by m.place";
|
||||||
$sql=$this->db->quoteInto($sql,$uuid);
|
$sql=$this->db->quoteInto($sql,$uuid);
|
||||||
$this->view->themeref=$this->db->fetchAll($sql);
|
$this->view->themeref=$this->db->fetchAll($sql);
|
||||||
//用户发表文献
|
//用户发表文献
|
||||||
$sql="select r.* from reference r left join mdref m on m.refid=r.id where m.uuid=? and m.reftype=1";
|
$sql="select r.* from reference r left join mdref m on m.refid=r.id where m.uuid=? and m.reftype=1 and r.language<>'zh'";
|
||||||
$sql=$this->db->quoteInto($sql,$uuid);
|
$sql=$this->db->quoteInto($sql,$uuid);
|
||||||
$this->view->userref=$this->db->fetchAll($sql);
|
$this->view->userref=$this->db->fetchAll($sql);
|
||||||
//多篇引用形式:hiwater
|
//多篇引用形式:hiwater
|
||||||
$sql="select r.* from reference r left join mdref m on m.refid=r.id where m.uuid=? and m.reftype=3 order by m.place";
|
$sql="select r.* from reference r left join mdref m on m.refid=r.id where m.uuid=? and m.reftype=3 and r.language<>'zh' order by m.place";
|
||||||
$sql=$this->db->quoteInto($sql,$uuid);
|
$sql=$this->db->quoteInto($sql,$uuid);
|
||||||
$this->view->mcitation=$this->db->fetchAll($sql);
|
$this->view->mcitation=$this->db->fetchAll($sql);
|
||||||
//相关用户
|
//相关用户
|
||||||
$sql="select p.email,p.individual,p.organisation,r.role from role r left join responsible p on r.resid=p.id where r.uuid=? order by r.role,r.id";
|
$sql="select p.email,p.individual,p.organisation,r.role from en.role r left join en.responsible p on r.resid=p.id where r.uuid=? order by r.role,r.id";
|
||||||
$this->view->authors=$this->db->fetchAll($sql,array($uuid));
|
$this->view->authors=$this->db->fetchAll($sql,array($uuid));
|
||||||
//数据限制信息
|
//数据限制信息
|
||||||
$sql="select u.* from uselimit u left join mdlimit m on u.id=m.lid where m.uuid=?";
|
$sql="select u.* from en.uselimit u left join en.mdlimit m on u.id=m.lid where m.uuid=?";
|
||||||
$this->view->uselimits=$this->db->fetchAll($sql,array($uuid));
|
$this->view->uselimits=$this->db->fetchAll($sql,array($uuid));
|
||||||
//相关下载
|
//相关下载
|
||||||
$sql = "select d.uuid,count(distinct(d.userid)) as downtimes,m.title from dataorder d left join metadata m on d.uuid=m.uuid where d.userid in (
|
$sql = "select d.uuid,count(distinct(d.userid)) as downtimes,m.title from dataorder d left join en.metadata m on d.uuid=m.uuid where d.userid in (
|
||||||
select distinct(userid) from dataorder where uuid=? and status in (0,5)
|
select distinct(userid) from dataorder where uuid=? and status in (0,5)
|
||||||
) and d.uuid<>? and length(m.title)>2 group by d.uuid,m.title order by count(distinct(d.userid)) desc limit 10;";
|
) and d.uuid<>? and length(m.title)>2 group by d.uuid,m.title order by count(distinct(d.userid)) desc limit 10;";
|
||||||
$this->view->downlists = $this->db->fetchAll($sql,array($uuid,$uuid));
|
$this->view->downlists = $this->db->fetchAll($sql,array($uuid,$uuid));
|
||||||
//相关文献
|
|
||||||
$sql="select a.*,array_to_string(array(select author from knl_author t where t.item_id=a.item_id order by place asc),'; ') as author from knl_article a where (";
|
|
||||||
foreach($this->view->keys as $k)
|
|
||||||
{
|
|
||||||
if ($k['keytype']=='theme')
|
|
||||||
{
|
|
||||||
$sql.=" a.title like '%".$k['keyword']."%' or ";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$sql.=" 1<>1) order by a.ts_created desc limit 10";
|
|
||||||
$this->view->literature=$this->db->fetchAll($sql);
|
|
||||||
//相关元数据,根据同名关键词实现
|
|
||||||
$sql="select distinct(md.uuid),md.title from keyword kw left join heihemetadata md on kw.id=md.id where kw.keyword in (select k.keyword from keyword k left join metadata m on k.id=m.id where m.id=? and k.keytype='theme') and kw.id<>? limit 10";
|
|
||||||
$this->view->related=$this->db->fetchAll($sql,array($id,$id));
|
|
||||||
//用户下载记录
|
|
||||||
$sql = "select o.ts_created,m.uuid,u.realname,u.unit,oa.project as onlineproject, fa.project as offlineproject
|
|
||||||
from dataorder as o left join metadata as m on o.uuid = m.uuid left join users as u on o.userid=u.id
|
|
||||||
left join onlineapp oa on o.onlineappid=oa.id left join offlineapp fa on o.offlineappid=fa.id
|
|
||||||
where m.uuid = '$uuid' and (o.status=0 or o.status=5) and u.realname IS NOT NULL order by o.ts_created desc limit 10";
|
|
||||||
$this->view->downhistory=$this->db->fetchAll($sql);
|
|
||||||
//数据附件
|
//数据附件
|
||||||
$sql = $this->db->quoteInto("select m.id,a.realname from mdattach m left join attachments a on m.id=a.id where m.uuid=?",$uuid);
|
$sql = $this->db->quoteInto("select m.id,a.realname from en.mdattach m left join en.attachments a on m.id=a.id where m.uuid=?",$uuid);
|
||||||
$this->view->attachments = $this->db->fetchAll($sql);
|
$this->view->attachments = $this->db->fetchAll($sql);
|
||||||
//数据版本
|
//数据版本
|
||||||
$sql = "SELECT count(id) as c FROM mdversion WHERE uuid=? AND changelog IS NOT NULL";
|
$sql = "SELECT count(id) as c FROM en.mdversion WHERE uuid=? AND changelog IS NOT NULL";
|
||||||
$sth = $this->db->prepare($sql);
|
$sth = $this->db->prepare($sql);
|
||||||
$sth->execute(array($uuid));
|
$sth->execute(array($uuid));
|
||||||
$row = $sth->fetch();
|
$row = $sth->fetch();
|
||||||
|
|
|
@ -1262,7 +1262,7 @@ class ServiceController extends Zend_Controller_Action
|
||||||
$pre='';
|
$pre='';
|
||||||
$next='';
|
$next='';
|
||||||
|
|
||||||
$sql = "select d.uuid,count(distinct(d.userid)) as downtimes,m.title from dataorder d left join metadata m on d.uuid=m.uuid where d.userid in (
|
$sql = "select d.uuid,count(distinct(d.userid)) as downtimes,m.title from dataorder d left join en.metadata m on d.uuid=m.uuid where d.userid in (
|
||||||
select distinct(userid) from dataorder where uuid=? and status in (0,5)
|
select distinct(userid) from dataorder where uuid=? and status in (0,5)
|
||||||
) and d.uuid<>? and length(m.title)>2 group by d.uuid,m.title order by count(distinct(d.userid)) desc";
|
) and d.uuid<>? and length(m.title)>2 group by d.uuid,m.title order by count(distinct(d.userid)) desc";
|
||||||
|
|
||||||
|
@ -1307,7 +1307,7 @@ class ServiceController extends Zend_Controller_Action
|
||||||
<img src="/service/thumb/uuid/'.$c['uuid'].'" alt="'.$c['title'].'" title="'.$c['title'].'"
|
<img src="/service/thumb/uuid/'.$c['uuid'].'" alt="'.$c['title'].'" title="'.$c['title'].'"
|
||||||
class="pull-left img-polaroid img-rounded" style="height:80px;"/>
|
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>
|
<h4><a target="_blank" href="/data/'.$c['uuid'].'"><span class="title">'.$c['title'].'</span></a></h4>
|
||||||
<h5>推荐指数:'.$c['downtimes'].'</h5>
|
<h5>Recommendation Index: '.$c['downtimes'].'</h5>
|
||||||
</li>';
|
</li>';
|
||||||
}
|
}
|
||||||
echo '</ul>';
|
echo '</ul>';
|
||||||
|
@ -1326,16 +1326,16 @@ class ServiceController extends Zend_Controller_Action
|
||||||
$this->_helper->viewRenderer->setNoRender();
|
$this->_helper->viewRenderer->setNoRender();
|
||||||
$uuid = $this->_request->getParam('uuid');
|
$uuid = $this->_request->getParam('uuid');
|
||||||
|
|
||||||
$sql="select m.id from normalmetadata m left join mdstatus s on m.uuid=s.uuid
|
$sql="select m.id from en.normalmetadata m left join en.mdstatus s on m.uuid=s.uuid
|
||||||
left join thumbnail t on t.id=m.id left join geonetworkmetadata g on m.uuid=g.uuid where ";
|
left join thumbnail t on t.id=m.id left join geonetworkmetadata g on m.uuid=g.uuid where ";
|
||||||
$where=$this->db->quoteInto('m.uuid = ?',$uuid);
|
$where=$this->db->quoteInto('m.uuid = ?',$uuid);
|
||||||
$sql.=$where;
|
$sql.=$where;
|
||||||
$row=$this->db->fetchRow($sql);
|
$row=$this->db->fetchRow($sql);
|
||||||
if (!$row) exit("读取信息错误");
|
if (!$row) exit("Error");
|
||||||
$id=$row['id'];
|
$id=$row['id'];
|
||||||
|
|
||||||
//相关元数据,根据同名关键词实现
|
//相关元数据,根据同名关键词实现
|
||||||
$sql="select distinct(md.uuid),md.title from keyword kw left join normalmetadata md on kw.id=md.id where length(md.title)>2 and kw.keyword in (select k.keyword from keyword k left join metadata m on k.id=m.id where m.id=? and k.keytype='theme') and kw.id<>?";
|
$sql="select distinct(md.uuid),md.title from en.keyword kw left join en.normalmetadata md on kw.id=md.id where length(md.title)>2 and kw.keyword in (select k.keyword from en.keyword k left join en.metadata m on k.id=m.id where m.id=? and k.keytype='theme') and kw.id<>?";
|
||||||
$rows=$this->db->fetchAll($sql,array($id,$id));
|
$rows=$this->db->fetchAll($sql,array($id,$id));
|
||||||
|
|
||||||
$paginator = Zend_Paginator::factory($rows);
|
$paginator = Zend_Paginator::factory($rows);
|
||||||
|
|
|
@ -3,14 +3,14 @@
|
||||||
$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->breadcrumb('<a href="/">首页</a>');
|
$this->breadcrumb('<a href="/">Home</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/">WATER</a>');
|
||||||
$this->breadcrumb('查看试验元数据');
|
$this->breadcrumb('View');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
$this->theme->AppendPlus($this,'google_map_v3');
|
$this->theme->AppendPlus($this,'google_map_v3');
|
||||||
$this->theme->AppendPlus($this,'colorbox');
|
$this->theme->AppendPlus($this,'colorbox');
|
||||||
$this->nav[] = array('link'=>"/water",'title'=>'黑河综合遥感联合试验');
|
$this->nav[] = array('link'=>"/water",'title'=>'WATER');
|
||||||
if(!empty($this->dataService)) {
|
if(!empty($this->dataService)) {
|
||||||
$this->theme->AppendModel($this,"dataservice");
|
$this->theme->AppendModel($this,"dataservice");
|
||||||
}
|
}
|
||||||
|
@ -38,29 +38,27 @@ h3.gs_rt{font-size:110%;}
|
||||||
<div>
|
<div>
|
||||||
<?php if ($md->citation) : ?>
|
<?php if ($md->citation) : ?>
|
||||||
<hr />
|
<hr />
|
||||||
<h4><i class="icon-quote-left muted"></i>本数据引用方式<a class="btn btn-danger pull-right" href="/archives/help/platform/archive-23.html" ><i class="icon-comment"></i>数据引用帮助</a></h4>
|
<h4><i class="icon-quote-left muted"></i>Citation<a class="btn btn-danger pull-right" href="/archives/help/platform/archive-23.html" ><i class="icon-comment"></i>Help</a></h4>
|
||||||
<p><?php if (empty($md->datadoi) || !strpos($md->citation,$md->datadoi)) : ?><span class="label label-info">文章的引用</span>
|
|
||||||
<?php endif; echo $this->escape($md->citation);?></p>
|
|
||||||
<?php if (!empty($md->datadoi) && !strpos($md->citation,$md->datadoi)) : ?>
|
<?php if (!empty($md->datadoi) && !strpos($md->citation,$md->datadoi)) : ?>
|
||||||
<p><span class="label label-info">数据的引用</span>
|
<p><span class="label label-info">Data Citation</span>
|
||||||
<?php
|
<?php
|
||||||
echo substr($md->authors,1,-1).'. '.$md->title.'. '.$md->publisher.', '.$md->publish_year.'. doi:'.$md->doi;
|
echo $this->escape($md->citation);
|
||||||
echo ' ['.substr($md->author_en,1,-1).'. '.$md->title_en.'. '.$md->publisher_en.', '.(empty($md->ts_published)?$md->publish_year:date('Y',strtotime($md->ts_published))).'. doi:'.$md->doi.']';
|
?> </p>
|
||||||
?> (下载引用:<a href="/service/ris/lang/cn/uuid/<?php echo $md->uuid; ?>">RIS格式</a> | <a href="/service/ris/lang/en/uuid/<?php echo $md->uuid; ?>">RIS英文格式</a> | <a href="/service/bibtex/lang/cn/uuid/<?php echo $md->uuid; ?>">Bibtex格式</a> | <a href="/service/bibtex/lang/en/uuid/<?php echo $md->uuid; ?>">Bibtex英文格式</a>)</p>
|
|
||||||
<?php endif;
|
<?php endif;
|
||||||
endif; if ($this->ref) : ?>
|
endif; if ($this->ref) : ?>
|
||||||
<hr />
|
<hr />
|
||||||
<h4><i class="icon-eye-open text-success"></i>相关文献(作者推荐)</h4>
|
<h4><i class="icon-eye-open text-success"></i>Related publications (Recommended by Author)</h4>
|
||||||
<ol>
|
<ol>
|
||||||
<?php foreach($this->ref as $ref) :
|
<?php foreach($this->ref as $ref) :
|
||||||
echo '<li>'.$ref->reference;
|
echo '<li>'.$ref->reference;
|
||||||
echo '<a href="/knowledge/paper/id/'.$ref->id.'"><i class="icon-info-sign text-success"></i>查看</a>';
|
echo '<a href="/knowledge/paper/id/'.$ref->id.'"><i class="icon-info-sign text-success"></i>Detail</a>';
|
||||||
if (empty($ref->link))
|
if (empty($ref->link))
|
||||||
{
|
{
|
||||||
if(!empty($ref->attid))
|
if(!empty($ref->attid))
|
||||||
echo '<a href="/service/attach/id/'.$ref->attid.'"><i class="icon-download text-success"></i>下载</a>';
|
echo '<a href="/service/attach/id/'.$ref->attid.'"><i class="icon-download text-success"></i>Download</a>';
|
||||||
}else{
|
}else{
|
||||||
echo '<a href="'.$ref->link.'"><i class="icon-download text-success"></i>下载</a>';
|
echo '<a href="'.$ref->link.'"><i class="icon-download text-success"></i>Download</a>';
|
||||||
}
|
}
|
||||||
echo "</li>";
|
echo "</li>";
|
||||||
endforeach;
|
endforeach;
|
||||||
|
@ -69,17 +67,17 @@ h3.gs_rt{font-size:110%;}
|
||||||
<?php endif; if ($this->themeref) :?>
|
<?php endif; if ($this->themeref) :?>
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
<h4><i class="icon-eye-open text-success"></i>专题文献</h4>
|
<h4><i class="icon-eye-open text-success"></i>Special Publications</h4>
|
||||||
<ol>
|
<ol>
|
||||||
<?php foreach($this->themeref as $ref) :
|
<?php foreach($this->themeref as $ref) :
|
||||||
echo '<li>'.$ref->reference;
|
echo '<li>'.$ref->reference;
|
||||||
echo '<a href="/knowledge/paper/id/'.$ref->id.'"><i class="icon-info-sign text-success"></i>查看</a>';
|
echo '<a href="/knowledge/paper/id/'.$ref->id.'"><i class="icon-info-sign text-success"></i>Detail</a>';
|
||||||
if (empty($ref->link))
|
if (empty($ref->link))
|
||||||
{
|
{
|
||||||
if(!empty($ref->attid))
|
if(!empty($ref->attid))
|
||||||
echo ' | <a href="/service/attach/id/'.$ref->attid.'"><i class="icon-download text-success"></i>下载</a>';
|
echo ' | <a href="/service/attach/id/'.$ref->attid.'"><i class="icon-download text-success"></i>Download</a>';
|
||||||
}else{
|
}else{
|
||||||
echo ' | <a href="'.$ref->link.'"><i class="icon-download text-success"></i>下载</a>';
|
echo ' | <a href="'.$ref->link.'"><i class="icon-download text-success"></i>Download</a>';
|
||||||
}
|
}
|
||||||
echo "</li>";
|
echo "</li>";
|
||||||
endforeach;
|
endforeach;
|
||||||
|
@ -87,17 +85,17 @@ h3.gs_rt{font-size:110%;}
|
||||||
</ol>
|
</ol>
|
||||||
<?php endif; if ($this->userref) : ?>
|
<?php endif; if ($this->userref) : ?>
|
||||||
<hr />
|
<hr />
|
||||||
<h4><i class="icon-eye-open text-success"></i>数据施引文献</h4>
|
<h4><i class="icon-eye-open text-success"></i>Cited By</h4>
|
||||||
<ol>
|
<ol>
|
||||||
<?php foreach($this->userref as $ref) :
|
<?php foreach($this->userref as $ref) :
|
||||||
echo '<li>'.$ref->reference;
|
echo '<li>'.$ref->reference;
|
||||||
echo '<a href="/knowledge/paper/id/'.$ref->id.'"><i class="icon-info-sign text-success"></i>查看</a>';
|
echo '<a href="/knowledge/paper/id/'.$ref->id.'"><i class="icon-info-sign text-success"></i>Detail</a>';
|
||||||
if (empty($ref->link))
|
if (empty($ref->link))
|
||||||
{
|
{
|
||||||
if(!empty($ref->attid))
|
if(!empty($ref->attid))
|
||||||
echo '<a href="/service/attach/id/'.$ref->attid.'"><i class="icon-download text-success"></i>下载</a>';
|
echo '<a href="/service/attach/id/'.$ref->attid.'"><i class="icon-download text-success"></i>Download</a>';
|
||||||
}else{
|
}else{
|
||||||
echo '<a href="'.$ref->link.'"><i class="icon-download text-success"></i>下载</a>';
|
echo '<a href="'.$ref->link.'"><i class="icon-download text-success"></i>Download</a>';
|
||||||
}
|
}
|
||||||
echo "</li>";
|
echo "</li>";
|
||||||
endforeach;
|
endforeach;
|
||||||
|
@ -105,21 +103,16 @@ h3.gs_rt{font-size:110%;}
|
||||||
</ol>
|
</ol>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<hr />
|
<hr />
|
||||||
<h4><i class="icon-legal text-warning"></i>数据使用声明</h4>
|
<h4><i class="icon-legal text-warning"></i>Limitations</h4>
|
||||||
<?php
|
<?php
|
||||||
if ($this->uselimits) :
|
if ($this->uselimits) :
|
||||||
foreach($this->uselimits as $uselimit) :
|
foreach($this->uselimits as $uselimit) :
|
||||||
echo '<p>'.str_replace(array("\r\n", "\n", "\r"),'</p><p>',$this->escape($uselimit->uselimit)).'</p>';
|
echo '<p>'.str_replace(array("\r\n", "\n", "\r"),'</p><p>',$this->escape($uselimit->uselimit)).'</p>';
|
||||||
endforeach;
|
endforeach;
|
||||||
?>
|
?>
|
||||||
<?php else : ?>
|
|
||||||
<p>为尊重知识产权、保障数据作者的权益、扩展数据中心的服务、评估数据的应用潜力,请数据使用者在使用数据所产生的研究成果中(包括公开发表的论文、论著、数据产品和未公开发表的研究报告、数据产品等成果),明确注明数据来源和数据作者。对于转载(二次或多次发布)的数据,作者还须注明原始数据来源。</p>
|
|
||||||
<p>中文发表的成果参考以下规范注明: 数据来源于黑河计划数据管理中心、寒区旱区科学数据中心(http://westdc.westgis.ac.cn)</p>
|
|
||||||
<p>英文发表的成果依据以下规范注明: The data set is provided by Cold and Arid Regions Sciences Data Center at Lanzhou (http://westdc.westgis.ac.cn)</p>
|
|
||||||
</p>
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if($this->data_archives){ ?>
|
<?php if($this->data_archives){ ?>
|
||||||
<h4>数据相关新闻</h4>
|
<h4>Dataset News</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
foreach($this->data_archives as $v){?>
|
foreach($this->data_archives as $v){?>
|
||||||
|
@ -129,11 +122,11 @@ h3.gs_rt{font-size:110%;}
|
||||||
<hr />
|
<hr />
|
||||||
<?php }?>
|
<?php }?>
|
||||||
<?php if ($md->suppinfo || $this->fund) : ?>
|
<?php if ($md->suppinfo || $this->fund) : ?>
|
||||||
<h4><i class="icon-money text-info"></i>资助项目</h4>
|
<h4><i class="icon-money text-info"></i>Fund</h4>
|
||||||
<?php if(!empty($this->fund)) : ?>
|
<?php if(!empty($this->fund)) : ?>
|
||||||
<ul>
|
<ul>
|
||||||
<?php foreach($this->fund as $k=>$v) : ?>
|
<?php foreach($this->fund as $k=>$v) : ?>
|
||||||
<li><?= $v['fund_type'] ?>:<?= $v['title'] ?>(项目编号:<?= $v['fund_id']?>) [<?= $v['fund_type_en'] ?>(No. <?= $v['fund_id']?>)]</li>
|
<li><?= $v['fund_type_en'] ?>(No. <?= $v['fund_id']?>)</li>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</ul>
|
</ul>
|
||||||
<?php elseif(!empty($md->suppinfo)) : ?>
|
<?php elseif(!empty($md->suppinfo)) : ?>
|
||||||
|
@ -142,7 +135,7 @@ h3.gs_rt{font-size:110%;}
|
||||||
<hr />
|
<hr />
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if ($this->resources) : ?>
|
<?php if ($this->resources) : ?>
|
||||||
<h4><i class="icon-bolt text-warning"></i>相关资源</h4>
|
<h4><i class="icon-bolt text-warning"></i>Online Resources</h4>
|
||||||
<ul class="unstyled inline"><?php foreach($this->resources as $link) : ?>
|
<ul class="unstyled inline"><?php foreach($this->resources as $link) : ?>
|
||||||
<li><a class="label" href="<?php echo $link->linkage; ?>" title="<?php echo $link->description; ?>">
|
<li><a class="label" href="<?php echo $link->linkage; ?>" title="<?php echo $link->description; ?>">
|
||||||
<?php
|
<?php
|
||||||
|
@ -169,11 +162,10 @@ h3.gs_rt{font-size:110%;}
|
||||||
?>
|
?>
|
||||||
<div class="tabbable"> <!-- Only required for left/right tabs -->
|
<div class="tabbable"> <!-- Only required for left/right tabs -->
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<li class="active"><a href="#related" data-toggle="tab" id="related_t">相关数据</a></li>
|
<li class="active"><a href="#related" data-toggle="tab" id="related_t">Related Dataset</a></li>
|
||||||
<li><a href="#literature" data-toggle="tab" id="literature_t">相关文献</a></li>
|
<li><a href="#literature" data-toggle="tab" id="literature_t">Related Literatures</a></li>
|
||||||
<li><a href="#gsearch" data-toggle="tab" id="gsearch_t">相关搜索</a></li>
|
<li><a href="#gsearch" data-toggle="tab" id="gsearch_t">Searching</a></li>
|
||||||
<li><a href="#service" data-toggle="tab">服务记录</a></li>
|
<li><a href="#recommend" data-toggle="tab" id="recommend_t">Recommendation</a></li>
|
||||||
<li><a href="#recommend" data-toggle="tab" id="recommend_t">给我推荐</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
<div id="related" class="tab-pane active">
|
<div id="related" class="tab-pane active">
|
||||||
|
@ -181,9 +173,8 @@ h3.gs_rt{font-size:110%;}
|
||||||
<div id="literature" class="tab-pane">
|
<div id="literature" class="tab-pane">
|
||||||
<div class="">
|
<div class="">
|
||||||
<ul class="nav nav-pills lit-nav">
|
<ul class="nav nav-pills lit-nav">
|
||||||
<li><a href="javascript:;" class="literatures lit-nav-btn">西部计划知识库</a></li>
|
<li><a href="javascript:;" class="scholar lit-nav-btn">Google Scholar</a></li>
|
||||||
<li><a href="javascript:;" class="scholar lit-nav-btn">Google学术搜索</a></li>
|
<li><a href="javascript:;" class="cnkiSearch lit-nav-btn">CNKI</a></li>
|
||||||
<li><a href="javascript:;" class="cnkiSearch lit-nav-btn">CNKI学术搜索</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="literature-list">
|
<div id="literature-list">
|
||||||
|
@ -192,38 +183,20 @@ h3.gs_rt{font-size:110%;}
|
||||||
<div id="gsearch" class="tab-pane">
|
<div id="gsearch" class="tab-pane">
|
||||||
<ul id="searchlist" class="unstyled well well-small"></ul>
|
<ul id="searchlist" class="unstyled well well-small"></ul>
|
||||||
</div>
|
</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 id="recommend" class="tab-pane">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!--
|
||||||
<hr />
|
<hr />
|
||||||
<div id="comments">
|
<div id="comments">
|
||||||
<?php if ($md->status>0 and $md->status<5) : ?>
|
<?php if ($md->status>0 and $md->status<5) : ?>
|
||||||
<p class="strong">此数据还在评审过程中,我们真切地邀请您参加此数据的评审,以便我们能尽快发布此数据!<a class="btn btn-primary" href="/review/review/uuid/<?php echo $md->uuid; ?>">评审</a></p>
|
<p class="strong">This data is not published yet. You are invited to review this dataset, to make the data released as soon as possible.<a class="btn btn-primary" href="/review/review/uuid/<?php echo $md->uuid; ?>">评审</a></p>
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<h4>数据评论</h4>
|
<h4>Comment</h4>
|
||||||
<div id="allcomments">
|
<div id="allcomments">
|
||||||
<div id="loading"><img src="/images/loading.gif" />评论加载中</div>
|
<div id="loading"><img src="/images/loading.gif" />Loading</div>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
$auth = Zend_Auth::getInstance();
|
$auth = Zend_Auth::getInstance();
|
||||||
|
@ -240,7 +213,7 @@ h3.gs_rt{font-size:110%;}
|
||||||
?>
|
?>
|
||||||
<form class="form-horizontal" id="postcommentform">
|
<form class="form-horizontal" id="postcommentform">
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label">姓名</label>
|
<label class="control-label">Name</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<input type="text" name="author" value="<?php echo $name;?>" />
|
<input type="text" name="author" value="<?php echo $name;?>" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -258,13 +231,13 @@ h3.gs_rt{font-size:110%;}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label">内容</label>
|
<label class="control-label">Content</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<textarea name="content" class="span5"></textarea>
|
<textarea name="content" class="span5"></textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label">验证码</label>
|
<label class="control-label">Captcha</label>
|
||||||
<div class="controls">
|
<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="" />
|
<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>
|
||||||
|
@ -273,24 +246,24 @@ h3.gs_rt{font-size:110%;}
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<input type="hidden" name="mdtitle" value="<?php echo $md->title;?>" />
|
<input type="hidden" name="mdtitle" value="<?php echo $md->title;?>" />
|
||||||
<input type="hidden" name="uuid" value="<?php echo $md->uuid;?>" />
|
<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>
|
<a class="btn btn-primary" id="postcomment" href="javascript:;" onclick="postcomment();">Submit</a><button type="reset" id="reset" class="btn">Reset</button><span id="returninfo"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<div id="infobox"></div>
|
<div id="infobox"></div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
<ul class="well well-small inline unstyled">
|
<ul class="well well-small inline unstyled">
|
||||||
<li><a href="/data/category"><i class="icon-th text-warning"></i>类别:</a></li>
|
<li><a href="/data/category"><i class="icon-th text-warning"></i>Category: </a></li>
|
||||||
<?php foreach($this->category as $cat): ?>
|
<?php foreach($this->category as $cat): ?>
|
||||||
<li><a href="/data/category/code/<?php echo $cat->code;?>"><i class="icon-th-large"></i><?php echo $this->escape($cat->name_zh);?></a></li>
|
<li><a href="/data/category/code/<?php echo $cat->code;?>"><i class="icon-th-large"></i><?php echo $this->escape($cat->name);?></a></li>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</ul>
|
</ul>
|
||||||
<?php
|
<?php
|
||||||
$kw=array('discipline'=>'学科','place'=>'地点','theme'=>'主题','temporal'=>'时间词','stratum'=>'地层');
|
$kw=array('discipline'=>'Discipline','place'=>'Place','theme'=>'Theme','temporal'=>'Temporal','stratum'=>'Stratum');
|
||||||
$kt='';
|
$kt='';
|
||||||
$i=0;
|
$i=0;
|
||||||
foreach($this->keys as $cg) :
|
foreach($this->keys as $cg) :
|
||||||
|
@ -311,20 +284,20 @@ foreach($this->keys as $cg) :
|
||||||
endforeach;
|
endforeach;
|
||||||
?></ul>
|
?></ul>
|
||||||
<?php if ($md->doi) : ?>
|
<?php if ($md->doi) : ?>
|
||||||
<ul class="well well-small inline unstyled"><li><span class="label label-success">数据DOI</span> <?php echo $md->doi; ?></li></ul>
|
<ul class="well well-small inline unstyled"><li><span class="label label-success">DOI</span> <?php echo $md->doi; ?></li></ul>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<div>
|
<div>
|
||||||
<hr />
|
<hr />
|
||||||
<h4>数据细节<a class="btn pull-right" href="javascript:void(0);" id="show-list" title="" rel="<?= $md->uuid;?>"><i class="icon-file"></i>文件列表</a></h4>
|
<h4>Information<a class="btn pull-right" href="javascript:void(0);" id="show-list" title="" rel="<?= $md->uuid;?>"><i class="icon-file"></i>File list</a></h4>
|
||||||
<ul class="inline unstyled well">
|
<ul class="inline unstyled well">
|
||||||
<?php if ($md->fileformat) : ?>
|
<?php if ($md->fileformat) : ?>
|
||||||
<li><strong>格式:</strong><?php echo $md->fileformat; ?></li>
|
<li><strong>File Format: </strong><?php echo $md->fileformat; ?></li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<li><strong>大小:</strong><?php echo $md->filesize; ?>MB</li>
|
<li><strong>Size: </strong><?php echo $md->filesize; ?>MB</li>
|
||||||
<?php if ($this->downloaded>9) :?>
|
<?php if ($this->downloaded>9) :?>
|
||||||
<li><strong>下载:</strong><?php echo $this->downloaded; ?>次</li>
|
<li><strong>Downloaded: </strong><?php echo $this->downloaded; ?></li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<li><strong>浏览:</strong><?php echo $this->viewed; ?>次</li>
|
<li><strong>Viewed: </strong><?php echo $this->viewed; ?></li>
|
||||||
<!--
|
<!--
|
||||||
<?php if ($md->projection) : ?>
|
<?php if ($md->projection) : ?>
|
||||||
<li id="projection" title="<?= $this->projection; ?>">数据投影:
|
<li id="projection" title="<?= $this->projection; ?>">数据投影:
|
||||||
|
@ -342,57 +315,48 @@ endforeach;
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
-->
|
-->
|
||||||
<?php if (!empty($md->timebegin)) : ?>
|
<?php if (!empty($md->timebegin)) : ?>
|
||||||
<li id="datatimes"><strong>数据时间范围:</strong><?php echo date('Y-m-d',strtotime($md->timebegin));if (!empty($md->timeend)) echo " 至 ".date('Y-m-d',strtotime($md->timeend)); ?></li>
|
<li id="datatimes"><strong>Temporal Range: </strong><?php echo date('Y-m-d',strtotime($md->timebegin));if (!empty($md->timeend)) echo " to ".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 endif; ?>
|
||||||
<?php if ($this->attachments) : ?>
|
<?php if ($this->attachments) : ?>
|
||||||
<li id="attach"><span>相关文档:</span>
|
<li id="attach"><span>Documents: </span>
|
||||||
<?php foreach ($this->attachments as $k=>$a) : ?>
|
<?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>
|
<a href="/service/attach/id/<?php echo $a->id; ?>" title="<?php echo $a->realname; ?>"><img src="/images/document.png"></a>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<a href="/service/attach/zip/<?php echo $md->uuid; ?>"><img src="/images/zip_icon.gif" title="打包下载"/></a>
|
<a href="/service/attach/zip/<?php echo $md->uuid; ?>"><img src="/images/zip_icon.gif" title="打包下载"/></a>
|
||||||
</li>
|
</li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<li id="datatype"><strong>数据共享方式:</strong><?php if ($md->datatype) print "离线"; else print "在线(可直接下载)";?> </li>
|
<li id="datatype"><strong>Sharing: </strong><?php if ($md->datatype) print "Offline"; else print "Online";?> </li>
|
||||||
</ul>
|
</ul>
|
||||||
<div id="linkurl">
|
<div id="linkurl">
|
||||||
<?php if ($md->status>0 and $md->status<5) : ?>
|
<?php if ($md->status>0 and $md->status<5) : ?>
|
||||||
<a href="/review/review/uuid/<?php echo $md->uuid; ?>" class="btn btn-primary btn-large btn-block" title="此数据正在评审中,我们邀请您对此数据进行评审,以便其能尽快发布!">数据评审</a>
|
<a href="/review/review/uuid/<?php echo $md->uuid; ?>" class="btn btn-primary btn-large btn-block" title="You are invited to review this dataset.">Reviewing</a>
|
||||||
<?php else : if (!$md->datatype) : ?>
|
<?php else : if (!$md->datatype) : ?>
|
||||||
<a href="/data/todownload/?uuid=<?= $md->uuid?>" class="btn btn-primary btn-large btn-block" title="直接下载">
|
<a href="/data/todownload/?uuid=<?= $md->uuid?>" class="btn btn-primary btn-large btn-block" title="Download">
|
||||||
在线下载
|
Download
|
||||||
</a>
|
</a>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<?php
|
<?php
|
||||||
if(!empty($this->dataService)) { ?>
|
if(!empty($this->dataService)) { ?>
|
||||||
<?php $this->theme->AppendPlus($this,'datepicker'); ?>
|
<?php $this->theme->AppendPlus($this,'datepicker'); ?>
|
||||||
<a href="javascript:void(0);" class="btn btn-primary btn-large btn-block" title="此数据需要选择要下载的子集" onclick="westdc.dataservice.choiceData('<?= $md->uuid ?>',this);">
|
<a href="javascript:void(0);" class="btn btn-primary btn-large btn-block" title="Select the subset" onclick="westdc.dataservice.choiceData('<?= $md->uuid ?>',this);">
|
||||||
<?php }else{ ?>
|
<?php }else{ ?>
|
||||||
<a href="/data/order/uuid/<?php echo $md->uuid; ?>" class="btn btn-primary btn-large btn-block" title="免费!离线申请此数据(在线数据和离线数据都可申请)">
|
<a href="/data/order/uuid/<?php echo $md->uuid; ?>" class="btn btn-primary btn-large btn-block" title="Free of Charge!">
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
放入数据篮
|
Put in the Basket
|
||||||
</a>
|
</a>
|
||||||
<?php endif;endif; ?>
|
<?php endif;endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<hr />
|
<hr />
|
||||||
<h4>空间位置</h4>
|
<h4>Google Maps</h4>
|
||||||
<div id='watermap' style="width:100%;height:300px;"></div>
|
<div id='watermap' style="width:100%;height:300px;"></div>
|
||||||
<hr />
|
<hr />
|
||||||
<h4>联系信息</h4>
|
<h4>Contacts</h4>
|
||||||
<div id="authors">
|
<div id="authors">
|
||||||
<ul class="unstyled">
|
<ul class="unstyled">
|
||||||
<?php
|
<?php
|
||||||
$party_zh=array('resourceProvider'=>'资源提供者','custodian'=>'维护者','owner'=>'拥有者','user'=>'用户','distributor'=>'数据服务联系人','originator'=>'创建者','pointOfContact'=>'联系人','principalInvestigator'=>'数据调查与处理者','processor'=>'处理者','publisher'=>'元数据发布者','author'=>'元数据作者');
|
$party_zh=array('resourceProvider'=>'Resource Provider','custodian'=>'Custodian','owner'=>'Owner','user'=>'User','distributor'=>'Distributor','originator'=>'Originator','pointOfContact'=>'Point Of Contact','principalInvestigator'=>'Principal Investigator','processor'=>'Processor','publisher'=>'Publisher','author'=>'Author');
|
||||||
$r='';
|
$r='';
|
||||||
$i=0;
|
$i=0;
|
||||||
foreach($this->authors as $k=>$author) :
|
foreach($this->authors as $k=>$author) :
|
||||||
|
@ -420,35 +384,21 @@ endforeach;
|
||||||
</ul>
|
</ul>
|
||||||
<hr />
|
<hr />
|
||||||
<ul class="unstyled">
|
<ul class="unstyled">
|
||||||
<li>元数据更新时间:<?php print date('Y-m-d',strtotime($md->ts_created)); ?></li>
|
<li>Last update: <?php print date('Y-m-d',strtotime($md->ts_created)); ?></li>
|
||||||
<li><strong>下载元数据:</strong>
|
<li><strong>Download Metadata:</strong>
|
||||||
<a href="/service/pdf/uuid/<?php echo $md->uuid; ?>"><img src="/images/pdf_icon.gif" alt="Adobe PDF格式" title="Adobe PDF格式"></a>
|
<a href="/service/pdf/uuid/<?php echo $md->uuid; ?>"><img src="/images/pdf_icon.gif" alt="Adobe PDF格式" title="Adobe PDF"></a>
|
||||||
<a href="/service/odt/uuid/<?php echo $md->uuid; ?>"><img src="/images/odt_icon.gif" alt="OpenOffice odt格式" title="OpenOffice odt格式"></a>
|
<a href="/service/odt/uuid/<?php echo $md->uuid; ?>"><img src="/images/odt_icon.gif" alt="OpenOffice odt格式" title="OpenOffice odt"></a>
|
||||||
<a href="/service/doc/uuid/<?php echo $md->uuid; ?>"><img src="/images/doc_icon.gif" alt="Word doc格式" title="Word doc格式"></a>
|
<a href="/service/doc/uuid/<?php echo $md->uuid; ?>"><img src="/images/doc_icon.gif" alt="Word doc格式" title="Word doc"></a>
|
||||||
<a href="/service/xml/uuid/<?php echo $md->uuid;?>"><img src="/images/xml_icon.gif" alt="查看XML源文件" title="查看XML源文件"></a>
|
<a href="/service/xml/uuid/<?php echo $md->uuid;?>"><img src="/images/xml_icon.gif" alt="查看XML源文件" title="XML"></a>
|
||||||
</li>
|
</li>
|
||||||
<!--<li><a href="/data/detail/id/<?php echo $md->id;?>">详细元数据</a></li>-->
|
<!--<li><a href="/data/detail/id/<?php echo $md->id;?>">详细元数据</a></li>-->
|
||||||
<?php if($this->version->c>0):?>
|
<?php if($this->version->c>0):?>
|
||||||
<li id="dataversion">版本历史:<a href="javascript:void(0);" onclick="dataVersion('<?php echo $md->uuid;?>')" title=""><?= $this->version->c ?> 个 <img src="/images/list_extensions.gif" style="vertical-align:middle" /></a></li>
|
<li id="dataversion">Version: <a href="javascript:void(0);" onclick="dataVersion('<?php echo $md->uuid;?>')" title=""><?= $this->version->c ?> 个 <img src="/images/list_extensions.gif" style="vertical-align:middle" /></a></li>
|
||||||
<?php endif;?>
|
<?php endif;?>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<hr />
|
<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_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>
|
||||||
</div>
|
</div>
|
||||||
<script src="/js/metadata-view.js"></script>
|
<script src="/js/metadata-view.js"></script>
|
||||||
|
|
Loading…
Reference in New Issue