change index page
This commit is contained in:
parent
50d118b386
commit
8cd438a3f2
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue