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.

23 lines
895 B

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  1. @extends('admin.layouts.app')
  2. @section('title', '关键词列表')
  3. @section('content')
  4. <h2 class="sub-header">关键词管理</h2>[ <a href="/fladmin/keyword/add">添加关键词</a> ]<br><br>
  5. <form name="listarc"><div class="table-responsive"><table class="table table-striped table-hover">
  6. <thead><tr>
  7. <th>编号</th>
  8. <th>关键词</th>
  9. <th>链接网址</th>
  10. <th>管理</th>
  11. </tr></thead>
  12. <tbody>
  13. <?php foreach($posts as $row){ ?><tr>
  14. <td><?php echo $row->id; ?></td>
  15. <td><?php echo $row->keyword; ?></td>
  16. <td><?php echo $row->rpurl; ?></td>
  17. <td><a href="/fladmin/keyword/edit?id=<?php echo $row->id; ?>">修改</a> | <a onclick="delconfirm('/fladmin/keyword/del?id=<?php echo $row->id; ?>')" href="javascript:;">删除</a></td>
  18. </tr><?php } ?>
  19. </tbody></table></div><!-- 表格结束 --></form><!-- 表单结束 -->
  20. <nav aria-label="Page navigation">{{ $posts->links() }}</nav>
  21. @endsection