change index page

This commit is contained in:
wlx 2014-06-12 06:20:01 +00:00
parent 50d118b386
commit 8cd438a3f2
1 changed files with 9 additions and 9 deletions

View File

@ -11,21 +11,21 @@
<!-- Three columns of text below the carousel -->
<div class="row-fluid">
<div class="span12">
<div class="span4">
<div class="span3">
<div class="box">
<h4 class="box-title">焦点推荐</h4>
<h4 class="box-title">本站统计</h4>
<ul>
<?php foreach($this->news as $k=>$v){ ?>
<li>
<a href="<?= $v['url'] ?>" title="<?= $v['title'] ?>"><i class="icon-ok-sign"> </i><?= mb_strlen($v['title']) > 23 ? mb_substr($v['title'],0,23,'utf-8')."...":$v['title'] ?></a>
</li>
<?php } ?>
<span class="pull-right"><a href="/archives" target="_blank" class="more">更多>></a></span>
<li>数据集:<?= $this->metanum ?></li>
<li>在线数据集:<?= $this->metanum-$this->offlinenum ?></li>
<li>离线数据集:<?= $this->offlinenum ?></li>
<li>在线数据<?= $this->onlinesize ?>MB</li>
<li>离线数据<?= $this->offlinesize ?>MB</li>
<li>共有注册用户:<?= $this->usernum ?></li>
</ul>
</div>
</div>
<!-- /.span4 -->
<div class="span8">
<div class="span9">
<div class="box">
<h4 class="box-title">新闻公告</h4>
<ul>