2013-05-16 08:47:29 +00:00
|
|
|
<?php
|
|
|
|
$this->headTitle($this->config->title->site);
|
2014-06-06 01:02:29 +00:00
|
|
|
$this->headTitle('后台管理');
|
2013-05-16 08:47:29 +00:00
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
|
|
$this->breadcrumb('<a href="/admin/data">数据管理</a>');
|
2014-06-06 01:02:29 +00:00
|
|
|
$this->breadcrumb('项目管理');
|
2013-05-16 08:47:29 +00:00
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
$this->theme->AppendPlus($this,'colorbox');
|
|
|
|
$this->theme->AppendPlus($this,'admin_plugin');
|
2014-06-06 01:02:29 +00:00
|
|
|
$this->theme->AppendModel($this,'admin-data-fund');
|
2013-05-16 08:47:29 +00:00
|
|
|
?>
|
|
|
|
<style>
|
|
|
|
table thead tr th {background:#EBF2F6;}
|
|
|
|
</style>
|
|
|
|
<div class="row-fluid">
|
|
|
|
<div class="span2">
|
|
|
|
<?= $this->partial('data/left.phtml'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="span10">
|
|
|
|
<div>
|
2014-06-06 01:02:29 +00:00
|
|
|
<?= $this->partial('data/fund-nav.phtml',array('ac'=>$this->ac,'uuid'=>$this->uuid)); ?>
|
2013-05-16 08:47:29 +00:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<div class="input-append">
|
|
|
|
<form id="datasearch" class="search_form" action="">
|
|
|
|
<input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" />
|
|
|
|
<button type="submit" class="btn" id="search_btn">搜索</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php if(!empty($this->error)) { ?>
|
|
|
|
<?= $this->error ?>
|
|
|
|
<?php } ?>
|
2014-06-06 01:02:29 +00:00
|
|
|
<h3><?= $this->info['title'] ?> [<?= $this->info['fund_id'] ?>]</h3>
|
2013-05-16 08:47:29 +00:00
|
|
|
<hr />
|
|
|
|
<div id="datalist">
|
|
|
|
<?php if (count($this->paginator)): ?>
|
|
|
|
<table class="table table-bordered table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>名称</th>
|
2014-06-06 01:02:29 +00:00
|
|
|
<th width="100">操作</th>
|
2013-05-16 08:47:29 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<?php $autoindex=0;
|
|
|
|
foreach ($this->paginator as $item):
|
|
|
|
$autoindex++;?>
|
|
|
|
<tr id="DataLine_<?= $item['id']?>">
|
2014-06-06 01:02:29 +00:00
|
|
|
<td>[<?= $autoindex ?>] <a href="/data/<?= $item['uuid'] ?>"><?= $item['title'] ?></a></td>
|
2013-05-16 08:47:29 +00:00
|
|
|
<td>
|
2014-06-06 01:02:29 +00:00
|
|
|
<a href="/admin/data/fund/uuid/<?= $item['uuid'] ?>">其他项目</a>
|
|
|
|
<a href="/admin/data/fund/ac/remove/id/<?= $item['mfid']?>">移除</a>
|
2013-05-16 08:47:29 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<?php endif; ?>
|
|
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-06-06 01:02:29 +00:00
|
|
|
<!-- //页面内容 -->
|