<!--{include file="<!--{$oetplpath}-->block_head.tpl"}-->
<body class="layui-layout-body" layadmin-themealias="classic-black-header">
<div id="LAY_app">
  <div class="layui-layout layui-layout-admin oe_layout_top">
    <div class="layui-header oe_headbar">
      <ul class="layui-nav layui-layout-left oe_headermenu" id="top_menu">
        <li class="layui-nav-item layadmin-flexible" lay-unselect="">
          <a href="javascript:;" layadmin-event="flexible" title="侧边伸缩" id="LAY_app_flexible">
            <i class="layui-icon layui-icon-shrink-right"></i>
          </a>
        </li>
        <li class="layui-nav-item" lay-unselect="" id="showMobileMenu">
          <a href="javascript:;">
            <div class="text">管理菜单</div>
          </a>
        </li>
        <!--{assign var='power_mod' value=get_powermod('mod_setting')}-->
        <!--{if $power_mod == '1'}-->
        <li class="layui-nav-item mobile layui-this" lay-unselect="">
          <a href="javascript:;" title="系统配置" data-name="siteconfig">
            系统配置
          </a>
        </li>
        <!--{/if}-->
        <!--{assign var='power_mod' value=get_powermod('mod_share')}-->
        <!--{if $power_mod == '1'}-->
        <li class="layui-nav-item mobile" lay-unselect="">
          <a href="javascript:;" title="获客推广" data-name="getuser">
            运营管理
          </a>
        </li>
        <!--{/if}-->
        <!--{assign var='power_mod' value=get_powermod('mod_user')}-->
        <!--{if $power_mod == '1'}-->
        <li class="layui-nav-item mobile" lay-unselect="">
          <a href="javascript:;" title="会员管理" data-name="user">
            会员管理
          </a>
        </li>
        <!--{/if}-->
        <!--{assign var='power_mod' value=get_powermod('mod_cms')}-->
        <!--{if $power_mod == '1'}-->
        <li class="layui-nav-item mobile" lay-unselect="">
          <a href="javascript:;" title="内容管理" data-name="content">
            内容管理
          </a>
        </li>
        <!--{/if}-->
        
        <!--//0.06.22 -->
        <!--{if isset($config.app.shop)}-->
        <!--{assign var='power_mod' value=get_powermod('mod_shop')}-->
        <!--{if $power_mod == '1'}-->
        <li class="layui-nav-item mobile" lay-unselect="">
          <a href="javascript:;" title="商城管理" data-name="shop">
            商城管理
          </a>
        </li>
        <!--{/if}-->
        <!--{/if}-->

        <!--{assign var='power_mod' value=get_powermod('mod_finance')}-->
        <!--{if $power_mod == '1'}-->
        <li class="layui-nav-item mobile" lay-unselect="">
          <a href="javascript:;" title="财务管理" data-name="financial">
            财务管理
          </a>
        </li>
        <!--{/if}-->
        <!--{assign var='power_mod' value=get_powermod('mod_siteadm')}-->
        <!--{if $power_mod == '1'}-->
        <li class="layui-nav-item mobile" lay-unselect="">
          <a href="javascript:;" title="站点管理" data-name="sitemanage">
            站点管理
          </a>
        </li>
        <!--{/if}-->
      </ul>
      
      <ul class="layui-nav layui-layout-right" lay-filter="layadmin-layout-right">
        <!--//0.06.22 -->
        <li class="layui-nav-item" lay-unselect style="<!--{if isset($config.app.shop)}-->display:none;<!--{/if}-->">
          <a href="<!--{$urlpath}-->" target="_blank" layadmin-event="theme" title="首页" f="clear_cache" style="font-size:14px;">
            首页
          </a>
        </li>
        <li class="layui-nav-item" lay-unselect style="<!--{if isset($config.app.shop)}-->display:none;<!--{/if}-->">
          <a href="<!--{$oefile}-->" target="_top" layadmin-event="theme" title="工作台" f="clear_cache" style="font-size:14px;">
            工作台
          </a>
        </li>
        <li class="layui-nav-item" lay-unselect>
          <a href="javascript:;" layadmin-event="theme" title="清除缓存" f="clear_cache">
            <i class="layui-icon layui-icon-fonts-clear"></i>
          </a>
          <div class="oe_clear_cache">
            <div class="clear">
              <img src="<!--{$urlpath}-->tpl/admin/images/loading.gif" /><span>清除中</span>
            </div>
            <div class="clear_succ">
              <i class="layui-icon layui-icon-ok"></i><span>清除成功</span>
            </div>
          </div>
        </li>
        <li class="layui-nav-item" lay-unselect>
          <a href="javascript:;">
            <div class="avatar">
              <!--{if !empty($cplogin.headimg)}-->
              <img src="<!--{$cplogin.headimg}-->" />
              <!--{else}-->
              <img src="<!--{$urlpath}-->tpl/admin/images/m_02.jpg" />
              <!--{/if}-->
            </div>
            <cite><!--{$cplogin.loginname}--></cite>
            <span class="layui-nav-more"></span>
          </a>
          <dl class="layui-nav-child layui-anim layui-anim-upbit" data-name="user_dropdown">
            <dd><a href="<!--{$oefile}-->&c=my" target="oelove_admin_main">我的资料</a></dd>
            <dd><a href="<!--{$oefile}-->&c=my&a=editpass" target="oelove_admin_main">修改密码</a></dd>
            <dd><a href="<!--{$oefile}-->&c=my&a=power" target="oelove_admin_main">我的权限</a></dd>
            <hr>
            <dd style="text-align: center;"><a href="<!--{$oefile}-->&c=index&a=logout" target="_top">退出登录</a></dd>
          </dl>
        </li>
        
        <li class="layui-nav-item full" lay-unselect>
          <a href="javascript:;" layadmin-event="fullscreen" title="全屏" f="fullscreen">
            <i class="layui-icon layui-icon-screen-full"></i>
          </a>
        </li>
        
        <li class="layui-nav-item  rightbar" lay-unselect>
          <a href="javascript:;" f="copy_right"><i class="layui-icon layui-icon-more-vertical"></i></a>
        </li>
      </ul>
    </div>
    <!--//div End -->
    
    <div class="layui-side layui-side-menu oe_side_menu">
      <div class="layui-side-scroll" id="left_menu">
        <div class="layui-logo">
          <dl>
          	<dt><a href="<!--{$urlpath}-->" target="_blank"><img title="点击跳到首页" src="<!--{$urlpath}-->tpl/admin/images/oelove.png" /></a></dt>
          	<dd>
              Free
              <!--{$copyright_version}-->
            </dd>
          </dl>
        </div>
        
        <!--{assign var='power_mod' value=get_powermod('mod_setting')}-->
        <!--{if $power_mod == '1'}-->
        <ul class="layui-nav layui-nav-tree" lay-shrink="" lay-filter="layadmin-system-side-menu" data-toggle="siteconfig">
          <!--{assign var='power_menu' value=get_powermod('menu_set')}-->
          <!--{if $power_menu == '1'}-->
          <li data-name="content" class="layui-nav-item layui-nav-open layui-nav-itemed">
            <a href="javascript:;" lay-tips="网站设置" lay-direction="2">
              <i class="layui-icon iconfont icon-shezhi"></i>
              <cite>网站设置</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('setting_base')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=setting">站点设置</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('setting_global')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=setting&a=global">全局配置</a></dd>
              <!--{/if}-->
              
              <!--//9.09.06-->
              <!--{assign var="power_val" value=get_powervalue('setting_nav')}-->
              <!--{if $power_val == '1'}-->
              <dd style="display:none;"><a lay-href="<!--{$oefile}-->&c=setting&a=nav">模块入口</a></dd>
              <!--{/if}-->
              
              <!--{assign var="power_val" value=get_powervalue('setting_rpzy')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=setting&a=rpzy">RP诚信设置</a></dd> 
              <!--{/if}-->
              
              <!--{assign var="power_val" value=get_powervalue('setting_upload')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=setting&a=upload">上传配置</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('setting_page')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=setting&a=page">分页设置</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('setting_footer')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=setting&a=footer">页面底部</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('setting_wap')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=setting&a=wap">手机版设置</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('setting_qqkf')}-->
              <!--{if $power_val == '1'}-->
              <dd style="display:none;"><a lay-href="<!--{$oefile}-->&c=setting&a=qqkf">QQ客服</a></dd>
              <!--{/if}-->

              <!--{assign var='sub_power_mod' value=get_powermod('seo')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=seo">SEO设置</a></dd>
              <!--{/if}-->
              <!--{assign var='sub_power_mod' value=get_powermod('item')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=item">参数设置</a></dd>
              <!--{/if}-->
              <!--{assign var='sub_power_mod' value=get_powermod('diyintro')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=diyintro">自定义独白</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
          <!--{assign var='power_menu' value=get_powermod('menu_weixin')}-->
          <!--{if $power_menu == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-iconfontweixin"></i>
              <cite>微信设置</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('setting_weixin')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=setting&a=weixin">公众号配置 </a></dd>
              <!--{/if}-->

              <!--{assign var='sub_power_mod' value=get_powermod('weixinmenu')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=weixinmenu">公众号菜单配置</a></dd>
              <!--{/if}-->
              
            </dl>
          </li>
          <!--{/if}-->
          
          <!--{assign var='power_menu' value=get_powermod('menu_weixin')}-->
          <!--{if $power_menu == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-jiekou"></i>
              <cite>接口设置</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var='sub_power_mod' value=get_powermod('paysdk')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=paysdk">支付接口</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('setting_mail')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=setting&a=mail">邮件接口</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('setting_qq')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=setting&a=qq">登录接口</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
        </ul>
        <!--//End -->
        <!--{/if}-->
        
        <!--{assign var='power_mod' value=get_powermod('mod_share')}-->
        <!--{if $power_mod == '1'}-->
        <ul class="layui-nav layui-nav-tree" lay-shrink="" lay-filter="layadmin-system-side-menu" data-toggle="getuser">

          <!--{assign var='power_menu' value=get_powermod('menu_market')}-->
          <!--{if $power_menu == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-yingxiao"></i>
              <cite>营销管理</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var='sub_power_mod' value=get_powermod('smstpl')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=smstpl">短信模板</a></dd>
              <!--{/if}-->
              <!--{assign var='sub_power_mod' value=get_powermod('mailtpl')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=mailtpl">邮件模板</a></dd>
              <!--{/if}-->
              <!--{assign var='sub_power_mod' value=get_powermod('msg')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=msg">站内通知</a></dd>
              <!--{/if}-->
              <!--{assign var='sub_power_mod' value=get_powermod('maillog')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=maillog">邮件通知</a></dd>
              <!--{/if}-->
              <!--{assign var='sub_power_mod' value=get_powermod('smslog')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=smslog">短信通知</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
        </ul>
        <!--{/if}-->
        
        <!--{assign var='power_mod' value=get_powermod('mod_user')}-->
        <!--{if $power_mod == '1'}-->
        <ul class="layui-nav layui-nav-tree" lay-shrink="" lay-filter="layadmin-system-side-menu" data-toggle="user">
          <!--{assign var='power_menu' value=get_powermod('menu_user')}-->
          <!--{if $power_menu == '1'}-->
          <li data-name="app" class="layui-nav-item layui-nav-itemed">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-huiyuan"></i>
              <cite>会员管理</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('user_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=user">会员列表</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('user_add')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=user&a=add">新增会员</a></dd>
              <!--{/if}-->
              <!--{assign var='sub_power_mod' value=get_powermod('useraudit')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=useraudit">审核资料</a></dd>
              <!--{/if}-->
              <!--{assign var='sub_power_mod' value=get_powermod('photo')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=photo">相册管理</a></dd>
              <!--{/if}-->
              <!--{assign var='sub_power_mod' value=get_powermod('vipuser')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=vipuser">VIP会员</a></dd>
              <!--{/if}-->
              <!--{assign var='sub_power_mod' value=get_powermod('visit')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=visit">浏览记录</a></dd>
              <!--{/if}-->
              <!--//0.05.07-->
              <!--{assign var='sub_power_mod' value=get_powermod('love')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=love">喜欢记录</a></dd>
              <!--{/if}-->
              <!--{assign var='sub_power_mod' value=get_powermod('viewcontact')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=viewcontact">查看微信记录</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('guest_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=guest">游客列表</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('wxfans_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=wxfans">微信粉丝</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
          <!--{assign var='power_menu' value=get_powermod('menu_viptc')}-->
          <!--{if $power_menu == '1'}-->
          <li data-name="content" class="layui-nav-item layui-nav-itemed">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-quanxian"></i>
              <cite>套餐权限</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('taocan_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=taocan">套餐列表</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('taocan_add')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=taocan&a=add">新增套餐</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('group_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=group">等级特权</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->

          <!--{assign var='power_menu' value=get_powermod('menu_rz')}-->
          <!--{if $power_menu == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-renzheng1"></i>
              <cite>认证管理</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('userrz_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=userrz">诚信认证</a></dd>
              <dd><a lay-href="<!--{$oefile}-->&c=userrz&a=idcard">身份证认证</a></dd>
              <dd><a lay-href="<!--{$oefile}-->&c=userrz&a=house">房产认证</a></dd>
              <dd><a lay-href="<!--{$oefile}-->&c=userrz&a=car">车子认证</a></dd>
              <dd><a lay-href="<!--{$oefile}-->&c=userrz&a=education">学历认证</a></dd>
              <dd><a lay-href="<!--{$oefile}-->&c=userrz&a=marry">婚况认证</a></dd>
              <!--{/if}-->
              
              <!--{assign var='sub_power_mod' value=get_powermod('yunrz')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=yunrz">自助认证(三要素)</a></dd>
              <!--{/if}-->
              
              <!--//21.04.16 -->
              <!--{assign var='sub_power_mod' value=get_powermod('statement')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=statement">单身(婚况)声明</a></dd>
              <!--{/if}-->
              
            </dl>
          </li>
          <!--{/if}-->
          
          <!--{assign var='power_menu' value=get_powermod('menu_message')}-->
          <!--{if $power_menu == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-xinjian"></i>
              <cite>信件管理</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var='sub_power_mod' value=get_powermod('message')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=message">信件列表</a></dd>
              <!--{/if}-->
              <!--{assign var='sub_power_mod' value=get_powermod('msglink')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=msglink">通信解锁</a></dd>
              <!--{/if}-->
              <dd style="display:none;"><a lay-href="<!--{$oefile}-->&c=msgcontact">信件联系人</a></dd>
              <!--{assign var='sub_power_mod' value=get_powermod('greet')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=greet">自定义信件</a></dd>
              <!--{/if}-->
              
            </dl>
          </li>
          <!--{/if}-->
        </ul>
        <!--//user mod -->
        <!--{/if}-->
        
        <!--{assign var='power_mod' value=get_powermod('mod_cms')}-->
        <!--{if $power_mod == '1'}-->
        <ul class="layui-nav layui-nav-tree" lay-shrink="" lay-filter="layadmin-system-side-menu" data-toggle="content">
          
          <!--{assign var='sub_power_mod' value=get_powermod('party')}-->
          <!--{if $sub_power_mod == '1'}-->
          <li data-name="content" class="layui-nav-item layui-nav-open">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-party"></i>
              <cite>相亲活动</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('party_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=party">活动列表</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('party_add')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=party&a=add">发布活动</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('partybm_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=partybm">报名列表</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('partybm_add')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=partybm&a=add1">添加报名</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
          <!--//礼物模块 0.04.01 -->
          <!--{assign var='power_menu' value=get_powermod('menu_gift')}-->
          <!--{if $power_menu == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-liwu1"></i>
              <cite>礼物管理</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var='sub_power_mod' value=get_powermod('gift')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=gift">礼物列表</a></dd>
              <!--{/if}-->
              <!--{assign var='sub_power_mod' value=get_powermod('giftrecord')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=giftrecord">赠送记录</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
          <!--{assign var='sub_power_mod' value=get_powermod('article')}-->
          <!--{if $sub_power_mod == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-zixun"></i>
              <cite>文章内容</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('article_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=article">文章列表</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('article_add')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=article&a=add">发布文章</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('articlecat_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=articlecat">分类列表</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('articlecat_add')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=articlecat&a=add">添加分类</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
          <!--//21.04.16 -->
          <!--{assign var='sub_power_mod' value=get_powermod('emtest')}-->
          <!--{if $sub_power_mod == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-zixun"></i>
              <cite>情感测试</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('emtest_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=emtest">情感测试</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('emresult_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=emresult">测试结果</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('emsubject_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=emsubject">测试题目</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('emlogs_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=emlogs">用户测试记录</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
          <!--{assign var='sub_power_mod' value=get_powermod('about')}-->
          <!--{if $sub_power_mod == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-Information"></i>
              <cite>单页管理</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('about_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=about">所有单页</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('about_add')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=about&a=add">发布单页</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('aboutcat_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=aboutcat">分类列表</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('aboutcat_add')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=aboutcat&a=add">添加分类</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
          <!--{assign var='sub_power_mod' value=get_powermod('kefu')}-->
          <!--{if $sub_power_mod == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-kefu"></i>
              <cite>团队客服</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('kefu_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=kefu">所有客服</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('kefu_add')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=kefu&a=add">添加客服</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
          <!--{assign var='sub_power_mod' value=get_powermod('guestbook')}-->
          <!--{if $sub_power_mod == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-evaluate"></i>
              <cite>留言管理</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('guestbook_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=guestbook">留言列表</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
          <!--{assign var='sub_power_mod' value=get_powermod('diary')}-->
          <!--{if $sub_power_mod == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-xieriji"></i>
              <cite>日记管理</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('diary_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=diary">日记列表</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('diary_add')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=diary&a=add">添加日记</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('diarycomm_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=diarycomm">日记评论</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
          <!--{assign var='sub_power_mod' value=get_powermod('dynamic')}-->
          <!--{if $sub_power_mod == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-dongtai"></i>
              <cite>动态管理</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('dynamic_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=dynamic">动态列表</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('dynamiccomm_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=dynamiccomm">动态评论</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
          <!--{assign var='sub_power_mod' value=get_powermod('story')}-->
          <!--{if $sub_power_mod == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-beifen"></i>
              <cite>成功案例</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('story_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=story">案例列表</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('story_add')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=story&a=add">添加案例</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('storycomm_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=storycomm">评论列表</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
          <!--{assign var='sub_power_mod' value=get_powermod('safety')}-->
          <!--{if $sub_power_mod == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-zixun"></i>
              <cite>防骗文章</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('safety_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=safety">防骗文章</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('safety_add')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=safety&a=add">添加文章</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
          <!--{assign var='sub_power_mod' value=get_powermod('jubao')}-->
          <!--{if $sub_power_mod == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-jubao"></i>
              <cite>举报管理</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('jubao_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=jubao">举报列表</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('blackuser_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=blackuser">黑名单</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->

        </ul>
        <!--//content mod -->
        <!--{/if}-->

        <!--{assign var='power_mod' value=get_powermod('mod_finance')}-->
        <!--{if $power_mod == '1'}-->
        <ul class="layui-nav layui-nav-tree" lay-shrink="" lay-filter="layadmin-system-side-menu" data-toggle="financial">
          
          <!--{assign var='power_menu' value=get_powermod('menu_finance')}-->
          <!--{if $power_menu == '1'}-->
          <li data-name="content" class="layui-nav-item layui-nav-open layui-nav-itemed">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-caiwu"></i>
              <cite>财务管理</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var='sub_power_mod' value=get_powermod('payorder')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=payorder">支付记录</a></dd>
              <!--{/if}-->
              <!--{assign var='sub_power_mod' value=get_powermod('money')}-->
              <!--{if $sub_power_mod == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=money">余额明细</a></dd>
              <!--{/if}-->
              <dd><a lay-href="<!--{$oefile}-->&c=reportprofit">财务统计</a></dd>
            </dl>
          </li> 
          <!--{/if}-->          
        </ul>
        <!--//financial mod -->
        <!--{/if}-->
        
        <!--{assign var='power_mod' value=get_powermod('mod_siteadm')}-->
        <!--{if $power_mod == '1'}-->
        <ul class="layui-nav layui-nav-tree" lay-shrink="" lay-filter="layadmin-system-side-menu" data-toggle="sitemanage">
          
          <!--{assign var='power_menu' value=get_powermod('menu_admin')}-->
          <!--{if $power_menu == '1'}-->
          <li data-name="content" class="layui-nav-item layui-nav-open">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-kehu"></i>
              <cite>系统帐号</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('admin_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=admin">帐号列表</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('admin_add')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=admin&a=add">添加帐号</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('roles_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=roles">角色列表</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('roles_add')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=roles&a=add">添加角色</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
          <!--{assign var='sub_power_mod' value=get_powermod('area')}-->
          <!--{if $sub_power_mod == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-diqu"></i>
              <cite>地区管理</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('area_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=area">地区列表</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('hometown_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=hometown">户籍列表</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
          <!--{assign var='sub_power_mod' value=get_powermod('school')}-->
          <!--{if $sub_power_mod == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-xuexiao"></i>
              <cite>院校管理</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('school_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=school">院校列表</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
          <!--{assign var='sub_power_mod' value=get_powermod('zone')}-->
          <!--{if $sub_power_mod == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-AD-"></i>
              <cite>广告管理</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('zone_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=zone">广告版位</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('zone_add')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=zone&a=add">添加广告版位</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('myads_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=myads">广告图列表</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('myads_add')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=myads&a=add">添加广告图</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
          <!--{assign var='sub_power_mod' value=get_powermod('friendlink')}-->
          <!--{if $sub_power_mod == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-youqinglianjie"></i>
              <cite>友情链接</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('friendlink_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=friendlink">友情链接</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('friendlink_add')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=friendlink&a=add">添加友情链接</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
          <!--{assign var='sub_power_mod' value=get_powermod('htmllabel')}-->
          <!--{if $sub_power_mod == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-html"></i>
              <cite>HTML标签</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('htmllabel_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=htmllabel">HTML自定义标签</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('htmllabel_add')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=htmllabel&a=add">添加HTML标签</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
          <!--{assign var='sub_power_mod' value=get_powermod('skin')}-->
          <!--{if $sub_power_mod == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-fengge"></i>
              <cite>主题风格</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('skin_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=skin">前台主题风格</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('templet_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=templet">前台模板文件</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
          <!--{assign var='sub_power_mod' value=get_powermod('logadmin')}-->
          <!--{if $sub_power_mod == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-rizhi"></i>
              <cite>系统日志</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('logadmin_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=logadmin">后台管理日志</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('loguser_view')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=loguser">会员操作日志</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
          
          <!--{assign var='sub_power_mod' value=get_powermod('datatool')}-->
          <!--{if $sub_power_mod == '1'}-->
          <li data-name="content" class="layui-nav-item">
            <a href="javascript:;" lay-direction="2">
              <i class="layui-icon iconfont icon-beifen"></i>
              <cite>备份还原</cite>
              <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child">
              <!--{assign var="power_val" value=get_powervalue('datatool_backup')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=datatool">备份数据</a></dd>
              <!--{/if}-->
              <!--{assign var="power_val" value=get_powervalue('datatool_restore')}-->
              <!--{if $power_val == '1'}-->
              <dd><a lay-href="<!--{$oefile}-->&c=datatool&a=restore">还原数据</a></dd>
              <!--{/if}-->
            </dl>
          </li>
          <!--{/if}-->
        </ul>
        <!--//sitemanage mod -->
        
        
        <!--{/if}-->
        
      </div>
    </div>
    
    <div class="layui-body">
      <iframe src="<!--{$oefile}-->&c=index&a=main" id="oelove_admin_main" name="oelove_admin_main" frameborder="0" class="layadmin-iframe"></iframe>
    </div>
    </div>  
  </div>
  
</div>
  

<div class="oe_copyright_right">
  <div class="layui-card">
    <div class="layui-card-header">OElove版权信息</div>
    <div class="layui-card-body">
      <p>OELove Free</p>
      <p>当前版本：<!--{$copyright_version}--><!--{$copyright_release}--></p>
      <p>授权信息：<span id="oelove_status"></span></p>
      <div class="btn">
        <a class="layui-btn layui-btn-danger" href="http://www.oelove.com/" target="_blank">联系我们</a>
        <a class="layui-btn" href="http://bbs.phpcoo.com/" target="_blank">技术论坛</a>
      </div>
      
      <h3>关于版权</h3>
      <div class="copyright_msg">  
        OELove 受中国国家版权局著作权登记号(软著登字第0561018号、软著登字第1157820号、软著登字第1161631号)，
        未经OElove官方正规渠道授权擅自公开产品源文件、以及直接对产品二次出售的，我们将保留追究法律责任的权利。
      </div>
      <p>&copy;2010-<!--{$date|date_format:"%Y"}--> <a href="http://www.oelove.com/" target="_blank">OElove</a> 版权所有</p>
      
    </div>
  </div>
</div>
<div class="oe_mobile_menu" id="mobileMenu">
  <div class="header">
    <div class="btn" id="hideMobileMenu">
      <em class="layui-icon layui-icon-close"></em>
    </div>
  </div>
  <div class="menu">
    <ul>
        <!--{assign var='power_mod' value=get_powermod('mod_setting')}-->
        <!--{if $power_mod == '1'}-->
        <li class="current" title="系统配置" data-name="siteconfig">
          系统配置
        </li>
        <!--{/if}-->
        <!--{assign var='power_mod' value=get_powermod('mod_share')}-->
        <!--{if $power_mod == '1'}-->
        <li title="获客推广" data-name="getuser">
          获客推广
        </li>
        <!--{/if}-->
        <!--{assign var='power_mod' value=get_powermod('mod_user')}-->
        <!--{if $power_mod == '1'}-->
        <li title="会员管理" data-name="user">
          会员管理
        </li>
        <!--{/if}-->
        <!--{assign var='power_mod' value=get_powermod('mod_cms')}-->
        <!--{if $power_mod == '1'}-->
        <li title="内容管理" data-name="content">
          内容管理
        </li>
        <!--{/if}-->
        <!--{assign var='power_mod' value=get_powermod('mod_finance')}-->
        <!--{if $power_mod == '1'}-->
        <li title="财务管理" data-name="financial">
          财务管理
        </li>
        <!--{/if}-->
        <!--{assign var='power_mod' value=get_powermod('mod_siteadm')}-->
        <!--{if $power_mod == '1'}-->
        <li title="站点管理" data-name="sitemanage">
          站点管理
        </li>
        <!--{/if}-->
    </ul>
  </div>
</div>
<script type="text/javascript">

$winH = $(window).height()-61;
layui.use(['layer', 'element'], function(){

});

$(function() {
    //2019.10.24
    var sw = document.body.clientWidth;
    if(sw<=1000) {
        $('.layui-nav.oe_headermenu .layui-nav-item.mobile').hide();
        $('#showMobileMenu').css('display', 'inline-block');
    }
    $('#showMobileMenu').on('click', function() {
        $('#mobileMenu').show();
    });
    $('#hideMobileMenu').on('click', function() {
        $('#mobileMenu').hide();
    });
        //菜单切换
    $('#mobileMenu').on('click', '[data-name]', function() {
        $menu_name = $(this).attr('data-name');
        $(this).closest('li').addClass('layui-this').siblings().removeClass('layui-this');
        $current_menu = $('#left_menu [data-toggle="'+ $menu_name  +'"]');
        $current_menu.show().siblings('ul').hide();
        $current_menu.find('li').eq(0).addClass('layui-nav-itemed').siblings().removeClass('layui-nav-itemed');
        $current_menu.find('li.layui-nav-open').addClass('layui-nav-itemed');
        $current_menu.find('dd').removeClass('layui-this');
        $current_menu.find('li').eq(0).find('dd').eq(0).addClass('layui-this');
        var url = $current_menu.find('li').eq(0).find('dd').eq(0).find('a').attr('lay-href');
        if (url) {
          _openNewPage(url, Var_iframe_name);
        }
        $('#mobileMenu').hide();
        $(this).addClass('current').siblings().removeClass('current');
    });


    //版权...
    $(document).on("click", "[f='copy_right']", function(){
        $('.oe_copyright_right').fadeIn(100);
        $('.oe_copyright_right .layui-card').animate({'right': '0'}, 200);
    });
    $(document).on("click", ".oe_copyright_right", function(){
        $('.oe_copyright_right .layui-card').animate({'right': '-300px'}, 200);
        setTimeout(function() {
            $('.oe_copyright_right').fadeOut(100);      
        }, 200);
    });
    
    //显示隐藏菜单图标...
    $(document).on("click", "#LAY_app_flexible", function(){
        if ($('#LAY_app').hasClass('layadmin-side-shrink')){
            $('#LAY_app').removeClass('layadmin-side-shrink');
            $(this).find('i').removeClass('layui-icon-spread-left').addClass('layui-icon-shrink-right');
        }
        else{
            $('#LAY_app').addClass('layadmin-side-shrink');
            $(this).find('i').removeClass('layui-icon-shrink-right').addClass('layui-icon-spread-left');
        }
    });
    
    $(document).on('click', '.layui-side-menu li a', function() {
        if ($('#LAY_app').hasClass('layadmin-side-shrink')){
            $('#LAY_app').removeClass('layadmin-side-shrink');
            $('#LAY_app_flexible').find('i').removeClass('layui-icon-spread-left').addClass('layui-icon-shrink-right');
        }
    });
    
    //全屏
    $(document).on("click", "[f='fullscreen']", function(){
        var t = $(this);
        var isFull = $(this).hasClass('full');
        if (!isFull){
            t.addClass('full');
            var el = document.documentElement;
            var rfs = el.requestFullScreen || el.webkitRequestFullScreen || 
                el.mozRequestFullScreen || el.msRequestFullScreen;
            if (typeof rfs != "undefined" && rfs) {
                rfs.call(el);
            }
            else if (typeof window.ActiveXObject != "undefined") {
                //for IE，这里其实就是模拟了按下键盘的F11，使浏览器全屏
                var wscript = new ActiveXObject("WScript.Shell");
                if (wscript != null) {
                    wscript.SendKeys("{F11}");
                }
            }
        }
        else {
            t.removeClass('full');
            // 判断各种浏览器，找到正确的方法
            var exitMethod = document.exitFullscreen || document.mozCancelFullScreen || document.webkitExitFullscreen || document.webkitExitFullscreen; 
            if (exitMethod) {
                exitMethod.call(document);
            }
            else if (typeof window.ActiveXObject !== "undefined") {//for Internet Explorer
                var wscript = new ActiveXObject("WScript.Shell");
                if (wscript !== null) {
                    wscript.SendKeys("{F11}");
                }
            }
        }
    });
    
    //清除缓存...
    $(document).on("click", "[f='clear_cache']", function(){
    
        $cache_obj = $(this).siblings('.oe_clear_cache');
        $cache_obj.slideDown(500, function(){
            $cache_obj.find('.clear').show().siblings('.clear_succ').hide();
            $.ajax({
                type: "POST",
                url: "<!--{$oefile}-->&c=setting",
                cache: false,
                data: {a:"dealcache", r:get_rndnum(8)},
                dataType: "json",
                success: function($data) {
                    $json = eval($data);
                    $response = $json.response;
                    $result = $json.result;
                    if ($response == '1') {
                    
                    }
                    else {
                    }
                    $cache_obj.find('.clear').hide().siblings('.clear_succ').show();
                    setTimeout(function(){
                        $cache_obj.slideUp();
                    }, 500);
                },
                error: function() {
                    layer.msg("系统繁忙，请稍后再试！");
                    $cache_obj.find('.clear').hide().siblings('.clear_succ').show();
                    setTimeout(function(){
                        $cache_obj.slideUp();
                    }, 500);
                }
            });
        });
        
    });
    
    //刷新内页...
    $(document).on("click", "[f='but_refresh']", function(){
        $_frame_url = $("#oelove_admin_main").attr("src");
        $a_url = $(".layui-nav-child .layui-this").find("a").attr("lay-href");
        if (typeof($a_url) == "undefined") {
            $a_url = $_frame_url;
        }
        $("#oelove_admin_main").attr("src", $a_url);
    });
    
    //菜单切换
    $('#top_menu').on('click', '[data-name]', function() {
        $menu_name = $(this).attr('data-name');
        $(this).closest('li').addClass('layui-this').siblings().removeClass('layui-this');
        $current_menu = $('#left_menu [data-toggle="'+ $menu_name  +'"]');
        $current_menu.show().siblings('ul').hide();
        $current_menu.find('li').eq(0).addClass('layui-nav-itemed').siblings().removeClass('layui-nav-itemed');
        $current_menu.find('li.layui-nav-open').addClass('layui-nav-itemed');
        $current_menu.find('dd').removeClass('layui-this');
        $current_menu.find('li').eq(0).find('dd').eq(0).addClass('layui-this');
        var url = $current_menu.find('li').eq(0).find('dd').eq(0).find('a').attr('lay-href');
        if (url) {
          _openNewPage(url, Var_iframe_name);
        }
    });
    //.8.12.05
    $('#top_menu li').eq(1).addClass('layui-this');
    $('#left_menu ul').eq(0).find('li').eq(0).addClass('layui-nav-itemed');
    $('[data-name="user_dropdown"]').on('click', 'a', function() {
      $(this).closest('dl').removeClass('layui-show');
    })
    
    _check_auth_status();
    
});

function _check_auth_status() {
    $.ajax({
        type: "GET",
        url: "<!--{$oefile}-->",
        cache: false,
        data: {c:"index", a:"checkstatus"},
        dataType: "json",
        success: function($data) {
            $json = eval($data);
            $response = $json.response;
            $result = $json.result;
            if ($response == "1") {
                if ($result.length > 0) {
                    $("#oelove_status").html("<font color='green'>"+$result+"</font>");
                }
            }
            else {
                if ($result.length == 0) {
                    $result = "未授权";
                }
                $("#oelove_status").html("<font color='red'>"+$result+"</font>");
            }
        },
        error: function() {
        
        }
    });
}
</script>
</body>
</html>