<!DOCTYPE html>
<html>
	<?php echo $this->fetch('head.html'); ?>
	
	<body>
		<div class="header">
			 
			<div class="header-title">在线课程</div>
		</div>
		<div class="header-row"></div>
		<div class="main-body">
			<div class="mtlist">
				<?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']):
?>
				<div class="mtlist-item">

					<div class="mtlist-item-bd">
						<img gourl="/module.php?m=book&a=show&bookid=<?php echo $this->_var['c']['bookid']; ?>" class="mtlist-img"
							src="<?php echo images_site($this->_var['c']['imgurl']); ?>.small.jpg" />
						<div class="mtlist-item-pd">
							<div gourl="/module.php?m=book&a=show&bookid=<?php echo $this->_var['c']['bookid']; ?>" class="mtlist-title"><?php echo $this->_var['c']['title']; ?>
							</div>
							<div class="flex">
								<div class="cl2 f12">价格</div>
								<div class="cl-money">￥<?php echo $this->_var['c']['money']; ?></div>
								<div class="flex-1"></div>
								<div>销量 <?php echo $this->_var['c']['buy_num']; ?> 份</div>
							</div>
						</div>
					</div>

				</div>
				<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
			</div>
			<?php echo $this->_var['pagelist']; ?>

		</div>
		<?php $this->assign('ftnav','index'); ?>
		<?php echo $this->fetch('ftnav.html'); ?>
		<?php echo $this->fetch('footer.html'); ?>
	</body>
</html>
