<?php /*a:3:{s:83:"F:\wpf\WpfApp1\WpfApp1\bin\x64\Debug\web\im\application\admin\view\index\index.html";i:1596412010;s:85:"F:\wpf\WpfApp1\WpfApp1\bin\x64\Debug\web\im\application\admin\view\public\header.html";i:1600179770;s:85:"F:\wpf\WpfApp1\WpfApp1\bin\x64\Debug\web\im\application\admin\view\public\dialog.html";i:1583543918;}*/ ?>
 <!-- 头部 -->
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<title><?php echo htmlentities((isset($meta_title) && ($meta_title !== '')?$meta_title:"")); ?>|<?php echo api('SITE_NAME'); ?>后台管理</title>
   <link rel="stylesheet" href="/im/public/common/iconfont.css">
	<link rel="stylesheet" href="/im/public/admin/css/style.css" />
	<script type="text/javascript" src="/im/public/common/jquery.min.js" ></script>
   <script type="text/javascript" src="/im/public/common/layer/layer.js"></script>
   <script type="text/javascript" src="/im/public/common/file.js"></script> 	
<script type="text/javascript" src="/im/public/common/laydate/laydate.js"></script> 
	<!-- 自定义弹窗-->
    <script>
	var dialog_style ="<?php echo api('DIALOG_STYLE'); ?>";
	var index_url="<?php echo url('index/index'); ?>";
	$(".logo").click(function(){
	   location.href=index_url;
	});
</script>
  <!--引入改进型easydialog弹窗 -->	
<?php if(api('DIALOG_STYLE') == '1'): ?>	
	<link rel="stylesheet" href="/im/public/admin/css/global.css">
	<link rel="stylesheet" href="/im/public/admin/css/animate.css">
	<link rel="stylesheet" href="/im/public/admin/css/dialog.css">
	<style>
		.div-testDialog{
			width: 500px;
			height: auto;
			margin: 50px auto;
		}

		.div-testDialog button{
			margin:  10px;
		}
		@media screen and ( max-width: 460px){
			.div-testDialog{
				width: 90%;
			}
		}
   </style>
<script src="/im/public/admin/js/dialog.js"></script>	
<?php endif; ?>

	</head>
	<body>
		<div class="top header" style="background:<?php echo api('COLOR'); ?>">
			<div class="logo"></div>
			<ul class="main_links">
		          
				  <li class='menubar'>
                 <a>
					<div class="toggler">

                      <span class="bar"></span>
                      <span class="bar"></span>
                      <span class="bar"></span>
                    </div>
                  </a>
                </li>
					<?php if(isset($group)): ?>    
                        <!-- 欢迎语 -->
						   <?php if(is_array($group) || $group instanceof \think\Collection || $group instanceof \think\Paginator): $i = 0; $__LIST__ = $group;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                            <li class="<?php if($group_id == $vo['id']): ?>active<?php endif; ?>"><a href="<?php echo htmlentities(get_group_url($vo['id'])); ?>"><?php echo htmlentities((isset($vo['title']) && ($vo['title'] !== '')?$vo['title']:"")); ?> </a>
							
							</li>
					<?php endforeach; endif; else: echo "" ;endif; ?>  
							
			  <li><a href="<?php echo site_url(); ?>" target="_blank">前台</a></li>
                <?php endif; ?>
			</ul>	
			<div  id="user_info" class="user_info">
			<img src="/im/public/admin/images/users.png" height='20px'><a href="<?php echo url('user/edit',array('id'=>is_login())); ?>" id="user_icon"><?php echo get_username(); ?></a>
				
			<ul id="dropdown-menu" class="dropdown-menu" >
			       <li>
                    	<a href="<?php echo url('user/edit',array('id'=>is_login())); ?>" id="user_icon">编辑资料</a>
                  </li>
                  <li>
                    	<a href="<?php echo url('user/pwd',array('id'=>is_login())); ?>" id="user_icon"> 修改密码</a>
                  </li>
				  <li >
                   	<a href="<?php echo url('login/logout'); ?>" >退出登陆</a>
                  </li></ul>	
			</div>
			
		<script>	
	
	       var oDiv3 = document.getElementById('user_info');
			var oDiv4 = document.getElementById('dropdown-menu');
			var timer2 = null;
			oDiv3.onmouseover = oDiv4.onmouseover = function (){	
				oDiv4.style.display = 'block';
				clearTimeout(timer2);
			}
			oDiv3.onmouseout = oDiv4.onmouseout = function (){
				//寮€瀹氭椂鍣�
				timer2 = setTimeout(function () { 
				oDiv4.style.display = 'none'; },3000);
			}

	</script>	

		</div>
	    <div class="main">
			<div class="nav_tree" style="">
				<div class="innerUl"><?php if(is_array($sidebar) || $sidebar instanceof \think\Collection || $sidebar instanceof \think\Paginator): $i = 0; $__LIST__ = $sidebar;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> 
				<div class="wrapper">
