translation
This commit is contained in:
parent
9de8d82838
commit
85dd35db26
|
@ -1,13 +1,13 @@
|
|||
<?php
|
||||
$this->headTitle($this->config->title->site);
|
||||
$this->headTitle('首页');
|
||||
$this->headTitle('Home');
|
||||
$this->headTitle()->setSeparator(' - ');
|
||||
$this->headLink()->appendStylesheet('/css/index.css');
|
||||
$auth = Zend_Auth::getInstance();
|
||||
?>
|
||||
<div id="index">
|
||||
<div id="leftPanel">
|
||||
<div class="title">在线下载热门数据</div>
|
||||
<div class="title">Top 5 Online</div>
|
||||
<ul>
|
||||
<?php foreach($this->mdtop as $i=>$md) : ?>
|
||||
<li> <img src="/images/no<?php echo $i+1; ?>.gif" align="absmiddle" style="border-width:0px;" />
|
||||
|
@ -16,7 +16,7 @@
|
|||
<?php endforeach; ?>
|
||||
</ul>
|
||||
|
||||
<div class="title">离线申请热门数据</div>
|
||||
<div class="title">Top 5 Offline</div>
|
||||
<ul>
|
||||
<?php foreach($this->offlinemdtop as $i=>$md) : ?>
|
||||
<li> <img src="/images/no<?php echo $i+1; ?>.gif" align="absmiddle" style="border-width:0px;" />
|
||||
|
@ -25,71 +25,71 @@
|
|||
<?php endforeach; ?>
|
||||
</ul>
|
||||
|
||||
<div class="title">统 计</div>
|
||||
<p class="subtitle">统计数据显示,目前本站:</p>
|
||||
<div class="title">Statics</div>
|
||||
<p class="subtitle">WDSCAR has: </p>
|
||||
<ul>
|
||||
<li class="item"><span class="symbol">• </span>元数据 <strong>
|
||||
<span><?php echo $this->metanum; ?></span></strong> 条</li>
|
||||
<li class="item"><span class="symbol">• </span>在线数据 <strong><?php echo number_format($this->onlinesize/1000,2,'.',''); ?> GB</strong></li>
|
||||
<li class="item"><span class="symbol">• </span>总数据 <strong><?php echo number_format(($this->onlinesize+$this->offlinesize)/1000,2,'.',''); ?> GB</strong></li>
|
||||
<li class="item"><span class="symbol">• </span>总注册用户 <strong><span><?php echo $this->usernum; ?></span> </strong> 人</li>
|
||||
<li class="item"><span class="symbol">• </span>Metadata: <strong>
|
||||
<span><?php echo $this->metanum; ?></span></strong></li>
|
||||
<li class="item"><span class="symbol">• </span>Online Data: <strong><?php echo number_format($this->onlinesize/1000,2,'.',''); ?> GB</strong></li>
|
||||
<li class="item"><span class="symbol">• </span>Data: <strong><?php echo number_format(($this->onlinesize+$this->offlinesize)/1000,2,'.',''); ?> GB</strong></li>
|
||||
<li class="item"><span class="symbol">• </span>Users: <strong><span><?php echo $this->usernum; ?></span> </strong></li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div id="sidebar">
|
||||
<div class="title">随机推荐</div>
|
||||
<div class="title">Random Data</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>
|
||||
|
||||
<div class="title">专题数据集</div>
|
||||
<div class="title">Data Collections</div>
|
||||
<ul>
|
||||
<li class="item"><a href="/heihe">黑河计划数据整理服务</a></li>
|
||||
<li class="item"><a href="/water">黑河综合遥感联合试验</a></li>
|
||||
<li class="item"><a href="/heihe">HEIHE</a></li>
|
||||
<li class="item"><a href="/water">WATER</a></li>
|
||||
</ul>
|
||||
<div class="title">数据导航</div>
|
||||
<div class="title">Data Navigation</div>
|
||||
<ul>
|
||||
<li class="item">
|
||||
<a href="/data/category">分类浏览</a>
|
||||
<a href="/data/category">By Category</a>
|
||||
</li>
|
||||
<li class="item">
|
||||
<a href="/data/tag">关键词导航</a>
|
||||
<a href="/data/tag">By Keyword</a>
|
||||
</li>
|
||||
<li class="item">
|
||||
<a href="/data/series">数据集序列</a>
|
||||
<a href="/data/series">By Series</a>
|
||||
</li>
|
||||
<li class="item">
|
||||
<a href="/data/timeline">时间轴导航</a>
|
||||
<a href="/data/timeline">Timeline</a>
|
||||
</li>
|
||||
<li class="item">
|
||||
<a href="/data/timemap">时空导航</a>
|
||||
<a href="/data/timemap">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/onlinelist">Online Data</a></li>
|
||||
<li class="item"><a href="/data/offlinelist">Offline Data</a></li>
|
||||
<li class="item">
|
||||
<a href="/data/advancesearch">高级搜索</a>
|
||||
<a href="/data/advancesearch">Advance Search</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="text" name="q" id="q" value="Search Title & Abstract" onfocus="myfocus(this);" onblur="myblur(this);">
|
||||
<input type="hidden" name="submit" value="submit">
|
||||
</form></li>
|
||||
<script>
|
||||
function myfocus(element) {
|
||||
if (element.value == '回车搜索标题和摘要') {
|
||||
if (element.value == 'Search Title & Abstract') {
|
||||
element.value = '';
|
||||
}
|
||||
}
|
||||
function myblur(element) {
|
||||
if (element.value == '') {
|
||||
element.value = '回车搜索标题和摘要';
|
||||
element.value = 'Search Title & Abstract';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</ul>
|
||||
|
||||
<div class="title">友情链接</div>
|
||||
<div class="title">Links</div>
|
||||
<ul>
|
||||
<li class="extlink">• <a href="http://heihe.westgis.ac.cn" target="_blank">数字黑河</a></li>
|
||||
<li class="extlink">• <a href="http://web.nuist.edu.cn/DQKX/nadsc/" target="_blank">南京大气资料服务中心</a></li>
|
||||
|
@ -102,28 +102,19 @@
|
|||
<div id="rightPanel">
|
||||
<div id="feature">
|
||||
<div class="alpha-shadow">
|
||||
<div><img src="<?= $this->feature['imgurl']; ?>" alt="特色数据集" style="border-width:1px;border-style:solid;" /></div>
|
||||
<div><img src="<?= $this->feature['imgurl']; ?>" alt="Featured Data" style="border-width:1px;border-style:solid;" /></div>
|
||||
</div>
|
||||
|
||||
<div class="title"><?= $this->feature['title']; ?></div>
|
||||
<div class="description">
|
||||
<?= $this->feature['description']; ?>
|
||||
</div>
|
||||
<span class="more"><a href="/data/feature" >以往推荐</a></span>
|
||||
<span id="links"><a href="<?= $this->feature['detailurl']; ?>">详细</a></span>
|
||||
<span class="more"><a href="/data/feature" >More</a></span>
|
||||
<span id="links"><a href="<?= $this->feature['detailurl']; ?>">Detail</a></span>
|
||||
</div>
|
||||
<div id="itemCd">
|
||||
<div class="alpha-shadow" id="image"><img src="<?= $this->datasetcd['img']; ?>" /></div>
|
||||
<div id="title"><?= $this->datasetcd['title']; ?></div>
|
||||
<div id="descript"><span id="intro">简介:</span><?= $this->datasetcd['descript']; ?></div>
|
||||
|
||||
|
||||
<div id="link">
|
||||
<a href="/data/<?php echo $this->datasetcd['uuid']; ?>">详细元数据</a>
|
||||
| <a href='<?= $this->datasetcd['document']; ?>' >此数据集的数据文档</a> | <a href="/data/datasetcd">更多特色数据集>></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="service_title">数据服务</div>
|
||||
<div class="service_title">Services</div>
|
||||
|
||||
<div class="services_Item">
|
||||
<a href="/data/newsletter">数据通讯</a>
|
||||
|
@ -131,16 +122,12 @@
|
|||
-<span><a href='/images/newsletter/<?php echo $this->newsletter; ?>' target="_blank">第<?php echo $this->newsletterno; ?>期数据通讯</a>
|
||||
(pdf)</a> </span><br />
|
||||
</div>
|
||||
<div class="services_Item">
|
||||
<a href="/knowledge">文献服务</a>
|
||||
<span>数据中心依托中科院资环信息中心提供西部环境与生态文献和文档服务</span>
|
||||
</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="/about/submit">如何发布数据</a></span>
|
||||
-<span><a href="/data/offlineapp">Offline Service 20 Records</a></span><span>(Total <?= $this->offlinenum; ?> items)</span><br />
|
||||
-<span><a href="/about/contact">Contact Us</a></span>
|
||||
<span><a href="/about/request">How to get data</a></span>
|
||||
<span><a href="/about/submit">How to publish data</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue