<div class="wrapper-md" ng-controller="admin_add_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         {{action}}管理员
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="save(lang)">
          <div class="form-group">
          <label class="col-sm-2 control-label">管理员帐号</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="A_login" value="{{data.A_login}}" required>
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label">密码</label>
          <div class="col-sm-10">
            <input type="password" class="form-control" name="A_pwd" placeholder="若不修改密码则留空">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">权限</label>
          <div class="col-sm-10">
           <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="A_a0" value="1" ng-checked="isSelected(data.A_a0)">
                <i></i>
                后台首页&nbsp;
              </label>
              <label class="i-checks">
                <input type="checkbox" name="A_a1" value="1" ng-checked="isSelected(data.A_a1)">
                <i></i>
                基本设置&nbsp;
              </label>
              <label class="i-checks">
                <input type="checkbox" name="A_a2" value="1" ng-checked="isSelected(data.A_a2)">
                <i></i>
                简介管理&nbsp;
              </label>
              <label class="i-checks">
                <input type="checkbox" name="A_a3" value="1" ng-checked="isSelected(data.A_a3)">
                <i></i>
                新闻管理&nbsp;
              </label>
              <label class="i-checks">
                <input type="checkbox" name="A_a4" value="1" ng-checked="isSelected(data.A_a4)">
                <i></i>
                产品管理&nbsp;
              </label>
              <label class="i-checks">
                <input type="checkbox" name="A_a5" value="1" ng-checked="isSelected(data.A_a5)">
                <i></i>
                万能表单&nbsp;
              </label>
              </div>
              <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="A_a6" value="1" ng-checked="isSelected(data.A_a6)">
                <i></i>
                模板插件&nbsp;
              </label>
              <label class="i-checks">
                <input type="checkbox" name="A_a8" value="1" ng-checked="isSelected(data.A_a8)">
                <i></i>
                联系方式&nbsp;
              </label>
              <label class="i-checks">
                <input type="checkbox" name="A_a10" value="1" ng-checked="isSelected(data.A_a10)">
                <i></i>
                手机版本&nbsp;
              </label>
              <label class="i-checks">
                <input type="checkbox" name="A_a7" value="1" ng-checked="isSelected(data.A_a7)">
                <i></i>
                菜单管理&nbsp;
              </label>
              <label class="i-checks">
                <input type="checkbox" name="A_a9" value="1" ng-checked="isSelected(data.A_a9)">
                <i></i>
                <b>帐号管理</b>&nbsp;
              </label>
              <label class="i-checks">
                <input type="checkbox" name="A_a11" value="1" ng-checked="isSelected(data.A_a11)">
                <i></i>
                网站安全&nbsp;
              </label>
            </div>
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>
  </form>
   </div>
    </div>
  </div>
</div>
^
<div class="wrapper-md" ng-controller="admin_list_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         管理员列表
        </div>
<div class="table-responsive">
<form id="form">
 <table class="table table-striped m-b-none" style="min-width: 900px;">
          <thead>
            <tr>
              <th>选择</th>
              <th>管理员</th>
			  <th>权限</th>
			  <th>编辑</th>
			  <th>删除</th>
            </tr>
          </thead>
          <tbody>
           <tr ng-repeat="x in admin_list" id="item_{{x.A_id}}">
		   <td>
              <label class="i-checks">
                <input type="checkbox" name="id" id="id" value="{{x.A_id}}" ng-checked="all">
                <i></i>
              </label>
        </td>
       <td>{{x.A_login}}</td>
        <td><span ng-bind-html="trust(x.A_part)"></span></td>
        <td><a href="#/app/admin_add/{{x.A_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="del(x.A_id)" class="del"><i class='fa fa-times-circle'></i> 删除</a></td>
            </tr>
          </tbody>
        </table>
        </form>
        </div>
      </div>
              <label class="i-checks">
                <input type="checkbox" ng-model="all">
                <i></i>
                全选
              </label>
<input type="button" value="删除所选" ng-click="delall()" class="del">
<a href='#/app/admin_add/' class='edit'><i class='fa fa-plus'></i> 新增管理员</a>
    </div>
  </div>
</div>
^
  <div data-ng-include=" 'tpl.asp?page=66' " class="app-header navbar">
  </div>
  <div data-ng-include=" 'tpl.asp?page=65' " class="app-aside hidden-xs {{app.settings.asideColor}}">
  </div>
  <div class="app-content">
    <div ui-butterbar></div>
    <a href class="off-screen-toggle hide" ui-toggle-class="off-screen" data-target=".app-aside" ></a>
    <div class="app-content-body fade-in-up" ui-view></div>
  </div>
  <div class="app-aside-right pos-fix no-padder w-md w-auto-xs bg-white b-l animated fadeInRight hide">
    
  </div>
  <alert ng-repeat="alert in alerts" type="{{alert.type}}" ng-hide="alerthide" close="closeAlert($index)" style="position: fixed; top:60px; right: 10px; z-index: 100000; width: 270px;"><span ng-bind-html="trust(alert.msg)"></span></alert>
^
<div class="wrapper-md" ng-controller="config_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         基本设置
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="save(lang)">
          <tabset class="tab-container">
          <tab heading="SEO设置">
          <div class="form-group">
          <label class="col-sm-2 control-label">网站标题</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="C_title" value="{{data.C_webtitle}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">网站关键词</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="C_keywords" popover="写几个最符合网站的关键词，注意词与词之间用半角逗号（,）隔开，对SEO优化有帮助" popover-trigger="focus" value="{{data.C_keywords}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">网站描述</label>
          <div class="col-sm-10">
            <textarea class="form-control {{lcss}}" rows="3" name="C_content" popover="写一段描述你的网站的文字，不要超过100字，对SEO优化有帮助" popover-trigger="focus">{{data.C_description}}</textarea>
          </div>
          </div>

          </tab>
          <tab heading="基本设置">
          <div class="form-group">
          <label class="col-sm-2 control-label">版权文字</label>
          <div class="col-sm-10">
            <textarea class="form-control {{lcss}}" rows="3" name="C_foot">{{data.C_foot}}</textarea>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">网址跳转</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_domain" value="{{data.C_todomain}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">网站logo</label>
          <div class="col-sm-10">
          <img ng-src="../{{data.C_logo}}" id="C_logox" class="L_pic" onclick="showUpload('C_logo','C_logo','../media',1,null,'x','x');">
           <div class="input-group">

              <input type="text" class="form-control" name="C_logo" id="C_logo" value="{{data.C_logo}}" required>
              <span class="input-group-btn">
                <button class="btn btn-info" type="button" onclick="showUpload('C_logo','C_logo','../media',1,null,'x','x');">上传文件</button>
              </span>
            </div>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label" required>logoX坐标</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_logox" value="{{data.C_logox}}" popover="控制LOGO左右方向" popover-trigger="focus"> 
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label" required>logoY坐标</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_logoy" value="{{data.C_logoy}}" popover="控制LOGO上下方向" popover-trigger="focus">
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label" required>网站ico文件</label>
          <div class="col-sm-10">
          <img ng-src="../{{data.C_ico}}" id="C_icox" class="L_pic" onclick="showUpload('C_ico','C_ico','../media',1,null,'x','x');">
           <div class="input-group">
              <input type="text" class="form-control" name="C_ico" id="C_ico" value="{{data.C_ico}}" popover="ico文件，显示在地址栏及标题栏的小图标" popover-trigger="focus">
              <span class="input-group-btn">
                <button class="btn btn-info" type="button" onclick="showUpload('C_ico','C_ico','../media',1,null,'x','x');">上传文件</button>
              </span>
            </div>
          </div>
          </div>

          </tab>
          <tab heading="辅助功能">
          <div class="form-group">
          <label class="col-sm-2 control-label">统计代码</label>
          <div class="col-sm-10">
            <textarea class="form-control" name="C_code" rows="3">{{data.C_code}}</textarea>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">QQ客服</label>
          <div class="col-sm-10">
            <textarea class="form-control {{lcss}}" name="C_qq" rows="3">{{data.C_qq}}</textarea>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">电话客服</label>
          <div class="col-sm-10">
            <textarea class="form-control" name="C_mobile" rows="3">{{data.C_mobile}}</textarea>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">分享代码</label>
          <div class="col-sm-10">
            <textarea class="form-control" name="C_fenxiang" rows="3">{{data.C_fenxiang}}</textarea>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">辅助功能</label>
          <div class="col-sm-10">
            <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="C_qqon" value="1" ng-checked="isSelected(data.C_qqon)">
                <i></i>
                开启客服插件
              </label>
              <input type="hidden" name="C_qqon" value="0">
            </div>
            <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="C_member" value="1" ng-checked="isSelected(data.C_member)">
                <i></i>
                开启会员中心
              </label>
              <input type="hidden" name="C_member" value="0">
            </div>
            <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="C_top" value="1" ng-checked="isSelected(data.C_top)">
                <i></i>
                返回顶部按钮
              </label>
              <input type="hidden" name="C_top" value="0">
            </div>
            <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="C_html"  value="1" ng-checked="isSelected(data.C_html)">
                <i></i>
                开启静态
              </label>
              <input type="hidden" name="C_html" value="0">
            </div>
            <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="C_close"  value="1" ng-checked="isSelected(data.C_close)">
                <i></i>
                临时关站
              </label>
              <input type="hidden" name="C_close" value="0">
            </div>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">客服插件</label>
          <div class="col-sm-10">
            <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="C_qq1" value="1" ng-checked="isSelected(data.C_qq1)">
                
                <i></i>
                在线客服
              </label>
              <input type="hidden" name="C_qq1" value="0">
            </div>
            <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="C_qq2" value="1" ng-checked="isSelected(data.C_qq2)">
                
                <i></i>
                电话客服
              </label>
              <input type="hidden" name="C_qq2" value="0">
            </div>
            <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="C_qq3" value="1" ng-checked="isSelected(data.C_qq3)">
                
                <i></i>
                网站二维码
              </label>
              <input type="hidden" name="C_qq3" value="0">
            </div>
          <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="C_qq4" value="1" ng-checked="isSelected(data.C_qq4)">
                
                <i></i>
                微信公众号
              </label>
              <input type="hidden" name="C_qq4" value="0">
            </div>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">开启双语</label>
          <div class="col-sm-10">
            <label class="i-switch bg-info m-t-xs m-r">
              <input type="checkbox" value="1" name="C_lang" ng-checked="isSelected(data.C_lang)">

              <i></i>
            </label>
            <input type="hidden" name="C_lang" value="0">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">默认语言</label>
          <div class="col-sm-10">
            <div class="radio">
              <label class="i-checks">
                <input type="radio" name="C_delang" value="0" ng-checked="isSelected2(data.C_delang,0)">
                <i></i>
                简体中文
              </label>
            </div>
            <div class="radio">
              <label class="i-checks">
                <input type="radio" name="C_delang" value="1" ng-checked="isSelected2(data.C_delang,1)">
                <i></i>
                English
              </label>
            </div>
          </div>
          </div>
          </tab>
          <tab heading="分页设置">
          <div class="form-group">
          <label class="col-sm-2 control-label">新闻分页</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_npage" value="{{data.C_npage}}" popover="新闻每页的条数（填写大于0的整数）" popover-trigger="focus">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">产品分页</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_ppage" value="{{data.C_ppage}}" popover="产品每页的个数（填写大于0的整数）" popover-trigger="focus">
          </div>
          </div>
          </tab>
          <tab heading="水印设置">
          
          <div class="form-group">
          <label class="col-sm-2 control-label">水印组件</label>
          <div class="col-sm-10 ">
          persits.jpeg组件 <span style="color:#009900" ng-show="isSelected2(data.C_jpeg,1)">√ 支持</span> <span style="color:#ff0000" ng-show="isSelected2(data.C_jpeg,0)">× 不支持，请先联系空间商安装</span>
          </div>
          </div>
          <div ng-show="isSelected2(data.C_jpeg,1)">
          <div class="form-group">
          <label class="col-sm-2 control-label">水印开关</label>
          <div class="col-sm-10">
            <div class="radio">
              <label class="i-checks">
                <input type="radio" name="C_mark" value="1" ng-checked="isSelected2(data.C_mark,1)" ng-click="mark(1)">
                <i></i>
                文字水印&nbsp;&nbsp;
              </label>
              <label class="i-checks">
                <input type="radio" name="C_mark" value="2" ng-checked="isSelected2(data.C_mark,2)" ng-click="mark(2)">
                <i></i>
                图片水印&nbsp;&nbsp;
              </label>
              <label class="i-checks">
                <input type="radio" name="C_mark" value="0" ng-checked="isSelected2(data.C_mark,0)" ng-click="mark(0)">
                <i></i>
                关闭水印&nbsp;&nbsp;
              </label>
            </div>
          </div>
          </div>
          <div class="form-group" ng-hide="isSelected2(data.C_mark,0)">
          <label class="col-sm-2 control-label">水印位置</label>
          <div class="col-sm-10">
           <div class="radio">
              <label class="i-checks">
                <input type="radio" name="C_m_position" value="1" ng-checked="isSelected2(data.C_m_position,1)">
                <i></i>
                左上&nbsp;&nbsp;
              </label>
              <label class="i-checks">
                <input type="radio" name="C_m_position" value="2" ng-checked="isSelected2(data.C_m_position,2)">
                <i></i>
                右上&nbsp;&nbsp;
              </label>
              <label class="i-checks">
                <input type="radio" name="C_m_position" value="3" ng-checked="isSelected2(data.C_m_position,3)">
                <i></i>
                左下&nbsp;&nbsp;
              </label>
              <label class="i-checks">
                <input type="radio" name="C_m_position" value="4" ng-checked="isSelected2(data.C_m_position,4)">
                <i></i>
                右下&nbsp;&nbsp;
              </label>
              <label class="i-checks">
                <input type="radio" name="C_m_position" value="5" ng-checked="isSelected2(data.C_m_position,5)">
                <i></i>
                居中&nbsp;&nbsp;
              </label>
            </div>
          </div>
          </div>
          <div ng-show="isSelected2(data.C_mark,1)">
          <hr>
          <div class="form-group">
          <label class="col-sm-2 control-label">水印文字</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_m_text" value="{{data.C_m_text}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">水印字体</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_m_font" value="{{data.C_m_font}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">文字大小</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_m_size" value="{{data.C_m_size}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">文字颜色</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_m_color" value="{{data.C_m_color}}">
          </div>
          </div>
          </div>
          <div ng-show="isSelected2(data.C_mark,2)">
          <hr>
          <div class="form-group">
          <label class="col-sm-2 control-label" required>水印图片</label>
          <div class="col-sm-10">
          <img ng-src="../{{data.C_m_logo}}" id="C_m_logox" class="L_pic" onclick="showUpload('C_m_logo','C_m_logo','../media',1,null,'x','x');">
           <div class="input-group">
              <input type="text" class="form-control" name="C_m_logo" id="C_m_logo" value="{{data.C_m_logo}}">
              <span class="input-group-btn">
                <button class="btn btn-info" type="button" onclick="showUpload('C_m_logo','C_m_logo','../media',1,null,'x','x');">上传文件</button>
              </span>
            </div>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">图片宽度</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_m_width" value="{{data.C_m_width}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">图片高度</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_m_height" value="{{data.C_m_height}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">透明度</label>

          <div class="col-sm-10">
            <div class="input-group">
            <input type="text" class="form-control" name="C_m_transparent" value="{{data.C_m_transparent}}">
            <span class="input-group-addon">%</span>
          </div>
          </div>
          </div>
          说明：PNG格式水印暂时不支持调整透明度。
          </div>
          </div>
          </tab>

          <tab heading="收款设置">
          <div ng-show="isSelected(c.x3)">
          <div class="form-group">
          <label class="col-sm-2 control-label">支付宝账户</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_alipay" value="{{data.C_alipay}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">支付宝ID</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_alipayid" value="{{data.C_alipayid}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">支付宝KEY</label>
          <div class="col-sm-10">
            <input type="password" class="form-control" name="C_alipaykey" value="{{data.C_alipaykey}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">微信APPID</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_wx_appid" value="{{data.C_wx_appid}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">微信APPSECRET</label>
          <div class="col-sm-10">
            <input type="password" class="form-control" name="C_wx_appsecret" value="{{data.C_wx_appsecret}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">微信MCHID</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_wx_mchid" value="{{data.C_wx_mchid}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">微信KEY</label>
          <div class="col-sm-10">
            <input type="password" class="form-control" name="C_wx_key" value="{{data.C_wx_key}}">
          </div>
          </div>
          
          
          <div class="form-group">
          <label class="col-sm-2 control-label">收款开关</label>
          <div class="col-sm-10">
            <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="C_alipayon" value="true" ng-checked="data.C_alipayon">
                <i></i>
                支付宝
              </label>
            </div>
            <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="C_wxpayon" value="true" ng-checked="data.C_wxpayon">
                <i></i>
                微信支付
              </label>
            </div>
            <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="C_bankon" value="true" ng-checked="data.C_bankon">
                <i></i>
                网银支付
              </label>
            </div>
            <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="C_balanceon" value="true" ng-checked="data.C_balanceon">
                <i></i>
                余额支付
              </label>
            </div>
          
          </div>
          </div>
          </div>
          <div ng-show="!isSelected(c.x3)">
          您还未购买此插件 <a href="#/app/plug/" class="del"><i class="fa fa-shopping-cart"></i> 购买</a>
          </div>
          </tab>
          <tab heading="邮箱设置">
          <div ng-show="isSelected(c.x6)">
          <div class="form-group">
          <label class="col-sm-2 control-label">电子邮箱</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_email" value="{{data.C_email}}" popover="用于找回密码、发送通知等功能" popover-trigger="focus">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">密码/授权码</label>
          <div class="col-sm-10">
            <input type="password" class="form-control" name="C_mpwd" value="{{data.C_mpwd}}" popover="请到邮箱开启pop3/smtp功能，并且获取授权码填写在此" popover-trigger="focus">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
           主机需要支持Jmail组件才能使用此功能。
          </div>
          </div>
          </div>

          <div ng-show="!isSelected(c.x3)">
          您还未购买此插件 <a href="#/app/plug/" class="del"><i class="fa fa-shopping-cart"></i> 购买</a>
          </div>
          </tab>
          <tab heading="快捷登录">
          <div ng-show="isSelected(c.x2)">
          <div class="form-group">
          <label class="col-sm-2 control-label">QQ ID</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_qqid" value="{{data.C_qqid}}" popover="QQ ID非QQ号码，请到“QQ互联”申请ID及KEY" popover-trigger="focus">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">QQ KEY</label>
          <div class="col-sm-10">
            <input type="password" class="form-control" name="C_qqkey" value="{{data.C_qqkey}}" popover="QQ KEY非QQ密码，请到“QQ互联”申请ID及KEY" popover-trigger="focus">
          </div>
          </div>
          </div>
          <div ng-show="!isSelected(c.x2)">
          您还未购买此插件 <a href="#/app/plug/" class="del"><i class="fa fa-shopping-cart"></i> 购买</a>
          </div>
          </tab>
          <tab heading="评论设置">
          <div ng-show="isSelected(c.x11)">
          <div class="form-group">
          <label class="col-sm-2 control-label">友言ID</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_pid" value="{{data.C_pid}}" popover="请到“友言”网站申请ID填写在此，可管理/删除评论内容" popover-trigger="focus">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">评论功能开启</label>
          <div class="col-sm-10">
            <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="C_np" value="1" ng-checked="isSelected(data.C_np)">
                <i></i>
                新闻评论
              </label>
              <input type="hidden" name="C_np" value="0">
            </div>
            <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="C_pp" value="1" ng-checked="isSelected(data.C_pp)">
                <i></i>
                产品评论
              </label>
              <input type="hidden" name="C_pp" value="0">
            </div>
          </div>
          </div>
          </div>
          <div ng-show="!isSelected(c.x11)">
          您还未购买此插件 <a href="#/app/plug/" class="del"><i class="fa fa-shopping-cart"></i> 购买</a>
          </div>
          </tab>
         </tabset>
          <button type="submit" class="btn btn-info">保存</button>
  </form>
  </div>
  </div>
    </div>
  </div>
</div>
^
<div class="wrapper-md" ng-controller="config2_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         自定义设置
        </div>
<div class="table-responsive">
<form id="form" ng-submit="save(lang)">
<span ng-bind-html="trust(data.config2)"></span>
</form>
        </div>
      </div>
    </div>
  </div>
</div>
^
<div class="wrapper-md" ng-controller="contact_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
       <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         联系方式
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="save(lang)">
          <div class="form-group">
          <label class="col-sm-2 control-label">标题</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="C_title" value="{{data.C_title}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">标题（第二语言）</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="C_entitle" value="{{data.C_entitle}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">地图类型</label>
          <div class="col-sm-10">
            <div class="radio">
              <label class="i-checks">
                <input type="radio" name="C_map" value="baidu" ng-checked="isSelected2(data.C_map,'baidu')">
                <i></i>
                百度地图
              </label>
            </div>
            <div class="radio">
              <label class="i-checks">
                <input type="radio" name="C_map" value="google" ng-checked="isSelected2(data.C_map,'google')">
                <i></i>
                谷歌地图
              </label>
            </div>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">地图设置（坐标）</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_zb" value="{{data.C_zb}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">地图设置（地址）</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="C_address" value="{{data.C_address}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">联系方式</label>
          <div class="col-sm-10">
          <textarea name='C_content' style='width:100%;height:300px;' id='content'></textarea>
          
          <script>
var editor=KindEditor.create('#content', {uploadJson : '../kindeditor/asp/upload_json.asp', fileManagerJson : '../kindeditor/asp/file_manager_json.asp',allowFileManager :true,filterMode: false,items:['source', '|', 'undo', 'redo', '|', 'preview', 'print', 'template', 'code', 'cut', 'copy', 'paste', 'plainpaste', 'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright','justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript', 'superscript', 'clearhtml', 'quickformat', 'selectall', '|', 'fullscreen', '/','formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold','italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'image', 'multiimage','flash', 'media', 'insertfile', 'table', 'hr', 'emoticons', 'baidumap', 'pagebreak','anchor', 'link', 'unlink', '|', 'about']});
          </script>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>
  </form>
  </div>
  </div>
    </div>
  </div>
</div>
^
<div class="wrapper-md" ng-controller="content_add_Ctrl"> 
   <div class="row"> 
    <div class="col-lg-12"> 
     <div class="panel panel-info ng-scope"> 
      <div class="panel-heading">
        {{action}}条目 
      </div> 
      <div class="panel-body"> 
       <form class="form-horizontal" id="form" ng-submit="save(lang)"> 
        <div class="form-group"> 
         <label class="col-sm-2 control-label">条目标题</label> 
         <div class="col-sm-10"> 
          <input type="text" class="form-control {{lcss}}" name="C_title" value="{{data.C_title}}" required="" /> 
         </div> 
        </div> 
        <div class="form-group"> 
         <label class="col-sm-2 control-label">条目备注</label> 
         <div class="col-sm-10"> 
          <textarea class="form-control {{lcss}}" name="C_bz" ng-model="data.C_bz" /></textarea>
         </div> 
        </div> 
        <div class="form-group"> 
         <label class="col-sm-2 control-label">条目内容</label> 
         <div class="col-sm-10"> 
          <textarea class="form-control {{lcss}}" name="C_content" ng-model="data.C_content" popover="用“|”符号分开选项" popover-trigger="focus" /></textarea>
         </div> 
        </div> 
        <div class="form-group"> 
         <label class="col-sm-2 control-label">条目编号</label> 
         <div class="col-sm-10"> 
          <input type="text" class="form-control" name="C_order" value="{{data.C_order}}" /> 
         </div> 
        </div> 
        <div class="form-group"> 
         <label class="col-sm-2 control-label">条目类型</label> 
         <div class="col-sm-10"> 
          <div class="radio">
              <label class="i-checks">
                <input type="radio" name="C_type" value="text" ng-checked="isSelected2(data.C_type,'text')">
                <i></i>
                文本框
              </label>
            </div>
            <div class="radio">
              <label class="i-checks">
                <input type="radio" name="C_type" value="area" ng-checked="isSelected2(data.C_type,'area')">
                <i></i>
                文本域
              </label>
            </div>
            <div class="radio">
              <label class="i-checks">
                <input type="radio" name="C_type" value="radio" ng-checked="isSelected2(data.C_type,'radio')">
                <i></i>
                单选按钮
              </label>
            </div>
            <div class="radio">
              <label class="i-checks">
                <input type="radio" name="C_type" value="checkbox" ng-checked="isSelected2(data.C_type,'checkbox')">
                <i></i>
                多选按钮
              </label>
            </div>
            <div class="radio">
              <label class="i-checks">
                <input type="radio" name="C_type" value="option" ng-checked="isSelected2(data.C_type,'option')">
                <i></i>
                下拉列表
              </label>
            </div>
            <div class="radio">
              <label class="i-checks">
                <input type="radio" name="C_type" value="pic" ng-checked="isSelected2(data.C_type,'pic')">
                <i></i>
                上传文件
              </label>
            </div>
            <div class="radio">
              <label class="i-checks">
                <input type="radio" name="C_type" value="date" ng-checked="isSelected2(data.C_type,'date')">
                <i></i>
                选择时间
              </label>
            </div>
         </div> 
        </div> 
        <div class="form-group"> 
         <label class="col-sm-2 control-label">条目所属</label> 
         <div class="col-sm-10"> 
          <select name="C_fid" class="form-control ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched">
          <option value="{{x.F_id}}" ng-repeat="x in form_list" ng-selected="isSelected2(data.C_fid,x.F_id)">{{x.F_title}}</option>
          </select>
         </div> 
        </div>
        <div class="form-group"> 
         <label class="col-sm-2 control-label"></label> 
         <div class="col-sm-10"> 
          <button type="submit" class="btn btn-info">保存</button> 
         </div> 
        </div> 
       </form> 
      </div> 
     </div> 
    </div> 
   </div>
  </div>
^
<div class="wrapper-md">
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel  panel-danger ng-scope">
        <div class="panel-heading">
        无权限
        </div>
        <div class="panel-body">
        您没有管理该模块的权限，请联系顶级管理员。
   </div>
    </div>
  </div>
</div>
^
<div class="wrapper-md" ng-controller="file_Ctrl" >
  <div class="row">

<form id="form">
<div class="col-lg-2 col-md-3 col-sm-4 col-xs-6" ng-repeat="x in file_list" id="item_{{x.id}}">
<div class="panel">
<div class="panel-body">
<a href='javascript:;' ng-click="show(x.filename)">
<div style="height: 100px; text-align: center;">
<img ng-src='../media/{{x.filename}}' style="max-height:100px;max-width: 100%" >
</div>
</a>
<br>
<div style='width:120px;overflow:hidden;'>{{x.filename}}</div>
<br>
<label class="i-checks"><input type="checkbox" name="id" value="{{x.id}}_{{x.filename}}" ng-checked="all" ng-disabled="isSelected(x.disabled)"><i></i></label>
<a href='javascript:;' ng-click="show(x.filename)" class='add'><i class='fa fa-sign-out'></i> 查看</a> 
<a href='javascript:;' ng-click="do(x.disabled,x.filename,x.id)" ng-class="{0:'del',1:'edit'}[x.disabled]" ng-bind-html='use(x.disabled)'></a>
</div>
</div>
</div>
</form>
  </div>
          <label class="i-checks">
                <input type="checkbox" ng-model="all">
                <i></i>
                全选
              </label>
           
<input type="button" value="删除所选" ng-click="delall()" class="del">

</div>
^
<div class="wrapper-md" ng-controller="form_add_Ctrl"> 
   <div class="row"> 
    <div class="col-lg-12"> 
     <div class="panel panel-info ng-scope"> 
      <div class="panel-heading">
        {{action}}表单 
      </div> 
      <div class="panel-body"> 
       <form class="form-horizontal" id="form" ng-submit="save(lang)"> 
        <div class="form-group"> 
         <label class="col-sm-2 control-label">表单标题</label> 
         <div class="col-sm-10"> 
          <input type="text" class="form-control {{lcss}}" name="F_title" value="{{data.F_title}}" required="" /> 
         </div> 
        </div> 
        <div class="form-group"> 
         <label class="col-sm-2 control-label">标题（第二语言）</label> 
         <div class="col-sm-10"> 
          <input type="text" class="form-control {{lcss}}" name="F_entitle" value="{{data.F_entitle}}" required="" /> 
         </div> 
        </div> 
        <div class="form-group"> 
         <label class="col-sm-2 control-label ">SEO设置<br />keywords</label> 
         <div class="col-sm-10"> 
          <input type="text" class="form-control {{lcss}}" name="F_keywords" value="{{data.F_keywords}}" required="" /> 
         </div> 
        </div> 
        <div class="form-group"> 
         <label class="col-sm-2 control-label">SEO设置<br />description</label> 
         <div class="col-sm-10"> 
          <textarea class="form-control {{lcss}}" name="F_description" ng-model="data.F_description" /></textarea>
         </div> 
        </div> 
        <div class="form-group"> 
         <label class="col-sm-2 control-label">开启登陆验证</label> 
         <div class="col-sm-10"> 
          <label class="i-switch bg-info m-t-xs m-r"> <input type="checkbox" value="1" name="F_yz" ng-checked="isSelected(data.F_yz)" /> <i></i> </label> *开启后会员需要登录才能提交表单
         </div> 
        </div> 
        <div class="form-group"> 
         <label class="col-sm-2 control-label">表单备注</label> 
         <div class="col-sm-10"> 
          <textarea class="form-control {{lcss}}" name="F_bz" ng-model="data.F_bz" /></textarea>
         </div> 
        </div> 
        <div class="form-group"> 
         <label class="col-sm-2 control-label">表单配图</label> 
         <div class="col-sm-10"> 
          <img ng-src="../{{data.F_pic}}" id="F_picx" class="L_pic" onclick="showUpload('F_pic','F_pic','../media',1,null,'','');" /> 
          <div class="input-group"> 
           <input type="text" class="form-control" id="F_pic" name="F_pic" value="{{data.F_pic}}" /> 
           <span class="input-group-btn"> <button class="btn btn-info" type="button" onclick="showUpload('F_pic','F_pic','../media',1,null,'','');">上传文件</button> </span> 
          </div> 
         </div> 
        </div> 
        <div class="form-group" ng-show="showx">
          <label class="col-sm-2 control-label">菜单所属</label>
          <div class="col-sm-10">
        <select name='U_sub' class="form-control ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched">
        <option value="x">不加入到菜单</option>
        <option value="0">网站主菜单</option>
        <option ng-repeat="x in menu_lists" value="{{x.U_id}}">┗ {{x.U_title}}</option>
        </select>
          </div>
          </div>
        <div class="form-group"> 
         <label class="col-sm-2 control-label"></label> 
         <div class="col-sm-10"> 
          <button type="submit" class="btn btn-info">保存</button> 
         </div> 
        </div> 
       </form> 
      </div> 
     </div> 
    </div> 
   </div>
  </div>
^
<div class="wrapper-md" ng-controller="form_list_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         表单列表
        </div>
<div class="table-responsive">
<form id="form">
 <table class="table m-b-none table-hover" style="min-width: 900px;">
          <thead>
            <tr>
              <th>选择</th>
              <th>排序</th>
			  <th>显示名称</th>
			  <th>名称（第二语言）</th>
			  <th>展示方式</th>
			  <th>封面</th>
        <th>查看统计</th>
        <th>生成excel</th>
        <th>编辑</th>
        <th>删除</th>
        <th>添加到菜单</th>
            </tr>
          </thead>
          <tbody ng-repeat="x in form_list">
           <tr id="item_f{{x.F_id}}" class="active">
		   <td>
              /
        </td>
        <td>/</td>
       <td><input type='text' value='{{x.F_title}}' name='Ftitle_{{x.F_id}}' class="form-control {{lcss}}" ng-blur="save(lang)"></td>
        <td><input type='text' value='{{x.F_entitle}}' name='Fentitle_{{x.F_id}}' class="form-control {{lcss}}" ng-blur="save(lang)"></td>
        <td></td>
        
        <td>
        <img ng-src='../{{x.F_pic}}' width='100px' alt='<img src=../{{x.F_pic}} width=400>' id="pic_{{x.F_id}}x" ng-click="showUpload(x.F_id)"></span>
        <input type="hidden" value="{{x.F_pic}}" id="pic_{{x.F_id}}" name="pic_{{x.F_id}}">
        </td>
        <td><a href="#/app/response_list/{{x.F_id}}" class="add"><i class="fa fa-tasks"></i> 查看统计</a> <span class="badge badge-sm up bg-danger pull-right-xs" ng-if="isSelected(x.F_count)">{{x.F_count}}</span></td>
        <td><a href="javacsript:;" class="add" ng-click="creat(x.F_id)"><i class="fa fa-file-excel-o"></i> 生成excel</a></td>
        <td><a href="#/app/form_add/{{x.F_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="delf(x.F_id)" class="del"><i class="fa fa-times-circle"></i> 删除</a></td>
        <td><a href="javascript:;" ng-click="addmenu(x.F_id)" class="add"><i class='fa fa-plus-circle'></i> 添加</a></td>
            </tr>

            <tr ng-repeat="y in x.content_list" id="item_c{{y.C_id}}">
       <td>
              <label class="i-checks">
                <input type="checkbox" name="id" id="id" value="{{y.C_id}}" ng-checked="all">
                <i></i>
              </label>
        </td>
        <td><input type='text' value='{{y.C_order}}' name='order_{{y.C_id}}' class="form-control" style="width: 50px;" ng-blur="save(lang)"></td>
       <td><input type='text' value='{{y.C_title}}' name='Ctitle_{{y.C_id}}' class="form-control {{lcss}}" ng-blur="save(lang)"></td>
       <td></td>
        <td>{{y.C_type}}</td>
        <td></td>
        <td></td>
        <td></td>
        <td><a href="#/app/content_add/{{y.C_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="delc(y.C_id)" class="del"><i class='fa fa-times-circle'></i> 删除</a></td>
        <td></td>
            </tr>

          </tbody>

        </table>

</form>
        </div>

      </div>


              <label class="i-checks">
                <input type="checkbox" ng-model="all">
                <i></i>
                全选
              </label>
           
<input type="button" value="删除所选" ng-click="delall()" class="del">
<input type="button" value="保存修改" ng-click="save(lang)" class="add">
<a href='#/app/form_add/' class='edit'><i class='fa fa-plus'></i> 新增表单</a>
<a href='#/app/content_add/' class='edit'><i class='fa fa-plus'></i> 新增条目</a>
    </div>
	
  </div>
  
  

  
</div>
^
<div class="wrapper-md" ng-controller="guestbook_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         留言列表
        </div>
<div class="table-responsive">
<form id="form">
 <table class="table table-striped m-b-none" style="min-width: 900px;">
          <thead>
            <tr>
              <th>选择</th>
              <th>标题</th>
			  <th>内容</th>
			  <th>时间</th>
			  <th>审核</th>
			  <th>回复</th>
			   <th>删除</th>
            </tr>
          </thead>
          <tbody>
           <tr ng-repeat="x in guestbook" id="item_{{x.G_id}}">
		   <td>
              <label class="i-checks">
                <input type="checkbox" name="id" id="id" value="{{x.G_id}}" ng-checked="all">
                <i></i>
              </label>
        </td>
       <td><input type='text' value='{{x.G_title}}' name='title_{{x.G_id}}' class="form-control"></td>
        <td><textarea ng-model="x.G_msg" class="form-control"></textarea></td>
        <td>{{x.G_time}}</td>
        <td><span ng-bind-html="trust(x.G_shinfo)"></span></td>
        <td><a href="#/app/reply/{{x.G_id}}" class="edit"><i class="fa fa-edit"></i> 回复</a></td>
        <td><a href="javascript:;" ng-click="del(x.G_id)" class="del"><i class='fa fa-times-circle'></i> 删除</a></td>
            </tr>
           
          </tbody>
        </table>
        </form>
        </div>
      </div>
              <label class="i-checks">
                <input type="checkbox" ng-model="all">
                <i></i>
                全选
              </label>
<input type="button" value="删除所选" ng-click="delall()" class="del">

    </div>
	
  </div>
  
  

  
</div>
^
<script>
setInterval(function(){
fnDate();
},1000);
function fnDate(){
var date=new Date();
var year=date.getFullYear();
var month=date.getMonth();
var data=date.getDate();
var hours=date.getHours();
var minute=date.getMinutes();
var second=date.getSeconds();
var time=year+"-"+fnW((month+1))+"-"+fnW(data)+" "+fnW(hours)+":"+fnW(minute)+":"+fnW(second);
$("#div1").html(time);
}
function fnW(str){
var num;
str>9?num=str:num="0"+str;
return num;
} 
</script>
<div class="bg-light lter b-b wrapper-md">
  <h1 class="m-n font-thin h3">后台首页</h1>
</div>
<div class="wrapper-md" ng-controller="index_Ctrl">
  <div class="row">
    <div class="col-lg-6">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
          网站信息
          <span class="pull-right">电脑版 <span style="margin:0 35px 0 80px">手机版<span></span>
        </div>
        <div class="table-responsive">
<div class="panel-body">

<div style="min-width: 520px;">
<div style="float:right"><a href="#/app/template_list/0"><img ng-src="../template/{{C_template}}/template.jpg" width='100' height='100' style='width:100px; height:100px; border-radius:30%; overflow:hidden; border: #DDDDDD solid 2px;' alt="<img src='../template/{{C_template}}/template.jpg' width='400'>"/></a><a href="#/app/template_list/1"><img ng-src="../wap/{{C_wap}}/template.jpg" width='100' height='100' style='width:100px; height:100px; border-radius:30%; overflow:hidden;border: #DDDDDD solid 2px;margin-left:20px;' alt="<img src='../wap/{{C_wap}}/template.jpg' width='200'>"/></a></div>
<p>网站名称：{{data.C_webtitle}} </p>
<p>网站留言：未审核（{{gnum}}）/ 文章投稿：未审核（{{nnum}}）</p>
<p>当前模板：电脑端（{{C_template}}）/ 移动端（{{C_wap}}）</p>
<p>程序版本：{{data.C_version}}</p>
        </div>
      </div>
    </div>
    </div>
     </div>
	<div class="col-lg-6">
      <div  class="panel  panel-info ng-scope">
        <div class="panel-heading">
          系统信息
        </div>
        <div class="table-responsive">
       <div class="panel-body">
       <div style="min-width: 520px;">
          <div style="float:right">
<img ng-src="http://static.websiteonline.cn/website/qr/index.php?url={{data.C_domain}}" width="100" alt="<img src='http://static.websiteonline.cn/website/qr/index.php?url={{data.C_domain}}' width='200'>"/>
<img ng-src="../{{data.C_wcode}}"  width="100" alt="<img src='../{{data.C_wcode}}' width='200'"/>
</div>
<p>欢迎来到“{{data.C_webtitle}}”后台管理系统！</p>
<p>网站域名：http://{{data.C_domain}}</p>
<p>网址二维码/微信公众号二维码 →</p>
<p>现在时间：<span id="div1"></span></p>
        </div>
      </div>
    </div>
  </div>
    </div>
      </div>
  
  <div class="row">
    <div class="col-lg-6">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         最新留言
         <span class="pull-right"><a href="#/app/guestbook/">查看更多</a></span>
        </div>
        <div class="table-responsive">
 <table class="table table-striped m-b-none" style="min-width: 520px;">
          <thead>
            <tr>
              <th>标题</th>
              <th>留言时间</th>
			  <th>审核</th>
			  <th>回复</th>
			  <th>删除</th>
            </tr>
          </thead>
          <tbody>
           <tr ng-repeat="x in messages" id="item_{{x.G_id}}">
              <td><input type="text" value="{{x.G_title}}" class="form-control"></td>
              <td>{{x.G_time}}</td>
        <td><span ng-bind-html="x.G_sh"></span></td>
        <td><a href="#/app/reply/{{x.G_id}}" class="edit"><i class="fa fa-edit"></i> 回复</a></td>
        <td><a ng-click="del(x.G_id)" class="del"><i class="fa fa-times-circle"></i> 删除</a></td>
            </tr>
           
          </tbody>
        </table>
        </div>
      </div>
    </div>
	<div class="col-lg-6">
      <div class="panel panel-info ng-scope">
        <div class="panel-heading">
         最新订单
          <span class="pull-right"><a href="#/app/order_list/">查看更多</a></span>
        </div>
        <div class="table-responsive">
 <table class="table table-striped m-b-none" style="min-width: 520px;">
          <thead>
            <tr>
              <th>商品名称</th>
              <th>状态</th>
        <th>总价</th>
        <th>会员</th>
        <th>提交时间</th>
            </tr>
          </thead>
          <tbody>
           <tr ng-repeat="x in orders">
              <td><input type="text" value="{{x.P_title}}" class="form-control"></td>
              <td>{{x.O_state}}</td>
        <td>{{x.O_all}}元</td>
        <td>{{x.M_login}}</td>
        <td>{{x.O_time}}</td>
            </tr>
           
          </tbody>
        </table>
        </div>
      </div>
    </div>
  </div>

  <div class="row">
    <div class="col-lg-6">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         最新会员
         <span class="pull-right"><a href="#/app/member_list/">查看更多</a></span>
        </div>
 <div class="table-responsive">
 <div class="panel-body index_member">

 <div ng-repeat="x in member" class="M_head" align='center'>
 <a href='#/app/member_add/{{x.M_id}}'>
 <img ng-src='{{x.M_pic}}' width='60' height='60'></a>
 <br>{{x.M_login}}<br>
 <div style='color:#999999;'>{{x.M_regtime}}</div>
 </div>
        </div>
      </div>
    </div>
    </div>
  <div class="col-lg-6">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
          空间占用
          <span class="pull-right"><a href="#/app/space/">查看更多</a></span>
        </div>
        <div class="table-responsive">
        <div class="panel-body index_member" >
          <div class="files" align='center' ng-repeat="x in files"><table width='100%'><tr><td width='40%'><img src='images/folder.png' height='30'></td><td align='left'>{{x.F_name}}<br><span style='color:#999999'>{{x.F_size}}</span></td></tr></table></div>
        </div>
        </div>
      </div>
    </div>
  </div>
</div>
^
<div class="wrapper-md" ng-controller="link_add_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         {{action}}友链
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="save(lang)">
          <div class="form-group">
          <label class="col-sm-2 control-label">友链名称</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="L_title" value="{{datax.L_title}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">友链logo</label>
          <div class="col-sm-10">
          <img ng-src="../{{datax.L_pic}}" id="L_picx" class="L_pic" onclick="showUpload('L_pic','L_pic','../media',1,null,'','');">
            <div class="input-group">
              <input type="text" class="form-control" id="L_pic" name="L_pic" value="{{datax.L_pic}}">
              <span class="input-group-btn">
                <button class="btn btn-info" type="button" onclick="showUpload('L_pic','L_pic','../media',1,null,'','');">上传文件</button>
              </span>
            </div>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">网址</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="L_url" value="{{datax.L_url}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>
          
         
  </form>
   </div>
    </div>
  </div>
</div>
^
<div class="wrapper-md" ng-controller="link_list_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         友链列表
        </div>
<div class="table-responsive">
<form id="form">
 <table class="table table-striped m-b-none" style="min-width: 900px;">
          <thead>
            <tr>
              <th>选择</th>
              <th>网站名称</th>
			  <th>网址</th>
			  <th>缩图</th>
			  <th>编辑</th>
			  <th>删除</th>
            </tr>
          </thead>
          <tbody>
           <tr ng-repeat="x in link_list" id="item_{{x.L_id}}">
		   <td>
              <label class="i-checks">
                <input type="checkbox" name="id" id="id" value="{{x.L_id}}" ng-checked="all">
                <i></i>
              </label>
        </td>
       <td><input type='text' value='{{x.L_title}}' name='title_{{x.L_id}}' class="form-control {{lcss}}" ng-blur="save(lang)"></td>
        <td><input type='text' value='{{x.L_url}}' name='url_{{x.L_id}}' class="form-control" ng-blur="save(lang)"></td>
        <td>
        <img ng-src='../{{x.L_pic}}' width='100px' alt='<img src=../{{x.L_pic}} width=200>' id="pic_{{x.L_id}}x" ng-click="showUpload(x.L_id)"></span>
        <input type="hidden" value="{{x.L_pic}}" id="pic_{{x.L_id}}" name="pic_{{x.L_id}}">
        </td>
        <td><a href="#/app/link_add/{{x.L_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="del(x.L_id)" class="del"><i class='fa fa-times-circle'></i> 删除</a></td>
            </tr>
          </tbody>
        </table>
</form>
        </div>

      </div>


              <label class="i-checks">
                <input type="checkbox" ng-model="all">
                <i></i>
                全选
              </label>
           
<input type="button" value="删除所选" ng-click="delall()" class="del">
<input type="button" value="保存修改" ng-click="save(lang)" class="add">
<a href='#/app/link_add/' class='edit'><i class='fa fa-plus'></i> 新增友链</a>
    </div>
	
  </div>
  
  

  
</div>
^
<script> 
function AddRow(tab)
{
 var Container = document.getElementById(tab);  
 var i =Container.rows.length;
 var Nam="'div1'";
 var Cod="fuJ"+i;
 var newTr = Container.insertRow();
 var _id=tab+"_"+i;

 var newTd0 = newTr.insertCell();
 var newTd1 = newTr.insertCell();
 var newTd2 = newTr.insertCell();
 var newTd3 = newTr.insertCell();
var newTd4 = newTr.insertCell();
 newTr.id=_id;
 
 newTd0.innerHTML ="礼品"+(i+1);
 newTd1.innerHTML ="<div class='input-group m-b'><span class='input-group-addon'>消耗</span> <input type='text' class='form-control' name='xo"+tab.split("_")[1]+"_"+i+"'> <span class='input-group-addon'>积分</span></div>";
 newTd2.innerHTML ="兑换";
 newTd3.innerHTML ="<div class='input-group m-b'><span class='input-group-addon'>礼品</span> <input type='text' class='form-control' name='xo"+tab.split("_")[1]+"_"+i+"x'></div>";
 newTd4.innerHTML = "<input type='button' value='- 删掉该行' class='add' onclick='DelRow(\""+tab+"\",\""+tab+"_"+i+"\")' style='margin:5px;'/>";
}
function DelRow(tab,i)
{
      var Container = document.getElementById(tab);   
    var _tr=document.getElementById(i); 
    row=_tr.rowIndex;
    Container.deleteRow(row); 
}
</script>
<div class="wrapper-md" ng-controller="lv_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         等级/积分设置
        </div>
        <div class="panel-body">
          <tabset class="tab-container">
          <tab heading="等级设置">
          <div class="table-responsive">
          <form id="form">
<table class="table table-striped m-b-none" style="min-width: 600px;">
          <thead>
            <tr>
              <th>选择</th>
              <th>排序</th>
        <th>等级名称</th>
        <th>享受折扣</th>
        <th>所需积分</th>
        <th>编辑</th>
        <th>删除</th>
            </tr>
          </thead>
          <tbody>
           <tr ng-repeat="x in lv_list" id="item_{{x.L_id}}">
       <td>
              <label class="i-checks">
                <input type="checkbox" name="id" id="id" value="{{x.L_id}}" ng-checked="all">
                <i></i>
              </label>
        </td>
        <td><input type='text' value='{{x.L_order}}' name='order_{{x.L_id}}' class="form-control" style="width: 50px;"></td>
       <td><input type='text' value='{{x.L_title}}' name='title_{{x.L_id}}' class="form-control"></td>
        <td>
<div class="input-group m-b">
            <input type='text' value='{{x.L_discount}}' name='discount_{{x.L_id}}' class="form-control">
            <span class="input-group-addon">%</span>
          </div>
        </td>
        <td>
        <div class="input-group m-b">
            <input type='text' value='{{x.L_fen}}' name='fen_{{x.L_id}}' class="form-control">
            <span class="input-group-addon">分</span>
          </div>
        
        </td>
        <td><a href="#/app/lv_add/{{x.L_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="del(x.L_id)" class="del"><i class='fa fa-times-circle'></i> 删除</a></td>
            </tr>
          </tbody>
        </table>
        </form>
        </div>
        <label class="i-checks">
                <input type="checkbox" ng-model="all">
                <i></i>
                全选
              </label>
           
<input type="button" value="删除所选" ng-click="delall()" class="del">
<input type="button" value="保存修改" ng-click="save(lang)" class="add">
<a href='#/app/lv_add/' class='edit'><i class='fa fa-plus'></i> 新增等级</a>
          </tab>
          <tab heading="积分设置">
          <div class="table-responsive">
          <form id="form2" ng-submit="save2()">
<table class="table table-striped m-b-none" style="min-width: 900px;">
          <thead>
            <tr>
              <th>行为</th>
              <th>获得积分</th>
        <th>说明</th>
            </tr>
          </thead>
          <tbody>
           <tr>
        <td>消费一元</td>
       <td>
<div class="input-group m-b">
<span class="input-group-addon">获得</span>
            <input type='text' name='C_1yuan' value="{{data2.C_1yuan}}" class="form-control">
            <span class="input-group-addon">积分</span>
          </div>

       
        <td>禁用此功能则填“0”</td>
            </tr>
           <tr>
        <td>每日签到</td>
       <td><div class="input-group m-b">
<span class="input-group-addon">获得</span>
            <input type='text' name='C_sign' value="{{data2.C_sign}}" class="form-control">
            <span class="input-group-addon">积分</span>
          </div></td>
        <td>禁用此功能则填“0”</td>
            </tr>
            <tr>
        <td>邀请好友</td>
       <td><div class="input-group m-b">
<span class="input-group-addon">获得</span>
            <input type='text' name='C_invitation' value="{{data2.C_invitation}}" class="form-control">
            <span class="input-group-addon">积分</span>
          </div></td>
        <td>禁用此功能则填“0”</td>
            </tr>
            <tr>
        <td>完善资料</td>
       <td><div class="input-group m-b">
<span class="input-group-addon">获得</span>
            <input type='text' name='C_data' value="{{data2.C_data}}" class="form-control">
            <span class="input-group-addon">积分</span>
          </div></td>
        <td>禁用此功能则填“0”</td>
            </tr>
          </tbody>
        </table>
        <button type="submit" class="btn btn-info">保存</button>
</form>
</div>
          </tab>
          <tab heading="积分消耗">

 <form id="form3">
          <span ng-bind-html="trust(data3.fen_use)"></span>
          <label class="i-checks">
                <input type="checkbox" name="C_gifton" value="1" ng-checked="isSelected(data3.C_gifton)">
                <i></i>
                开启此功能
              </label>


<button class="add" onclick="AddRow('tab_index')">+ 新增一行</button>
<button ng-click="save3()" class="edit"><i class="fa fa-save"></i> 保存</button>

</form>
          </tab>
         </tabset>
         
  </div>
  </div>
    </div>
  </div>
</div>
^
<div class="wrapper-md" ng-controller="lv_add_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         {{action}}等级
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="save(lang)">
          <div class="form-group">
          <label class="col-sm-2 control-label">等级名称</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="L_title" value="{{data.L_title}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">排序</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="L_order" value="{{data.L_order}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">等级折扣</label>
          <div class="col-sm-10">

                <div class="input-group m-b">

            <input type="text" class="form-control" name="L_discount" value="{{data.L_discount}}" required>
            <span class="input-group-addon">%</span>
          </div>
            
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">所需积分</label>
          <div class="col-sm-10">

          <div class="input-group m-b">

            <input type="text" class="form-control" name="L_fen" value="{{data.L_fen}}" required>
            <span class="input-group-addon">分</span>
          </div>

            
          </div>
          </div>
          
          
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>
          
         
  </form>
   </div>
    </div>
  </div>
</div>
^
<div class="wrapper-md" ng-controller="m_config_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         手机版设置
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="save(lang)">
          
          <div class="form-group">
          <label class="col-sm-2 control-label">手机版显示</label>
          <div class="col-sm-10">
            <div class="radio">
              <label class="i-checks">
                <input type="radio" name="W_show" value="1" ng-checked="isSelected2(datax.W_show,1)">
                <i></i>
                使用电脑版自带的手机版（部分模板不自带）
              </label>
            </div>
            <div class="radio">
              <label class="i-checks">
                <input type="radio" name="W_show" value="2" ng-checked="isSelected2(datax.W_show,2)">
                <i></i>
                使用独立手机版
              </label>
            </div>
            <div class="radio">
              <label class="i-checks">
                <input type="radio" name="W_show" value="0" ng-checked="isSelected2(datax.W_show,0)">
                <i></i>
                不显示手机版
              </label>
            </div>
            
          
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">拨打电话</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="W_phone" value="{{datax.W_phone}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">发送邮件</label>
          <div class="col-sm-10">
             <input type="text" class="form-control" name="W_email" value="{{datax.W_email}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">留言设置</label>
          <div class="col-sm-10">
            <div class="radio">
              <label class="i-checks">
                <input type="radio" name="W_msg" value="1" ng-checked="isSelected2(datax.W_msg,1)">
                <i></i>
                手机版显示用户的留言记录
              </label>
            </div>
            <div class="radio">
              <label class="i-checks">
                <input type="radio" name="W_msg" value="0" ng-checked="isSelected2(datax.W_msg,0)">
                <i></i>
                手机版不显示用户的留言记录
              </label>
            </div>
            
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">手机logo</label>
          <div class="col-sm-10">
          <img ng-src="../media/{{datax.W_logo}}" id="W_logox" class="L_pic" onclick="showUpload('W_logo','W_logo','../media',1,null,'x','x');">
           <div class="input-group">

              <input type="text" class="form-control" name="W_logo" id="W_logo" value="{{datax.W_logo}}" required>
              <span class="input-group-btn">
                <button class="btn btn-info" type="button" onclick="showUpload('W_logo','W_logo','../media',1,null,'x','x');">上传文件</button>
              </span>
            </div>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>
  </form>
  </div>
  </div>
    </div>
  </div>
</div>
^
<div class="wrapper-md" ng-controller="m_config2_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel panel-info ng-scope">
        <div class="panel-heading">
         自定义设置
        </div>
<div class="table-responsive">
<form id="form" ng-submit="save(lang)">
<span ng-bind-html="trust(data.m_config2)"></span>
</form>
        </div>

      </div>
    </div>
  </div>
</div>
^
<div class="wrapper-md" ng-controller="m_slide_add_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         {{action}}焦点图
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="save(lang)">
          <div class="form-group">
          <label class="col-sm-2 control-label">焦点图标题</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="S_title" value="{{data.S_title}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">焦点图描述</label>
          <div class="col-sm-10">
            <textarea class="form-control {{lcss}}" name="S_content" required>{{data.S_content}}</textarea>
          </div>
          </div>
          
          
          <div class="form-group">
          <label class="col-sm-2 control-label">焦点图</label>
          <div class="col-sm-10">
          <img ng-src="../{{data.S_pic}}" id="S_picx" class="L_pic" onclick="showUpload('S_pic','S_pic','../media',1,null,'','');">
            <div class="input-group">
              <input type="text" class="form-control" id="S_pic" name="S_pic" value="{{data.S_pic}}">
              <span class="input-group-btn">
                <button class="btn btn-info" type="button" onclick="showUpload('S_pic','S_pic','../media',1,null,'','');">上传文件</button>
              </span>
            </div>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">焦点图链接</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="S_link" value="{{data.S_link}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>
          
         
  </form>
   </div>
    </div>
  </div>
</div>
^
<div class="wrapper-md" ng-controller="m_slide_list_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         焦点图列表
        </div>
<div class="table-responsive">
<form id="form">
 <table class="table table-striped m-b-none" style="min-width: 900px;">
          <thead>
            <tr>
              <th>选择</th>
              <th>排序</th>
			  <th>名称</th>
			  <th>缩图</th>
			  <th>编辑</th>
			  <th>删除</th>
            </tr>
          </thead>
          <tbody>
           <tr ng-repeat="x in slide_list | orderBy : 'S_order'" id="item_{{x.S_id}}">
		   <td>
              <label class="i-checks">
                <input type="checkbox" name="id" id="id" value="{{x.S_id}}" ng-checked="all">
                <i></i>
              </label>
        </td>
       <td><input type='text' value='{{x.S_order}}' name='order_{{x.S_id}}' class="form-control" style="width: 50px;" ng-blur="save(lang)"></td>
        <td><input type='text' value='{{x.S_title}}' name='title_{{x.S_id}}' class="form-control {{lcss}}" ng-blur="save(lang)"></td>
        <td>
        <img ng-src='../{{x.S_pic}}' width='100px' alt='<img src=../{{x.S_pic}} width=400>' id="pic_{{x.S_id}}x" ng-click="showUpload(x.S_id)"></span>
        <input type="hidden" value="{{x.S_pic}}" id="pic_{{x.S_id}}" name="pic_{{x.S_id}}">
        </td>
        <td><a href="#/app/m_slide_add/{{x.S_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="del(x.S_id)" class="del"><i class='fa fa-times-circle'></i> 删除</a></td>
            </tr>
          </tbody>
        </table>
</form>
        </div>

      </div>


              <label class="i-checks">
                <input type="checkbox" ng-model="all">
                <i></i>
                全选
              </label>
           
<input type="button" value="删除所选" ng-click="delall()" class="del">
<input type="button" value="保存修改" ng-click="save(lang)" class="add">
<a href='#/app/m_slide_add/' class='edit'><i class='fa fa-plus'></i> 新增焦点图</a>
    </div>
	
  </div>
</div>
^
<div class="wrapper-md" ng-controller="member_add_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         {{action}}会员
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="save(lang)">

          <div class="form-group">
          <label class="col-sm-2 control-label">会员头像</label>
          <div class="col-sm-10">
            <img ng-src="{{data.M_pic}}" class="headimg">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">会员名称</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="M_login" value="{{data.M_login}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">登录密码</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="M_pwd" value="{{data.M_pwd}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">会员余额</label>
          <div class="col-sm-10">

          <div class="input-group m-b">
            <input type="text" class="form-control" name="M_money" value="{{data.M_money}}" required>
            <span class="input-group-addon">元</span>
          </div>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">会员等级</label>
          <div class="col-sm-10">
            {{data.M_lv}}
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">会员积分</label>
          <div class="col-sm-10">

          <div class="input-group m-b">
            <input type="text" class="form-control" name="M_fen" value="{{data.M_fen}}" required>
            <span class="input-group-addon">分</span>
          </div>
            
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">真实姓名</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="M_name" value="{{data.M_name}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">电子邮箱</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="M_email" value="{{data.M_email}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">QQ号码</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="M_qq" value="{{data.M_qq}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">联系地址</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="M_add" value="{{data.M_add}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">手机号码</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="M_mobile" value="{{data.M_mobile}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">邮政编码</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="M_code" value="{{data.M_code}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>
          
         
  </form>
   </div>
    </div>
  </div>
</div>
^
<style>

style='width:50px; height:50px; border-radius:50%; overflow:hidden;'
</style>
<div class="wrapper-md" ng-controller="member_list_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         会员列表
        </div>
<div class="table-responsive">
<form id="form">
 <table class="table table-striped m-b-none" style="min-width: 900px;">
          <thead>
            <tr>
              <th>选择</th>
              <th>会员名称</th>
			  <th>会员头像</th>
			  <th>邮箱</th>
			  <th>余额</th>
        <th>积分</th>
        <th>等级</th>
        <th>编辑</th>
         <th>删除</th>
            </tr>
          </thead>
          <tbody>
           <tr ng-repeat="x in member_list" id="item_{{x.M_id}}">
		   <td>
              <label class="i-checks">
                <input type="checkbox" name="id" id="id" value="{{x.M_id}}" ng-checked="all">
                <i></i>
              </label>
        </td>
       <td>{{x.M_login}}</td>
       <td><img ng-src="{{x.M_pic}}" class="headimg"></td>
        <td>{{x.M_email}}</td>
        <td>{{x.M_money}}元</td>
        <td>{{x.M_fen}}</td>
        <td>{{x.M_lv}}</td>
        <td><a href="#/app/member_add/{{x.M_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="del(x.M_id)" class="del"><i class='fa fa-times-circle'></i> 删除</a></td>
            </tr>
          </tbody>
        </table>
</form>
        </div>

      </div>

              <label class="i-checks">
                <input type="checkbox" ng-model="all">
                <i></i>
                全选
              </label>
           
<input type="button" value="删除所选" ng-click="delall()" class="del">
    </div>
	
  </div>
  
  

  
</div>
^
<div class="wrapper-md" ng-controller="menu_add_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         {{action}}菜单
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="save(lang)">
          <div class="form-group">
          <label class="col-sm-2 control-label">菜单标题</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="U_title" value="{{data.U_title}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">标题（第二语言）</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="U_entitle" value="{{data.U_entitle}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">链接到</label>
          <div class="col-sm-10">
          <div class="input-group">
           <select name="U_path" class="form-control ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched" ng-change="change(x)" ng-model="x">
           <option value="index/1" ng-selected="isSelected2(data.U_type+data.U_typeid,'index1')">网站首页</option>
           <optgroup label="{{x.title}}" ng-repeat="x in modules">
        <option value="{{y.type}}/{{y.id}}" ng-repeat="y in x.module" ng-selected="isSelected2(data.U_type+data.U_typeid,y.type+y.id)">┗ {{y.title}}</option>
      </optgroup>
      <optgroup label="联系模块">
      <option value="contact/1" ng-selected="isSelected2(data.U_type+data.U_typeid,'contact1')">┗ 联系方式</option>
      <option value="guestbook/1" ng-selected="isSelected2(data.U_type+data.U_typeid,'guestbook1')">┗ 在线留言</option>
      </optgroup>
      <option value="link/1" ng-selected="isSelected2(data.U_type+data.U_typeid,'link1')">外部网址</option>
           </select>
           <span class="input-group-btn">
              <button type="button" ng-click="showmore()" class="btn btn-default">
                新建
              </button>
            </span>
</div>
          </div>
          </div>
          <div class="form-group" ng-show="!isSelected(data.U_link)">
          <label class="col-sm-2 control-label">模板样式</label>
          <div class="col-sm-10">
          <select name="U_template" class="form-control ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched">
          <option value="{{x.name}}" ng-selected="isSelected2(x.name,data.U_template)" ng-repeat="x in data.t_all">{{x.name}}</option>
          </select>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">菜单排序</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="U_order" value="{{data.U_order}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">色调</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="U_color" value="{{data.U_color}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">图标</label>
          <div class="col-sm-10">
            <div class="input-group">
              <input type="text" class="form-control" id="U_ico" name="U_ico" value="{{data.U_ico}}">
              <span class="input-group-btn">
                <button class="btn btn-info" type="button" onclick="showUpload('U_ico','U_ico','../media',1,null,'','');">上传文件</button>
              </span>
            </div>
          </div>
          </div>
          <div class="form-group" ng-show="isSelected(data.U_link)">
          <label class="col-sm-2 control-label">外链网址</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="U_url" value="{{data.U_url}}">
          </div>
          </div>
          <div class="form-group" >
          <label class="col-sm-2 control-label">菜单所属</label>
          <div class="col-sm-10">

<select name="U_sub" class="form-control ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched">
<option value="0" ng-selected="isSelected2(0,data.U_sub)">网站主菜单</option>
          <option value="{{x.U_id}}" ng-selected="isSelected2(x.U_id,data.U_sub)" ng-repeat="x in data.m_all">┗ {{x.U_title}}</option>
          </select>

          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">隐藏菜单</label>
          <div class="col-sm-10">

<label class="i-switch bg-info m-t-xs m-r">
              <input type="checkbox" value="1" name="U_hide" ng-checked="isSelected(data.U_hide)">
              <i></i>
            </label>
            <input type="hidden" value="0" name="U_hide">
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>
        </form>
   </div>
    </div>
  </div>
</div>
^
<div class="wrapper-md" ng-controller="menu_list_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         菜单列表
        </div>
<div class="table-responsive">
<form id="form">
 <table class="table m-b-none table-hover" style="min-width: 1300px;" >
          <thead>
            <tr>
            <th>选择</th>
              <th>排序</th>
               <th>调整</th>
              <th>名称</th>
			  <th>名称（第二语言）</th>
        <th>展示类型</th>
			  <th>手机图标</th>
        <th>色调</th>
			  <th>链接</th>
			  <th>菜单隐藏</th>
			   <th>所属</th>
         <th>编辑</th>
         <th>删除</th>
            </tr>
          </thead>
          <tbody ng-repeat="x in main_menu | orderBy: 'U_order'">
      <tr id="item_{{x.U_id}}" class="active">
      <td>
              <label class="i-checks">
                <input type="checkbox" name="id" id="id" value="{{x.U_id}}" ng-checked="all">
                <i></i>
              </label>
        </td>
        <td><input type='text' value='{{x.U_order}}' name='order_{{x.U_id}}' class="form-control" style="width: 50px;" ng-blur="save(lang)"></td>
        <td></td>
        <td><input type='text' value='{{x.U_title}}' name='title_{{x.U_id}}' class="form-control {{lcss}}" ng-blur="save(lang)"></td>
        <td><input type='text' value='{{x.U_entitle}}' name='entitle_{{x.U_id}}' class="form-control {{lcss}}" ng-blur="save(lang)"></td>
        <td>{{x.U_typeinfo}}</td>
        <td><i class='fa fa-{{x.U_ico}} fa-2x'></li></td>
        <td><font color='{{x.U_color}}'>█</font></td>
        <td><input type='text' value='{{x.U_url}}' name='url_{{x.U_id}}' class="form-control" ng-blur="save(lang)"></td>

        <td>
        <label class="i-switch bg-info m-t-xs m-r">
              <input type="checkbox" value="1" name="hide_{{x.U_id}}" ng-checked="isSelected(x.U_hide)" ng-click="save(lang)">
              <i></i>
            </label>
            <input type="hidden" name="hide_{{x.U_id}}" value="0">
        </td>

        <td><span ng-bind-html="trust(x.U_sub)"></span></td>

        <td><a href="#/app/menu_add/{{x.U_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="del(x.U_id)" class="del"><i class='fa fa-times-circle'></i> 删除</a></td>
        </tr>

        <tr ng-repeat="y in x.sub_menu  | orderBy: 'U_order'" id="item_{{y.U_id}}">
        <td>
              <label class="i-checks">
                <input type="checkbox" name="id" id="id" value="{{y.U_id}}" ng-checked="all">
                <i></i>
              </label>
        </td>
       <td>
            <input type='text' value='{{y.U_order}}' name='order_{{y.U_id}}' class="form-control sub" style="width: 50px;" ng-blur="save(lang)">
          </td>
       <td></td>
        <td> 
            <input type='text' value='{{y.U_title}}' name='title_{{y.U_id}}' class="form-control sub {{lcss}}" ng-blur="save(lang)">
        </td>
        <td>
            <input type='text' value='{{y.U_entitle}}' name='entitle_{{y.U_id}}' class="form-control sub {{lcss}}" ng-blur="save(lang)">
          </td>
        <td>{{y.U_typeinfo}}</td>
        <td><i class='fa fa-{{y.U_ico}} fa-2x'></li></td>
        <td><font color='{{y.U_color}}'>█</font></td>
        <td><input type='text' value='{{y.U_url}}' name='url_{{y.U_id}}' class="form-control" ng-blur="save(lang)"></td>
        <td>
        <label class="i-switch bg-info m-t-xs m-r">
              <input type="checkbox" value="1" name="hide_{{y.U_id}}" ng-checked="isSelected(y.U_hide)" ng-click="save(lang)">
              <i></i>
            </label>
            <input type="hidden" name="hide_{{y.U_id}}" value="0">
        </td>
        <td><span ng-bind-html="trust(y.U_sub)"></span></td>
        <td><a href="#/app/menu_add/{{y.U_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="del(y.U_id)" class="del"><i class='fa fa-times-circle'></i> 删除</a></td>
        </tr>
          </tbody>
        </table>
</form>
        </div>
      </div>
<label class="i-checks">
                <input type="checkbox" ng-model="all">
                <i></i>
                全选
              </label>
<input type="button" value="删除所选" ng-click="delall()" class="del">
<input type="button" value="保存修改" ng-click="save(lang)" class="add">
<a href='#/app/menu_add/' class='edit'><i class='fa fa-plus'></i> 新增菜单</a>
    </div>
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li class="active"><a href="">新闻列表</a></li>
        <li><a href="#/app/nsort_list/">新闻分类</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="news_add_Ctrl" >
  <div class="row">
    <div class="col-lg-12 col-md-12">
      
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         {{action}}新闻
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="save(lang)">
          <div class="form-group">
          <label class="col-sm-2 control-label">新闻标题</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="N_title" value="{{data.N_title}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">新闻作者</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="N_author" value="{{data.N_author}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">阅读次数</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="N_view" value="{{data.N_view}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">是否置顶</label>
          <div class="col-sm-10">

            <label class="i-switch bg-info m-t-xs m-r">
              <input type="checkbox" value="1" name="N_top" ng-checked="isSelected(data.N_top)">
              <i></i>
            </label>

          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">是否审核</label>
          <div class="col-sm-10">
          <label class="i-checks"><input type="radio" name="N_sh" value="0" ng-checked="isSelected2(data.N_sh,0)"><i></i>已通过</label>
          <label class="i-checks"><input type="radio" name="N_sh" value="1" ng-checked="isSelected2(data.N_sh,1)"><i></i>未通过</label>
          <label class="i-checks"><input type="radio" name="N_sh" value="2" ng-checked="isSelected2(data.N_sh,2)"><i></i>未审核</label>

          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">阅读限制</label>
          <div class="col-sm-10">
          <select name="N_lv" class="form-control ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched">
          <option  value="0" ng-selected="isSelected2(N_lv,0)">无限制</option>
          <option  ng-repeat="x in lv_list" value="{{x.L_id}}" ng-selected="isSelected2(data.N_lv,x.L_id)">{{x.L_title}}</option>
          </select>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">新闻分类</label>
          <div class="col-sm-10">
          <select name="N_sort" class="form-control ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched"> 
          <option  ng-repeat="x in nsort_list" value="{{x.S_id}}" ng-selected="isSelected2(data.N_sort,x.S_id)">{{x.S_title}}</option>
          </select>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">发布时间</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="N_date" value="{{data.N_date}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">SEO设置<br>关键词keywords</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="N_keywords" value="{{data.N_keywords}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">SEO设置<br>描述description</label>
          <div class="col-sm-10">
            <textarea class="form-control {{lcss}}" rows="3" name="N_description" ng-model="data.N_description" placeholder="留空则自动提取文章前100字"></textarea>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">新闻配图</label>
          <div class="col-sm-10">
          <img ng-src="../{{data.N_pic}}" id="N_picx" class="L_pic" onclick="showUpload('N_pic','N_pic','../media',1,null,'','');">
            <div class="input-group">
              <input type="text" class="form-control" id="N_pic" name="N_pic" value="{{data.N_pic}}">
              <span class="input-group-btn">
                <button class="btn btn-info" type="button" onclick="showUpload('N_pic','N_pic','../media',1,null,'','');">上传文件</button>
              </span>
            </div>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">简介内容</label>
          <div class="col-sm-10">
          <textarea name='N_content' style='width:100%;height:350px;' id='content'></textarea>
          
          <script>
var editor=KindEditor.create('#content', {uploadJson : '../kindeditor/asp/upload_json.asp', fileManagerJson : '../kindeditor/asp/file_manager_json.asp',allowFileManager :true,filterMode: false,items:['source', '|', 'undo', 'redo', '|', 'preview', 'print', 'template', 'code', 'cut', 'copy', 'paste', 'plainpaste', 'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright','justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript', 'superscript', 'clearhtml', 'quickformat', 'selectall', '|', 'fullscreen', '/','formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold','italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'image', 'multiimage','flash', 'media', 'insertfile', 'table', 'hr', 'emoticons', 'baidumap', 'pagebreak','anchor', 'link', 'unlink', '|', 'about']});
          </script>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>
          
         
  </form>
   </div>
    </div>
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li class="active"><a href="">新闻列表</a></li>
        <li><a href="#/app/nsort_list/">新闻分类</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="news_list_Ctrl" >
  <div class="row">


  <div class="col-md-2">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         新闻分类
        </div>

<div class="table-responsive">
        <div class="list-group ">
        <a href="#/app/news_list/{{x.S_id}}//" class="list-group-item" ng-repeat="x in nsort_list">
          <span class="badge bg-info">{{x.S_count}}</span>
          <i class="fa fa-newspaper-o m-r-xs"></i> {{x.S_title}}
        </a>
      </div>

 </div>
 </div>
 <a href='#/app/news_add/' class='edit'><i class='fa fa-plus'></i> 新增新闻</a>
 <a href='#/app/nsort_add/' class='edit'><i class='fa fa-plus'></i> 新增分类</a>
 <div style="height: 20px;"></div>
 </div>

    <div class="col-md-10">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         新闻列表
        </div>
<div class="table-responsive">
<form id="form">
 <table class="table table-striped m-b-none" style="min-width: 900px;">
          <thead>
            <tr>
              <th>选择</th>
              <th>排序</th>
			  <th>显示名称</th>
			  <th>审核</th>
			  <th>等级限制</th>
			  <th>是否置顶</th>
			   <th>缩图</th>
         <th>所属分类</th>
         <th>编辑</th>
         <th>删除</th>
            </tr>
          </thead>
          <tbody>
           <tr ng-repeat="x in news_list" id="item_{{x.N_id}}">
		   <td>
              <label class="i-checks">
                <input type="checkbox" name="id" id="id" value="{{x.N_id}}" ng-checked="all">
                <i></i>
              </label>
        </td>
       <td><input type='text' value='{{x.N_order}}' name='order_{{x.N_id}}' class="form-control" style="width: 50px;"></td>
        <td><textarea type='text' name='title_{{x.N_id}}' class="form-control {{lcss}}" ng-model="x.N_title" ng-blur="save(lang)"></textarea></td>
        <td><span ng-bind-html="trust(x.N_sh)"></span></td>
        <td><span ng-bind-html="trust(x.N_lv)"></span></td>
        <td><span ng-bind-html="trust(x.N_top)"></span></td>
        <td>
        <img ng-src='../{{x.N_pic}}' alt='<img src=../{{x.N_pic}} width=400>' style='max-width: 100px; max-height:40px;' id="pic_{{x.N_id}}x" ng-click="showUpload(x.N_id)"></span>
        <input type="hidden" value="{{x.N_pic}}" id="pic_{{x.N_id}}" name="pic_{{x.N_id}}">
        </td>
        <td><span ng-bind-html="trust(x.N_sort)"></span></td>
        <td><a href="#/app/news_add/{{x.N_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="del(x.N_id)" class="del"><i class='fa fa-times-circle'></i> 删除</a></td>
            </tr>
           
          </tbody>
        </table>
</form>
        </div>
<footer class="panel-footer">
      <div class="row">
        <div class="col-sm-4 hidden-xs">
                    
        </div>
        <div class="col-sm-4 hidden-xs">
          <small class="text-muted inline m-t-sm m-b-sm">本页显示第 {{(selPage-1)*10+1}}-{{list2}} 条 共 {{count}} 条</small>
        </div>
        <div class="col-sm-4 text-right text-center-xs">   



<nav>
<ul class="pagination">
<li>
<a ng-click="Previous()">
<span>上一页</span>
</a>
</li>
<li ng-repeat="page in pageList" ng-class="{active: isActivePage(page)}" >
<a ng-click="selectPage(page)" >{{ page }}</a>
</li>
<li>
<a ng-click="Next()">
<span>下一页</span>
</a>
</li>
</ul>
</nav>

        </div>
      </div>
    </footer>
      </div>


              <label class="i-checks">
                <input type="checkbox" ng-model="all">
                <i></i>
                全选
              </label>
           
<input type="button" value="删除所选" ng-click="delall()" class="del">
<input type="button" value="保存修改" ng-click="save(lang)" class="add">
<a href='#/app/news_add/' class='edit'><i class='fa fa-plus'></i> 新增新闻</a>
    </div>
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li><a href="#/app/news_list///">新闻列表</a></li>
        <li class="active"><a href="" >新闻分类</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="nsort_add_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel panel-info ng-scope">
        <div class="panel-heading">
         {{action}}新闻分类
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="save(lang)">
          <div class="form-group">
          <label class="col-sm-2 control-label">新闻分类标题</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="S_title" value="{{data.S_title}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">标题（第二语言）</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="S_entitle" value="{{data.S_entitle}}" required>
          </div>
          </div>
          
          <div class="form-group">
          <label class="col-sm-2 control-label">SEO设置<br>keywords</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="S_keywords" value="{{data.S_keywords}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">SEO设置<br>description</label>
          <div class="col-sm-10">
            <textarea  class="form-control {{lcss}}" name="S_description"  required>{{data.S_description}}</textarea>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">类型</label>
          <div class="col-sm-10">
            <div class="radio">
              <label class="i-checks">
                <input type="radio" name="S_type" value="0" ng-checked="isSelected2(data.S_type,0)">
                <i></i>
                新闻
              </label>
            </div>
            <div class="radio">
              <label class="i-checks">
                <input type="radio" name="S_type" value="1" ng-checked="isSelected2(data.S_type,1)">
                <i></i>
                下载
              </label>
            </div>
            </div>
            </div>
            <div class="form-group" ng-show="showx">
          <label class="col-sm-2 control-label">菜单所属</label>
          <div class="col-sm-10">
        <select name='U_sub' class="form-control ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched">
        <option value="x">不加入到菜单</option>
        <option value="0">网站主菜单</option>
        <option ng-repeat="x in menu_lists" value="{{x.U_id}}">┗ {{x.U_title}}</option>
        </select>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>
          
         
  </form>
   </div>
    </div>
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li><a href="#/app/news_list///">新闻列表</a></li>
        <li class="active"><a href="" >新闻分类</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="nsort_list_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         新闻分类列表
        </div>
<div class="table-responsive">
<form id="form">
 <table class="table table-striped m-b-none" style="min-width: 900px;">
          <thead>
            <tr>
              <th>选择</th>
              <th>显示名称</th>
			  <th>名称（第二语言）</th>
			  <th>类型</th>
			  <th>编辑</th>
			  <th>删除</th>
			   <th>添加到菜单</th>
            </tr>
          </thead>
          <tbody>
           <tr ng-repeat="x in nsort_list" id="item_{{x.S_id}}">
		   <td>
              <label class="i-checks">
                <input type="checkbox" name="id" id="id" value="{{x.S_id}}" ng-checked="all">
                <i></i>
              </label>
        </td>
       <td><input type='text' value='{{x.S_title}}' name='title_{{x.S_id}}' class="form-control {{lcss}}"></td>
        <td><input type='text' value='{{x.S_entitle}}' name='entitle_{{x.S_id}}' class="form-control {{lcss}}"></td>
        <td>{{x.S_type}}</td>
        <td><a href="#/app/nsort_add/{{x.S_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="del(x.S_id)" class="del"><i class='fa fa-times-circle'></i> 删除</a></td>
        <td><a href="javascript:;" ng-click="addmenu(x.S_id)" class="add"><i class="fa fa-times-circle"></i> 添加</a></td>
            </tr>
           
          </tbody>
        </table>
</form>
        </div>
      </div>
              <label class="i-checks">
                <input type="checkbox" ng-model="all">
                <i></i>
                全选
              </label>
           
<input type="button" value="删除所选" ng-click="delall()" class="del">
<input type="button" value="保存修改" ng-click="save(lang)" class="add">
<a href='#/app/nsort_add/' class='edit'><i class='fa fa-plus'></i> 新增新闻分类</a>
    </div>
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li><a href="#/app/product_list///">产品列表</a></li>
        <li><a href="#/app/psort_list/">产品分类</a></li>
         <li class="active"> <a href="">订单管理</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="order_list_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         订单列表
        </div>
<div class="table-responsive">
<form id="form">
 <table class="table table-striped m-b-none" style="min-width: 1500px;">
          <thead>
            <tr>
              <th>选择</th>
              <th>商品名称</th>
			  <th>图片</th>
			  <th>单价（元）</th>
			  <th>数量</th>
			  <th>总价（元）</th>
			   <th>属性</th>
         <th>状态</th>
         <th>强制更改状态</th>
         <th>操作</th>
         <th>交易号</th>
         <th>会员</th>
         <th>提交时间</th>
         <th>删除</th>
            </tr>
          </thead>
          <tbody>
           <tr ng-repeat="x in order_list" id="item_{{x.O_id}}">
		   <td>
              <label class="i-checks">
                <input type="checkbox" name="id" id="id" value="{{x.O_id}}" ng-checked="all">
                <i></i>
              </label>
        </td>
       <td>{{x.P_title}}</td>
        <td><img ng-src='../{{x.P_pic}}' style='max-width: 100px; max-height:40px;' alt='<img src=../{{x.P_pic}} width=200>'></span></td>
        <td>{{x.O_price}}</td>
        <td>{{x.O_num}}</td>
        <td>{{x.O_all}}</td>
        <td>{{x.O_shuxing}}</td>
        <td><span ng-bind-html="trust(x.O_state)"></span></td>

        <td>
        <select name="state_{{x.O_id}}">
        <option value="0" ng-selected="isSelected2(x.menu_sub,0)">未付款</option>
        <option value="1" ng-selected="isSelected2(x.menu_sub,1)">已付款未发货</option>
        <option value="2" ng-selected="isSelected2(x.menu_sub,2)">已付款已发货</option>
        <option value="3" ng-selected="isSelected2(x.menu_sub,3)">已确认</option>
        <option value="4" ng-selected="isSelected2(x.menu_sub,4)">用户申请退款</option>
        <option value="5" ng-selected="isSelected2(x.menu_sub,5)">已退款</option>
        </select>

        </td>


        <td><span ng-bind-html="trust(x.O_pay)"></span></td>
        <td><span ng-bind-html="trust(x.O_no)"></span></td>
        <td>{{x.M_login}}</td>
        <td>{{x.O_time}}</td>
        <td><a href="javascript:;" ng-click="del(x.O_id)" class="del"><i class='fa fa-times-circle'></i> 删除</a></td>
            </tr>
           
          </tbody>
        </table>
</form>
        </div>

      </div>


              <label class="i-checks">
                <input type="checkbox" ng-model="all">
                <i></i>
                全选
              </label>
           
<input type="button" value="删除所选" ng-click="delall()" class="del">
<input type="button" value="保存修改" ng-click="save(lang)" class="add">
    </div>
	
  </div>
  
  

  
</div>
^
<div class="container w-xl w-auto-xs" ng-controller="forgot_ctrl" ng-init="app.settings.container = false;">
  <a href class="navbar-brand block m-t">{{app.name}}</a>
  <div class="m-b-lg">
    <div class="wrapper text-center">
      <strong>输入您预留的邮箱用来找回密码</strong>
    </div>
    <form name="reset" ng-init="isCollapsed=true">
      <div class="text-danger wrapper text-center" ng-show="authError">
          {{authError}}
      </div>
      <div class="list-group list-group-sm">
        <div class="list-group-item">
          <input type="email" placeholder="邮箱" ng-model="email" class="form-control no-border" required>
        </div>
      </div>
      <button type="submit" ng-disabled="reset.$invalid" class="btn btn-lg btn-primary btn-block"  ng-click="found()" >发送</button>
    </form>
    <div collapse="isCollapsed" class="m-t">
      <div class="alert alert-success">
        <p>请查收密码找回邮件 <a ui-sref="access.signin" class="btn btn-sm btn-success">登录</a></p>
      </div>
    </div>
  </div>
</div>
^
<div class="container w-xxl w-auto-xs" ng-controller="SigninFormController" ng-init="app.settings.container = false;">
  <a href class="navbar-brand block m-t">{{app.name}}</a>
  <div class="m-b-lg">
    <div class="wrapper text-center">
      <strong>输入用户名和密码登陆后台</strong>
    </div>
    <form name="form" class="form-validation">
      <div class="text-danger wrapper text-center" ng-show="authError">
          {{authError}}
      </div>
      <div class="list-group list-group-sm">
        <div class="list-group-item">
          <input type="text" placeholder="用户名" class="form-control no-border" ng-model="user.email" required>
        </div>
        <div class="list-group-item">
           <input type="password" placeholder="密码" class="form-control no-border" ng-model="user.password" required>
        </div>
      </div>
      <button type="submit" class="btn btn-lg btn-primary btn-block" ng-click="login()" ng-disabled='form.$invalid'>登录</button>
      <div class="text-center m-t m-b"><a ui-sref="access.forgotpwd">忘记密码？</a></div>
      
      
      
    </form>
  </div>
  
</div>
^
<style>
.plug{margin:10px; padding:10px;background-color:#EEEEEE;line-height:200%;border:#DDDDDD solid 1px;-moz-border-radius: 10px;-webkit-border-radius: 10px;border-radius:10px;}
.plug img{-moz-border-radius: 10px;-webkit-border-radius: 10px;border-radius:10px;float:left;}
</style>
<div class="wrapper-md" ng-controller="plug_Ctrl">
  <div class="row">
    <div class="col-lg-12">
        

   <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         插件列表
        </div>
<div class="table-responsive">


<div class='plug' ng-repeat="x in plug">
<img ng-src='http://www.s-cms.cn/media/{{x.P_no}}.png' width='100'>
<div style='float:left;margin-left:10px;'><b>插件名称</b>：{{x.P_title}}（编号：{{x.P_no}}）<br>
<b>插件介绍</b>：{{x.P_content}}<br>
<b>插件价格</b>：{{x.P_price}}元<br>
<a ng-class="{1: 'edit', 0: 'del'}[x.P_state]" ng-bind-html="button(x.P_state)" ng-click="click(x.P_state,x.P_no)"></a></div>
<div style='font: 0px/0px sans-serif;clear: both;display: block'> </div>
</div>

</div>
</div>
    </div>
  </div>
</div>
^
<script> 
function AddRow()
{
 //添加一行
 var i =tab1.rows.length;
 var Nam="'div1'";
 var Cod="fuJ"+i;
 var newTr = tab1.insertRow();
 var _id='pd'+i;
 var newTd0 = newTr.insertCell();
 var newTd1 = newTr.insertCell();
 var newTd2 = newTr.insertCell();
 newTr.id=_id;
 newTr.setAttribute("bgcolor", "#FFFFFF");
 newTr.setAttribute("onmouseout", "this.style.backgroundColor=''");
 newTr.setAttribute("onmouseover", "this.style.backgroundColor='#F7F7F7'");
 
 newTd0.innerHTML = "<div class='input-group m-b'><span class='input-group-addon'>属性名称</span><input type='text' name='sctitle_"+i+"' value='' class='form-control'/></div>";
 newTd1.innerHTML ="<table width='100%' bgcolor='#FFFFFF' id='table"+i+"'><tr id='pd"+i+"_0"+"' bgcolor='#eeeeee' onmouseout='this.style.backgroundColor=\"\"' onmouseover='this.style.backgroundColor=\"#FFFFFF\"'><td><div class='input-group m-b'><span class='input-group-addon'>属性值</span><input type='text' name='scvvvv"+i+"_0' value='' class='form-control'/></div></td><td><div class='input-group m-b'><span class='input-group-addon'>加价</span><input type='text' name='spvvvv"+i+"_0' value='' class='form-control'/><span class='input-group-addon'>元</span></div></td><td><input type='button' value='- 删掉该行' class='add' onclick='DelRow2(\"table"+i+"\",\""+i+"_0"+"\")' style='margin:5px;'/></td></tr></table><div><input type='button' value='＋ 新增一行' class='add' onclick='AddRow2(\"table"+i+"\","+i+")' style='margin:5px;'/></div>";
 
 newTd2.innerHTML = "<input type='button' value='- 删掉该属性' class='add' onclick='DelRow("+i+")' style='margin:5px;'/>";

}

function AddRow2(tab,j)
{
 var Container = document.getElementById(tab);  
 var i =Container.rows.length;
 var Nam="'div1'";
 var Cod="fuJ"+i;
 var newTr = Container.insertRow();
 var _id='pd'+j+"_"+i;

 var newTd0 = newTr.insertCell();
 var newTd1 = newTr.insertCell();
 var newTd2 = newTr.insertCell();
 newTr.id=_id;
 newTr.setAttribute("bgcolor", "#EEEEEE");
 newTr.setAttribute("onmouseout", "this.style.backgroundColor=''");
 newTr.setAttribute("onmouseover", "this.style.backgroundColor='#FFFFFF'");
 
 newTd0.innerHTML = "<div class='input-group m-b'><span class='input-group-addon'>属性值</span><input type='text' name='scvvvv"+j+"_"+i+"' value='' class='form-control'/></div>";
 newTd1.innerHTML ="<div class='input-group m-b'><span class='input-group-addon'>加价</span><input type='text' name='spvvvv"+j+"_"+i+"' value='' class='form-control'/><span class='input-group-addon'>元</div></span>";
 newTd2.innerHTML = "<input type='button' value='- 删掉该行' class='add' onclick='DelRow2(\""+tab+"\",\""+j+"_"+i+"\")' style='margin:5px;'/>";

}
function AddPic()
{
 //添加一行
 var i =pic1.rows.length;
 var Nam="'div1'";
 var Cod="fuJ"+i;
 var newTr = pic1.insertRow();
 var _id='pp'+i;
 var newTd0 = newTr.insertCell();
 var newTd1 = newTr.insertCell();
 var newTd2 = newTr.insertCell();
 newTr.id=_id;
 newTr.setAttribute("bgcolor", "#FFFFFF");
 newTr.setAttribute("onmouseout", "this.style.backgroundColor=''");
 newTr.setAttribute("onmouseover", "this.style.backgroundColor='#F7F7F7'");
 
 newTd0.innerHTML ="<img ng-src='' height='50' width='50' style='-moz-border-radius: 15px;-webkit-border-radius: 15px;border-radius:15px; ' id='picpic1_"+i+"x' onclick='showUpload(\"picpic1_"+i+"\",\"picpic1_"+i+"\",\"../media\",1,null,\"\",\"\");'>"
 newTd1.innerHTML = "<div class='input-group'><input type='text' name='picpic1_"+i+"' id='picpic1_"+i+"' value='' class='form-control'><span class='input-group-btn'><button class='btn btn-info' type='button' onclick='showUpload(\"picpic1_"+i+"\",\"picpic1_"+i+"\",\"../media\",1,null,\"\",\"\");'>上传文件</button></span></div>";
 newTd2.innerHTML ="<input type='button' value='- 删掉该图' class='add' onclick='DelPic("+i+")' style='margin:5px;'/>";
 
}
function DelPic(i)
{
  var Container = document.getElementById("pic1");    
    var _tr=document.getElementById("pp"+i);  
    row=_tr.rowIndex;
    Container.deleteRow(row); 
}
function DelRow(i)
{
  var Container = document.getElementById("tab1");    
    var _tr=document.getElementById("pd"+i);  
    row=_tr.rowIndex;
    Container.deleteRow(row); 
}
function DelRow2(tab,i)
{
      var Container = document.getElementById(tab);   
    var _tr=document.getElementById("pd"+i);  
    row=_tr.rowIndex;
    Container.deleteRow(row); 
}
</script>

<style>
td{ padding: 5px;}
</style>
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm" >
        <li class="active"><a href="#/app/product_list///">产品列表</a></li>
        <li><a href="#/app/psort_list/">产品分类</a></li>
         <li><a href="#/app/order_list/">订单管理</a></li>
      </ul>
    </div>
    
<div class="wrapper-md" ng-controller="product_add_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel panel-info ng-scope">
        <div class="panel-heading">
         {{action}}产品
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="save(lang)">
          <div class="form-group">
          <label class="col-sm-2 control-label">产品标题</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="P_title" value="{{data.P_title}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">产品图片</label>
          <div class="col-sm-10">
           <span ng-bind-html="trust(data.P_pic)"></span>
           <input type="button" value="＋ 新增一个图片" onclick="AddPic()" class='add' style="margin:5px;" />
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">产品价格</label>
          <div class="col-sm-10">
          <div class="input-group m-b">
            <input type="text" class="form-control" name="P_price" value="{{data.P_price}}" required>
            <span class="input-group-addon">元</span>
          </div>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">发布时间</label>
          <div class="col-sm-10">
          <input type="text" class="form-control" name="P_time" value="{{data.P_time}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">是否置顶</label>
          <div class="col-sm-10">
            <label class="i-switch bg-info m-t-xs m-r">
              <input type="checkbox" value="1" name="P_top" ng-checked="isSelected(data.P_top)">
              <i></i>
            </label>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">开启购买</label>
          <div class="col-sm-10">

            <label class="i-switch bg-info m-t-xs m-r">
              <input type="checkbox" value="1" name="P_buy" ng-checked="isSelected(data.P_buy)">
              <i></i>
            </label>

          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label">产品分类</label>
          <div class="col-sm-10">
          <select name="P_sort" class="form-control ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched">

          <optgroup ng-repeat="x in psort_lists" label="{{x.S_title}}">
<option ng-repeat="y in x.psort_list" value="{{y.S_id}}" ng-selected="isSelected2(data.P_sort,y.S_id)">{{y.S_title}}</option>
</optgroup>

          </select>
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label">SEO设置<br>关键词keywords</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="P_keywords" value="{{data.P_keywords}}">
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label">SEO设置<br>描述description</label>
          <div class="col-sm-10">
            <textarea class="form-control {{lcss}}" rows="3" name="P_description" ng-model="data.P_description" placeholder="留空则自动提取文章前100字"></textarea>
          </div>
          </div>
          
          <div class="form-group">
          <label class="col-sm-2 control-label">产品内容</label>
          <div class="col-sm-10">
          <textarea name='P_content' style='width:100%;height:500px;' id='content'></textarea>
          
          <script>
var editor=KindEditor.create('#content', {uploadJson : '../kindeditor/asp/upload_json.asp', fileManagerJson : '../kindeditor/asp/file_manager_json.asp',allowFileManager :true,filterMode: false,items:['source', '|', 'undo', 'redo', '|', 'preview', 'print', 'template', 'code', 'cut', 'copy', 'paste', 'plainpaste', 'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright','justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript', 'superscript', 'clearhtml', 'quickformat', 'selectall', '|', 'fullscreen', '/','formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold','italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'image', 'multiimage','flash', 'media', 'insertfile', 'table', 'hr', 'emoticons', 'baidumap', 'pagebreak','anchor', 'link', 'unlink', '|', 'about']});
          </script>
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label">产品属性</label>
          <div class="col-sm-10">
          <div class="table-responsive">
            <span ng-bind-html="trust(data.P_shuxing)"></span>
            <input type="button" value="＋ 新增一个属性" class="add" onclick="AddRow()" style="margin:5px;" />
          </div>
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>
          
         
  </form>
   </div>
    </div>
  </div>
</div>
^
<script language="javascript">
function challs_flash_update(){ 
  var a={};
a.title = "上传文件"; 
a.FormName = "Filedata";
a.url="../upload/update.asp"; 
a.parameter="bs=tyi&id=50"; 
a.typefile=["Images (*.gif,*.png,*.jpg,*jpeg)","*.gif;*.png;*.jpg;*.jpeg;","GIF (*.gif)","*.gif;","PNG (*.png)","*.rar;","JPEG (*.jpg,*.jpeg)","*.jpg;*.jpeg;"];
a.UpSize=0;
a.fileNum=0;
a.size=2;
a.FormID=['select','select2'];
a.autoClose=1;
a.CompleteClose=false;
a.repeatFile=true;
a.returnServer=true;
a.MD5File = 1;
a.loadFileOrder=true;
a.mixFileNum=0;
return a ;
}
function challs_flash_onComplete(a){ 
  var name=a.fileName; 
  var size=a.fileSize; 
  var time=a.updateTime; 
  var type=a.fileType;
  document.getElementById('show').innerHTML+=name+' --- '+size+'字节 ----文件类型：'+type+'--- 用时 '+(time/1000)+'秒<br><br>'
}

function challs_flash_onCompleteData(a){
  document.getElementById('show').innerHTML+='<font color="#ff0000">服务器端反馈信息：</font><br />'+a+'<br />'; 
}
function challs_flash_onStart(a){
  var name=a.fileName; 
  var size=a.fileSize; 
  var type=a.fileType; 
  document.getElementById('show').innerHTML+=name+'开始上传！<br />';
}

function challs_flash_onCompleteAll(a){ 
  document.getElementById('show').innerHTML+='<font color="#ff0000">所有文件上传完毕，</font>上传失败'+a+'个！<br />';

}

function challs_flash_onError(a){ 
  var err=a.textErr;
  var name=a.fileName; 
  var size=a.fileSize; 
  var type=a.fileType; 
  document.getElementById('show').innerHTML+='<font color="#ff0000">'+name+' - '+err+'</font><br />';
}

function challs_flash_FormData(a){ 
  try{
    var value = '';
    var id=document.getElementById(a);
    if(id.type == 'radio'){
      var name = document.getElementsByName(id.name);
      for(var i = 0;i<name.length;i++){
        if(name[i].checked){
          value = name[i].value;
        }
      }
    }else if(id.type == 'checkbox'){
      if(id.checked){
        value = id.value;
      }
    }else{
      value = id.value;
    }
    return value;
   }catch(e){
    return '';
   }
}

var isMSIE = (navigator.appName == "Microsoft Internet Explorer");   
function thisMovie(movieName){   
  if(isMSIE){   
    return window[movieName];   
  }else{
    return document[movieName];   
  }   
}
</script>
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li class="active"><a href="">产品列表</a></li>
        <li><a href="#/app/psort_list/">产品分类</a></li>
         <li><a href="#/app/order_list/">订单管理</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="product_add2_Ctrl" >

  <div class="row">
<div class="col-lg-12">
<div ng-if="isSelected(c.x9)">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         批量新增产品
        </div>
<div class="panel-body">
<form class="form-horizontal" id="form1">
          <div class="form-group">
          <label class="col-sm-2 control-label">产品分类</label>
          <div class="col-sm-10">
          <select name="P_sort" id="select">

          <optgroup ng-repeat="x in psort_lists" label="{{x.S_title}}">
<option ng-repeat="y in x.psort_list" value="{{y.S_id}}">{{y.S_title}}</option>
</optgroup>

          </select>
          </div>
          </div>

<div class="form-group">
          <label class="col-sm-2 control-label">选择文件</label>
          <div class="col-sm-10">
          <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="100%" height="320" id="update" align="middle">
                  <param name="allowFullScreen" value="false" />
                  <param name="allowScriptAccess" value="always" />
                  <param name="movie" value="update.swf" />
                  <param name="quality" value="high" />
                  <param name="bgcolor" value="#ffffff" />
                  <embed src="update.swf" quality="high" bgcolor="#ffffff" width="100%" height="320" name="update" align="middle" allowscriptaccess="always" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />                
</object>
          </div>
          </div>
</form>
</div>
</div>
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         返回信息
        </div>
<div class="panel-body">
<div id="show" style="margin-top:20px; width:500px; text-align:left;"></div>
</div>
      </div>
</div>
      <div ng-if="!isSelected(c.x9)">
          您还未购买此插件 <a href="#/app/plug/" class="del"><i class="fa fa-shopping-cart"></i> 购买</a>
          </div>
    </div>

  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li class="active"><a href="">产品列表</a></li>
        <li><a href="#/app/psort_list/">产品分类</a></li>
         <li><a href="#/app/order_list/">订单管理</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="product_list_Ctrl" >
  <div class="row">


  <div class="col-md-2">
      <div class="panel panel-info ng-scope" ng-repeat="x in psort_lists">
        <div class="panel-heading">
         {{x.S_title}}
        </div>
<div class="table-responsive">
      <div class="list-group" >
        <a  class="list-group-item" ng-repeat="y in x.psort_list" href="#/app/product_list/{{y.S_id}}//">
          <span class="badge bg-info">{{y.S_count}}</span>
          <i class="fa fa-newspaper-o m-r-xs"></i> {{y.S_title}}
        </a>
      </div>

 </div>
 </div>
 <a href='#/app/product_add/' class='edit'><i class='fa fa-plus'></i> 新增产品</a>
 <a href='#/app/product_add2' class='edit'><i class='fa fa-plus'></i> 批量新增</a>
 <a href='#/app/psort_add/' class='edit'><i class='fa fa-plus'></i> 新增分类</a>
  <div style="height: 20px;"></div>
 </div>

    <div class="col-md-10">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         产品列表
        </div>
<div class="table-responsive">
<form id="form">
 <table class="table table-striped m-b-none" style="min-width: 1000px;">
          <thead>
            <tr>
              <th>选择</th>
              <th>排序</th>
			  <th>显示名称</th>
			  <th>是否置顶</th>
        <th>价格</th>
        <th>开启购买</th>
			   <th>缩图</th>
         <th>所属分类</th>
         <th>编辑</th>
         <th>删除</th>
            </tr>
          </thead>
          <tbody>
           <tr ng-repeat="x in product_list" id="item_{{x.P_id}}">
		   <td>
              <label class="i-checks">
                <input type="checkbox" name="id" id="id" value="{{x.P_id}}" ng-checked="all">
                <i></i>
              </label>
        </td>
       <td><input type='text' value='{{x.P_order}}' name='order_{{x.P_id}}' class="form-control" style="width: 50px;"></td>
        <td><textarea type='text' name='title_{{x.P_id}}' class="form-control {{lcss}}" ng-model="x.P_title" ng-blur="save(lang)" style="min-width: 200px;"></textarea></td>
        <td><span ng-bind-html="trust(x.P_top)"></span></td>
        <td>
        <div class="input-group m-b">
            <input type='text' name='price_{{x.P_id}}' value="{{x.P_price}}" class="form-control" ng-blur="save(lang)">
            <span class="input-group-addon">元</span>
          </div>
        </td>
        <td><span ng-bind-html="trust(x.P_buy)"></span></td>
        <td><img ng-src='../{{x.P_pic}}' style='max-width: 100px; max-height:40px;' alt='<img src=../{{x.P_pic}} width=400>'></span></td>
        <td><span ng-bind-html="trust(x.P_sort)"></span></td>
        <td><a href="#/app/product_add/{{x.P_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="del(x.P_id)" class="del"><i class='fa fa-times-circle'></i> 删除</a></td>
            </tr>
           
          </tbody>
        </table>
</form>
        </div>
<footer class="panel-footer">
      <div class="row">
        <div class="col-sm-4 hidden-xs">
                    
        </div>
        <div class="col-sm-4 hidden-xs">
          <small class="text-muted inline m-t-sm m-b-sm">本页显示第 {{(selPage-1)*10+1}}-{{list2}} 条 共 {{count}} 条</small>
        </div>
        <div class="col-sm-4 text-right text-center-xs">      


<nav>
<ul class="pagination">
<li>
<a ng-click="Previous()">
<span>上一页</span>
</a>
</li>
<li ng-repeat="page in pageList" ng-class="{active: isActivePage(page)}" >
<a ng-click="selectPage(page)" >{{ page }}</a>
</li>
<li>
<a ng-click="Next()">
<span>下一页</span>
</a>
</li>
</ul>
</nav>

          
        </div>
      </div>
    </footer>
      </div>


              <label class="i-checks">
                <input type="checkbox" ng-model="all">
                <i></i>
                全选
              </label>
           
<input type="button" value="删除所选" ng-click="delall()" class="del">
<input type="button" value="保存修改" ng-click="save(lang)" class="add">
<a href='#/app/product_add/' class='edit'><i class='fa fa-plus'></i> 新增产品</a>
<a href='#/app/product_excel/' class='edit'><i class='fa fa-plus'></i> 导入Excel</a>
    </div>
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li ><a href="#/app/product_list///">产品列表</a></li>
        <li class="active"><a href="#/app/psort_list/">产品分类</a></li>
         <li><a href="#/app/order_list/">订单管理</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="psort_add_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel panel-info ng-scope">
        <div class="panel-heading">
         {{action}}产品分类
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="save(lang)">

            <div class="form-group">
          <label class="col-sm-2 control-label">上级分类</label>
          <div class="col-sm-10">
        <select name='S_sub' class="form-control ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched">
        <option value="0" ng-selected="isSelected2(data.S_sub,0)">根分类</option>
        <option ng-repeat="x in psort_lists" value="{{x.S_id}}" ng-selected="isSelected2(data.S_sub,x.S_id)">{{x.S_title}}</option>
        </select>
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label">产品分类标题</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="S_title" value="{{data.S_title}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">标题（第二语言）</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="S_entitle" value="{{data.S_entitle}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">排序</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="S_order" value="{{data.S_order}}" required>
          </div>
          </div>
          
          <div class="form-group">
          <label class="col-sm-2 control-label">分类封面图</label>
          <div class="col-sm-10">
          <img ng-src="../{{data.S_pic}}" id="S_picx" class="L_pic" onclick="showUpload('S_pic','S_pic','../media',1,null,'','');">
            <div class="input-group">
              <input type="text" class="form-control" id="S_pic" name="S_pic" value="{{data.S_pic}}">
              <span class="input-group-btn">
                <button class="btn btn-info" type="button" onclick="showUpload('S_pic','S_pic','../media',1,null,'','');">上传文件</button>
              </span>
            </div>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">SEO设置<br>keywords</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="S_keywords" value="{{data.S_keywords}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">SEO设置<br>description</label>
          <div class="col-sm-10">
            <textarea  class="form-control {{lcss}}" name="S_description"  required>{{data.S_description}}</textarea>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">类型</label>
          <div class="col-sm-10">
            <div class="radio">
              <label class="i-checks">
                <input type="radio" name="S_type" value="0" ng-checked="isSelected2(data.S_type,0)">
                <i></i>
                产品
              </label>
            </div>
            <div class="radio">
              <label class="i-checks">
                <input type="radio" name="S_type" value="1" ng-checked="isSelected2(data.S_type,1)">
                <i></i>
                案例
              </label>
            </div>
            </div>
            </div>

            <div class="form-group" ng-show="showx">
          <label class="col-sm-2 control-label">菜单所属</label>
          <div class="col-sm-10">
        <select name='U_sub' class="form-control ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched">
        <option value="x">不加入到菜单</option>
        <option value="0">网站主菜单</option>
        <option ng-repeat="x in menu_lists" value="{{x.U_id}}">┗ {{x.U_title}}</option>
        </select>
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>
          
         
  </form>
   </div>
    </div>
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li ><a href="#/app/product_list///">产品列表</a></li>
        <li class="active"><a href="">产品分类</a></li>
         <li><a href="#/app/order_list/">订单管理</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="psort_list_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         产品分类列表
        </div>
<div class="table-responsive">
<form id="form">
 <table class="table m-b-none table-hover" style="min-width: 900px;" >
          <thead>
            <tr>
            <th>ID</th>
              <th>选择</th>
               <th>排序</th>
              <th>显示名称</th>
			  <th>名称（第二语言）</th>
        <th>封面图</th>
			  <th>类型</th>
        <th>所属</th>
			  <th>编辑</th>
			  <th>删除</th>
			   <th>添加到菜单</th>
            </tr>
          </thead>
          <tbody ng-repeat="x in psort_lists | orderBy: 'S_order'">
      <tr id="item_{{x.S_id}}" class="active">
      <td>{{x.S_id}}</td>
		   <td>
              <label class="i-checks">
                <input type="checkbox" name="id" id="id" value="{{x.S_id}}" ng-checked="all">
                <i></i>
              </label>
        </td>
        <td><input type='text' value='{{x.S_order}}' name='order_{{x.S_id}}' class="form-control" style="width: 50px;" ng-blur="save(lang)"></td>
        <td><input type='text' value='{{x.S_title}}' name='title_{{x.S_id}}' class="form-control {{lcss}}" ng-blur="save(lang)"></td>
        <td><input type='text' value='{{x.S_entitle}}' name='entitle_{{x.S_id}}' class="form-control {{lcss}}" ng-blur="save(lang)"></td>
        <td>
        <img ng-src='../{{x.S_pic}}' width='100px' alt='<img src=../{{x.S_pic}} width=400>' id="pic_{{x.S_id}}x" ng-click="showUpload(x.S_id)"></span>
        <input type="hidden" value="{{x.S_pic}}" id="pic_{{x.S_id}}" name="pic_{{x.S_id}}">
        </td>
        <td>{{x.S_type}}</td>
        <td><b>--根分类--</b></td>
        <td><a href="#/app/psort_add/{{x.S_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="del(x.S_id)" class="del"><i class='fa fa-times-circle'></i> 删除</a></td>
        <td><a href="javascript:;" ng-click="addmenu(x.S_id)" class="add"><i class="fa fa-times-circle"></i> 添加</a></td>
        </tr>

        <tr ng-repeat="y in x.psort_list  | orderBy: 'S_order'" id="item_{{y.S_id}}">
        <td>{{y.S_id}}</td>
       <td>
              <label class="i-checks">
                <input type="checkbox" name="id" id="id" value="{{y.S_id}}" ng-checked="all">
                <i></i>
              </label>
        </td>
        <td><input type='text' value='{{y.S_order}}' name='order_{{y.S_id}}' class="form-control sub" style="width: 50px;" ng-blur="save(lang)"></td>
        <td><input type='text' value='{{y.S_title}}' name='title_{{y.S_id}}' class="form-control {{lcss}} sub" ng-blur="save(lang)"></td>
        <td><input type='text' value='{{y.S_entitle}}' name='entitle_{{y.S_id}}' class="form-control {{lcss}} sub" ng-blur="save(lang)"></td>
        <td>
        <img ng-src='../{{y.S_pic}}' width='100px' alt='<img src=../{{y.S_pic}} width=400>' id="pic_{{y.S_id}}x" ng-click="showUpload(y.S_id)"></span>
        <input type="hidden" value="{{y.S_pic}}" id="pic_{{y.S_id}}" name="pic_{{y.S_id}}">
        </td>
        <td>{{y.S_type}}</td>
        <td>
        <select name='sort_{{y.S_id}}'>
        <option ng-repeat="z in psort_lists" ng-selected="isSelected2(y.S_sub,z.S_id)" value="{{z.S_id}}">{{z.S_title}}</option>
        </select>
        </td>
        <td><a href="#/app/psort_add/{{y.S_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="del(y.S_id)" class="del"><i class='fa fa-times-circle'></i> 删除</a></td>
        <td><a href="javascript:;" ng-click="addmenu(y.S_id)" class="add"><i class="fa fa-times-circle"></i> 添加</a></td>
        </tr>




          </tbody>
        </table>
</form>
        </div>
      </div>
              <label class="i-checks">
                <input type="checkbox" ng-model="all">
                <i></i>
                全选
              </label>
           
<input type="button" value="删除所选" ng-click="delall()" class="del">
<input type="button" value="保存修改" ng-click="save(lang)" class="add">
<a href='#/app/psort_add/' class='edit'><i class='fa fa-plus'></i> 新增产品分类</a>
    </div>
  </div>
</div>
^
<div class="wrapper-md" ng-controller="reply_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         留言回复
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="save(lang)">
          <div class="form-group">
          <label class="col-sm-2 control-label">标题</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="G_title" value="{{data.G_title}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">名称</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="G_name" value="{{data.G_name}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">邮箱</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="G_email" value="{{data.G_email}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">手机</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="G_phone" value="{{data.G_phone}}" required>
          </div>
          </div>
          
          <div class="form-group">
          <label class="col-sm-2 control-label">留言</label>
          <div class="col-sm-10">
            <textarea class="form-control" name="G_msg" ng-model="data.G_msg"></textarea>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">审核</label>
          <div class="col-sm-10">
          <label class="i-switch bg-info m-t-xs m-r">
              <input type="checkbox" value="1" name="G_sh" ng-checked="isSelected(data.G_sh)">
              <i></i>
            </label>
             <input type="hidden" value="0" name="G_sh">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">回复</label>
          <div class="col-sm-10">
            <textarea class="form-control" name="G_reply" ng-model="data.G_reply"></textarea>
          </div>
          </div>



          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>
          
         
  </form>
   </div>
    </div>
  </div>
</div>
^

<div class="wrapper-md" ng-controller="response_list_Ctrl">
  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         “{{data.F_title}}”统计
        </div>
<div class="table-responsive">

<span ng-bind-html="trust(data.response_list)"></span>

        </div>

      </div>
    </div>
	
  </div>
  
</div>
<script>
 function delx(id){
swal({title:"",text: "确定要删除吗？",type: "warning",showCancelButton: true},function(){ajaxx("ajax.asp?action=del&type=response&R_rid="+id,"","",4,id);});
 }
</script>
^
<div class="wrapper-md" ng-controller="safe_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         安全设置
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="save(lang)">


          <div class="form-group">
          <label class="col-sm-2 control-label">上传文件格式限制</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="S_filetype" value="{{data.S_filetype}}" required popover="用“|”分开" popover-trigger="focus">
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label">上传文件大小限制</label>
          <div class="col-sm-10">

          <div class="input-group">
            <input type="text" class="form-control" name="S_filesize" value="{{data.S_filesize}}" required popover="用于万能表单用户上传文件大小限制" popover-trigger="focus">
            <span class="input-group-addon">M</span>
          </div>

            
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label">IP黑名单设置</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="S_ip" value="{{data.S_ip}}" required popover="用“|”分开，支持通配符，如“123.45.67.89|123.45.67.*”" popover-trigger="focus">
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label">敏感字符过滤</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="S_word" value="{{data.S_word}}" required popover="用“|”分开，防止网站注入攻击" popover-trigger="focus">
          </div>
          </div>
          
         
         <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>

          
         
  </form>
  </div>
  </div>
    </div>
  </div>
</div>
^

<div class="wrapper-md" ng-controller="search_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         搜索项目
        </div>
        <div class="panel-body">

          <tabset class="tab-container">
          <tab ng-if="hide(data.slide_count)">
          <tab-heading>幻灯 <span class="badge badge-sm m-l-xs bg-primary">{{data.slide_count}}</span></tab-heading>
          <ul class="list-group list-group-alt list-group-lg no-borders pull-in m-b-none">
        <li class="list-group-item" ng-repeat="x in data.slide_list">
          <a href="#/app/slide_add/{{x.id}}" class="pull-left thumb-md m-r">
            <img ng-src="../{{x.pic}}" alt="<img src='../{{x.pic}}' width='200'>" class="search_pic">
          </a> 
          <div class="clear">
            <p><span class="h4 text-primary m-b-sm" ng-bind-html="trust(x.title)"></span> <a class="edit" href="#/app/slide_add/{{x.id}}"><i class="fa fa-edit"></i> 编辑</a> <a class="add" href="../" target="_blank"><i class="fa fa-send"></i> 查看</a></p>
            <div ng-bind-html="trust(x.content)"></div>
          </div>
        </li>
        </ul>



          </tab>
          <tab ng-if="hide(data.link_count)">
          <tab-heading>友链 <span class="badge badge-sm m-l-xs bg-primary">{{data.link_count}}</span></tab-heading>

          <ul class="list-group list-group-alt list-group-lg no-borders pull-in m-b-none">
        <li class="list-group-item" ng-repeat="x in data.link_list">
          <a href="#/app/link_add/{{x.id}}" class="pull-left thumb-md m-r">
            <img ng-src="../{{x.pic}}" alt="<img src='../{{x.pic}}' width='200'>" class="search_pic">
          </a>
          <div class="clear">
           <p><span class="h4 text-primary m-b-sm" ng-bind-html="trust(x.title)"></span> <a class="edit" href="#/app/link_add/{{x.id}}"><i class="fa fa-edit"></i> 编辑</a> <a class="add" href="../" target="_blank"><i class="fa fa-send"></i> 查看</a></p>
            <div ng-bind-html="trust(x.content)"></div>
          </div>
        </li>
        </ul>
          </tab>
          <tab ng-if="hide(data.text_count)">
          <tab-heading>简介 <span class="badge badge-sm m-l-xs bg-primary">{{data.text_count}}</span></tab-heading>
          <ul class="list-group list-group-alt list-group-lg no-borders pull-in m-b-none">
        <li class="list-group-item" ng-repeat="x in data.text_list">
          <a href="#/app/text_add/{{x.id}}" class="pull-left thumb-md m-r">
            <img ng-src="../{{x.pic}}" alt="<img src='../{{x.pic}}' width='200'>" class="search_pic">
          </a>
          <div class="clear">
            <p><span class="h4 text-primary m-b-sm" ng-bind-html="trust(x.title)"></span> <a class="edit" href="#/app/text_add/{{x.id}}"><i class="fa fa-edit"></i> 编辑</a> <a class="add" href="../?type=text&S_id={{x.id}}" target="_blank"><i class="fa fa-send"></i> 查看</a></p>
            <div ng-bind-html="trust(x.content)"></div>
          </div>
        </li>
        </ul>
          </tab>
          <tab ng-if="hide(data.news_count)">
          <tab-heading>新闻 <span class="badge badge-sm m-l-xs bg-primary">{{data.news_count}}</span></tab-heading>
          <ul class="list-group list-group-alt list-group-lg no-borders pull-in m-b-none">
        <li class="list-group-item" ng-repeat="x in data.news_list">
          <a href="#/app/news_add/{{x.id}}" class="pull-left thumb-md m-r">
            <img ng-src="../{{x.pic}}" alt="<img src='../{{x.pic}}' width='200'>" class="search_pic">
          </a>
          <div class="clear">
            <p><span class="h4 text-primary m-b-sm" ng-bind-html="trust(x.title)"></span> <a class="edit" href="#/app/news_add/{{x.id}}"><i class="fa fa-edit"></i> 编辑</a> <a class="add" href="../?type=newsinfo&S_id={{x.id}}" target="_blank"><i class="fa fa-send"></i> 查看</a></p>
            <div ng-bind-html="trust(x.content)"></div>
          </div>
        </li>
        </ul>
          </tab>
          <tab ng-if="hide(data.product_count)">
          <tab-heading>产品 <span class="badge badge-sm m-l-xs bg-primary">{{data.product_count}}</span></tab-heading>
          <ul class="list-group list-group-alt list-group-lg no-borders pull-in m-b-none">
        <li class="list-group-item" ng-repeat="x in data.product_list">
          <a href="#/app/product_add/{{x.id}}" class="pull-left thumb-md m-r">
            <img ng-src="../{{x.pic}}" alt="<img src='../{{x.pic}}' width='200'>" class="search_pic">
          </a>
          <div class="clear">
            <p><span class="h4 text-primary m-b-sm" ng-bind-html="trust(x.title)"></span> <a class="edit" href="#/app/product_add/{{x.id}}"><i class="fa fa-edit"></i> 编辑</a> <a class="add" href="../?type=productinfo&S_id={{x.id}}" target="_blank"><i class="fa fa-send"></i> 查看</a></p>
            <div style="min-height:20px;" ng-bind-html="trust(x.content)"></div>
          </div>
        </li>
        </ul>
          </tab>
          <tab ng-if="hide(data.form_count)">
          <tab-heading>表单 <span class="badge badge-sm m-l-xs bg-primary">{{data.form_count}}</span></tab-heading>
          <ul class="list-group list-group-alt list-group-lg no-borders pull-in m-b-none">
        <li class="list-group-item" ng-repeat="x in data.form_list">
          <a href="#/app/form_add/{{x.id}}" class="pull-left thumb-md m-r">
            <img ng-src="../{{x.pic}}" alt="<img src='../{{x.pic}}' width='200'>" class="search_pic">
          </a>
          <div class="clear">
            <p><span class="h4 text-primary m-b-sm" ng-bind-html="trust(x.title)"></span> <a class="edit" href="#/app/form_add/{{x.id}}"><i class="fa fa-edit"></i> 编辑</a> <a class="add" href="../?type=form&S_id={{x.id}}" target="_blank"><i class="fa fa-send"></i> 查看</a></p>
            <div ng-bind-html="trust(x.content)"></div>
          </div>
        </li>
        </ul>
          </tab>
          <tab ng-if="hide(data.menu_count)">
          <tab-heading>菜单 <span class="badge badge-sm m-l-xs bg-primary">{{data.menu_count}}</span></tab-heading>
          <ul class="list-group list-group-alt list-group-lg no-borders pull-in m-b-none">
        <li class="list-group-item" ng-repeat="x in data.menu_list">
          <a href="#/app/menu_add/{{x.id}}" class="pull-left thumb-md m-r">
            <img ng-src="../{{x.pic}}" alt="<img src='../{{x.pic}}' width='200'>" class="search_pic">
          </a>
          <div class="clear">
           <p><span class="h4 text-primary m-b-sm" ng-bind-html="trust(x.title)"></span> <a class="edit" href="#/app/menu_add/{{x.id}}"><i class="fa fa-edit"></i> 编辑</a> <a class="add" href="../" target="_blank"><i class="fa fa-send"></i> 查看</a></p>
            <div ng-bind-html="trust(x.content)"></div>
          </div>
        </li>
        </ul>
          </tab>
          <tab ng-if="hide(data.member_count)">
          <tab-heading>会员 <span class="badge badge-sm m-l-xs bg-primary">{{data.member_count}}</span></tab-heading>
          <ul class="list-group list-group-alt list-group-lg no-borders pull-in m-b-none">
        <li class="list-group-item" ng-repeat="x in data.member_list">
          <a href="#/app/member_add/{{x.id}}" class="pull-left thumb-md m-r">
            <img ng-src="../{{x.pic}}" alt="<img src='../{{x.pic}}' width='200'>" class="search_pic">
          </a>
          <div class="clear">
            <p><span class="h4 text-primary m-b-sm" ng-bind-html="trust(x.title)"></span> <a class="edit" href="#/app/member_add/{{x.id}}"><i class="fa fa-edit"></i> 编辑</a> <a class="add" href="../" target="_blank"><i class="fa fa-send"></i> 查看</a></p>
            <div ng-bind-html="trust(x.content)"></div>
          </div>
        </li>
        </ul>
          </tab>
         </tabset>
  </div>
  </div>
    </div>
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li><a href="#/app/product_list///">产品列表</a></li>
        <li><a href="#/app/psort_list/">产品分类</a></li>
         <li class="active"> <a href="#/app/order_list/">订单管理</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="send_Ctrl" >
  <div class="row">
    <div class="col-lg-6">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         订单信息
        </div>
<div class="panel-body">
<p>订单名称：{{data.P_title}}</p>
<p>数量：{{data.O_num}}</p>
<p>总价：{{data.O_all}}</p>
<p>属性：{{data.O_shuxing}}</p>
<p>提交时间：{{data.O_time}}</p>
</div>
</div>
</div>


<div class="col-lg-6">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         收货信息
        </div>
<div class="panel-body">
<p>会员名：{{data.M_login}}</p>
<p>真实姓名：{{data.M_name}}</p>
<p>收货地址：{{data.M_add}}</p>
<p>手机号码：{{data.M_mobile}}</p>
<p>邮编：{{data.M_code}}</p>
</div>
      </div></div>

<div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         订单信息
        </div>
<div class="panel-body">
<form class="form-horizontal" id="form" ng-submit="send()">
          <div class="form-group">
          <label class="col-sm-2 control-label">物流公司</label>
          <div class="col-sm-10">
          <select name="O_wl" class="form-control m-t ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched">
          <option value="申通|shentong">申通</option>
          <option value="圆通|yuantong">圆通</option>
          <option value="中通|zhongtong">中通</option>
          <option value="天天|tiantian">天天</option>
          <option value="百世汇通|huitongkuaidi">百世汇通</option>
          <option value="顺丰|shunfeng">顺丰</option>
          <option value="韵达|yunda">韵达</option>
          <option value="宅急送|zhaijisong">宅急送</option>
          <option value="EMS|ems">EMS</option>
          <option value="UPS|ups">UPS</option>
          <option value="E邮宝|ems">E邮宝</option>
          <option value="全峰快递|quanfengkuaidi">全峰快递</option>
          <option value="优速物流|yousuwuliu">优速物流</option>
          </select>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">运单编号</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="O_wlid" required>
          </div>
          </div>
          <input type="hidden" class="form-control" name="O_id" value="{{data.O_id}}" required>
          <input type="hidden" class="form-control" name="O_tradeno" value="{{data.O_tradeno}}" required>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">发货</button>
          </div>
          </div>
          
  </form>
</div>
      </div>
    </div>
	
  </div>
  
  

  
</div>
^

<div class="wrapper-md" ng-controller="sitemap_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         网站地图（sitemap）
        </div>
<div class="panel-body">

<form class="form-horizontal" id="form" ng-submit="save(lang)">
          <div class="form-group">
          <label class="col-sm-2 control-label">网站地图</label>
          <div class="col-sm-10">
            <textarea  class="form-control" name="sitemap" rows="30" required>{{data.sitemap}}</textarea>
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">生成</button> <span ng-show="showsitemap">路径：{{data.path}}，请到“百度站长平台”提交sitemap。</span> 
          </div>
          </div>
          </form>


        </div>

      </div>
    </div>
	
  </div>
  
  

  
</div>
^
<div class="wrapper-md" ng-controller="slide_add_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         {{action}}焦点图
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="save(lang)">
          <div class="form-group">
          <label class="col-sm-2 control-label">焦点图标题</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="S_title" value="{{data.S_title}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">焦点图描述</label>
          <div class="col-sm-10">
            <textarea class="form-control {{lcss}}" name="S_content" required>{{data.S_content}}</textarea>
          </div>
          </div>
          
          
          <div class="form-group">
          <label class="col-sm-2 control-label">焦点图</label>
          <div class="col-sm-10">
          <img ng-src="../{{data.S_pic}}" id="S_picx" class="L_pic" onclick="showUpload('S_pic','S_pic','../media',1,null,'','');">
            <div class="input-group">
              <input type="text" class="form-control" id="S_pic" name="S_pic" value="{{data.S_pic}}">
              <span class="input-group-btn">
                <button class="btn btn-info" type="button" onclick="showUpload('S_pic','S_pic','../media',1,null,'','');">上传文件</button>
              </span>
            </div>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">焦点图链接</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="S_link" value="{{data.S_link}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>
          
         
  </form>
   </div>
    </div>
  </div>
</div>
^

<div class="wrapper-md" ng-controller="slide_list_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         焦点图列表
        </div>
<div class="table-responsive">
<form id="form">
 <table class="table table-striped m-b-none" style="min-width: 600px;">
          <thead>
            <tr>
              <th>选择</th>
              <th>排序</th>
			  <th>名称</th>
			  <th>缩图</th>
			  <th>编辑</th>
			  <th>删除</th>
            </tr>
          </thead>
          <tbody>
           <tr ng-repeat="x in slide_list | orderBy : 'S_order'" id="item_{{x.S_id}}">
		   <td>
              <label class="i-checks">
                <input type="checkbox" name="id" id="id" value="{{x.S_id}}" ng-checked="all">
                <i></i>
              </label>
        </td>
       <td><input type='text' value='{{x.S_order}}' name='order_{{x.S_id}}' class="form-control" style="max-width: 50px;" ng-blur="save(lang)"></td>
        <td><input type='text' value='{{x.S_title}}' name='title_{{x.S_id}}' class="form-control {{lcss}}" ng-blur="save(lang)"></td>
        <td>
        <img ng-src='../{{x.S_pic}}' width='100px' alt='<img src=../{{x.S_pic}} width=400>' id="pic_{{x.S_id}}x" ng-click="showUpload(x.S_id)"></span>
        <input type="hidden" value="{{x.S_pic}}" id="pic_{{x.S_id}}" name="pic_{{x.S_id}}">
        </td>
        <td><a href="#/app/slide_add/{{x.S_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="del(x.S_id)" class="del"><i class='fa fa-times-circle'></i> 删除</a></td>
            </tr>
          </tbody>
        </table>
</form>
        </div>

      </div>


              <label class="i-checks">
                <input type="checkbox" ng-model="all">
                <i></i>
                全选
              </label>
           
<input type="button" value="删除所选" ng-click="delall()" class="del">
<input type="button" value="保存修改" ng-click="save(lang)" class="add">
<a href='#/app/slide_add/' class='edit'><i class='fa fa-plus'></i> 新增焦点图</a>
    </div>
	
  </div>
  
  

  
</div>
^
<div class="wrapper-md" ng-controller="space_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         空间占用
         <span class="pull-right">总占用：{{size_all}}</span>
        </div>
<div class="table-responsive">
 <table class="table table-striped m-b-none" style="min-width: 900px;">
          <thead>
            <tr>
              <th>文件夹名称</th>
              <th>占用大小</th>
			  <th>备注</th>
			  
            </tr>
          </thead>
          <tbody>
           <tr ng-repeat="x in file_list" >

       <td><img src='images/folder.png' height='10'> {{x.name}}</td>
       <td><img src='images/bar2.gif' width='{{x.width}}' height=10> {{x.space}}</td>
       <td><span ng-bind-html="trust(x.info)"></span></td>
       
            </tr>
           
          </tbody>
        </table>


      </div>

    </div>
	
  </div>
  
  

  
</div>
^
<style>
.box{width:145px;margin:10px; padding:10px;float:left;background-color:#EEEEEE;line-height:200%;border:#DDDDDD solid 1px;-moz-border-radius: 10px;-webkit-border-radius: 10px;border-radius:10px;}
.box img{-moz-border-radius: 10px;-webkit-border-radius: 10px;border-radius:10px;margin-bottom:10px;}
.sort{margin:10px; padding:10px;background-color:#EEEEEE;line-height:200%;border:#DDDDDD solid 1px;-moz-border-radius: 10px;-webkit-border-radius: 10px;border-radius:10px;}
.sort_list{float:left;font-size: 14px;  margin: 5px; width: 160px;}
.price{position: absolute; z-index: 999; padding: 0 3px; background: #23B7E5; color: #ffffff; left: 0px;}
.onactive{text-decoration:underline; color: #ff0000;}
</style>
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li><a href="#/app/template_list/">本地模板</a></li>
        <li class="active"><a href="">模板库</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="template_all_Ctrl">
  <div class="row">
    <div class="col-lg-12">
          <tabset class="tab-container">
          <tab heading="电脑端模板">
<div class="table-responsive">

<div class="sort">
<div class="sort_list">
<a href="#/app/template_all/"><b>全部模板</b></a>
</div>
<div ng-repeat="x in tsort" class="sort_list" ng-class="{true:'onactive',false:''}[isactive(x.S_id)]">
<a href="#/app/template_all/{{x.S_id}}">{{x.S_title}}({{x.T_count}})</a>
</div>
<div style="font: 0px/0px sans-serif;clear: both;display: block"> </div>
</div>
<div ng-repeat="x in pc">
<div class='box' align='center'>
<a href='demo.asp?T_id={{x.T_name}}' target="_blank" style="position: relative;">
<img ng-src='http://www.s-cms.cn/media/{{x.T_name}}_s.jpg' width='110' alt='<img src=http://www.s-cms.cn/media/{{x.T_name}}.jpg width=400>'>
<span class="price" ng-show="{1: false,2: false,3:true}[x.state]">￥{{x.T_price}}</span>
</a>
<br>模板{{x.T_name}} / <a ng-class="{1: 'edit', 2: 'add',3:'del'}[x.state]" ng-bind-html="button(x.state)" ng-click="click(x.state,x.T_name)"></a>
</div>
</div>
        </div>
          </tab>
          <tab heading="移动端模板">
<div class="table-responsive">
<div ng-repeat="x in wap">
<div class='box' align='center'>
<a href='demo.asp?T_id={{x.T_name}}' target="_blank" style="position: relative;">
<img ng-src='http://www.s-cms.cn/media/{{x.T_name}}.jpg' width='110' alt='<img src=http://www.s-cms.cn/media/{{x.T_name}}.jpg width=200>'>
<span class="price" ng-show="{1: false,2: false,3:true}[x.state]">￥{{x.T_price}}</span>
</a>
<br>模板{{x.T_name}} / <a ng-class="{1: 'edit', 2: 'add',3:'del'}[x.state]" ng-bind-html="button(x.state)" ng-click="click(x.state,x.T_name)"></a>
</div>
</div>
        </div>
          </tab>
         </tabset>
    </div>
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li class="active"><a href="">本地模板</a></li>
        <li><a href="#/app/template_all/">模板库</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="template_edit_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         编辑模板
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="save(lang)">
  <input type="hidden" name="T_id" value="{{data.T_id}}">
          <div class="form-group">
          <label class="col-sm-2 control-label">模板编号</label>
          <div class="col-sm-10">
           {{data.no}}
           <input type="hidden" name="no" value=" {{data.no}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">文件名称</label>
          <div class="col-sm-10">
            {{data.name}}.html
            <input type="hidden" name="name" value=" {{data.name}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">编辑内容</label>
          <div class="col-sm-10">
            <textarea class="form-control"  style="font-size: 12px;" rows="29" name="T_description" ng-model="T_html"></textarea>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>
        
  </form>
   </div>
    </div>
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li class="active"><a href="">本地模板</a></li>
        <li><a href="#/app/template_all/">模板库</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="template_html_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel panel-info ng-scope">
        <div class="panel-heading">
         编辑模板 编号{{data.no}}
        </div>
<div class="table-responsive">

<div style='width:130px;margin:10px; padding:10px;float:left;background-color:#FFFFFF;line-height:200%;border:#DDDDDD solid 1px;' align='center' ng-repeat="x in data.html_list">
<a ui-sref="app.template_edit({id:data.no,name:x.filename})">
<img src='images/html.png' width='50'>
<br>
{{x.filename}}.html
<br>
{{x.typeinfo}}
</a>
</div>
        </div>

      </div>
    </div>
	
  </div>
  

  
</div>
^
<div class="wrapper bg-light b-b" >
      <ul class="nav nav-pills nav-sm">
        <li class="active"><a href="">本地模板</a></li>
        <li><a href="#/app/template_all/">模板库</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="template_list_Ctrl">
  <div class="row">
    <div class="col-lg-12">
          <tabset class="tab-container">
          <tab heading="电脑端模板" style="position: relative;">
<form id="template">
<div class="table-responsive">
<table class="table table-striped m-b-none" style="min-width: 900px;">
          <thead>
            <tr>
        <th>模板编号</th>
        <th>缩图</th>
        <th>切换模板</th>
        <th>导入模板数据</th>
        <th>说明文件</th>
        <th>编辑模板</th>
        <th>删除</th>
            </tr>
          </thead>
          <tbody>
           <tr ng-repeat="x in template_list" id="item_{{x.folername}}">
           <td>{{x.folername}}</td>
       <td><img ng-src="../template/{{x.folername}}/template.jpg" width='100px' alt='<img src=../template/{{x.folername}}/template.jpg width=400>'></td>
        <td><div class="radio">
              <label class="i-checks">
                <input type="radio" ng-click="save('template',x.folername)" name="C_template" value="{{x.folername}}" ng-checked="isSelected2(x.folername,data.C_template)">
                <i></i>
                {{x.folername}}
              </label>
            </div></td>
          <td><a href="javascript:;" ng-click="sql(x.folername)" class="edit" ng-show="isSelected2(x.folername,data.C_template)"><i class="fa fa-sign-out"></i> 导入</a></td>
        <td><a href="javascript:;" ng-click="readme(x.folername)" class="add"><i class="fa fa-sign-out"></i> 查看</a></td>
        <td><a href="#/app/template_html/{{x.folername}}" class="edit"><i class='fa fa-edit'></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="del(x.folername,'template')" class="del"><i class="fa fa-times-circle"></i> 删除</a></td>
            </tr>
            <tr>
           <td></td>
        <td>（1）切换模板不影响网站已保存的数据<br>（2）导入模板数据可能会覆盖部分网站现有数据</td>
        <td><a href="#/app/template_all/" class="edit"><i class='fa fa-inbox'></i> 模板库</a></td>
        <td></td>
        <td></td>
        <td></td>
            </tr>
          </tbody>
        </table>
        </div>
</form>
          </tab>
          <tab heading="移动端模板">
<form id="wap">
<div class="table-responsive">
<table class="table table-striped m-b-none" style="min-width: 900px;">
          <thead>
            <tr>
        <th>模板编号</th>
        <th>缩图</th>
        <th>应用该模板</th>
        <th>删除</th>
            </tr>
          </thead>
          <tbody>
           <tr ng-repeat="x in wap_list" id="item_{{x.folername}}">
           <td>{{x.folername}}</td>
       <td><img ng-src="../wap/{{x.folername}}/template.jpg" width='100px' alt='<img src=../wap/{{x.folername}}/template.jpg width=200>'></td>
        <td><div class="radio">
              <label class="i-checks">
                <input type="radio" name="C_template" ng-click="save('wap')" value="{{x.folername}}" ng-checked="isSelected2(x.folername,data.C_wap)">
                <i></i>
                {{x.folername}}
              </label>
            </div></td>
        <td><a href="javascript:;" ng-click="del(x.folername,'wap')" class="del"><i class="fa fa-times-circle"></i> 删除</a></td>
            </tr>
            <tr >
           <td></td>
       <td>说明：切换模板不影响网站已保存的数据</td>
        <td><a href="#/app/template_all/" class="edit"><i class='fa fa-inbox'></i> 模板库</a></td>
        <td></td>
            </tr>
           
          </tbody>
        </table>
        </div>
        
        </form>
          </tab>
         </tabset>
    </div>
  </div>
</div>
^
<div class="wrapper-md" ng-controller="text_add_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         {{action}}简介
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="save(lang)">
  <input type="hidden" name="T_id" value="{{data.T_id}}">
          <div class="form-group">
          <label class="col-sm-2 control-label">简介标题</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}"  name="T_title" value="{{data.T_title}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">标题（第二语言）</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="T_entitle" value="{{data.T_entitle}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">SEO设置<br>关键词keywords</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="T_keywords" ng-model="data.T_keywords">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">SEO设置<br>描述description</label>
          <div class="col-sm-10">
            <textarea class="form-control {{lcss}}" rows="3" name="T_description" ng-model="data.T_description" placeholder="留空则自动提取文章前100字"></textarea>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">简介配图</label>
          <div class="col-sm-10">
          <img ng-src="../{{data.T_pic}}" id="T_picx" class="L_pic" onclick="showUpload('T_pic','T_pic','../media',1,null,'','');">
            <div class="input-group">
              <input type="text" class="form-control" id="T_pic" name="T_pic" value="{{data.T_pic}}">
              <span class="input-group-btn">
                <button class="btn btn-info" type="button" onclick="showUpload('T_pic','T_pic','../media',1,null,'','');">上传文件</button>
              </span>
            </div>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">简介内容</label>
          <div class="col-sm-10">
          <textarea name='T_content' style='width:100%;height:350px;' id='content' calss="{{lcss}}"></textarea>
          
          <script>
var editor=KindEditor.create('#content', {uploadJson : '../kindeditor/asp/upload_json.asp', fileManagerJson : '../kindeditor/asp/file_manager_json.asp',allowFileManager :true,filterMode: false,items:['source', '|', 'undo', 'redo', '|', 'preview', 'print', 'template', 'code', 'cut', 'copy', 'paste', 'plainpaste', 'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright','justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript', 'superscript', 'clearhtml', 'quickformat', 'selectall', '|', 'fullscreen', '/','formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold','italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'image', 'multiimage','flash', 'media', 'insertfile', 'table', 'hr', 'emoticons', 'baidumap', 'pagebreak','anchor', 'link', 'unlink', '|', 'about']});
          </script>
          </div>
          </div>
        <div class="form-group" ng-show="showx">
          <label class="col-sm-2 control-label">菜单所属</label>
          <div class="col-sm-10">
        <select name='U_sub' class="form-control ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched">
        <option value="x">不加入到菜单</option>
        <option value="0">网站主菜单</option>
        <option ng-repeat="x in menu_lists" value="{{x.U_id}}">┗ {{x.U_title}}</option>
        </select>
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>

  </form>
   </div>
    </div>
  </div>
</div>
^
<div class="wrapper-md" ng-controller="text_list_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         简介列表
        </div>
<div class="table-responsive">
<form id="form">
 <table class="table table-striped m-b-none" style="min-width: 900px;">
          <thead>
            <tr>
              <th>选择</th>
              <th>显示名称</th>
			  <th>名称（第二语言）</th>
			  <th>插图</th>
			  <th>编辑</th>
			  <th>删除</th>
			   <th>添加到菜单</th>
            </tr>
          </thead>
          <tbody>
           <tr ng-repeat="x in text_list" id="item_{{x.T_id}}">
		   <td>
              <label class="i-checks">
                <input type="checkbox" name="id" id="id" value="{{x.T_id}}" ng-checked="all">
                <i></i>
              </label>
        </td>
       <td><input type='text' value='{{x.T_title}}' name='title_{{x.T_id}}' class="form-control {{lcss}}" ng-blur="save(lang)"></td>
        <td><input type='text' value='{{x.T_entitle}}' name='entitle_{{x.T_id}}' class="form-control {{lcss}}" ng-blur="save(lang)"></td>
        <td>
        <img ng-src='../{{x.T_pic}}' width='100px' alt='<img src=../{{x.T_pic}} width=400>' id="pic_{{x.T_id}}x" ng-click="showUpload(x.T_id)"></span>
        <input type="hidden" value="{{x.T_pic}}" id="pic_{{x.T_id}}" name="pic_{{x.T_id}}">
        </td>
        <td><a href="#/app/text_add/{{x.T_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="del(x.T_id)" class="del"><i class='fa fa-times-circle'></i> 删除</a></td>
        <td><a href="javascript:;" ng-click="addmenu(x.T_id)" class="add"><i class="fa fa-times-circle"></i> 添加</a></td>
            </tr>
           
          </tbody>
        </table>
        </form>
        </div>
      </div>
              <label class="i-checks">
                <input type="checkbox" ng-model="all">
                <i></i>
                全选
              </label>
           
<input type="button" value="删除所选" ng-click="delall()" class="del">
<input type="button" value="保存修改" ng-click="save(lang)" class="add">
<a href='#/app/text_add/' class='edit'><i class='fa fa-plus'></i> 新增简介</a>
    </div>
	
  </div>
  
  

  
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li><a href="#/app/product_list///">产品列表</a></li>
        <li><a href="#/app/psort_list/">产品分类</a></li>
         <li class="active"> <a href="">订单管理</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="tk_Ctrl" >
  <div class="row">
    <div class="col-lg-6">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         订单信息
        </div>
<div class="panel-body">
<p>订单名称：{{data.P_title}}</p>
<p>数量：{{data.O_num}}</p>
<p>总价：{{data.O_all}}</p>
<p>属性：{{data.O_shuxing}}</p>
<p>提交时间：{{data.O_time}}</p>
</div>
</div>
</div>


<div class="col-lg-6">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         收货信息
        </div>
<div class="panel-body">
<p>会员名：{{data.M_login}}</p>
<p>真实姓名：{{data.M_name}}</p>
<p>收货地址：{{data.M_add}}</p>
<p>手机号码：{{data.M_mobile}}</p>
<p>邮编：{{data.M_code}}</p>
</div>
      </div></div>

  </div>
  
  
<input type="button" value="同意退款" ng-click="tk('agree')" class="add">
<input type="button" value="拒绝退款" ng-click="tk('refuse')" class="del">
  
</div>
^
<div class="wrapper-md" ng-controller="tohtml_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         生成静态
        </div>
<div class="table-responsive">

 <table class="table table-striped m-b-none" style="min-width: 600px;">
          <thead>
            <tr>
              <th>网页类型</th>
              <th>内容页</th>
        <th>列表页</th>
            </tr>
          </thead>
          <tbody>
      <tr><td>网站首页</td><td></td><td><a href="javascript:;" ng-click="creat('index')" class="add"><i class="fa fa-wrench"></i> 生成内容页</a></td></tr>
      <tr><td>简介页面</td><td></td><td><a href="javascript:;" ng-click="creat('text')" class="add"><i class="fa fa-wrench"></i> 生成内容页</a></td></tr>
      <tr><td>新闻页面</td><td><a href="javascript:;" ng-click="creat('news_list')" class="edit"><i class="fa fa-wrench"></i> 生成列表页</a></td><td><a href="javascript:;" ng-click="creat('news_info')" class="add"><i class="fa fa-wrench"></i> 生成内容页</a></td></tr>
      <tr><td>产品页面</td><td><a href="javascript:;" ng-click="creat('product_list')" class="edit"><i class="fa fa-wrench"></i> 生成列表页</a></td><td><a href="javascript:;" ng-click="creat('product_info')" class="add"><i class="fa fa-wrench"></i> 生成内容页</a></td></tr>
      <tr><td>表单页面</td><td></td><td><a href="javascript:;" ng-click="creat('form')" class="add"><i class="fa fa-wrench"></i> 生成内容页</a></td></tr>
      <tr><td>留言页面</td><td></td><td><a href="javascript:;" ng-click="creat('guestbook')" class="add"><i class="fa fa-wrench"></i> 生成内容页</a></td></tr>
      <tr><td>联系页面</td><td></td><td><a href="javascript:;" ng-click="creat('contact')" class="add"><i class="fa fa-wrench"></i> 生成内容页</a></td></tr>
      <tr><td>全站页面</td><td><a href="javascript:;" ng-click="creat('all')" class="del"><i class="fa fa-wrench"></i> 生成全站页面</a></td><td>* 短时间内耗费较高的服务器资源</td></tr>
          </tbody>
        </table>
        </div>
      </div>
*静态页面即后缀为.html的页面，较易被搜索引擎收录。
    </div>
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
      <li class="active"><a href="">接口设置</a></li>
        <li><a href="#/app/w_menu">自定义菜单</a></li>
        <li><a href="#/app/w_msg">推送消息</a></li>
        <li><a href="#/app/w_reply">自动回复</a></li>
        <li><a href="#/app/w_event">事件库</a></li>
        <li><a href="#/app/w_member">粉丝管理</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="w_config_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel panel-info ng-scope">
        <div class="panel-heading">
         接口设置
        </div>
        <div class="panel-body">
        <form class="form-horizontal" id="form" ng-submit="save(lang)">
          <div class="form-group">
          <label class="col-sm-2 control-label">公众号名称</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_wtitle" value="{{data.C_wtitle}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">接口URL</label>
          <div class="col-sm-10">
            <input type="text" class="form-control"  value="{{data.C_url}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">接口TOKEN</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_wtoken" value="{{data.C_wtoken}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">公众号二维码</label>
          <div class="col-sm-10">
          <img ng-src="../{{data.C_wcode}}" id="C_wcodex" class="L_pic" onclick="showUpload('C_wcode','C_wcode','../media',1,null,'','');">
            <div class="input-group">
              <input type="text" class="form-control" id="C_wcode" name="C_wcode" value="{{data.C_wcode}}">
              <span class="input-group-btn">
                <button class="btn btn-info" type="button" onclick="showUpload('C_wcode','C_wcode','../media',1,null,'','');">上传文件</button>
              </span>
            </div>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">APPID</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_wx_appid" value="{{data.C_wx_appid}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">APPSECRET</label>
          <div class="col-sm-10">
            <input type="password" class="form-control" name="C_wx_appsecret" value="{{data.C_wx_appsecret}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">微信MCHID</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_wx_mchid" value="{{data.C_wx_mchid}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">微信KEY</label>
          <div class="col-sm-10">
            <input type="password" class="form-control" name="C_wx_key" value="{{data.C_wx_key}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>
  </form>
   </div>
    </div>
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
       <li><a href="#/app/w_config">接口设置</a></li>
        <li><a href="#/app/w_menu">自定义菜单</a></li>
        <li><a href="#/app/w_msg">推送消息</a></li>
        <li><a href="#/app/w_reply">自动回复</a></li>
        <li class="active"><a href="#/app/w_event">事件库</a></li>
        <li><a href="#/app/w_member">粉丝管理</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="w_event_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         事件库
        </div>
<div class="table-responsive">
<form id="form">
 <table class="table table-striped m-b-none" style="min-width: 900px;">
          <thead>
            <tr>
 
              <th>事件名称</th>
			  <th>事件类型</th>
			  <th>事件内容</th>
			  <th>编辑</th>
			  <th>删除</th>
            </tr>
          </thead>
          <tbody>
           <tr ng-repeat="x in data.event" id="item_{{x.E_id}}">
		   
       <td>{{x.E_title}}</td>
        <td>{{x.E_type}}</td>
        <td>{{x.E_content}}</span></td>
        <td><a href="#/app/w_event_add/{{x.E_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="del(x.E_id)" class="del"><i class='fa fa-times-circle'></i> 删除</a></td>
            </tr>

            <tr>
       
       <td>未匹配到关键词</td>
        <td>系统内置事件</td>
        <td>未识别您发的消息，请等待人工为您回复☺</span></td>
        <td>无法编辑</td>
        <td>无法删除</td>
            </tr>

            <tr>
       
       <td>推送网站目录</td>
        <td>系统内置事件</td>
        <td>推送网站目录</span></td>
        <td>无法编辑</td>
        <td>无法删除</td>
            </tr>
          </tbody>
        </table>
</form>
        </div>

      </div>
<p><a href='#/app/w_event_add/' class='edit'><i class='fa fa-plus'></i> 新增事件</a><p>
<p>说明：当“自定义菜单”、“推送消息”、“自动回复”触发某个事件时，事件从“事件库”中调用。</p>
<p>图文前缀：T - 简介 / N - 新闻 / P - 产品 / F - 表单 / C - 联系 / G - 留言。</p>
    </div>
	
  </div>
  
  

  
</div>
^
<style>
td{padding: 5px;}
</style>
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
       <li ><a href="#/app/w_config">接口设置</a></li>
        <li ><a href="#/app/w_menu">自定义菜单</a></li>
        <li><a href="#/app/w_msg">推送消息</a></li>
        <li><a href="#/app/w_reply">自动回复</a></li>
        <li class="active"><a href="#/app/w_event">事件库</a></li>
        <li><a href="#/app/w_member">粉丝管理</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="w_event_add_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         {{action}}事件
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="save(lang)">
          <div class="form-group">
          <label class="col-sm-2 control-label">事件名称</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="E_title" value="{{data.E_title}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">事件类型</label>
          <div class="col-sm-10">
          <label class="i-checks"><input type="radio" name="E_type" value="text" ng-checked="isSelected2(data.E_type,'text')" ng-click="data.E_type = 'text'"><i></i>纯文本</label>
          <label class="i-checks"><input type="radio" name="E_type" value="article" ng-checked="isSelected2(data.E_type,'article')" ng-click="data.E_type = 'article'"><i></i>单图文</label>
          <label class="i-checks"><input type="radio" name="E_type" value="articles" ng-checked="isSelected2(data.E_type,'articles')" ng-click="data.E_type = 'articles'"><i></i>多图文</label>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">事件内容</label>
          <div class="col-sm-10">
          <textarea class="form-control" rows="3" name="E_content" ng-model="data.E_content" ng-show="{'text': true, 'article': false, 'articles': false}[data.E_type]"></textarea>
          <div ng-show="{'text': false, 'article': true, 'articles': false}[data.E_type]">

      <div style="width:250px; float:left; overflow:hidden" ng-repeat="x in data.E_all">
      <table width="100%">
      <tr onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#DFE6FD'" bgcolor="#ffffff">
      <td width="10%">
      <input type="radio" name="A_id" value="{{x.id}}" id="{{x.id}}" ng-checked="isSelected2(data.E_content,x.id)"> 
      </td><td width="20%"><label for="{{x.id}}"><img ng-src="../{{x.pic}}" width="40" height="40"></label></td><td width="70%"><label for="{{x.id}}">{{x.title}}</label> 
      </td></tr></table></div>


          </div>
          <div ng-show="{'text': false, 'article': false, 'articles': true}[data.E_type]">
          <div style="width:250px; float:left; overflow:hidden" ng-repeat="x in data.E_all">
      <table width="100%">
      <tr onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#DFE6FD'" bgcolor="#ffffff"><td width="10%">
      <input type="checkbox" name="A_idx" value="{{x.id}}" id="{{x.id}}x" ng-checked="isSelected3(data.E_content,x.id)">
       </td><td width="20%"><label for="{{x.id}}x"><img ng-src="../{{x.pic}}" width="40" height="40"></label></td><td width="70%"><label for="{{x.id}}x">{{x.title}}</label> 
      </td></tr></table></div>

          </div>

          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">说明</label>
          <div class="col-sm-10">

  1.事件类型为“纯文本”时，直接输入文字内容即可<br>
2.事件类型为“单图文”时，最多选择1篇文章<br>
3.事件类型为“多图文”时，最多选择8篇文章<br>
4.图文素材来自简介、新闻、产品、表单、联系模块<br>



          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>
        </form>
   </div>
    </div>
  </div>
</div>
^
<style>
td{padding: 5px;}
</style>
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
       <li><a href="#/app/w_config">接口设置</a></li>
        <li><a href="#/app/w_menu">自定义菜单</a></li>
        <li><a href="#/app/w_msg">推送消息</a></li>
        <li><a href="#/app/w_reply">自动回复</a></li>
        <li><a href="#/app/w_event">事件库</a></li>
        <li class="active"><a href="#/app/w_member">粉丝管理</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="w_member_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
        粉丝管理
        </div>
        <div class="panel-body">
           <div style="width:200px; float:left; overflow:hidden" ng-repeat="x in data.member">
           <table width="100%">
           <tr onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#DFE6FD'" bgcolor="#ffffff">
           <td width="10%">
            </td>
           <td width="20%"><label for="M_{{x.M_id}}"><img ng-src="{{x.M_pic}}" width="40" height="40"></label></td>
           <td width="70%"><label for="M_{{x.M_id}}">{{x.M_login}}</label></td>
           </tr>
           </table>
           </div>
   </div>
    </div>
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
       <li ><a href="#/app/w_config">接口设置</a></li>
        <li class="active"><a href="#/app/w_menu">自定义菜单</a></li>
        <li><a href="#/app/w_msg">推送消息</a></li>
        <li><a href="#/app/w_reply">自动回复</a></li>
        <li><a href="#/app/w_event">事件库</a></li>
        <li><a href="#/app/w_member">粉丝管理</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="w_menu_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
        自定义菜单
        </div>
<div class="table-responsive">
<form id="form">
 <table class="table m-b-none table-hover" style="min-width: 1100px;" >
          <thead>
            <tr>
              <th>排序</th>
              <th>名称</th>
        <th>展示类型</th>
			  <th>菜单内容</th>
			   <th>所属</th>
         <th>编辑</th>
         <th>删除</th>
            </tr>
          </thead>
          <tbody ng-repeat="x in main_menu | orderBy: 'W_order'">
      <tr id="item_{{x.W_id}}" class="active">

        <td><input type='text' value='{{x.W_order}}' name='order_{{x.W_id}}' class="form-control" style="width: 50px;" ng-blur="save(lang)"></td>
        <td><input type='text' value='{{x.W_title}}' name='title_{{x.W_id}}' class="form-control {{lcss}}" ng-blur="save(lang)"></td>
        
        <td>{{x.W_type}}</td>
        <td>{{x.W_content}}</td>

        <td><span ng-bind-html="trust(x.W_sub)"></span></td>

        <td><a href="#/app/w_menu_add/{{x.W_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="del(x.W_id)" class="del"><i class='fa fa-times-circle'></i> 删除</a></td>
        </tr>

        <tr ng-repeat="y in x.sub_list | orderBy: 'W_order'" id="item_{{y.W_id}}">
        
       <td>
            <input type='text' value='{{y.W_order}}' name='order_{{y.W_id}}' class="form-control sub" style="width: 50px;">
          </td>
        <td> 

            <input type='text' value='{{y.W_title}}' name='title_{{y.W_id}}' class="form-control sub {{lcss}}">

        </td>
        
        <td>{{y.W_type}}</td>
        <td>{{y.W_content}}</td>
        
        <td><span ng-bind-html="trust(y.W_sub)"></span></td>
        <td><a href="#/app/w_menu_add/{{y.W_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="del(y.W_id)" class="del"><i class='fa fa-times-circle'></i> 删除</a></td>
        </tr>
          </tbody>
        </table>
</form>
        </div>
      </div>

<a href='javascript:;' class='add' ng-click="save(lang)"><i class='fa fa-save'></i> 保存设置</a>
<a href='javascript:;' class='del' ng-click="send()"><i class='fa fa-send'></i> 发布菜单</a>
<a href='#/app/w_menu_add/' class='edit'><i class='fa fa-plus'></i> 新增菜单</a>
    </div>
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
       <li ><a href="#/app/w_config">接口设置</a></li>
        <li class="active"><a href="#/app/w_menu">自定义菜单</a></li>
        <li><a href="#/app/w_msg">推送消息</a></li>
        <li><a href="#/app/w_reply">自动回复</a></li>
        <li><a href="#/app/w_event">事件库</a></li>
        <li><a href="#/app/w_member">粉丝管理</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="w_menu_add_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         {{action}}自定义菜单
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="save(lang)">
          <div class="form-group">
          <label class="col-sm-2 control-label">菜单标题</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="W_title" value="{{data.W_title}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">菜单类型</label>
          <div class="col-sm-10">
          <label class="i-checks"><input type="radio" name="W_type" value="view" ng-checked="isSelected2(data.W_type,'view')" ng-click="data.W_type = 'view'"><i></i>链接</label>
          <label class="i-checks"><input type="radio" name="W_type" value="click" ng-checked="isSelected2(data.W_type,'click')" ng-click="data.W_type = 'click'"><i></i>事件</label>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">链接/事件</label>
          <div class="col-sm-10">
          <select name="W_content2" class="form-control ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched" ng-show="{'view': false, 'click': true}[data.W_type]">
          <option ng-repeat="x in event" value="{{x.E_id}}" ng-selected="isSelected2(data.W_content,x.E_id)">{{x.E_content}}</option>
          </select>
            <input type="text" class="form-control" name="W_content" value="{{data.W_content}}" ng-show="{'view': true, 'click': false}[data.W_type]">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">菜单归属</label>
          <div class="col-sm-10">
          <select name="W_sub" class="form-control ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched">
          <option value="0" ng-selected="isSelected2(data.w_sub,0)">主菜单</option>
          <option ng-repeat="x in menu" value="{{x.W_id}}" ng-selected="isSelected2(data.W_sub,x.W_id)">{{x.W_title}}</option>
          </select>

          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>
        </form>
   </div>
    </div>
  </div>
</div>
^
<style>
td{padding: 5px;}
</style>
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
       <li ><a href="#/app/w_config">接口设置</a></li>
        <li ><a href="#/app/w_menu">自定义菜单</a></li>
        <li class="active"><a href="#/app/w_msg">推送消息</a></li>
        <li><a href="#/app/w_reply">自动回复</a></li>
        <li><a href="#/app/w_event">事件库</a></li>
        <li><a href="#/app/w_member">粉丝管理</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="w_msg_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
        推送消息
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="send()">

          <div class="form-group">
          <label class="col-sm-2 control-label">推送对象</label>
          <div class="col-sm-10">
           

           <div style="width:200px; float:left; overflow:hidden" ng-repeat="x in data.member">
           <table width="100%">
           <tr onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#DFE6FD'" bgcolor="#ffffff">
           <td width="10%">
           <input type="checkbox" name="M_id" value="{{x.M_id}}" id="M_{{x.M_id}}"> </td>
           <td width="20%"><label for="M_{{x.M_id}}"><img ng-src="{{x.M_pic}}" width="40" height="40"></label></td>
           <td width="70%"><label for="M_{{x.M_id}}">{{x.M_login}}</label></td>
           </tr>
           </table>
           </div>

          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">推送内容</label>
          <div class="col-sm-10">
          <select name="all_content" class="form-control ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched">
          <option ng-repeat="x in data.event" value="{{x.E_id}}">{{x.E_type}}</option>
          </select>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">说明</label>
          <div class="col-sm-10">
           <label class="control-label">该推送调用的是“客服消息”接口，用户与公众号在48小时内有过交互即可收到消息（条数无限制）。</label>
          </div>
          </div>


          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">确认</button>
          </div>
          </div>

  </form>
   </div>
    </div>
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
       <li><a href="#/app/w_config">接口设置</a></li>
        <li><a href="#/app/w_menu">自定义菜单</a></li>
        <li><a href="#/app/w_msg">推送消息</a></li>
        <li class="active"><a href="#/app/w_reply">自动回复</a></li>
        <li><a href="#/app/w_event">事件库</a></li>
        <li><a href="#/app/w_member">粉丝管理</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="w_reply_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         关键词自动回复
        </div>
<div class="table-responsive">

 <table class="table table-striped m-b-none" style="min-width: 900px;">
          <thead>
            <tr>
         <th>关键词</th>
			  <th>回复类型</th>
			  <th>回复内容</th>
			  <th>编辑</th>
			  <th>删除</th>
            </tr>
          </thead>
          <tbody>
           <tr ng-repeat="x in data.reply" id="item_{{x.R_id}}">
		   
       <td>{{x.R_key}}</td>
        <td>{{x.E_type}}</td>
        <td>{{x.E_content}}</span></td>
        <td><a href="#/app/w_reply_add/{{x.R_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="del(x.R_id)" class="del"><i class='fa fa-times-circle'></i> 删除</a></td>
            </tr>
          </tbody>
        </table>

        </div>

      </div>
<p><a href='#/app/w_reply_add/' class='edit'><i class='fa fa-plus'></i> 新增自动回复</a><p>


<div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         新用户关注自动回复
        </div>
<div class="panel-body">
<form id="form" class="form-horizontal" ng-submit="sub()">
<div class="form-group">
          <label class="col-sm-2 control-label">回复内容</label>
          <div class="col-sm-10">
          <select name="all_content" class="form-control ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched">
          <option ng-repeat="x in data.event" value="{{x.E_id}}" ng-selected="isSelected2(data.sub_id,x.E_id)">{{x.E_content}}</option>
          </select>
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>
</form>
        </div>

      </div>
    </div>
	
  </div>
  
  

  
</div>
^
<div class="wrapper-md" ng-controller="w_reply_add_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         {{action}}自动回复
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="save(lang)">
          <div class="form-group">
          <label class="col-sm-2 control-label">关键词</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="R_key" value="{{data.R_key}}" required>
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label">回复内容</label>
          <div class="col-sm-10">
          <select name="R_reply" class="form-control ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched">
          <option ng-repeat="x in event" value="{{x.E_id}}" ng-selected="isSelected2(data.R_reply,x.E_id)">{{x.E_content}}</option>
          </select>
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
           <label class="control-label">回复内容来自“事件库”</label>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">保存</button>
          </div>
          </div>
          
          
        </form>
   </div>
    </div>
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li><a href="#/app/product_list///">产品列表</a></li>
        <li><a href="#/app/psort_list/">产品分类</a></li>
         <li class="active"> <a href="#/app/order_list/">订单管理</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="wuliu_Ctrl" >
  <div class="row">
<div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         订单信息
        </div>
<div class="panel-body">
<p>物流公司：{{data.O_wl}}</p>
<p>运单号：{{data.O_wlid}}</p>
</div>
      </div>

      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         查询物流
        </div>
<div class="panel-body">
<div class="col-lg-6">
<table class="table table-striped m-b-none" ng-if="isSelected(wl.ischeck)">
          <thead>
            <tr>
              <th>时间</th>
              <th>地点和跟踪进度</th>
            </tr>
          </thead>
          <tbody>
           <tr ng-repeat="x in wl.data">
       <td>{{x.time}}</td>
        <td>{{x.context}}</td>
            </tr>
          </tbody>
        </table>

        <div ng-if="!isSelected(wl.ischeck)">{{wl.message}}</div>
</div>
</div>
      </div>
    </div>
	
  </div>
  
  

  
</div>
^
<div class="aside-wrap">
  <div class="navi-wrap">
    <div class="clearfix hidden-xs text-center hide" id="aside-user">
      <div class="dropdown wrapper" dropdown>
        <a ui-sref="app.page.profile">
          <span class="thumb-lg w-auto-folded avatar m-t-sm">
          </span>
        </a>
        <a href class="dropdown-toggle hidden-folded" dropdown-toggle>
          <span class="clear">
            <span class="block m-t-sm">
              <strong class="font-bold text-lt">John.Smith</strong> 
              <b class="caret"></b>
            </span>
            <span class="text-muted text-xs block">Art Director</span>
          </span>
        </a>
        <ul class="dropdown-menu animated fadeInRight w hidden-folded">
          <li class="wrapper b-b m-b-sm bg-info m-t-n-xs">
            <span class="arrow top hidden-folded arrow-info"></span>
            <div>
              <p>300mb of 500mb used</p>
            </div>
            <progressbar value="60" type="white" class="progress-xs m-b-none dker"></progressbar>
          </li>
          <li>
            <a href>Settings</a>
          </li>
          <li>
            <a ui-sref="app.page.profile">Profile</a>
          </li>
          <li>
            <a href>
              <span class="badge bg-danger pull-right">3</span>
              Notifications
            </a>
          </li>
          <li class="divider"></li>
          <li>
            <a ui-sref="access.signin">Logout</a>
          </li>
        </ul>
      </div>
      <div class="line dk hidden-folded"></div>
    </div>
    <nav ui-nav class="navi" ng-include="'tpl.asp?page=67'"></nav>
  </div>
</div>
^

      <div class="navbar-header {{app.settings.navbarHeaderColor}}">
        <button class="pull-right visible-xs dk" ui-toggle-class="show" data-target=".navbar-collapse">
          <i class="fa fa-cog"></i>
        </button>
        <button class="pull-right visible-xs" ui-toggle-class="off-screen" data-target=".app-aside" ui-scroll="app">
          <i class="fa fa-bars"></i>
        </button>

        <a href="#/" class="navbar-brand text-lt">
          <i class="fa fa-home"></i>
          <span class="hidden-folded m-l-xs">{{app.name}}</span>
        </a>

      </div>

      <div class="collapse pos-rlt navbar-collapse box-shadow {{app.settings.navbarCollapseColor}}">
        <!-- buttons -->
        <div class="nav navbar-nav hidden-xs">
          <a href class="btn no-shadow navbar-btn" ng-click="app.settings.asideFolded = !app.settings.asideFolded">
            <i class="fa {{app.settings.asideFolded ? 'fa-indent' : 'fa-dedent'}} fa-fw"></i>
          </a>
          <a href class="btn no-shadow navbar-btn" ui-toggle-class="show" target="#aside-user">
            <i class="icon-user fa-fw"></i>
          </a>
        </div>

        <ul class="nav navbar-nav hidden-md hidden-sm hidden-xs">
          <li class="dropdown pos-stc" dropdown>
            <a href class="dropdown-toggle" dropdown-toggle>
              <span><i class="fa fa-bars"></i> 快捷导航</span> 
              <span class="caret"></span>
            </a>
            <div class="dropdown-menu wrapper w-full bg-white">
              <div class="row">
                <div class="col-xs-6 col-md-2 ">
                  <div class="m-l-xs m-t-xs m-b-xs font-bold"><i class="fa fa-cog"></i> 基本设置</div>
                      <ul class="list-unstyled l-h-2x">
                        <li>
                          <a ui-sref="app.config"><i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i>基本设置</a>
                        </li>
                        <li>
                          <a ui-sref="app.config2"><i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i>自定义设置</a>
                        </li>
                        <li>
                          <i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i><b>焦点图</b>[<a ui-sref="app.slide_list">列表</a>/<a ui-sref="app.slide_add">新增</a>]
                        </li>
                        <li>
                          <i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i><b>友链</b>[<a ui-sref="app.link_list">列表</a>/<a ui-sref="app.link_add">新增</a>]
                        </li>
                        <li>
                          <a ui-sref="app.weixin"><i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i>微信接入</a>
                        </li>
                        <li>
                          <a ui-sref="app.sitemap"><i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i>sitemap</a>
                        </li>
                      </ul>
                </div>
                <div class="col-xs-6 col-md-2">
                  <div class="m-l-xs m-t-xs m-b-xs font-bold"><i class="fa fa-file-o"></i> 内容管理</div>
                      <ul class="list-unstyled l-h-2x">
                        <li>
                          <i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i><b>简介</b>[<a ui-sref="app.text_list">列表</a>/<a ui-sref="app.text_add">新增</a>]
                        </li>
                        <li>
                          <i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i><b>新闻</b>[<a ui-sref="app.news_list">列表</a>/<a ui-sref="app.nsort_list">分类</a>]
                        </li>
                        <li>
                          <i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i><b>产品</b>[<a ui-sref="app.product_list">列表</a>/<a ui-sref="app.psort_list">分类</a>/<a ui-sref="app.order_list">订单</a>]
                        </li>
                        <li>
                          <a ui-sref="app.form_list"><i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i>表单</a>
                        </li>
                      </ul>
                </div>
                <div class="col-xs-6 col-md-2">
                  <div class="m-l-xs m-t-xs m-b-xs font-bold"><i class="fa fa-bookmark-o"></i> 模板插件</div>
                      <ul class="list-unstyled l-h-2x">
                        <li>
                          <i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i><b>模板</b>[<a ui-sref="app.template_list">本地</a>/<a ui-sref="app.template_all">模板库</a>]
                        </li>
                        <li>
                          <a ui-sref="app.plug"><i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i>插件管理</a>
                        </li>
                        <li>
                          <a ui-sref="app.tohtml"><i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i>生成静态</a>
                        </li>
                      </ul>
                </div>
                <div class="col-xs-6 col-md-2 ">
                  <div class="m-l-xs m-t-xs m-b-xs font-bold"><i class="fa fa-mobile"></i> 手机版本</div>
                      <ul class="list-unstyled l-h-2x">
                        <li>
                          <a hui-sref="app.m_config"><i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i>基本设置</a>
                        </li>
                        <li>
                          <a ui-sref="app.m_config2"><i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i>自定义设置</a>
                        </li>
                        <li>
                          <i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i><b>焦点图</b>[<a ui-sref="app.m_slide_list">列表</a> / <a ui-sref="app.m_slide_list">新增</a>]
                        </li>
                      </ul>
                </div>
                <div class="col-xs-6 col-md-2 ">
                  <div class="m-l-xs m-t-xs m-b-xs font-bold"><i class="fa fa-user"></i> 帐号管理</div>
                      <ul class="list-unstyled l-h-2x">
                        <li>
                          <i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i><b>管理员</b>[<a ui-sref="app.admin_list">列表</a>/<a ui-sref="app.admin_add">新增</a>]
                        </li>
                        <li>
                          <a ui-sref="app.member_list"><i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i>会员列表</a>
                        </li>
                        <li>
                          <a ui-sref="app.lv"><i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i>等级设置</a>
                        </li>
                      </ul>
                </div>
                <div class="col-xs-6 col-md-2 ">
                  <div class="m-l-xs m-t-xs m-b-xs font-bold"><i class="fa fa-lock"></i> 网站安全</div>
                      <ul class="list-unstyled l-h-2x">
                        <li>
                          <a ui-sref="app.safe"><i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i>安全设置</a>
                        </li>
                        <li>
                          <a ui-sref="app.space"><i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i>空间占用</a>
                        </li>
                        <li>
                          <a ui-sref="app.file"><i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i>文件管理</a>
                        </li>
                      </ul>
                </div>
              </div>
            </div>
          </li>
          <li class="dropdown" dropdown>
            <a href class="dropdown-toggle" dropdown-toggle>
              <i class="fa fa-fw fa-plus visible-xs-inline-block"></i>
              <span><i class="fa fa-bell"></i> 新消息</span> 
              <span class="badge badge-sm up bg-danger pull-right-xs" ng-if="isSelected(anum)">{{anum}}</span>
              <span class="caret"></span>
            </a>
            <ul class="dropdown-menu" role="menu">
              <li>
                <a ui-sref="app.order_list">
                  <span class="badge bg-danger pull-right" ng-if="isSelected(onum)">{{onum}}</span>
                  <span>商品订单</span>
                </a>
              </li>
              <li>
                <a ui-sref="app.form_list">
                  <span class="badge bg-danger pull-right" ng-if="isSelected(fnum)">{{fnum}}</span>
                  <span>万能表单</span>
                </a>
              </li>
              <li>
                <a ui-sref="app.guestbook">
                  <span class="badge bg-danger pull-right" ng-if="isSelected(gnum)">{{gnum}}</span>
                  <span>在线留言</span>
                </a>
              </li>
              <li>
                <a ui-sref="app.news_list">
                  <span class="badge bg-danger pull-right" ng-if="isSelected(nnum)">{{nnum}}</span>
                  <span>文章投稿</span>
                </a>
              </li>
            </ul>
          </li>
        </ul>
        <form class="navbar-form navbar-form-sm navbar-left shift" ui-shift="prependTo" target=".navbar-collapse" role="search" ng-controller="TypeaheadDemoCtrl">
          <div class="form-group">
            <div class="input-group">
              <input type="text" id="search" ng-model="selected" class="form-control input-sm bg-light no-border rounded padder" placeholder="搜索项目">
              <span class="input-group-btn">
                <button type="button" onclick="window.location='#/app/search/'+$('#search').val()" class="btn btn-sm bg-light rounded"><i class="fa fa-search"></i></button>
              </span>
            </div>
          </div>
        </form>
        <ul class="nav navbar-nav navbar-right">
          <li class="dropdown hidden-sm" dropdown>
            <a href class="dropdown-toggle" dropdown-toggle>
              <span ng-bind-html="trust(selectLang)"></span> <b class="caret"></b>
            </a>
            <ul class="dropdown-menu animated fadeInRight w">
              <li>
                <a ng-click="setLang(0)" href="javascript:;"><img src="img/0.png"> 简体中文</a>
                <a ng-click="setLang(1)" href="javascript:;"><img src="img/1.png"> English</a>
                <a ng-click="setLang(2)" href="javascript:;"><i class="fa fa-times-circle"></i> 关闭双语</a>
              </li>
            </ul>

          </li>
          <li class="hidden-sm hidden-xs">
            <a href="help.asp" target="_blank"><i class="fa fa-question-circle"></i> 使用手册</a>
          </li>
          <li>
            <a href="javascript:;" onclick='ajaxx("ajax.asp?type=unlogin","#/access/signin","",1,"")'><i class="fa fa-sign-out"></i> 退出登录</a>
          </li>
          <li class="hidden-xs">
            <a href="../" target="_blank"><i class="fa fa-tv"></i> 预览效果</a>
          </li>

        </ul>
      </div>
^
<ul class="nav">
  <li class="hidden-folded padder m-t m-b-sm text-muted text-xs">
    <span>Navigation</span>
  </li>
    <li ui-sref-active="active">
    <a ui-sref="app.index">
      <i class="fa fa-home"></i>
      <span class="font-bold" >后台首页</span>
    </a>
  </li>
  <li>
    <a href class="auto">      
      <span class="pull-right text-muted">
        <i class="fa fa-fw fa-angle-right text"></i>
        <i class="fa fa-fw fa-angle-down text-active"></i>
      </span>
      <i class="fa fa-cog"></i>
      <span class="font-bold">基本设置</span>
    </a>
    <ul class="nav nav-sub dk">
      <li ui-sref-active="active">
        <a ui-sref="app.config">
          <span>基本设置</span>
        </a>
      </li>
      <li ui-sref-active="active">
        <a ui-sref="app.config2">
          <span>自定义设置</span>
        </a>
      </li>
	 <li ui-sref-active="active">
        <a ui-sref="app.slide_list">
          <span>焦点图管理</span>
        </a>
      </li>
	  <li ui-sref-active="active">
        <a ui-sref="app.link_list">
          <span>友情链接</span>
        </a>
      </li>
	  <li ui-sref-active="active" ng-if="isSelected(c.x5)">
        <a ui-sref="app.w_config">
          <span>微信接入</span>
        </a>
      </li>
	  <li ui-sref-active="active">
        <a ui-sref="app.sitemap">
          <span>sitemap</span>
        </a>
      </li>
    </ul>
  </li>
  
  <li>
    <a href class="auto">      
      <span class="pull-right text-muted">
        <i class="fa fa-fw fa-angle-right text"></i>
        <i class="fa fa-fw fa-angle-down text-active"></i>
      </span>
      <i class="fa fa-file-o"></i>
      <span class="font-bold">内容管理</span>
    </a>
    <ul class="nav nav-sub dk">
      <li ui-sref-active="active">
        <a ui-sref="app.text_list">
          <span>简介管理</span>
        </a>
      </li>
      <li ui-sref-active="active">
        <a ui-sref="app.news_list">
          <span>新闻/下载</span>
        </a>
      </li>
	 <li ui-sref-active="active">
        <a ui-sref="app.product_list">
          <span>产品/案例</span>
        </a>
      </li>
	  <li ui-sref-active="active">
        <a ui-sref="app.form_list">
          <span>表单管理</span>
        </a>
      </li>
    </ul>
  </li>
  
    <li>
    <a href class="auto">      
      <span class="pull-right text-muted">
        <i class="fa fa-fw fa-angle-right text"></i>
        <i class="fa fa-fw fa-angle-down text-active"></i>
      </span>
      <i class="fa fa-bookmark-o"></i>
      <span class="font-bold">模版插件</span>
    </a>
    <ul class="nav nav-sub dk">
      <li ui-sref-active="active">
        <a ui-sref="app.template_list">
          <span>模板管理</span>
        </a>
      </li>
      <li ui-sref-active="active">
        <a ui-sref="app.plug">
          <span>插件管理</span>
        </a>
      </li>
	 <li ui-sref-active="active">
        <a ui-sref="app.tohtml">
          <span>生成静态</span>
        </a>
      </li>
    </ul>
  </li>


    <li>
    <a href class="auto">      
      <span class="pull-right text-muted">
        <i class="fa fa-fw fa-angle-right text"></i>
        <i class="fa fa-fw fa-angle-down text-active"></i>
      </span>
      <i class="fa fa-envelope"></i>
      <span class="font-bold">联系方式</span>
    </a>
    <ul class="nav nav-sub dk">
      <li ui-sref-active="active">
        <a ui-sref="app.contact">
          <span>联系方式</span>
        </a>
      </li>
      <li ui-sref-active="active">
        <a ui-sref="app.guestbook">
          <span>留言管理</span>
        </a>
      </li>
    </ul>
  </li>
  
      <li>
    <a href class="auto">      
      <span class="pull-right text-muted">
        <i class="fa fa-fw fa-angle-right text"></i>
        <i class="fa fa-fw fa-angle-down text-active"></i>
      </span>
      <i class="fa fa-mobile"></i>
      <span class="font-bold">手机版本</span>
    </a>
    <ul class="nav nav-sub dk">
      <li ui-sref-active="active">
        <a ui-sref="app.m_config">
          <span>基本设置</span>
        </a>
      </li>
      <li ui-sref-active="active">
        <a ui-sref="app.m_config2">
          <span>自定义设置</span>
        </a>
      </li>
      <li ui-sref-active="active">
        <a ui-sref="app.m_slide_list">
          <span>焦点图设置</span>
        </a>
      </li>
    </ul>
  </li>
  
        <li>
    <a href class="auto">      
      <span class="pull-right text-muted">
        <i class="fa fa-fw fa-angle-right text"></i>
        <i class="fa fa-fw fa-angle-down text-active"></i>
      </span>
      <i class="fa fa-th"></i>
      <span class="font-bold">菜单管理</span>
    </a>
    <ul class="nav nav-sub dk">
      <li ui-sref-active="active">
        <a ui-sref="app.menu_list">
          <span>菜单列表</span>
        </a>
      </li>
      <li ui-sref-active="active">
        <a ui-sref="app.menu_add">
          <span>新增菜单</span>
        </a>
      </li>
    </ul>
  </li>
        <li>
    <a href class="auto">      
      <span class="pull-right text-muted">
        <i class="fa fa-fw fa-angle-right text"></i>
        <i class="fa fa-fw fa-angle-down text-active"></i>
      </span>
      <i class="fa fa-user"></i>
      <span class="font-bold">帐号管理</span>
    </a>
    <ul class="nav nav-sub dk">
      <li ui-sref-active="active">
        <a ui-sref="app.admin_list">
          <span>管理员列表</span>
        </a>
      </li>
      <li ui-sref-active="active">
        <a ui-sref="app.member_list">
          <span>会员列表</span>
        </a>
      </li>
      <li ui-sref-active="active">
        <a ui-sref="app.lv">
          <span>等级/积分设置</span>
        </a>
      </li>
    </ul>
  </li>
  
  
         <li>
    <a href class="auto">      
      <span class="pull-right text-muted">
        <i class="fa fa-fw fa-angle-right text"></i>
        <i class="fa fa-fw fa-angle-down text-active"></i>
      </span>
      <i class="fa fa-lock"></i>
      <span class="font-bold">网站安全</span>
    </a>
    <ul class="nav nav-sub dk">
      <li ui-sref-active="active">
        <a ui-sref="app.safe">
          <span>安全设置</span>
        </a>
      </li>
      <li ui-sref-active="active">
        <a ui-sref="app.space">
          <span>空间占用</span>
        </a>
      </li>
      <li ui-sref-active="active">
        <a ui-sref="app.file">
          <span>文件管理</span>
        </a>
      </li>
      <li ui-sref-active="active">
        <a ui-sref="app.data">
          <span>数据迁移</span>
        </a>
      </li>
    </ul>
  </li>
  <li ui-sref-active="active">
    <a href="javascript:;" ng-click="update()">
      <i class="fa fa-refresh"></i>
      <span class="font-bold" >检测更新</span>
    </a>
  </li>
  <li ui-sref-active="active" ng-hide="isSelected(auth)">
    <a href="javascript:;" ng-click="getauth()">
      <i class="fa fa-certificate"></i>
      <span class="font-bold" >购买授权</span>
    </a>
  </li>
</ul>
^
<div class="wrapper-md" ng-controller="sql_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         在线执行sql
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form" ng-submit="sql()">
          <div class="form-group">
          <label class="col-sm-2 control-label">SQL语句</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="sql">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">执行</button>
          </div>
          </div>
  </form>
  </div>
  </div>
    </div>
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li class="active"><a href="#/app/product_list///">产品列表</a></li>
        <li><a href="#/app/psort_list/">产品分类</a></li>
         <li><a href="#/app/order_list/">订单管理</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="product_excel_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel panel-info ng-scope">
        <div class="panel-heading">
         导入EXCEL
        </div>
        <div class="panel-body">
        <form class="form-horizontal" id="form" ng-submit="excel()">
          <div class="form-group">
          <label class="col-sm-2 control-label">Excel文件</label>
          <div class="col-sm-10">
          <div class="input-group">
              <input type="text" class="form-control" name="excel" id="excel">
              <span class="input-group-btn">
                <button class="btn btn-info" type="button" onclick="showUpload('excel','excel','../media',1,null,'','');">上传文件</button>
              </span>
            </div>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">导入</button> <a href="ajax.asp?type=download">下载示例Excel</a>
          </div>
          </div>
  </form>
  </div>
  </div>
<p>说明：</p>
<p>1.“图片”一栏如果有多张图用“|”隔开，示例：111.jpg|222.jpg|333.jpg，产品图需提前上传到media文件夹内</p>
<p>2.“分类”一栏填写产品分类的数字ID，数字ID可以在产品分类页查看到;</p>
<p>3.“排序”一栏请填写整数，数字越小排序越靠前</p>
<p>4.“开启购买”一栏请填写0或1，0表示关闭，1表示开启</p>
<p>5.“属性”一栏格式比较复杂，请参考示例Excel，如果不熟悉可以导入excel后再到后台设置产品属性。</p>
<p>6.“置顶”一栏请填写0或1，0表示置顶，1表示普通</p>
    </div>
  </div>
</div>
^
<div class="wrapper-md" ng-controller="data_Ctrl" >
  <div class="row">
    <div class="col-lg-12">
      <div class="panel panel-info ng-scope">
        <div class="panel-heading">
         导入数据
        </div>
        <div class="panel-body">
        <form class="form-horizontal" id="form" ng-submit="dataup()">
          <div class="form-group">
          <label class="col-sm-2 control-label">sql文件</label>
          <div class="col-sm-10">
          <div class="input-group">
              <input type="text" class="form-control" name="data" id="data">
              <span class="input-group-btn">
                <button class="btn btn-info" type="button" onclick="showUpload('data','data','../media',1,null,'','');">上传文件</button>
              </span>
            </div>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">导入</button> 
          </div>
          </div>
  </form>
  </div>
  </div>

  <div class="panel panel-info ng-scope">
        <div class="panel-heading">
         导出数据
        </div>
        <div class="panel-body">
        <form class="form-horizontal" id="form2" ng-submit="datadown()">
        <div class="form-group">
          <label class="col-sm-2 control-label">取名</label>
          <div class="col-sm-10">

          <div class="input-group">
            <input type="text" class="form-control" name="data" ng-model="data" required>
            <span class="input-group-addon">.txt</span>
          </div>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="submit" class="btn btn-info">导出</button> 
            <button type="button" class="btn btn-primary" ng-show="showsql" ng-click="download(data)">下载</button>
          </div>
          </div>
  </form>
  </div>
  </div>
<p>说明：</p>
<p>1.导入或导出的数据为txt文本格式的sql语句</p>
<p>2.数据迁移步骤：(1)在旧网站导出数据 (2)在新网站导入数据</p>
<p>3.数据迁移可用于：(1)数据备份 (2)mssql数据库搬家 (3)access数据库与mssql数据库互相转换</p>
    </div>
  </div>
</div>