{extend name="public/base" /}
{block name="title"}系统配置参数{/block}

{block name="content"}
<h2 class="sub-header">系统配置参数</h2>[ <a href="/admin/Sysconfig/add">添加参数</a> ] [ <a href="<?php echo CMS_ADMIN; ?>Index/upconfig">更新配置缓存</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><?php echo $row["info"]; ?></td>
<td><?php echo mb_strcut($row["value"],0,80,'utf-8'); ?></td>
<td><?php echo $row["varname"]; ?></td>
<td width="150"><a href="/admin/Sysconfig/edit?id=<?php echo $row["id"]; ?>">修改</a> | <a onclick="delconfirm('/admin/Sysconfig/del?id=<?php echo $row["id"]; ?>')" href="javascript:;">删除</a></td>
</tr><?php } ?>
</tbody></table></div><!-- 表格结束 --></form><!-- 表单结束 -->
{/block}