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

24 lines
1.0 KiB
PHTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle('Funding');
$this->headTitle()->setSeparator(' - ');
$this->nav[] = array('link'=>"/data/fund",'title'=>'Funding');
?>
<div class='row-fluid'>
<?= $this->render('breadcrumbs.phtml') ?>
<?= $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_en']);?></a></h4>
No. <a href="/data/fund/id/<?php echo $md['id'];?>"><?php echo $md['fund_id']; ?></a> | Type: <?php echo $md['fund_type_en']; ?> | Datasets: <?php echo $md['datacount']; ?>Total <?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 : ?>
No metadata.
<?php endif; ?>