<?php 
defined('IN_HS') or exit('Access Denied');
include admintpl('header');
?>
<?=$menu?>
<form method="post" name="myform">

<table cellpadding="2" cellspacing="1" class="tableborder">
  <tr>
    <th colspan=6><strong>会员数据导入管理</strong></th>
  </tr>

<tr align="center">
<td class="tablerowhighlight">配置名称</td>
<td class="tablerowhighlight">配置说明</td>
<td class="tablerowhighlight">修改时间</td>
<td class="tablerowhighlight">上次导入时间</td>
<td class="tablerowhighlight">管理操作</td>
</tr>
<?php foreach($settings AS $setting) { ?>
<tr align="center"   bgColor='#F1F3F5' height="23">
<td><a href='?mod=<?=$mod?>&file=<?=$file?>&action=setting&name=<?=$setting['name']?>'><?=$setting['name']?></a></td>
<td align="left"><?=$setting['note']?></td>
<td><?=date('Y-m-d H:i:s', $setting['edittime'])?></td>
<td><?=$setting['importtime'] ? date('Y-m-d H:i:s', $setting['importtime']) : ''?></td>
<td><a href="?mod=<?=$mod?>&file=<?=$file?>&action=setting&name=<?=$setting['name']?>">编辑</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" onclick="javascript:confirmurl('?mod=<?=$mod?>&file=<?=$file?>&action=import&name=<?=$setting['name']?>','注意，存在同名的帐号系统将会跳过。\n请确认要导入的数据没有网站已存在的帐号包括管理员帐号。\n确认开始导入数据吗？')">开始导入</a>  </td>
</tr>
<? } ?>
</table>
</form>
</body>
</html>