You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
1.1 KiB

@extends('admin.layouts.app')
@section('title', '搜索关键词列表')
@section('content')
<h2 class="sub-header">搜索关键词管理</h2>[ <a href="/fladmin/searchword/add">增加关键词</a> ]<br><br>
<form name="listarc"><div class="table-responsive"><table class="table table-striped table-hover">
<thead>
<tr>
<th>编号</th>
<th>名称</th>
<th>更新时间</th>
<th>管理</th>
</tr>
</thead>
<tbody>
<?php foreach($posts as $row){ ?>
<tr>
<td><?php echo $row->id; ?></td>
<td><a href="/fladmin/searchword/edit?id=<?php echo $row->id; ?>"><?php echo $row->name; ?></a></td>
<td><?php echo date('Y-m-d',$row->pubdate); ?></td>
<td><a target="_blank" href="<?php echo get_front_url(array("type"=>"search","searchid"=>$row->id)); ?>">预览</a>&nbsp;<a href="/fladmin/searchword/edit?id=<?php echo $row->id; ?>">修改</a>&nbsp;<a onclick="delconfirm('/fladmin/searchword/del?id=<?php echo $row->id; ?>')" href="javascript:;">删除</a></td>
</tr>
<?php } ?>
</tbody>
</table></div><!-- 表格结束 --></form><!-- 表单结束 -->
<nav aria-label="Page navigation">{{ $posts->links() }}</nav>
@endsection