修改了html结构
This commit is contained in:
parent
2dccb37d28
commit
0c62e60836
|
@ -15,7 +15,7 @@
|
|||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
|
||||
|
||||
<div class="title">离线申请热门数据</div>
|
||||
<ul>
|
||||
<?php foreach($this->offlinemdtop as $i=>$md) : ?>
|
||||
|
@ -38,57 +38,57 @@
|
|||
|
||||
</div>
|
||||
|
||||
<div id="sidebar">
|
||||
<div class="title">随机推荐</div>
|
||||
<div id="sidebar">
|
||||
<div class="title">随机推荐</div>
|
||||
<a href="/data/<?php echo $this->mdrandom->uuid; ?>"><span><?php echo $this->mdrandom->title; ?></span>
|
||||
<img src="/service/thumb/id/<?php echo $this->mdrandom->id; ?>" alt="Data Thumbnail" title="<?php echo mb_strlen($this->mdrandom->description)>400?$this->escape(mb_substr($this->mdrandom->description,0,400,'UTF-8').'...'):$this->escape($this->mdrandom->description);?>" />
|
||||
</a>
|
||||
|
||||
<img src="/service/thumb/id/<?php echo $this->mdrandom->id; ?>" alt="Data Thumbnail" title="<?php echo mb_strlen($this->mdrandom->description)>400?$this->escape(mb_substr($this->mdrandom->description,0,400,'UTF-8').'...'):$this->escape($this->mdrandom->description);?>" />
|
||||
</a>
|
||||
|
||||
<div class="title">专题数据集</div>
|
||||
<ul>
|
||||
<li class="item"><a href="/heihe">黑河计划数据整理服务</a></li>
|
||||
<li class="item"><a href="/water">黑河综合遥感联合试验</a></li>
|
||||
</ul>
|
||||
<div class="title">数据导航</div>
|
||||
<ul>
|
||||
<li class="item">
|
||||
<a href="/data/category">分类浏览</a>
|
||||
</li>
|
||||
<li class="item">
|
||||
<a href="/data/tag">关键词导航</a>
|
||||
</li>
|
||||
<li class="item">
|
||||
<a href="/data/series">数据集序列</a>
|
||||
</li>
|
||||
<li class="item">
|
||||
<a href="/data/timeline">时间轴导航</a>
|
||||
</li>
|
||||
<li class="item">
|
||||
<a href="/data/timemap">时空导航</a>
|
||||
</li>
|
||||
<li class="item"><a href="/heihe">黑河计划数据整理服务</a></li>
|
||||
<li class="item"><a href="/water">黑河综合遥感联合试验</a></li>
|
||||
</ul>
|
||||
<div class="title">数据导航</div>
|
||||
<ul>
|
||||
<li class="item">
|
||||
<a href="/data/category">分类浏览</a>
|
||||
</li>
|
||||
<li class="item">
|
||||
<a href="/data/tag">关键词导航</a>
|
||||
</li>
|
||||
<li class="item">
|
||||
<a href="/data/series">数据集序列</a>
|
||||
</li>
|
||||
<li class="item">
|
||||
<a href="/data/timeline">时间轴导航</a>
|
||||
</li>
|
||||
<li class="item">
|
||||
<a href="/data/timemap">时空导航</a>
|
||||
</li>
|
||||
<li class="item"><a href="/data/onlinelist">在线数据清单</a></li>
|
||||
<li class="item"><a href="/data/offlinelist">离线数据清单</a></li>
|
||||
<li class="item">
|
||||
<a href="/data/advancesearch">高级搜索</a>
|
||||
</li>
|
||||
<li class="item"><form id="search" enctype="application/x-www-form-urlencoded" action="/data/search" method="post">
|
||||
<input type="text" name="q" id="q" value="回车搜索标题和摘要" onfocus="myfocus(this);" onblur="myblur(this);">
|
||||
<input type="hidden" name="submit" value="submit">
|
||||
</form></li>
|
||||
<script>
|
||||
function myfocus(element) {
|
||||
if (element.value == '回车搜索标题和摘要') {
|
||||
element.value = '';
|
||||
}
|
||||
}
|
||||
function myblur(element) {
|
||||
if (element.value == '') {
|
||||
element.value = '回车搜索标题和摘要';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</ul>
|
||||
|
||||
<li class="item">
|
||||
<a href="/data/advancesearch">高级搜索</a>
|
||||
</li>
|
||||
<li class="item"><form id="search" enctype="application/x-www-form-urlencoded" action="/data/search" method="post">
|
||||
<input type="text" name="q" id="q" value="回车搜索标题和摘要" onfocus="myfocus(this);" onblur="myblur(this);">
|
||||
<input type="hidden" name="submit" value="submit">
|
||||
</form></li>
|
||||
<script>
|
||||
function myfocus(element) {
|
||||
if (element.value == '回车搜索标题和摘要') {
|
||||
element.value = '';
|
||||
}
|
||||
}
|
||||
function myblur(element) {
|
||||
if (element.value == '') {
|
||||
element.value = '回车搜索标题和摘要';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</ul>
|
||||
|
||||
<div class="title">友情链接</div>
|
||||
<ul>
|
||||
<li class="extlink">• <a href="http://heihe.westgis.ac.cn" target="_blank">数字黑河</a></li>
|
||||
|
@ -96,9 +96,9 @@
|
|||
<li class="extlink">• <a href="http://www.sciencedata.cn" target="_blank">科学数据共享工程</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div> <!-- sidebar -->
|
||||
|
||||
|
||||
</div> <!-- sidebar -->
|
||||
|
||||
<div id="rightPanel">
|
||||
<div id="feature">
|
||||
<div class="alpha-shadow">
|
||||
|
@ -106,11 +106,11 @@
|
|||
</div>
|
||||
|
||||
<div class="title"><?= $this->feature['title']; ?></div>
|
||||
<div class="description">
|
||||
<div class="description">
|
||||
<?= $this->feature['description']; ?>
|
||||
</div>
|
||||
<span id="links"> <a href="<?= $this->feature['detailurl']; ?>">详细</a> </span>
|
||||
<span class="more"> <a href="/data/feature" >以往推荐</a></span>
|
||||
<span class="more"><a href="/data/feature" >以往推荐</a></span>
|
||||
<span id="links"><a href="<?= $this->feature['detailurl']; ?>">详细</a></span>
|
||||
</div>
|
||||
<div id="itemCd">
|
||||
<div class="alpha-shadow" id="image"><img src="<?= $this->datasetcd['img']; ?>" /></div>
|
||||
|
@ -121,8 +121,8 @@
|
|||
<a href="/data/<?php echo $this->datasetcd['uuid']; ?>">详细元数据</a>
|
||||
| <a href='<?= $this->datasetcd['document']; ?>' >此数据集的数据文档</a> | <a href="/data/datasetcd">更多特色数据集>></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="service_title">数据服务</div>
|
||||
|
||||
<div class="services_Item">
|
||||
|
@ -134,12 +134,12 @@
|
|||
<div class="services_Item">
|
||||
<a href="/knowledge">文献服务</a>
|
||||
<span>数据中心依托中科院资环信息中心提供西部环境与生态文献和文档服务</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="services_Item">
|
||||
<a href="/data/service">用户服务</a><br />
|
||||
-<span><a href="/data/offlineapp">最近20条离线数据服务记录</a></span><span>(共<?= $this->offlinenum; ?>)</span><br />
|
||||
-<span><a href="/about/contact">联系我们</a></span>
|
||||
<span><a href="/about/request">如何申请数据</a></span>
|
||||
-<span><a href="/data/offlineapp">最近20条离线数据服务记录</a></span><span>(共<?= $this->offlinenum; ?>)</span><br />
|
||||
-<span><a href="/about/contact">联系我们</a></span>
|
||||
<span><a href="/about/request">如何申请数据</a></span>
|
||||
<span><a href="/about/submit">如何发布数据</a></span>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue