<!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="row-box mgb-5 flex">
				<img gourl="/moduleshop.php?m=olprint_shop&a=logo" class="wh-60 bd-radius-50" src="<?php echo $this->_var['shop']['imgurl']; ?>.100x100.jpg" />
				<div class="flex-1 mgl-5 mgr-5">
					<div class="cl2 mgb-5 f16"><?php echo $this->_var['shop']['shopname']; ?></div>
					<div class="flex flex-ai-center">
						<div class="f12 cl3"><?php echo $this->_var['timeago']; ?>登陆</div>
						<div id="noticeMp3" class="iconfont cl-num f20 mgl-20 icon-notificationfill icon-notificationforbidfill "></div>
					</div>
					
				</div>
				 
			</div>
			 
			 <div class="flex pd-10 bg-white mgb-5">
			    	<div class="flex-1 text-center">
			    		<div class="fz20"><?php echo $this->_var['neworder']; ?></div>
			    		<div class="cl3">新订单</div>
			    	</div>
			    	<div class="flex-1 text-center">
			    		<div class="fz20"><?php echo intval($this->_var['dayorder']['ordernum']); ?></div>
			    		<div class="cl3">今日订单</div>
			    	</div>
			    	<div class="flex-1 text-center">
			    		<div class="fz20"><?php echo floatval($this->_var['dayorder']['money']); ?></div>
			    		<div class="cl3">今日成交</div>
			    	</div>
			    	<div class="flex-1 text-center">
			    		<div class="fz20"><?php echo $this->_var['usernum']; ?></div>
			    		<div class="cl3">客户</div>
			    	</div>
			    </div>
			<div class="m-navPic">
				 
				<div gourl="/moduleshop.php?m=olprint_shop_ptype" class="m-navPic-item">
					<div class="m-navPic-icon icon-goods"></div>
					<div class="m-navPic-title">打印设置</div>
				</div>
				 
				<div gourl="/moduleshop.php?m=olprint_tixian" class="m-navPic-item">
					<div class="m-navPic-icon icon-moneybag"></div>
					<div class="m-navPic-title">资金提现</div>
				</div>
				
				<div gourl="/moduleshop.php?m=olprint_bankcard" class="m-navPic-item">
					<div class="m-navPic-icon icon-vipcard"></div>
					<div class="m-navPic-title">银行卡</div>
				</div>
				<div gourl="/moduleshop.php?m=olprint_shop" class="m-navPic-item">
					<div class="m-navPic-icon icon-shop"></div>
					<div class="m-navPic-title">商家信息</div>
				</div>
				<div gourl="/moduleshop.php?m=olprint_stat" class="m-navPic-item">
					<div class="m-navPic-icon icon-all"></div>
					<div class="m-navPic-title">收入统计</div>
				</div>
				
			</div>
		</div>
		<?php $this->assign('ftnav','index'); ?>
		<?php echo $this->fetch('ftnav.html'); ?>
		<?php echo $this->fetch('footer.html'); ?>
		<script>
			if(localStorage.getItem("noticeMp3")==1){
				$("#noticeMp3").removeClass("icon-notificationforbidfill");
			}else{
				$("#noticeMp3").addClass("icon-notificationforbidfill");
			}
			$(document).on("click","#noticeMp3",function(){
				var a=localStorage.getItem("noticeMp3");
				if(a==1){
					$(this).addClass("icon-notificationforbidfill");
					localStorage.setItem("noticeMp3",0);
				}else{
					localStorage.setItem("noticeMp3",1);
					$(this).removeClass("icon-notificationforbidfill");
				}
			})	
		</script>
	</body>
</html>