<div class='tit'><a  href="javascript:vod(0);" id="<?php echo htmlentities($vo['id']); ?>" href="<?php echo htmlentities($vo['url']); ?>"><span class="icon iconfont <?php echo htmlentities((isset($vo['font']) && ($vo['font'] !== '')?$vo['font']:'icon-xitong1')); ?>" id="lft"></span> <span class='name'><?php echo htmlentities($vo['title']); ?></span></a><span class="rgt icon iconfont icon-arrow"></span></div>

<ul class="menuUl" id="child" style='display:;'><?php if(is_array($vo['child']) || $vo['child'] instanceof \think\Collection || $vo['child'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo1): $mod = ($i % 2 );++$i;?><li><a id="<?php echo htmlentities($vo1['id']); ?>" href="<?php echo htmlentities($vo1['url']); ?>"><?php echo htmlentities($vo1['title']); ?></a>

<ul class="menuUl"><?php if(is_array($vo1['child']) || $vo1['child'] instanceof \think\Collection || $vo1['child'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo1['child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo2): $mod = ($i % 2 );++$i;?><li><a id="<?php echo htmlentities($vo2['id']); ?>"href="<?php echo htmlentities($vo2['url']); ?>"><?php echo htmlentities($vo2['title']); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>

</ul></li><?php endforeach; endif; else: echo "" ;endif; ?></ul>
</div>
<?php endforeach; endif; else: echo "" ;endif; ?>
		         </div>
	    </div>
		
	     <script type="text/javascript">
		 	$(".menubar").click(function(){
				 $('.nav_tree').toggleClass('w80');

				 if ( $('.nav_tree').hasClass('w80')) {
		              $(".innerUl #child").hide();		
					  $(".innerUl .name,.innerUl .rgt").hide();
	            }else{
		           $(".innerUl #child").show();
				   $(".innerUl .name,.innerUl .rgt").show();
	            }
			
				
          });
		  $(".innerUl #lft").mouseover(function(){
                 $(".innerUl .name,.innerUl .rgt").show();
				 $('.nav_tree').removeClass('w80');
                if ( $('.nav_tree').hasClass('w80')) {
		              $(".innerUl #child").hide();		
					  $(".innerUl .name,.innerUl .rgt").hide();
	            }else{
		           $(".innerUl #child").show();
				   $(".innerUl .name,.innerUl .rgt").show();
	            }
				 
          });
		    var type="<?php echo api('upload_type'); ?>";
		    if(type==1){
				  var url = "<?php echo url('Attachment/insert'); ?>";
			}else if(type==2){
				  var url = "<?php echo url('Attachment/upfile'); ?>";
			}else{    
			  var url = "<?php echo url('Attachment/update'); ?>";
			}var upload_url="<?php echo url('attachment/upload'); ?>";
			$(".tit").click(function(){
                $(this).next().toggle();
				
				if($(this).find(".rgt").hasClass('icon-arrow')){
				console.log(1);
				   $(this).find(".rgt").attr("class","rgt icon iconfont icon-right2")
				}else{
				  $(this).find(".rgt").attr("class","rgt icon iconfont icon-arrow")
				}
          });					   		
       </script>		 
	
	<script type="text/javascript" src="/im/public/common/upload.js"></script> 
<!-- 头部 --> 
		
	<div class="content" style="background: #F2F2F2;">
				 <div class="edit_title" style="background:#fff">仪表盘</div>
	<div class="wrap">	<div class="h1">数据汇总</div>
			<div class="bg"></div>
				<div class="show_info">
				
				
					  <div class="imgs_tnums show_info_div left">
						<div class="left_img">
							<div></div>
						</div>
						<div class="right_text pics">
							<span class="text_title">今日销售额	</span>
							<span class="num"><?php echo htmlentities((isset($info['total']) && ($info['total'] !== '')?$info['total']:"0")); ?></span>
						</div>
					</div>
					
					<div class="ads_nums show_info_div left">
						<div class="left_img">
							<div></div>
						</div>
						<div class="right_text ad">	
							<span class="text_title">今日访问量</span>
						    <span class="num"><?php echo htmlentities((isset($info['flow']) && ($info['flow'] !== '')?$info['flow']:"0")); ?></span>
						</div>
					</div>
					
					<div class="brandnum show_info_div left">
						<div class="left_img">
							<div></div>
						</div>
						<div class="right_text log">	
							<span class="text_title">品牌数</span>
						<span class="num"><?php echo htmlentities((isset($info['brand']) && ($info['brand'] !== '')?$info['brand']:"0")); ?></span>
						</div>
					</div>
					<div class="skunum show_info_div left">
						<div class="left_img">
							<div></div>
						</div>
						<div class="right_text log">
							<span class="text_title">商品库存数</span>
							<span class="num"><?php echo htmlentities((isset($info['sku']) && ($info['sku'] !== '')?$info['sku']:"0")); ?></span>
						</div>
					</div>
					
					<div class="goodsnums show_info_div left">
						<div class="left_img">
							<div></div>
						</div>
						<div class="right_text log">
							<span class="text_title">商品数</span>
							<span class="num"><?php echo htmlentities((isset($info['goods']) && ($info['goods'] !== '')?$info['goods']:"0")); ?></span>
						</div>
					</div>
					<div class="ordernum show_info_div left">
						<div class="left_img">
							<div></div>
						</div>
						<div class="right_text log">
							<span class="text_title">今日订单数</span>
							<span class="num"><?php echo htmlentities((isset($info['order']) && ($info['order'] !== '')?$info['order']:"0")); ?></span>
						</div>
					</div>
					
					<div class="wetchatnum show_info_div left">
						<div class="left_img">
							<div></div>
						</div>
						<div class="right_text log">	
							<span class="text_title">微信粉丝数</span>
						    <span class="num"><?php echo htmlentities((isset($info['fensi']) && ($info['fensi'] !== '')?$info['fensi']:"0")); ?></span>
						</div>
					</div>
					
					<div class="usernum show_info_div left">
						<div class="left_img">
							<div></div>
						</div>
						<div class="right_text user">	
							<span class="text_title">今日新增用户数</span>
						   <span class="num"><?php echo htmlentities((isset($info['user']) && ($info['user'] !== '')?$info['user']:"0")); ?></span>
						</div>
					</div>
				</div>
			  
				 
			
		</div>
	
			<div class="container df"> 
<div class="h1">环境配置</div>
	<div class="item">

		
			<div class="tit computer">系统信息</div>
			
							<table>
					<tbody>
					
					<tr>
						<th>thinkphp版本</th>
						<td><?php echo htmlentities(app()->version()); ?>
							
						</td>
				
					</tr><tr>
						<th>服务器操作系统</th>
						<td><?php echo htmlentities(PHP_OS); ?></td>
					</tr>
					
					<tr>
						<th>服务器解译引擎</th>
						<td><?php echo htmlentities($_SERVER['SERVER_SOFTWARE']); ?></td>
					</tr>
					<tr>
						<th>php版本 </th>
												<td><?php      

echo PHP_VERSION;

 ?></td>
					</tr>
					<tr>
						<th>上传限制</th>
						<td><?php echo ini_get('upload_max_filesize'); ?></td>
					</tr>
					
				</tbody></table>
	
</div>
<div class="item">
			<div class="tit soft">软件信息</div>
				<table>
					<tbody>
					<tr>
						<th>软件名称</th>
						<td>bymall商城管理系统</td>
					</tr>
					
					
					<tr>
						<th>官方网址</th>
						<td><a href="http://www.bycms.cn" target="_blank">bycms.cn</a></td>
					</tr>
					<tr>
						<th>商业授权</th>
						<td><a href="http://www.bycms.cn/index/index/price.html" target="_blank">授权</a></td>
					</tr>
					<tr>
						<th>版权所有</th>
						<td>武汉贝云网络科技有限公司</td>
					</tr>
					<tr>
						<th>使用帮助</th>
						<td><a href="http://wpa.qq.com/msgrd?v=3&uin=1010422715&site=qq&menu=yes" target="_blank">技术支持</a></td>
					</tr>
				</tbody></table>
			</div>

	</div>
<div class="footer"><p> Powered by <a href="http://www.bycms.cn/" style="color:blue" target="_blank">bymall</a>@2014-2018武汉贝云网络科技有限公司 </p></div>

