<!DOCTYPE html>
<html>
	<?php echo $this->fetch('head.html'); ?>
	<body>
		<div class="header bdb-1">
			<div gourl="/module.php?m=olprint_shoplist" class="header-title flex-center iconfont icon-location  flex">
				<?php if ($this->_var['shop']): ?>
				<?php echo $this->_var['shop']['shopname']; ?>
				<?php else: ?>
				先选择店铺
				<?php endif; ?>
			</div>
		</div>
		 
		<div class="header-row"></div>
		<div class="main-body">
			<img src="<?php echo $this->_var['skins']; ?>banner.jpg" class="mgb-5" style="width: 100%;" />
			<style>
				.m-navPic-item{
					width:25%;
				}
			</style>
			<div class="m-navPic mgb-5 flex-center">
				<div gourl="/module.php?m=olprint_order&a=add&ptype=a4" class="m-navPic-item">
					<div class="m-navPic-icon icon-text"></div>
					<div class="m-navPic-title">我要打印</div>
				</div>
				
				<div gourl="/module.php?m=olprint_book" class="m-navPic-item">
					<div class="m-navPic-icon icon-hot_light"></div>
					<div class="m-navPic-title">热门资料</div>
				</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 gourl="/module.php?m=olprint_book&a=show&bookid=<?php echo $this->_var['c']['bookid']; ?>" class="row-box mgb-5">
				<div class="mgb-5"><?php echo $this->_var['c']['title']; ?></div>
				<div class="flex flex-ai-center mgb-5">
					<div class="cl-money mgr-10">￥<?php echo $this->_var['c']['money']; ?></div>
					
					<div class="flex-1"></div>
					<div class="cl2 f12 mgr-10">共<?php echo $this->_var['c']['page_num']; ?>页</div>
					<div class="cl2 f12 mgr-10">/</div>
					<div class="cl2 f12">打印<?php echo $this->_var['c']['print_num']; ?>次</div>
					
				</div>
				<div class="cl3 f12"><?php echo $this->_var['c']['description']; ?></div>
			</div> 
			<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
			 
		</div>
		<?php $this->assign('ftnav','index'); ?>
		<?php echo $this->fetch('ftnav.html'); ?>
		<?php echo $this->fetch('footer.html'); ?>
	</body>
</html>
