45 lines
1.9 KiB
PHTML
45 lines
1.9 KiB
PHTML
<?php
|
|
$this->headTitle($this->config->title->site);
|
|
$this->headTitle($this->config->title->data);
|
|
$this->headTitle('Fund');
|
|
$this->headTitle()->setSeparator(' - ');
|
|
$this->headLink()->appendStylesheet('/css/water.css');
|
|
$this->nav[] = array('link'=>"/hiwater",'title'=>'HiWATER');
|
|
$this->theme->AppendPlus($this,'colorbox');
|
|
?>
|
|
<?= $this->render('breadcrumbs.phtml') ?>
|
|
<div class='row'>
|
|
<div class="span3">
|
|
<?= $this->partial('hiwater/navi.phtml'); ?>
|
|
</div>
|
|
<div class="span9">
|
|
<div class="well">
|
|
<h4><a href="/hiwater/fund/id/<?php echo $this->fund['id'];?>"><?php echo $this->escape($this->fund['title_en']);?></a></h4>
|
|
<?php echo trim($this->fund['fund_type_en'],'"'); ?> (<a href="/hiwater/fund/id/<?php echo $this->fund['id'];?>">No: <?php echo $this->fund['fund_id']; ?></a>)
|
|
</div>
|
|
<?php if (!empty($this->paginator)) : ?>
|
|
<hr />
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
|
<?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="/hiwater/view/uuid/<?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 : ?>
|
|
No data.
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript" charset="utf-8">
|
|
$(document).ready(function(){
|
|
$(".colorbox").colorbox({rel:"colorbox",photo:"true",transition:"fade"});
|
|
$(".colorbox").colorbox({photo:"true"});
|
|
});
|
|
</script>
|