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

	<body>

		<?php echo $this->fetch('header.html'); ?>
		<div class="main-body">
			<div class="flex">
				<?php echo $this->fetch('user-side.html'); ?>
				<div class="flex-1">
					<div class="mgb-10 cl-primary">我的笔记</div>
					<div>
						<?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']):
?>
						<div class="row-box js-item mgb-5">
							<div gourl="/module.php?m=book&a=view&bookid=<?php echo $this->_var['c']['bookid']; ?>&vid=<?php echo $this->_var['c']['articleid']; ?>" class="mgb-5"><?php echo $this->_var['c']['title']; ?></div>
							<div class="cl2 f14 mgb-5"><?php echo $this->_var['c']['content']; ?></div>
							<div class="flex">
								<div gourl="/module.php?m=book&a=view&bookid=<?php echo $this->_var['c']['bookid']; ?>"  class="f12 cl3">《<?php echo $this->_var['c']['book_name']; ?>》</div>
								<div class="flex-1"></div>
								<div class="f12 cl3"><?php echo $this->_var['c']['createtime']; ?></div>
								<div url="/module.php?m=book_note&a=delete&ajax=1&id=<?php echo $this->_var['c']['id']; ?>" class="cl-danger pointer js-delete">删除</div>
							</div>
						</div>
						<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
					</div> 
					<div><?php echo $this->_var['pagelist']; ?></div>
				</div>

			</div>
		</div>
		<?php echo $this->fetch('footer.html'); ?>
		<?php echo $this->fetch('foot-all.html'); ?>
	</body>

</html>
