<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:56:"E:\xampp\htdocs\public/../app/admin\view\page\index.html";i:1540537070;s:57:"E:\xampp\htdocs\public/../app/admin\view\public\base.html";i:1532530212;}*/ ?>
<!DOCTYPE html><html><head><title>单页面列表_后台管理</title><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/bootstrap.min.css"><link rel="stylesheet" href="<?php echo sysconfig('CMS_BASEHOST'); ?>/css/admin.css">
<script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/jquery.min.js"></script><script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/respond.min.js"></script><script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/ad.js"></script><script src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/bootstrap.min.js"></script><script type="text/javascript" src="<?php echo sysconfig('CMS_BASEHOST'); ?>/js/jquery.uploadify.min.js"></script></head><body>

<h2 class="sub-header">单页文档管理</h2>[ <a href="/admin/Page/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>
  <th>管理</th>
</tr>
</thead>
<tbody>
<?php foreach($posts as $row){ ?>
<tr>
  <td><?php echo $row["id"]; ?></td>
  <td><a href="/admin/Page/edit?id=<?php echo $row["id"]; ?>"><?php echo $row["title"]; ?></a></td>
  <td><?php echo $row["filename"]; ?></td>
  <td><?php echo date('Y-m-d',$row["pubdate"]); ?></td>
  <td><a target="_blank" href="<?php echo get_front_url(array("type"=>"page","pagename"=>$row["filename"])); ?>">预览</a>&nbsp;<a href="/admin/Page/edit?id=<?php echo $row["id"]; ?>">修改</a>&nbsp;<a onclick="delconfirm('/admin/Page/del?id=<?php echo $row["id"]; ?>')" href="javascript:;">删除</a></td>
</tr>
<?php } ?>
</tbody>
</table></div><!-- 表格结束 --></form><!-- 表单结束 -->

</body></html>