copy data/view
This commit is contained in:
parent
08723b8a43
commit
df1f6d3a22
|
@ -1,477 +1,522 @@
|
||||||
<?php
|
<?php
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$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->theme->AppendPlus($this,'google_map_v3');
|
$this->theme->AppendPlus($this,'google_map_v3');
|
||||||
$this->theme->AppendPlus($this,'colorbox');
|
$this->theme->AppendPlus($this,'colorbox');
|
||||||
if(!empty($this->dataService)) {
|
if(!empty($this->dataService)) {
|
||||||
$this->theme->AppendModel($this,"dataservice");
|
$this->theme->AppendModel($this,"dataservice");
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
h3.gs_rt{font-size:110%;}
|
h3.gs_rt{font-size:110%;}
|
||||||
#file-list li:hover {background-color: #f5f5f5;}
|
#file-list li:hover {background-color: #f5f5f5;}
|
||||||
#file-list li li:hover {background-color: #dedede;}
|
#file-list li li:hover {background-color: #dedede;}
|
||||||
#file-list li li li:hover {background-color: #eeeeee;}
|
#file-list li li li:hover {background-color: #eeeeee;}
|
||||||
</style>
|
</style>
|
||||||
<?= $this->render('breadcrumbs.phtml'); ?>
|
<?= $this->render('breadcrumbs.phtml'); ?>
|
||||||
<?php $md=$this->metadata;if ($md):?>
|
<?php $md=$this->metadata;if ($md):?>
|
||||||
<h3><?php echo $this->escape($md->title);
|
<h3><?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);
|
||||||
echo '<a href="http://westdc.westgis.ac.cn/data/'.$md->uuid.'"><img src="/images/china.png" alt="Chinese Version"></a>';?>
|
echo '<a href="http://westdc.westgis.ac.cn/data/'.$md->uuid.'"><img src="/images/china.png" alt="Chinese Version"></a>';?>
|
||||||
</h3>
|
</h3>
|
||||||
<hr />
|
<hr />
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span8">
|
<div class="span8">
|
||||||
<div>
|
<div>
|
||||||
<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>
|
<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>
|
||||||
<p style="word-break:break-all;word-wrap:break-word;overflow:hidden;">
|
<p style="word-break:break-all;word-wrap:break-word;overflow:hidden;">
|
||||||
<?php echo str_replace(array("\r\n", "\n", "\r"),'</p><p>',$md->description);?>
|
<?php echo str_replace(array("\r\n", "\n", "\r"),'</p><p>',$md->description);?>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<?php if ($md->citation) : ?>
|
<?php if ($md->citation) : ?>
|
||||||
<hr />
|
<hr />
|
||||||
<h4><i class="icon-quote-left muted"></i>Citation<a class="btn btn-danger pull-right" href="/archives/help/platform/archive-107.html" ><i class="icon-comment"></i>Help</a></h4>
|
<h4><i class="icon-quote-left muted"></i>Citation<a class="btn btn-danger pull-right" href="/archives/help/platform/archive-107.html" ><i class="icon-comment"></i>Help</a></h4>
|
||||||
<p><?php if (empty($md->datadoi) || !strpos($md->citation,$md->datadoi)) : ?>
|
<p><?php if (empty($md->datadoi) || !strpos($md->citation,$md->datadoi)) : ?>
|
||||||
<span class="label label-info">Paper Cite</span>
|
<span class="label label-info">Paper Cite</span>
|
||||||
<?php endif; echo $this->escape($md->citation);
|
<?php endif; echo $this->escape($md->citation);
|
||||||
if (strpos($md->citation,$md->datadoi)) : ?>
|
if (strpos($md->citation,$md->datadoi)) : ?>
|
||||||
(Download: <a href="/service/ris/lang/en/uuid/<?php echo $md->uuid; ?>">RIS</a> |
|
(Download: <a href="/service/ris/lang/en/uuid/<?php echo $md->uuid; ?>">RIS</a> |
|
||||||
<a href="/service/bibtex/lang/en/uuid/<?php echo $md->uuid; ?>">Bibtex</a>)
|
<a href="/service/bibtex/lang/en/uuid/<?php echo $md->uuid; ?>">Bibtex</a>)
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</p>
|
</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">Dataset Cite</span>
|
<p><span class="label label-info">Dataset Cite</span>
|
||||||
<?php echo str_replace('"','',substr($md->author_en,1,-1)).'. '.$md->title.'. '.$md->publisher_en.', '.(empty($md->ts_published)?$md->publish_year:date('Y',strtotime($md->ts_published))).'. doi:'.$md->doi; ?>
|
<?php echo str_replace('"','',substr($md->author_en,1,-1)).'. '.$md->title.'. '.$md->publisher_en.', '.(empty($md->ts_published)?$md->publish_year:date('Y',strtotime($md->ts_published))).'. doi:'.$md->doi; ?>
|
||||||
(Download: <a href="/service/ris/lang/en/uuid/<?php echo $md->uuid; ?>">RIS</a> |
|
(Download: <a href="/service/ris/lang/en/uuid/<?php echo $md->uuid; ?>">RIS</a> |
|
||||||
<a href="/service/bibtex/lang/en/uuid/<?php echo $md->uuid; ?>">Bibtex</a>)</p>
|
<a href="/service/bibtex/lang/en/uuid/<?php echo $md->uuid; ?>">Bibtex</a>)</p>
|
||||||
<?php endif; endif; ?>
|
<?php endif; endif; ?>
|
||||||
<?php if ($this->ref) : ?>
|
<?php if ($this->ref) : ?>
|
||||||
<hr />
|
<hr />
|
||||||
<h4><i class="icon-eye-open text-success"></i>Related publications (Recommended by Author)</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>Detail</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>Download</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>Download</a>';
|
echo ' <a href="'.$ref->link.'"><i class="icon-download text-success"></i>Download</a>';
|
||||||
}
|
}
|
||||||
echo "</li>";
|
echo "</li>";
|
||||||
endforeach;
|
endforeach;
|
||||||
?>
|
?>
|
||||||
</ol>
|
</ol>
|
||||||
<?php endif; if ($this->themeref) :?>
|
<?php endif; if ($this->themeref) :?>
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
<h4><i class="icon-eye-open text-success"></i>Special Publications</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>Detail</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>Download</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>Download</a>';
|
echo ' | <a href="'.$ref->link.'"><i class="icon-download text-success"></i>Download</a>';
|
||||||
}
|
}
|
||||||
echo "</li>";
|
echo "</li>";
|
||||||
endforeach;
|
endforeach;
|
||||||
?>
|
?>
|
||||||
</ol>
|
</ol>
|
||||||
<?php endif; if ($this->userref) : ?>
|
<?php endif; if ($this->userref) : ?>
|
||||||
<hr />
|
<hr />
|
||||||
<h4><i class="icon-eye-open text-success"></i>Cited By</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>Detail</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>Download</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>Download</a>';
|
echo ' <a href="'.$ref->link.'"><i class="icon-download text-success"></i>Download</a>';
|
||||||
}
|
}
|
||||||
echo "</li>";
|
echo "</li>";
|
||||||
endforeach;
|
endforeach;
|
||||||
if (count($this->userref)==15)
|
if (count($this->userref)==15)
|
||||||
{
|
{
|
||||||
echo '<a class="btn btn-success pull-right" href="/knowledge/user/uuid/'.$md->uuid.'" ><i class="icon-info-sign"></i>More</a>';
|
echo '<a class="btn btn-success pull-right" href="/knowledge/user/uuid/'.$md->uuid.'" ><i class="icon-info-sign"></i>More</a>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</ol>
|
</ol>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<hr />
|
<hr />
|
||||||
<h4><i class="icon-legal text-warning"></i>Limitations</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 endif; ?>
|
<?php endif; ?>
|
||||||
<?php if($this->data_archives){ ?>
|
<?php if($this->data_archives){ ?>
|
||||||
<h4>Dataset News</h4>
|
<h4>Dataset News</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
foreach($this->data_archives as $v){?>
|
foreach($this->data_archives as $v){?>
|
||||||
<li><a href="<?= $v['url']['archive_url']?>"><?= $v['title']?></a></li>
|
<li><a href="<?= $v['url']['archive_url']?>"><?= $v['title']?></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</ul>
|
</ul>
|
||||||
<hr />
|
<hr />
|
||||||
<?php }?>
|
<?php }?>
|
||||||
<?php if ($md->suppinfo || $this->fund) : ?>
|
<?php if ($md->suppinfo || $this->fund) : ?>
|
||||||
<h4><i class="icon-money text-info"></i>Fund</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_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)) : ?>
|
||||||
<?php echo '<p>'.str_replace(array("\r\n", "\n", "\r"),'</p><p>',$this->escape($md->suppinfo)).'</p>';?>
|
<?php echo '<p>'.str_replace(array("\r\n", "\n", "\r"),'</p><p>',$this->escape($md->suppinfo)).'</p>';?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<hr />
|
<hr />
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if ($this->resources) : ?>
|
<?php if ($this->resources) : ?>
|
||||||
<h4><i class="icon-bolt text-warning"></i>Online Resources</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
|
||||||
if (!empty($link->name))
|
if (!empty($link->name))
|
||||||
echo $link->name;
|
echo $link->name;
|
||||||
elseif (!empty($link->description))
|
elseif (!empty($link->description))
|
||||||
echo $link->description;
|
echo $link->description;
|
||||||
else
|
else
|
||||||
echo $link->linkage;
|
echo $link->linkage;
|
||||||
?></a></li>
|
?></a></li>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</ul>
|
</ul>
|
||||||
<hr />
|
<hr />
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<?php
|
<?php
|
||||||
$keywords = array();
|
$keywords = array();
|
||||||
foreach($this->keys as $cg){
|
foreach($this->keys as $cg){
|
||||||
if($cg['keytype']=="theme")
|
if($cg['keytype']=="theme")
|
||||||
$keywords[]=$cg['keyword'];
|
$keywords[]=$cg['keyword'];
|
||||||
}
|
}
|
||||||
$ev = join(" ",$keywords);
|
$ev = join(" ",$keywords);
|
||||||
?>
|
?>
|
||||||
<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">Related Dataset</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">Related Literatures</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">Searching</a></li>
|
<li><a href="#gsearch" data-toggle="tab" id="gsearch_t">Searching</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">Recommendation</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">
|
||||||
</div>
|
</div>
|
||||||
<div id="literature" class="tab-pane">
|
<div id="literature" class="tab-pane">
|
||||||
<div id="literature-list">
|
<div id="literature-list">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<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="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">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>
|
<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>Comment</h4>
|
<h4>Comment</h4>
|
||||||
<div id="allcomments">
|
<div id="allcomments">
|
||||||
<div id="loading"><img src="/images/loading.gif" />Loading</div>
|
<div id="loading"><img src="/images/loading.gif" />Loading</div>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
$auth = Zend_Auth::getInstance();
|
$auth = Zend_Auth::getInstance();
|
||||||
if($auth->hasIdentity())
|
if($auth->hasIdentity())
|
||||||
{
|
{
|
||||||
$user = $auth->getIdentity();
|
$user = $auth->getIdentity();
|
||||||
$name = $user->realname;
|
$name = $user->realname;
|
||||||
$email = $user->email;
|
$email = $user->email;
|
||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
$name = "";
|
$name = "";
|
||||||
$email = "";
|
$email = "";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<form class="form-horizontal" id="postcommentform">
|
<form class="form-horizontal" id="postcommentform">
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label">Name</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>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label">Email</label>
|
<label class="control-label">Email</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<input type="text" name="email" value="<?php echo $email;?>" />
|
<input type="text" name="email" value="<?php echo $email;?>" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label">Website</label>
|
<label class="control-label">Website</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<input type="text" name="url" value="" /> <span class="help-block">e.g. http://westdc.westgis.ac.cn/</span>
|
<input type="text" name="url" value="" /> <span class="help-block">e.g. http://westdc.westgis.ac.cn/</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label">Content</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">Captcha</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>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<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();">Submit</a><button type="reset" id="reset" class="btn">Reset</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>Category: </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);?></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'=>'Discipline','place'=>'Place','theme'=>'Theme','temporal'=>'Temporal','stratum'=>'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) :
|
||||||
if ($kt==$cg['keytype']) :
|
if ($kt==$cg['keytype']) :
|
||||||
$i+=1;
|
$i+=1;
|
||||||
else :
|
else :
|
||||||
if (!empty($kt)) echo '</ul>';
|
if (!empty($kt)) echo '</ul>';
|
||||||
$kt=$cg['keytype'];
|
$kt=$cg['keytype'];
|
||||||
$i=0;
|
$i=0;
|
||||||
endif;
|
endif;
|
||||||
if ($i==0) {
|
if ($i==0) {
|
||||||
?>
|
?>
|
||||||
<ul class="well well-small inline unstyled">
|
<ul class="well well-small inline unstyled">
|
||||||
<li><a href="/data/tag/keytype/<?php echo $kt; ?>"><i class="icon-tags text-warning"></i><?php echo $kw[$kt]; ?></a></li>
|
<li><a href="/data/tag/keytype/<?php echo $kt; ?>"><i class="icon-tags text-warning"></i><?php echo $kw[$kt]; ?></a></li>
|
||||||
<?
|
<?
|
||||||
}
|
}
|
||||||
echo '<li><a href="/data/tag/key/'.urlencode($cg['keyword']).'"><i class="icon-tag"></i>'.$cg['keyword'].'</a></li>';
|
echo '<li><a href="/data/tag/key/'.urlencode($cg['keyword']).'"><i class="icon-tag"></i>'.$cg['keyword'].'</a></li>';
|
||||||
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>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>
|
<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>File Format: </strong><?php echo $md->fileformat; ?></li>
|
<li><strong>File Format: </strong><?php echo $md->fileformat; ?></li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<li><strong>Size: </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>Downloaded: </strong><?php echo $this->downloaded; ?></li>
|
<li><strong>Downloaded: </strong><?php echo $this->downloaded; ?></li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<li><strong>Viewed: </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; ?>">数据投影:
|
||||||
<?php
|
<?php
|
||||||
$p=explode(" ",$this->projection);
|
$p=explode(" ",$this->projection);
|
||||||
$p=explode("=",$p[0]);
|
$p=explode("=",$p[0]);
|
||||||
if (!empty($p[1]))
|
if (!empty($p[1]))
|
||||||
echo $p[1];
|
echo $p[1];
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (is_numeric($md->projection)) echo 'EPSG_CODE_';
|
if (is_numeric($md->projection)) echo 'EPSG_CODE_';
|
||||||
echo $md->projection;
|
echo $md->projection;
|
||||||
}
|
}
|
||||||
?></li>
|
?></li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
-->
|
-->
|
||||||
<?php if (!empty($md->timebegin)) : ?>
|
<?php if (!empty($md->timebegin)) : ?>
|
||||||
<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>
|
<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 endif; ?>
|
||||||
<?php if ($this->attachments) : ?>
|
<?php if ($this->attachments) : ?>
|
||||||
<li id="attach"><span>Documents: </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>Sharing: </strong><?php if ($md->datatype) print "Offline"; else print "Online";?> </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="You are invited to review this dataset.">Reviewing</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="Download">
|
<a href="/data/todownload/?uuid=<?= $md->uuid?>" class="btn btn-primary btn-large btn-block" title="Download">
|
||||||
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 if($this->dataService['service_type'] == 2) { ?>
|
||||||
<a href="javascript:void(0);" class="btn btn-primary btn-large btn-block" title="Select the subset" 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 if($this->dataService['service_type'] == 3) {?>
|
||||||
<a href="/data/order/uuid/<?php echo $md->uuid; ?>" class="btn btn-primary btn-large btn-block" title="Free of Charge!">
|
<a href="#selectDataWindow" role="button" class="btn btn-primary btn-large btn-block" data-toggle="modal">
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
Put in the Basket
|
<?php }else{ ?>
|
||||||
</a>
|
<a href="/data/order/uuid/<?php echo $md->uuid; ?>" class="btn btn-primary btn-large btn-block" title="Free of Charge!">
|
||||||
<?php endif;endif; ?>
|
<?php } ?>
|
||||||
</div>
|
Put in the Basket
|
||||||
|
</a>
|
||||||
</div>
|
<?php endif;endif; ?>
|
||||||
<hr />
|
</div>
|
||||||
<h4>Google Maps</h4>
|
|
||||||
<div id='watermap' style="width:100%;height:300px;"></div>
|
</div>
|
||||||
<hr />
|
<hr />
|
||||||
<h4>Contacts</h4>
|
<h4>Google Maps</h4>
|
||||||
<div id="authors">
|
<div id='watermap' style="width:100%;height:300px;"></div>
|
||||||
<ul class="unstyled">
|
<hr />
|
||||||
<?php
|
<h4>Contacts</h4>
|
||||||
$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');
|
<div id="authors">
|
||||||
$r='';
|
<ul class="unstyled">
|
||||||
$i=0;
|
<?php
|
||||||
foreach($this->authors as $k=>$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');
|
||||||
if ($author->role!=$r)
|
$r='';
|
||||||
{
|
$i=0;
|
||||||
$r=$author->role;
|
foreach($this->authors as $k=>$author) :
|
||||||
$i=0;
|
if ($author->role!=$r)
|
||||||
if ($k>0) echo '</li>';
|
{
|
||||||
echo '<li>'.$party_zh[$author->role].':';
|
$r=$author->role;
|
||||||
}
|
$i=0;
|
||||||
if ($i>0) echo ',';
|
if ($k>0) echo '</li>';
|
||||||
$i+=1;
|
echo '<li>'.$party_zh[$author->role].':';
|
||||||
if (!empty($author->email) && $r!='principalInvestigator')
|
}
|
||||||
echo '<a href="mailto:'.$author->email.'">';
|
if ($i>0) echo ',';
|
||||||
echo '<strong title="'.$author->organisation.'">';
|
$i+=1;
|
||||||
if (!empty($author->individual))
|
if (!empty($author->email) && $r!='principalInvestigator')
|
||||||
echo $author->individual;
|
echo '<a href="mailto:'.$author->email.'">';
|
||||||
else
|
echo '<strong title="'.$author->organisation.'">';
|
||||||
echo $author->organisation;
|
if (!empty($author->individual))
|
||||||
echo '</strong>';
|
echo $author->individual;
|
||||||
if (!empty($author->email)) echo '</a>';
|
else
|
||||||
if ($k+1==count($this->authors)) echo '</li>';
|
echo $author->organisation;
|
||||||
endforeach;
|
echo '</strong>';
|
||||||
?>
|
if (!empty($author->email)) echo '</a>';
|
||||||
</ul>
|
if ($k+1==count($this->authors)) echo '</li>';
|
||||||
<hr />
|
endforeach;
|
||||||
<ul class="unstyled">
|
?>
|
||||||
<li>Last update: <?php print date('Y-m-d',strtotime($md->ts_created)); ?></li>
|
</ul>
|
||||||
<li><strong>Download Metadata:</strong>
|
<hr />
|
||||||
<a href="/service/pdf/uuid/<?php echo $md->uuid; ?>"><img src="/images/pdf_icon.gif" alt="Adobe PDF" title="Adobe PDF"></a>
|
<ul class="unstyled">
|
||||||
<a href="/service/odt/uuid/<?php echo $md->uuid; ?>"><img src="/images/odt_icon.gif" alt="OpenOffice odt" title="OpenOffice odt"></a>
|
<li>Last update: <?php print date('Y-m-d',strtotime($md->ts_created)); ?></li>
|
||||||
<a href="/service/doc/uuid/<?php echo $md->uuid; ?>"><img src="/images/doc_icon.gif" alt="Word doc" title="Word doc"></a>
|
<li><strong>Download Metadata:</strong>
|
||||||
<a href="/service/xml/uuid/<?php echo $md->uuid;?>"><img src="/images/xml_icon.gif" alt="XML" title="XML"></a>
|
<a href="/service/pdf/uuid/<?php echo $md->uuid; ?>"><img src="/images/pdf_icon.gif" alt="Adobe PDF" title="Adobe PDF"></a>
|
||||||
</li>
|
<a href="/service/odt/uuid/<?php echo $md->uuid; ?>"><img src="/images/odt_icon.gif" alt="OpenOffice odt" title="OpenOffice odt"></a>
|
||||||
<!--<li><a href="/data/detail/id/<?php echo $md->id;?>">详细元数据</a></li>-->
|
<a href="/service/doc/uuid/<?php echo $md->uuid; ?>"><img src="/images/doc_icon.gif" alt="Word doc" title="Word doc"></a>
|
||||||
<?php if($this->version->c>0):?>
|
<a href="/service/xml/uuid/<?php echo $md->uuid;?>"><img src="/images/xml_icon.gif" alt="XML" title="XML"></a>
|
||||||
<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>
|
</li>
|
||||||
<?php endif;?>
|
<!--<li><a href="/data/detail/id/<?php echo $md->id;?>">详细元数据</a></li>-->
|
||||||
</ul>
|
<?php if($this->version->c>0):?>
|
||||||
</div>
|
<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>
|
||||||
<hr />
|
<?php endif;?>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<hr />
|
||||||
<script src="/js/metadata-view.js"></script>
|
|
||||||
<script type="text/javascript" charset="utf-8">
|
</div>
|
||||||
$(function() {
|
</div>
|
||||||
google.maps.event.addDomListener(window, 'load', initialize);
|
<script src="/js/metadata-view.js"></script>
|
||||||
$(".colorbox").colorbox({photo:"true"});
|
<script type="text/javascript" charset="utf-8">
|
||||||
$('.googlesearch').click(function(){googleSearch('<?php echo $ev;?>');});
|
$(function() {
|
||||||
$('.bingsearch').click(function(){bingSearch('<?php echo $ev;?>');});
|
google.maps.event.addDomListener(window, 'load', initialize);
|
||||||
$('.cnkiSearch').click(function(){cnkiSearch('<?php echo $ev;?>');});
|
$(".colorbox").colorbox({photo:"true"});
|
||||||
$('.scholar').click(function(){scholarSearch('<?php echo $ev;?>');});
|
$('.googlesearch').click(function(){googleSearch('<?php echo $ev;?>');});
|
||||||
$('#related_t').click(function(){related(1);});
|
$('.bingsearch').click(function(){bingSearch('<?php echo $ev;?>');});
|
||||||
$('#recommend_t').click(function(){recommend(0);});
|
$('.cnkiSearch').click(function(){cnkiSearch('<?php echo $ev;?>');});
|
||||||
$('#literature_t').click(function(){scholarSearch('<?php echo $ev;?>');$('.literatures').parent('li').addClass('active')});
|
$('.scholar').click(function(){scholarSearch('<?php echo $ev;?>');});
|
||||||
$('.literatures').click(function(){literature(1);});
|
$('#related_t').click(function(){related(1);});
|
||||||
ajaxpage(0);
|
$('#recommend_t').click(function(){recommend(0);});
|
||||||
related(1);
|
$('#literature_t').click(function(){scholarSearch('<?php echo $ev;?>');$('.literatures').parent('li').addClass('active')});
|
||||||
$('.lit-nav-btn').each(function(index, element) {
|
$('.literatures').click(function(){literature(1);});
|
||||||
$(this).click(function(){
|
ajaxpage(0);
|
||||||
$('.lit-nav').children('li').each(function(index, element) {
|
related(1);
|
||||||
$(this).removeClass('active');
|
$('.lit-nav-btn').each(function(index, element) {
|
||||||
});
|
$(this).click(function(){
|
||||||
$(this).parent('li').addClass('active');
|
$('.lit-nav').children('li').each(function(index, element) {
|
||||||
});
|
$(this).removeClass('active');
|
||||||
});
|
});
|
||||||
$('#gsearch_t').click(function(){
|
$(this).parent('li').addClass('active');
|
||||||
if($('#searchlist').children('li').length<1)
|
});
|
||||||
{
|
});
|
||||||
googleSearch('<?php echo $ev;?>');
|
$('#gsearch_t').click(function(){
|
||||||
}
|
if($('#searchlist').children('li').length<1)
|
||||||
});
|
{
|
||||||
$('#show-list').click(function(e) {
|
googleSearch('<?php echo $ev;?>');
|
||||||
method.filelist.get($(this).attr('rel'));
|
}
|
||||||
});
|
});
|
||||||
});
|
$('#show-list').click(function(e) {
|
||||||
//ajax literature
|
method.filelist.get($(this).attr('rel'));
|
||||||
function literature(page){
|
});
|
||||||
literature_get(page,'<?= $md->uuid; ?>');
|
});
|
||||||
}
|
//ajax literature
|
||||||
|
function literature(page){
|
||||||
//ajax related
|
literature_get(page,'<?= $md->uuid; ?>');
|
||||||
function related(page){
|
}
|
||||||
related_get(page,'<?= $md->uuid; ?>');
|
|
||||||
}
|
//ajax related
|
||||||
|
function related(page){
|
||||||
//ajax recommend
|
related_get(page,'<?= $md->uuid; ?>');
|
||||||
function recommend(page){
|
}
|
||||||
recommend_get(page,'<?= $md->uuid; ?>');
|
|
||||||
}
|
//ajax recommend
|
||||||
|
function recommend(page){
|
||||||
function getFileList(){
|
recommend_get(page,'<?= $md->uuid; ?>');
|
||||||
getFileList_h('<?php echo $md->uuid;?>');
|
}
|
||||||
}
|
|
||||||
|
function getFileList(){
|
||||||
function ajaxpage(page){
|
getFileList_h('<?php echo $md->uuid;?>');
|
||||||
ajaxpage_get(page,'<?= $md->uuid; ?>');
|
}
|
||||||
}
|
|
||||||
|
function ajaxpage(page){
|
||||||
var map = null;
|
ajaxpage_get(page,'<?= $md->uuid; ?>');
|
||||||
var mapElementID = "watermap";
|
}
|
||||||
var bounds = null;
|
|
||||||
var rectangle = null;
|
var map = null;
|
||||||
var zoomlevel = 1;
|
var mapElementID = "watermap";
|
||||||
var bound = {
|
var bounds = null;
|
||||||
lat:<?= ($md->south+$md->north)/2; ?>,
|
var rectangle = null;
|
||||||
lng:<?= ($md->east+$md->west)/2; ?>,
|
var zoomlevel = 1;
|
||||||
zoom:<?php if ($md->north==$md->south) { ?> 10 <?php }else {?> 16 <?php }?>,
|
var bound = {
|
||||||
east:<?= $md->east; ?>,
|
lat:<?= ($md->south+$md->north)/2; ?>,
|
||||||
west:<?= $md->west; ?>,
|
lng:<?= ($md->east+$md->west)/2; ?>,
|
||||||
south:<?= $md->south; ?>,
|
zoom:<?php if ($md->north==$md->south) { ?> 10 <?php }else {?> 16 <?php }?>,
|
||||||
north:<?= $md->north; ?>
|
east:<?= $md->east; ?>,
|
||||||
}
|
west:<?= $md->west; ?>,
|
||||||
</script>
|
south:<?= $md->south; ?>,
|
||||||
<?php else: ?>
|
north:<?= $md->north; ?>
|
||||||
<p>Cannot find the metadata.</p>
|
}
|
||||||
<?php endif;?>
|
</script>
|
||||||
|
<?php else: ?>
|
||||||
|
<p>Cannot find the metadata.</p>
|
||||||
|
<?php endif;?>
|
||||||
|
<?php if(!empty($this->dataService)) { ?>
|
||||||
|
<?php if($this->dataService['service_type'] == 2) { ?>
|
||||||
|
<?php $this->theme->AppendPlus($this,'datepicker'); ?>
|
||||||
|
<script src="/js/lib/custom/models/dataservice.js"></script>
|
||||||
|
<?php }else if($this->dataService['service_type'] == 3) {?>
|
||||||
|
<?php $this->theme->AppendPlus($this,'datepicker'); ?>
|
||||||
|
<!-- <script src="/js/lib/custom/models/dataservice.geodata.js"></script> -->
|
||||||
|
<?php } ?>
|
||||||
|
<?php } ?>
|
||||||
|
<?php if(!empty($this->dataService)) { ?>
|
||||||
|
<?php if($this->dataService['service_type'] == 2) { ?>
|
||||||
|
|
||||||
|
<?php }else if($this->dataService['service_type'] == 3) {?>
|
||||||
|
<!-- Modal -->
|
||||||
|
<div id="selectDataWindow" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h3 id="myModalLabel">选择数据范围</h3>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<h4>按流域</h4>
|
||||||
|
<p>
|
||||||
|
<a href="" class="btn btn-default">黄河流域</a>
|
||||||
|
<a href="" class="btn btn-default">长江流域</a>
|
||||||
|
<a href="" class="btn btn-default">黑河流域</a>
|
||||||
|
<a href="" class="btn btn-default">塔里木河流域</a>
|
||||||
|
</p>
|
||||||
|
<hr />
|
||||||
|
<h4>按山脉</h4>
|
||||||
|
<p>
|
||||||
|
<a href="" class="btn btn-default">祁连山脉</a>
|
||||||
|
<a href="" class="btn btn-default">天山山脉</a>
|
||||||
|
<a href="" class="btn btn-default">昆仑山脉</a>
|
||||||
|
<a href="" class="btn btn-default">横断山山脉</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button class="btn" data-dismiss="modal" aria-hidden="true">关闭</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
<?php } ?>
|
Loading…
Reference in New Issue