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

76 lines
3.0 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>
<div class="container" style="min-height: 200px;">
<div class="col-lg-12">
<div class="well">
<h4>
<a href="/data/fund/id/<?php echo $this->fund['id']; ?>"><?php echo $this->escape($this->fund['title']); ?></a>
</h4>
编号:<?php echo $this->fund['fund_id']; ?> | 类型:<?php echo $this->fund['fund_type']; ?>
</div>
<?php if (!empty($this->paginator)) : ?>
<?php foreach ($this->paginator as $md) : ?>
<div class="media well well-small">
<a class="pull-left colorbox" href="/service/bigthumb/uuid/<?php echo $md['uuid']; ?>">
<img class="media-object" src="/service/thumb/id/<?php echo $md['id']; ?>">
</a>
<div class="media-body">
<h4 class="media-heading"><a
href="/data/<?php echo $md['uuid']; ?>"><?php echo $this->escape($md['title']); ?></a>
</h4>
<div class="summary"><?php echo str_replace(array("\r\n", "\n", "\r"), '<br />', mb_strlen($md['description']) > 400 ? $this->escape(mb_substr($md['description'], 0, 400, 'UTF-8') . '...') : $this->escape($md['description'])); ?></div>
</div>
</div>
<?php endforeach; ?>
<div class="pagenavi"><?= $this->paginator; ?></div>
<?php else : ?>
暂无对应信息。
<?php endif; ?>
</div>
</div>