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
914 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/friendlink/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->webname; ?></td>
  16. <td><?php echo $row->url; ?></td>
  17. <td><a href="/fladmin/friendlink/edit?id=<?php echo $row->id; ?>">修改</a> | <a onclick="delconfirm('/fladmin/friendlink/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