2011-10-26 03:21:28 +00:00
|
|
|
|
<?php
|
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
|
$this->headTitle('首页');
|
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
|
$auth = Zend_Auth::getInstance();
|
2013-04-09 14:20:02 +00:00
|
|
|
|
$this->headLink()->appendStylesheet('/css/index.css');
|
2011-10-26 03:21:28 +00:00
|
|
|
|
?>
|
2013-03-19 09:16:41 +00:00
|
|
|
|
<div class="row">
|
2013-04-10 01:53:35 +00:00
|
|
|
|
<div class="span5" id="main-news">
|
2013-04-17 03:49:41 +00:00
|
|
|
|
<h4><a href="archives">新闻</a></h4>
|
2013-03-19 09:16:41 +00:00
|
|
|
|
<hr />
|
|
|
|
|
<ul class="news-list">
|
|
|
|
|
<?php foreach($this->list_news as $k=>$v){ ?>
|
|
|
|
|
<li><a href="<?= $v['url'] ?>"><?= $v['title'] ?></a><span class="pull-right" style="font-size:12px;">[<?= date("Y-m-d",strtotime($v['ts_published']))?>]</span></li>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
2013-04-10 01:53:35 +00:00
|
|
|
|
<div class="span7" id="feature-news">
|
2013-04-09 14:20:02 +00:00
|
|
|
|
<div id="myCarousel" class="carousel slide">
|
|
|
|
|
<ol class="carousel-indicators">
|
|
|
|
|
<?php
|
2012-12-27 08:42:56 +00:00
|
|
|
|
foreach($this->news as $k=>$v)
|
2013-04-09 14:20:02 +00:00
|
|
|
|
{
|
|
|
|
|
echo '<li data-target="#myCarousel" data-slide-to="$k"'.($k==0?' class="active"':'').'></li>';
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
</ol>
|
|
|
|
|
<div class="carousel-inner">
|
|
|
|
|
<?php
|
|
|
|
|
foreach($this->news as $k=>$v)
|
|
|
|
|
{
|
|
|
|
|
echo '<div class="item'.($k==0?' active':'').'">';
|
2013-04-10 01:53:35 +00:00
|
|
|
|
echo '<a href="'.$v['url'].'" title="'.$v['description'].'" ><img src="'.$v['image'].'" class="img-rounded featured-image" /></a>';
|
2013-04-09 14:20:02 +00:00
|
|
|
|
echo '<div class="carousel-caption">';
|
|
|
|
|
echo '<h4><a href="'.$v['url'].'">'.$v['title'].'</a><span class="pull-right">['.date("Y-m-d",strtotime($v['ts_published'])).']</span></h4>';
|
2013-04-17 11:22:17 +00:00
|
|
|
|
//echo '<p>'.$v['description'].'</p>';
|
|
|
|
|
echo '</div></div>';
|
2013-04-09 14:20:02 +00:00
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
</div>
|
|
|
|
|
<a class="left carousel-control" href="#myCarousel" data-slide="prev">‹</a>
|
|
|
|
|
<a class="right carousel-control" href="#myCarousel" data-slide="next">›</a>
|
|
|
|
|
</div>
|
2013-03-19 09:16:41 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<hr />
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="span6">
|
|
|
|
|
<h4>在线下载热门数据</h4>
|
|
|
|
|
<ul class="unstyled">
|
|
|
|
|
<?php foreach($this->mdtop as $i=>$md) : ?>
|
|
|
|
|
<li><img src="/images/no<?php echo $i+1; ?>.gif" align="absmiddle" style="border-width:0px;" />
|
|
|
|
|
<a class="item" href="/data/<?php echo $md->uuid; ?>"><?php echo $md->title; ?></a>
|
|
|
|
|
</li>
|
|
|
|
|
<?php endforeach; ?>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="span6">
|
|
|
|
|
<h4>离线申请热门数据</h4>
|
|
|
|
|
<ul class="unstyled">
|
|
|
|
|
<?php foreach($this->offlinemdtop as $i=>$md) : ?>
|
|
|
|
|
<li><img src="/images/no<?php echo $i+1; ?>.gif" align="absmiddle" style="border-width:0px;" />
|
|
|
|
|
<a class="item" href="/data/<?php echo $md->uuid; ?>"><?php echo $md->title; ?></a>
|
|
|
|
|
</li>
|
|
|
|
|
<?php endforeach; ?>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<hr />
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="span4">
|
|
|
|
|
<h4>专题数据集</h4>
|
|
|
|
|
<ul class="unstyled">
|
2013-03-26 14:27:38 +00:00
|
|
|
|
<li><a href="/heihe"><i class="icon-folder-open"></i>黑河计划数据管理中心</a></li>
|
2013-04-19 02:25:03 +00:00
|
|
|
|
<li><a href="/hiwater"><i class="icon-folder-open"></i>黑河生态水文遥感试验</a></li>
|
|
|
|
|
<li><a href="/water"><i class="icon-folder-open"></i>黑河综合遥感联合试验</a></li>
|
2013-04-19 02:30:47 +00:00
|
|
|
|
<li><a href="/glacier"><i class="icon-folder-open"></i>中国冰川资源及其变化调查</a></li>
|
|
|
|
|
<li><a href="/water"><i class="icon-folder-open"></i>黄河上游宁蒙河段数据</a></li>
|
2013-03-19 09:16:41 +00:00
|
|
|
|
</ul>
|
2013-04-19 02:25:03 +00:00
|
|
|
|
<!-- <hr />
|
2013-03-19 09:16:41 +00:00
|
|
|
|
<h4>友情链接</h4>
|
2013-03-26 14:27:38 +00:00
|
|
|
|
<ul class="unstyled">
|
|
|
|
|
<li><a href="http://heihe.westgis.ac.cn" target="_blank"><i class="icon-share"></i>数字黑河</a></li>
|
|
|
|
|
<li><a href="http://web.nuist.edu.cn/DQKX/nadsc/" target="_blank"><i class="icon-share"></i>南京大气资料服务中心</a></li>
|
|
|
|
|
<li><a href="http://www.sciencedata.cn" target="_blank"><i class="icon-share"></i>科学数据共享工程</a></li>
|
2013-04-19 02:25:03 +00:00
|
|
|
|
</ul> -->
|
2013-03-19 09:16:41 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div class="span4">
|
|
|
|
|
<h4>数据导航</h4>
|
2013-03-26 14:27:38 +00:00
|
|
|
|
<ul class="unstyled">
|
2013-03-19 09:16:41 +00:00
|
|
|
|
<li class="item">
|
2013-03-26 14:27:38 +00:00
|
|
|
|
<a href="/data/category"><i class="icon-th-large"></i>分类浏览</a>
|
2013-03-19 09:16:41 +00:00
|
|
|
|
</li>
|
|
|
|
|
<li class="item">
|
2013-03-26 14:27:38 +00:00
|
|
|
|
<a href="/data/tag"><i class="icon-tags"></i>关键词导航</a>
|
2013-03-19 09:16:41 +00:00
|
|
|
|
</li>
|
|
|
|
|
<li class="item">
|
2013-03-26 14:27:38 +00:00
|
|
|
|
<a href="/data/series"><i class="icon-th-list"></i>数据集序列</a>
|
2013-03-19 09:16:41 +00:00
|
|
|
|
</li>
|
|
|
|
|
<li class="item">
|
2013-03-26 14:27:38 +00:00
|
|
|
|
<a href="/data/timeline"><i class="icon-calendar"></i>时间轴导航</a>
|
2013-03-19 09:16:41 +00:00
|
|
|
|
</li>
|
|
|
|
|
<li class="item">
|
2013-03-26 14:27:38 +00:00
|
|
|
|
<a href="/data/timemap"><i class="icon-globe"></i>时空导航</a>
|
2013-03-19 09:16:41 +00:00
|
|
|
|
</li>
|
2013-03-26 14:27:38 +00:00
|
|
|
|
<li class="item"><a href="/data/onlinelist"><i class="icon-th"></i>在线数据清单</a></li>
|
|
|
|
|
<li class="item"><a href="/data/offlinelist"><i class="icon-th"></i>离线数据清单</a></li>
|
2013-03-19 09:16:41 +00:00
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="span4">
|
|
|
|
|
<h4>数据服务</h4>
|
2013-03-26 14:27:38 +00:00
|
|
|
|
-<span><a href="/data/offlineapp"><i class="icon-user"></i>最近20条离线数据服务记录</a></span><span>(共<?= $this->offlinenum; ?>)</span><br />
|
|
|
|
|
-<span><a href="/about/contact"><i class="icon-envelope"></i>联系我们</a></span>
|
|
|
|
|
<span><a href="/data/request"><i class="icon-tint"></i>如何申请数据</a></span>
|
|
|
|
|
<span><a href="/data/submit"><i class="icon-tint"></i>如何发布数据</a></span>
|
2013-03-19 09:16:41 +00:00
|
|
|
|
<h4>统计</h4>
|
|
|
|
|
<ul class="unstyled">
|
|
|
|
|
<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>
|
2012-12-31 03:48:10 +00:00
|
|
|
|
</ul>
|
2011-10-26 03:21:28 +00:00
|
|
|
|
</div>
|
2012-12-27 08:42:56 +00:00
|
|
|
|
</div>
|
2013-04-10 01:53:35 +00:00
|
|
|
|
<script>
|
2013-04-10 02:03:11 +00:00
|
|
|
|
$('.item').css('max-height',$('#main-news').height());
|
2012-12-27 08:42:56 +00:00
|
|
|
|
</script>
|