westdc-zf1/application/default/views/scripts/data/fund-list.phtml

24 lines
1.0 KiB
PHTML
Raw Permalink Normal View History

2013-04-29 16:07:34 +00:00
<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle('支持项目');
$this->headTitle()->setSeparator(' - ');
2013-05-13 03:57:27 +00:00
$this->nav[] = array('link'=>"/data/fund",'title'=>'支持项目浏览');
2013-04-29 16:07:34 +00:00
?>
2013-05-13 03:57:27 +00:00
<div class='row-fluid'>
<?= $this->render('breadcrumbs.phtml') ?>
2013-04-29 16:07:34 +00:00
<?= $this->partial('data/tools.phtml'); ?>
</div>
<?php if (!empty($this->paginator)) : ?>
<div class="pagenavi"><?= $this->paginator; ?></div>
<?php foreach($this->paginator as $md) : ?>
<div class="well">
<h4><a href="/data/fund/id/<?php echo $md['id'];?>"><?php echo $this->escape($md['title']);?></a></h4>
2013-05-16 00:38:11 +00:00
编号:<?php echo $md['fund_id']; ?> | 类型:<?php echo $md['fund_type']; ?> | 提供数据集:<?php echo $md['datacount']; ?>条,<?php echo $md['filesize']>5000?(round($md['filesize']/1024,2)).'GB':$md['filesize'].'MB'; ?></div>
2013-04-29 16:07:34 +00:00
<?php endforeach; ?>
<div class="pagenavi"><?= $this->paginator; ?></div>
<?php else : ?>
暂无对应信息。
<?php endif; ?>