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

	<body>
		<div class="header">
			<div class="header-back"></div>
			<div class="header-title">我的讨论</div>
		</div>
		<div class="header-row"></div>
		<div class="main-body">
			<?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 mgb-5">
				<div>
					<div class="mgb-5"><?php echo $this->_var['c']['content']; ?></div>
					<div class="flex">
						<div class="mgr-5 cl3 f12">来自课程：<?php echo $this->_var['c']['book']['title']; ?></div>
					 
						<div class="flex-1"></div>
						<a class="mgr-5 cl-primary" href="/module.php?m=book&a=view&bookid=22&vid=<?php echo $this->_var['c']['articleid']; ?>">查看</a>
						<div class="js-delete cl-danger" url="/module.php?m=book_comment&a=delete&ajax=1&id=<?php echo $this->_var['c']['id']; ?>">删除</div>
					</div>
				</div>
					 
 
			</div>
			<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
			<div><?php echo $this->_var['pagelist']; ?></div>
		</div>
		<?php echo $this->fetch('footer.html'); ?>
	 
	</body>

</html>
