67 lines
3.0 KiB
PHTML
67 lines
3.0 KiB
PHTML
<?php
|
|
$this->headTitle($this->config->title->site);
|
|
$this->headTitle('后台管理');
|
|
$this->headTitle()->setSeparator(' - ');
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
|
$this->breadcrumb('元数据评审');
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
?>
|
|
<div class="row">
|
|
<div class="hidden-sm hidden-xs col-md-2">
|
|
<?= $this->partial('sys/left.phtml'); ?>
|
|
</div>
|
|
<div class="col-md-10 col-sm-12">
|
|
<div class="form-group">
|
|
<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>
|
|
<div class="input-group form-group">
|
|
<form action="" class="search_form input-group" method="get" >
|
|
<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>
|
|
<?php if (!empty($this->error)) :?>
|
|
<?= $this->error ;?>
|
|
<?php endif; ?>
|
|
|
|
<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; ?>
|
|
</table>
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
|
</div>
|
|
</div>
|