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 --> <!-- Three columns of text below the carousel -->
<div class="row-fluid"> <div class="row-fluid">
<div class="span12"> <div class="span12">
<div class="span4"> <div class="span3">
<div class="box"> <div class="box">
<h4 class="box-title">焦点推荐</h4> <h4 class="box-title">本站统计</h4>
<ul> <ul>
<?php foreach($this->news as $k=>$v){ ?> <li>数据集:<?= $this->metanum ?></li>
<li> <li>在线数据集:<?= $this->metanum-$this->offlinenum ?></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>离线数据集:<?= $this->offlinenum ?></li>
</li> <li>在线数据<?= $this->onlinesize ?>MB</li>
<?php } ?> <li>离线数据<?= $this->offlinesize ?>MB</li>
<span class="pull-right"><a href="/archives" target="_blank" class="more">更多>></a></span> <li>共有注册用户:<?= $this->usernum ?></li>
</ul> </ul>
</div> </div>
</div> </div>
<!-- /.span4 --> <!-- /.span4 -->
<div class="span8"> <div class="span9">
<div class="box"> <div class="box">
<h4 class="box-title">新闻公告</h4> <h4 class="box-title">新闻公告</h4>
<ul> <ul>