2013-06-08 09:51:44 +00:00
|
|
|
<?php
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
$this->headTitle('后台管理');
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
2014-09-13 02:18:32 +00:00
|
|
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
2013-06-08 09:51:44 +00:00
|
|
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
|
|
|
$this->breadcrumb('元数据评审');
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
?>
|
2014-09-13 02:18:32 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="hidden-sm hidden-xs col-md-2">
|
2013-06-08 09:51:44 +00:00
|
|
|
<?= $this->partial('sys/left.phtml'); ?>
|
|
|
|
</div>
|
2014-09-13 02:18:32 +00:00
|
|
|
<div class="col-md-10 col-sm-12">
|
|
|
|
<div class="form-group">
|
2013-06-08 09:51:44 +00:00
|
|
|
<ul class="nav nav-tabs">
|
|
|
|
<li class="active"><a href="/admin/sys/regions">浏览所有</a></li>
|
|
|
|
<li><a href="/admin/sys/regions/ac/add">添加</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2014-09-13 02:18:32 +00:00
|
|
|
<div class="input-group form-group">
|
2014-11-04 02:32:01 +00:00
|
|
|
<form action="" class="search_form input-group" method="get" >
|
2014-09-13 02:18:32 +00:00
|
|
|
<input type="text" name="keyword" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字" class="q form-control" />
|
|
|
|
<input type="hidden" name="search" value='1' />
|
|
|
|
<span class="input-group-btn"><button id="search_btn" class="btn btn-default" type="submit">搜索</button></span>
|
|
|
|
</form>
|
|
|
|
</div>
|
2013-06-08 09:51:44 +00:00
|
|
|
<?php if (!empty($this->error)) :?>
|
2014-09-13 02:18:32 +00:00
|
|
|
<?= $this->error ;?>
|
2013-06-08 09:51:44 +00:00
|
|
|
<?php endif; ?>
|
|
|
|
|
2014-09-13 02:18:32 +00:00
|
|
|
<table class="stylized table table-bordered table-striped table-hover">
|
|
|
|
<thead><tr>
|
|
|
|
<th width="50">语言</th>
|
|
|
|
<th>名称</th>
|
|
|
|
<th>东</th>
|
|
|
|
<th>南</th>
|
|
|
|
<th>西</th>
|
|
|
|
<th>北</th>
|
|
|
|
<th>操作</th>
|
|
|
|
</tr></thead>
|
|
|
|
<?php if (count($this->paginator)): ?>
|
|
|
|
<tbody id="list">
|
|
|
|
<?php foreach ($this->paginator as $item): ?>
|
|
|
|
<tr>
|
|
|
|
<td><?= $item['langid']?></td>
|
|
|
|
<td><?= $item['label']?></td>
|
|
|
|
<td><?= $item['east']?></td>
|
|
|
|
<td><?= $item['south']; ?></td>
|
|
|
|
<td><?= $item['west'];?></td>
|
|
|
|
<td><?= $item['north'];?></td>
|
|
|
|
<td>
|
|
|
|
名称 <a class="text-danger" href="/admin/sys/regions/ac/del/id/<?=$item['id'];?>/langid/<?= $item['langid'] ?>">
|
|
|
|
<span class="glyphicon glyphicon-trash"></span> 删除</a>
|
|
|
|
范围 <a class="text-danger" href="/admin/sys/regions/ac/del/id/<?=$item['id'];?>">
|
|
|
|
<span class="glyphicon glyphicon-trash"></span> 删除</a>
|
|
|
|
<a href="/admin/sys/regions/ac/edit/id/<?=$item['id'];?>"> <span class="glyphicon glyphicon-pencil"></span> 修改</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</tbody>
|
|
|
|
<?php endif; ?>
|
2013-06-08 09:51:44 +00:00
|
|
|
</table>
|
|
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
2014-09-13 02:18:32 +00:00
|
|
|
</div>
|
2013-06-08 09:51:44 +00:00
|
|
|
</div>
|