17 lines
758 B
PHP
17 lines
758 B
PHP
<div class="page-head">
|
|
<div><h1>单页管理</h1><div class="desc">关于我们 / 服务优势 / 客户案例 / 荣誉资质</div></div>
|
|
</div>
|
|
<div class="admin-card">
|
|
<table class="admin-table">
|
|
<tr><th>标识</th><th>标题</th><th>更新时间</th><th>操作</th></tr>
|
|
<?php foreach ($pages as $p): ?>
|
|
<tr>
|
|
<td class="muted"><?php echo e($p['slug']); ?></td>
|
|
<td><b><?php echo e($p['title']); ?></b></td>
|
|
<td class="muted"><?php echo e(format_date($p['updated_at'])); ?></td>
|
|
<td><a class="btn-soft btn-sm" href="<?php echo site_url('admin/pages/edit/' . $p['id']); ?>">编辑</a></td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</table>
|
|
</div>
|