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

68 lines
2.3 KiB
PHTML

<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle('支持项目');
$this->headTitle()->setSeparator(' - ');
$this->nav[] = array('link' => "/data/fund", 'title' => '项目浏览');
$this->headLink()->appendStylesheet('/static-sanji-v2/css/dataProduct.css');
$this->headLink()->appendStylesheet('/static-sanji-v2/css/header-position.css');
?>
<?= $this->render('breadcrumbs.phtml') ?>
<!--搜索框-->
<div class="searchBox searchBox2">
<div class="container">
<div class="col-sm-12">
<div class="form-group">
<form action="/search" id="search-form">
<input type="text" name="q" id="q" class="form-control" placeholder="搜素关键词">
</form>
</div>
<i onclick="$('#search-form').submit()"></i>
</div>
</div>
</div>
<!--固定搜索框-->
<div class="searchBox searchBox1">
<div class="container">
<div class="col-sm-12">
<div class="form-group">
<input type="text" class="form-control" placeholder="搜素关键词">
</div>
<i></i>
</div>
</div>
</div>
<div class="searchOne">
<div class="container">
<div class="col-lg-12">
<?= $this->partial('data/tools.phtml'); ?>
</div>
</div>
</div>
<div class="intro1">
<div class="container">
</div>
</div>
<div class="container">
<div class="col-lg-12">
<?php if (!empty($this->paginator)) : ?>
<?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>
编号:<?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>
<?php endforeach; ?>
<div class="pagenavi"><?= $this->paginator; ?></div>
<?php else : ?>
暂无对应信息。
<?php endif; ?>
</div>
</div>