<!DOCTYPE html>
<html>
<?php echo $this->fetch('head.html'); ?>

<body>
<header class="mui-bar mui-bar-nav">
    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
    <h1 class="mui-title">标题</h1>
</header>
<div class="mui-content">
    <div class="mui-content-padded">
    	 <table class="table table-bordered" width="100%">
  <tr>
   <td>id</td>
   <td>userid</td>
   <td>bookid</td>
   <td>articleid</td>
   <td>pid</td>
   <td>createtime</td>
   <td>status</td>
   <td>content</td>
<td>操作</td>
  </tr>
 <?php $_from = $this->_var['data']; if (!is_array($_from) && !is_object($_from)) { $_from=array();}; $this->push_vars('', 'c');if (count($_from)):
    foreach ($_from AS $this->_var['c']):
?>
<tr>
   <td><?php echo $this->_var['c']['id']; ?></td>
   <td><?php echo $this->_var['c']['userid']; ?></td>
   <td><?php echo $this->_var['c']['bookid']; ?></td>
   <td><?php echo $this->_var['c']['articleid']; ?></td>
   <td><?php echo $this->_var['c']['pid']; ?></td>
   <td><?php echo $this->_var['c']['createtime']; ?></td>
   <td><?php echo $this->_var['c']['status']; ?></td>
   <td><?php echo $this->_var['c']['content']; ?></td>
<td><a href="/module.php?m=book_comment&a=add&id=<?php echo $this->_var['c']['id']; ?>">编辑</a> <a href="/module.php?m=book_comment&a=show&id=<?php echo $this->_var['c']['id']; ?>">查看</a> <a href="javascript:;" class="delete" url="/module.php?m=book_comment&a=delete&id=<?php echo $this->_var['c']['id']; ?>">删除</a></td>
  </tr>
   <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
 </table>
<div><?php echo $this->_var['pagelist']; ?></div>
    </div>
</div>
<?php echo $this->fetch('footer.html'); ?>
</body>
</html>