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

	<body>

		<?php echo $this->fetch('header.html'); ?>
		<div class="layui-main">
			<div class="layui-row">
				<div class="layui-col-md3"><?php echo $this->fetch('[c]/sidebar.html'); ?></div>
				<div class="layui-col-md9">
					<?php echo $this->fetch('book_note/nav.html'); ?> <table class="tbs">
						<thead>
							<tr>
								<td>id</td>
								<td>bookid</td>
								<td>articleid</td>
								<td>userid</td>
								<td>status</td>
								<td>createtime</td>
								<td>内容</td>
								<td>操作</td>
							</tr>
							</tr>
						</thead> <?php $_from = $this->_var['list']; 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']['bookid']; ?></td>
							<td><?php echo $this->_var['c']['articleid']; ?></td>
							<td><?php echo $this->_var['c']['userid']; ?></td>
							<td><?php echo $this->_var['c']['status']; ?></td>
							<td><?php echo $this->_var['c']['createtime']; ?></td>
							<td><?php echo $this->_var['c']['content']; ?></td>
							<td><a href="/module.php?m=book_note&a=add&id=<?php echo $this->_var['c']['id']; ?>">编辑</a> <a href="/module.php?m=book_note&a=show&id=<?php echo $this->_var['c']['id']; ?>">查看</a>
								<a href="javascript:;" class="js-delete" url="/module.php?m=book_note&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>
		</div>
		<?php echo $this->fetch('footer.html'); ?>

	</body>

</html>
