<table width="100%" border="0" cellspacing="0" cellpadding="0" class="adminlist">
<thead>
  <tr>
    <th><input type="checkbox" name="toggle" id="toggle" value="all"></th>
    <th>序号</th>
    <th>内容</th>
    <th>姓名</th>
    <th>IP</th>
    <th>回复管理员</th>
    <th>操作</th>
  </tr>
</thead>
<tbody>
<?php $i=1;foreach($notes as $note){?>
  <tr>
    <td><input  type="checkbox" name="select_id[]" value="<?=$note->noteid?>"></td>
    <td><?=$i++?></td>
    <td><?=$note->contents?></td>
    <td><?=$note->name?></td>
    <td><?=$note->ip?></td>
    <td>&nbsp;<?=$note->user_name?></td>
    <td><a href="<?=BASEURI?>note/write_back/<?=$note->noteid?>">回复</a> <a href="<?=BASEURI?>note/delete/<?=$note->noteid?>">删除</a></td>
  </tr>
<?php }?>
</tbody>
<tfoot>
  <tr>
    <td colspan="2"><input type="button" name="del" value="删除" onClick="select_control('<?=BASEURI?>note/delete','请确认是否删除')" class="button"></td>
    <td colspan="5"><?=$this->pagination->render("digg");?></td>
  </tr>
<tfoot>
</table>
