<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>
                <span ng-bind-html="ttitle(C_sort)" style="margin:0;"></span>管理&nbsp;
              </label>
              <label class="i-checks">
                <input type="checkbox" name="A_a3" value="1" ng-checked="isSelected(data.A_a3)">
                <i></i>
                <span ng-bind-html="ntitle(C_sort)" style="margin:0;"></span>管理&nbsp;
              </label>
              <label class="i-checks">
                <input type="checkbox" name="A_a4" value="1" ng-checked="isSelected(data.A_a4)">
                <i></i>
                <span ng-bind-html="ptitle(C_sort)" style="margin:0;"></span>管理&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>
<hr>
<div class="hr-more">模块内部权限</div>

<div class="form-group">
          <label class="col-sm-2 control-label"><span ng-bind-html="ttitle(C_sort)" style="margin:0;"></span>权限</label>
          <div class="col-sm-10">
          <div class="checkbox">
          <span ng-bind-html="trust(data.textauth)"></span>
          </div>
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label"><span ng-bind-html="ntitle(C_sort)" style="margin:0;"></span>分类权限</label>
          <div class="col-sm-10">
          <div class="checkbox">
          <span ng-bind-html="trust(data.newsauth)"></span>
          </div>
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label"><span ng-bind-html="ptitle(C_sort)" style="margin:0;"></span>分类权限</label>
          <div class="col-sm-10">
          <div class="checkbox">
          <span ng-bind-html="trust(data.productauth)"></span>
          </div>
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label">表单权限</label>
          <div class="col-sm-10">
          <div class="checkbox">
          <span ng-bind-html="trust(data.formauth)"></span>
          </div>
          </div>
          </div>


          <div class="form-group">
          <label class="col-sm-2 control-label">说明</label>
          <div class="col-sm-10">
          如果选中“全部”，那么以后无论分类增减，均对所有分类拥有权限<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>
^
<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 spellcheck="false" 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  spellcheck="false" 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" ng-click="showUpload('C_logo');">
           <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" ng-click="showUpload('C_logo');">上传文件</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" ng-click="showUpload('C_ico');">
           <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" ng-click="showUpload('C_ico');">上传文件</button>
              </span>
            </div>
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label" required>会员登录背景图</label>
          <div class="col-sm-10">
          <img ng-src="../{{data.C_memberbg}}" id="C_memberbgx" class="L_pic" ng-click="showUpload('C_memberbg');">
           <div class="input-group">
              <input type="text" class="form-control" name="C_memberbg" id="C_memberbg" value="{{data.C_memberbg}}" popover="会员登录/注册界面的背景图" popover-trigger="focus">
              <span class="input-group-btn">
                <button class="btn btn-info" type="button" ng-click="showUpload('C_memberbg');">上传文件</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">
            <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" ng-model="data.C_qqon" 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" ng-show="isSelected(c.x1)">
              <label class="i-checks">
                <input type="checkbox" name="C_html"  value="1" ng-checked="isSelected(data.C_html)">
                <i></i>
                开启静态 
              </label>（开启静态后，需要 <a href="#/app/tohtml/" class="btn btn-primary btn-xs">生成静态</a> 文件）
              <input type="hidden" name="C_html" value="0">
            </div>

            <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="C_translate"  value="1" ng-checked="isSelected(data.C_translate)">
                <i></i>
                开启自动翻译 
              </label>
              <input type="hidden" name="C_translate" 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>
          <hr>
          <div class="hr-more">外部代码</div>
          <div class="form-group">
          <label class="col-sm-2 control-label">统计代码<br><a href="help.asp?page=1.3.1" target="_blank" class="btn btn-xs btn-default">帮助？</a></label>
          <div class="col-sm-10">
            <textarea spellcheck="false" 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">分享代码<br><a href="help.asp?page=1.3.2" target="_blank" class="btn btn-xs btn-default">帮助？</a></label>
          <div class="col-sm-10">
            <textarea spellcheck="false" class="form-control" name="C_fenxiang" rows="3">{{data.C_fenxiang}}</textarea>
          </div>
          </div>
          <hr>
          <div class="hr-more">客服设置</div>
          <div class="form-group">
          <label class="col-sm-2 control-label">QQ/旺旺客服</label>
          <div class="col-sm-10">
            <textarea spellcheck="false" class="form-control {{lcss}}" name="C_qq" rows="4" popover="格式为：号码|职务，每行一个" popover-trigger="focus">{{data.C_qq}}</textarea>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">电话客服</label>
          <div class="col-sm-10">
            <textarea spellcheck="false" class="form-control" name="C_mobile" rows="3" popover="每行一个" popover-trigger="focus">{{data.C_mobile}}</textarea>
          </div>
          </div>
          <div class="form-group" ng-show="isSelected2(data.C_qqon,1)">
          <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 ng-show="isSelected(c.x2)">
          <hr>
          <div class="hr-more">语言设置</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" style="width: 100px;">
                <input type="checkbox" name="C_lang" value="0" ng-checked="ishave(data.C_lang,0)">
                <i></i>
                简体中文
              </label>
              <label class="i-checks" >
                <input type="radio" name="C_delang" value="0" ng-checked="isSelected2(data.C_delang,0)">
                <i></i>
                默认语言
              </label>

              <label class="i-checks" >
                <b>旗帜：</b>
              </label>
              <label class="i-checks" style="width: 70px;">
                <input type="radio" name="C_flag0" value="cn" ng-checked="isSelected2(data.C_flag0,'cn')">
                <i></i>
                cn <img src="../images/cn.png">
              </label>
              <label class="i-checks" style="width: 70px;">
                <input type="radio" name="C_flag0" value="sg" ng-checked="isSelected2(data.C_flag0,'sg')">
                <i></i>
                sg <img src="../images/sg.png">
              </label>
            </div>
            
            <div class="radio">
              <label class="i-checks" style="width: 100px;">
                <input type="checkbox" name="C_lang" value="2" ng-checked="ishave(data.C_lang,2)">
                <i></i>
                繁體中文
              </label>
              <label class="i-checks" >
                <input type="radio" name="C_delang" value="2" ng-checked="isSelected2(data.C_delang,2)">
                <i></i>
                默认语言
              </label>

              <label class="i-checks" >
                <b>旗帜：</b>
              </label>
              <label class="i-checks" style="width: 70px;">
                <input type="radio" name="C_flag2" value="cn" ng-checked="isSelected2(data.C_flag2,'cn')">
                <i></i>
                cn <img src="../images/cn.png">
              </label>
              <label class="i-checks" style="width: 70px;">
                <input type="radio" name="C_flag2" value="hk" ng-checked="isSelected2(data.C_flag2,'hk')">
                <i></i>
                hk <img src="../images/hk.png">
              </label>
              <label class="i-checks" style="width: 70px;">
                <input type="radio" name="C_flag2" value="mo" ng-checked="isSelected2(data.C_flag2,'mo')">
                <i></i>
                mo <img src="../images/mo.png">
              </label>
              <label class="i-checks" style="width: 70px;">
                <input type="radio" name="C_flag2" value="tw" ng-checked="isSelected2(data.C_flag2,'tw')">
                <i></i>
                tw <img src="../images/tw.png">
              </label>


            </div>
            <div class="radio">
              <label class="i-checks" style="width: 100px;">
                <input type="checkbox" name="C_lang" value="1" ng-checked="ishave(data.C_lang,1)">
                <i></i>
                English
              </label>
              <label class="i-checks" >
                <input type="radio" name="C_delang" value="1" ng-checked="isSelected2(data.C_delang,1)">
                <i></i>
                默认语言
              </label>

              <label class="i-checks" >
                <b>旗帜：</b>
              </label>
              <label class="i-checks" style="width: 70px;">
                <input type="radio" name="C_flag1" value="uk" ng-checked="isSelected2(data.C_flag1,'uk')">
                <i></i>
                uk <img src="../images/uk.png">
              </label>
              <label class="i-checks" style="width: 70px;">
                <input type="radio" name="C_flag1" value="us" ng-checked="isSelected2(data.C_flag1,'us')">
                <i></i>
                us <img src="../images/us.png">
              </label>
              <label class="i-checks" style="width: 70px;">
                <input type="radio" name="C_flag1" value="ca" ng-checked="isSelected2(data.C_flag1,'ca')">
                <i></i>
                ca <img src="../images/ca.png">
              </label>
              <label class="i-checks" style="width: 70px;">
                <input type="radio" name="C_flag1" value="au" ng-checked="isSelected2(data.C_flag1,'au')">
                <i></i>
                au <img src="../images/au.png">
              </label>
            </div>
          </div>
          </div>
          </div>
          <hr>
          <div class="hr-more">社交网站</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_weibo" value="{{data.C_weibo}}" 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" ng-click="showUpload('C_wcode');">
            <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" ng-click="showUpload('C_wcode');">上传文件</button>
              </span>
            </div>
          </div>
          </div>

          </tab>
          <tab heading="分页设置">
          <div class="form-group">
          <label class="col-sm-2 control-label"><span ng-bind-html="ntitle(C_sort)"></span>分页</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"><span ng-bind-html="ptitle(C_sort)"></span>分页</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" ng-click="showUpload('C_m_logo');">
           <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" ng-click="showUpload('C_m_logo');">上传文件</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"></label>
          <div class="col-sm-10">
           以上接口由 <a href="http://www.alipay.com" target="_blank" class="btn btn-xs btn-info">支付宝</a> 提供 <a href="help.asp?page=1.1.1" target="_blank" class="btn btn-xs btn-default">帮助？</a>
          </div>
          </div>

          <hr>
          <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">
           以上接口由 <a href="https://mp.weixin.qq.com" target="_blank" class="btn btn-xs btn-success">微信公众平台</a> <a href="https://pay.weixin.qq.com" target="_blank" class="btn btn-xs btn-success">微信支付</a> 提供（如果不需要微信支付功能，后两项可不填） <a href="help.asp?page=1.1.2" target="_blank" class="btn btn-xs btn-default">帮助？</a>
          </div> 
          </div>
          <hr>
          <div class="form-group">
          <label class="col-sm-2 control-label">7支付 PID</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="C_7PID" value="{{data.C_7PID}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">7支付 PKEY</label>
          <div class="col-sm-10">
            <input type="password" class="form-control" name="C_7PKEY" value="{{data.C_7PKEY}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10"> 
           以上接口由 <a href="https://7-pay.cn" target="_blank" class="btn btn-xs btn-primary">7支付</a> 提供 （文章打赏、免登录购买功能需先配置7支付接口） <a href="help.asp?page=1.1.3" target="_blank" class="btn btn-xs btn-default">帮助？</a>
          </div>
          </div>
          <hr>
          
          
          <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>
                7支付
              </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>
          <div class="form-group">
          <label class="col-sm-2 control-label">打赏金额<br>(单位：元)</label>
          <div class="col-sm-10">
          <textarea spellcheck="false" class="form-control" name="C_7money" rows="6" popover="可填写多个金额，每行一个，最多六个" popover-trigger="focus">{{data.C_7money}}</textarea>
          </div>
          </div>
          <hr>
          <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_ds1" value="1" ng-checked="isSelected(data.C_ds1)">
                <i></i>
                <span ng-bind-html="ttitle(C_sort)" style="margin:0;"></span>
              </label>
              <input type="hidden" name="C_ds1" value="0">
            </div>
            <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="C_ds2" value="1" ng-checked="isSelected(data.C_ds2)">
                <i></i>
                <span ng-bind-html="ntitle(C_sort)" style="margin:0;"></span>
              </label>
              <input type="hidden" name="C_ds2" value="0">
            </div>
            <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="C_ds3" value="1" ng-checked="isSelected(data.C_ds3)">
                <i></i>
                <span ng-bind-html="ptitle(C_sort)" style="margin:0;"></span>
              </label>
              <input type="hidden" name="C_ds3" value="0">
            </div>
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
           您可以通过文章打赏来获得更多收入，由 <a href="https://7-pay.cn" target="_blank" class="btn btn-xs btn-primary">7支付</a> 提供打赏插件 <a href="help.asp?page=1.1.3" target="_blank" class="btn btn-xs btn-default">帮助？</a>
          </div>
          </div>
          </div>
          
          </tab>

          <tab heading="邮箱设置">
          <div ng-show="isSelected(c.x6) && isSelected2(data.C_jmail,1)">
          <div class="form-group">
          <label class="col-sm-2 control-label">邮箱组件</label>
          <div class="col-sm-10 ">
          Jmail组件 <span style="color:#009900" ng-show="isSelected2(data.C_jmail,1)">√ 支持</span> <span style="color:#ff0000" ng-show="isSelected2(data.C_jmail,0)">× 不支持，请先联系空间商安装</span>
          </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_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组件才能使用此功能。<a href="help.asp?page=1.3.5" target="_blank" class="btn btn-xs btn-default">帮助？</a>
          </div>
          </div>
          </div>

          <div ng-show="!isSelected(c.x6)">
          您还未购买此插件 <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"><b>开启QQ快捷登录</b></label>
          <div class="col-sm-10">
          <label class="i-checks" style="width: 60px;">
                <input type="radio" name="C_qqkj" value="1" ng-model="data.C_qqkj" ng-checked="isSelected2(data.C_qqkj,1)">
                <i></i>
                开启
              </label>
              <label class="i-checks" style="width: 60px;">
                <input type="radio" name="C_qqkj" value="0" ng-model="data.C_qqkj" ng-checked="isSelected2(data.C_qqkj,0)">
                <i></i>
                关闭
              </label>
          </div>
          </div>
          <div ng-show="isSelected2(data.C_qqkj,1)">
          <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 class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
           以上接口由 <a href="https://connect.qq.com/" target="_blank" class="btn btn-xs btn-info">QQ互联</a> 提供 <a href="help.asp?page=1.2.1" target="_blank" class="btn btn-xs btn-default">帮助？</a>
          </div>
          </div>
          </div>
<hr>
          <div class="form-group">
          <label class="col-sm-2 control-label"><b>开启微信快捷登录</b></label>
          <div class="col-sm-10">
          <label class="i-checks" style="width: 60px;">
                <input type="radio" name="C_wxkj" value="1" ng-model="data.C_wxkj" ng-checked="isSelected2(data.C_wxkj,1)">
                <i></i>
                开启
              </label>
              <label class="i-checks" style="width: 60px;">
                <input type="radio" name="C_wxkj" value="0" ng-model="data.C_wxkj" ng-checked="isSelected2(data.C_wxkj,0)">
                <i></i>
                关闭
              </label>
          </div>
          </div>
          <div ng-show="isSelected2(data.C_wxkj,1)">
          <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_appid2" 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_appsecret2" value="{{data.C_wx_appsecret}}">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
           以上接口由 <a href="https://mp.weixin.qq.com" target="_blank" class="btn btn-xs btn-success">微信公众平台</a> 提供 <a href="help.asp?page=1.1.2" target="_blank" class="btn btn-xs btn-default">帮助？</a>
          </div> 
          </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">评论功能开启</label>
          <div class="col-sm-10">
          <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="C_tp" value="1" ng-checked="isSelected(data.C_tp)">
                <i></i>
                <span ng-bind-html="ttitle(C_sort)" style="margin:0;"></span>评论
              </label>
              <input type="hidden" name="C_tp" value="0">
            </div>
            <div class="checkbox">
              <label class="i-checks">
                <input type="checkbox" name="C_np" value="1" ng-checked="isSelected(data.C_np)">
                <i></i>
                <span ng-bind-html="ntitle(C_sort)" style="margin:0;"></span>评论
              </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>
                <span ng-bind-html="ptitle(C_sort)" style="margin:0;"></span>评论
              </label>
              <input type="hidden" name="C_pp" 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-checks" style="width: 60px;">
                <input type="radio" name="C_psh" value="1"  ng-checked="isSelected2(data.C_psh,1)">
                <i></i>
                开启
              </label>
              <label class="i-checks" style="width: 60px;">
                <input type="radio" name="C_psh" value="0"  ng-checked="isSelected2(data.C_psh,0)">
                <i></i>
                关闭
              </label>
              <a href="#/app/comment/" class="btn btn-xs btn-info">审核评论</a>
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
          *说明：开启则所有评论经过审核才能在前台显示；关闭则所有评论直接在前台显示。
          </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" id="C_title" value="{{data.C_title}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">标题（第二语言）<a href="javascript:;" onclick="translatex('C_title')" class="btn btn-xs btn-info">翻译</a></label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="C_entitle" id="C_titlex" 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> <a href="help.asp?page=5.1" target="_blank" class="btn btn-xs btn-default">帮助？</a>
          </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/form_list/">表单管理</a></li>
        <li><a href="#/app/query_list/">防伪码查询</a></li>
      </ul>
    </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 spellcheck="false" 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 spellcheck="false" 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.filepic,x.filename)">
<div style="height: 100px; text-align: center;">
<img ng-src='{{x.filepic}}' 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.filepic,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 bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li class="active"><a href="#/app/form_list/">表单管理</a></li>
        <li><a href="#/app/query_list/">防伪码查询</a></li>
      </ul>
    </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}}" id="F_title" name="F_title" value="{{data.F_title}}" required="" /> 
         </div> 
        </div> 
        <div class="form-group"> 
         <label class="col-sm-2 control-label">标题（第二语言）<a href="javascript:;" onclick="translatex('F_title')" class="btn btn-xs btn-info">翻译</a></label> 
         <div class="col-sm-10"> 
          <input type="text" class="form-control {{lcss}}" id="F_titlex" name="F_entitle" value="{{data.F_entitle}}" 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="F_yz" ng-checked="isSelected(data.F_yz)" /> <i></i> </label> *开启后会员需要登录才能提交表单（仅表单类型为“收集信息”时有效）
          <input type="hidden" value="0" name="F_yz"/>
         </div> 
        </div> 
        <div class="form-group"> 
         <label class="col-sm-2 control-label">表单备注</label> 
         <div class="col-sm-10"> 
          <textarea spellcheck="false" 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" ng-click="showUpload('F_pic');" /> 
          <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" ng-click="showUpload('F_pic');">上传文件</button> </span> 
          </div> 
         </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="F_type" ng-model="data.F_type" value="0" ng-checked="isSelected2(data.F_type,0)"><i></i>收集信息</label>
          <label class="i-checks"><input type="radio" name="F_type" ng-model="data.F_type" value="1" ng-checked="isSelected2(data.F_type,1)"><i></i>防伪查询</label>
          </div>
          </div>


<div class="form-group" ng-show="isSelected2(data.F_type,1)">
          <label class="col-sm-2 control-label">防伪码分类<br><a href="#/app/qsort_add/" class="btn btn-xs btn-info">新建分类</a></label>
          <div class="col-sm-10">
        <select name="F_qsort" class="form-control ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched">
       <option  value="0" >请选择一个防伪码分类</option>   
<option ng-repeat="x in qsort" value="{{x.S_id}}" ng-selected="isSelected2(data.F_qsort,x.S_id)">{{x.S_title}}</option>
          </select>
          </div>
          </div>

        <hr>
        <div class="hr-more">SEO设置</div>
         <div class="form-group"> 
         <label class="col-sm-2 control-label ">SEO设置<br />页面标题title</label> 
         <div class="col-sm-10"> 
          <input type="text" class="form-control {{lcss}}" name="F_pagetitle" value="{{data.F_pagetitle}}" required="" placeholder="留空则调用表单标题" /> 
         </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}}" placeholder="多个词用半角逗号隔开" /> 
         </div> 
        </div> 
        <div class="form-group"> 
         <label class="col-sm-2 control-label">SEO设置<br />描述description</label> 
         <div class="col-sm-10"> 
          <textarea spellcheck="false" class="form-control {{lcss}}" name="F_description" ng-model="data.F_description" /></textarea>
         </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 bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li class="active"><a href="#/app/form_list/">表单管理</a></li>
        <li><a href="#/app/query_list/">防伪码查询</a></li>
      </ul>
    </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><b>[{{x.F_type}}]</b></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 spellcheck="false" 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" ng-show="istrue2(C_t_show)">电脑版[{{C_template}}] <span style="margin:0 20px 0 50px">手机版[{{C_wap}}]<span></span>
        </div>
        <div class="table-responsive">
<div class="panel-body">

<div style="min-width: 520px;">
<div style="float:right" ng-show="istrue2(C_t_show)"><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">
          系统信息 <span class="pull-right">微信二维码 <span style="margin:0 20px 0 40px">网址二维码<span></span>
        </div>
        <div class="table-responsive">
       <div class="panel-body">
       <div style="min-width: 520px;">
          <div style="float:right">
         
<div id='qrcode' style='margin:5px;float:right'></div>
<script>var qrcode = new QRCode('qrcode', {width: 88,height: 88,colorDark: '#000000',colorLight: '#ffffff',correctLevel: QRCode.CorrectLevel.H});</script>
 <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 bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li class="active"><a href="#/app/link_list/">友链列表</a></li>
        <li><a href="#/app/lsort_list/">友链分类</a></li>
      </ul>
    </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" ng-click="showUpload('L_pic');">
            <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" ng-click="showUpload('L_pic');">上传文件</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">
          <select name="L_sort" class="form-control ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched">
          <option ng-repeat="x in lsort_lists" value="{{x.S_id}}" ng-selected="isSelected2(datax.L_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">
            <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/lsort_list/">友链分类</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="link_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  class="list-group-item" ng-repeat="x in lsort_lists" href="#/app/link_list/{{x.S_id}}">
          <span class="badge bg-info">{{x.S_count}}</span>
          <i class="fa fa-link m-r-xs"></i> {{x.S_title}}
        </a>
      </div>

 </div>
 </div>
 <a href='#/app/link_add/' class='edit'><i class='fa fa-plus'></i> 新增友链</a>
 <a href='#/app/lsort_add/' class='edit'><i class='fa fa-plus'></i> 新增分类</a>
 <div style="height: 20px;"></div>
 </div>

    <div class="col-lg-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>
            </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><span ng-bind-html="trust(x.L_sort)"></span></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">
          <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>
        <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>
        <td>邀请好友<br>注册</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>邀请好友<br>消费一元</td>
       <td><div class="input-group m-b">
<span class="input-group-addon">获得</span>
            <input type='text' name='C_invitation' value="{{data2.C_1yuan2}}" 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>

          <tab heading="余额设置">
  <form class="form-horizontal" id="form4" ng-submit="save4(lang)">

          <div class="form-group">
          <label class="col-sm-2 control-label">余额转积分</label>
          <div class="col-sm-10">

            <label class="i-checks" style="width: 60px;">
                <input type="radio" name="C_tofen" value="1" ng-model="data4.C_tofen" ng-checked="isSelected2(data4.C_tofen,1)">
                <i></i>
                开启
              </label>


              <label class="i-checks" style="width: 60px;">
                <input type="radio" name="C_tofen" value="0" ng-model="data4.C_tofen" ng-checked="isSelected2(data4.C_tofen,0)">
                <i></i>
                关闭
              </label>
<div class="input-group m-b" ng-show="isSelected2(data4.C_tofen,1)">
           <span class="input-group-addon">一元兑换</span>
            <input type="text" class="form-control" name="C_tofen_rate" value="{{data4.C_tofen_rate}}">
            <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">

            <label class="i-checks" style="width: 60px;">
                <input type="radio" name="C_tomoney" value="1" ng-model="data4.C_tomoney" ng-checked="isSelected2(data4.C_tomoney,1)">
                <i></i>
                开启
              </label>

              <label class="i-checks" style="width: 60px;">
                <input type="radio" name="C_tomoney" value="0" ng-model="data4.C_tomoney" ng-checked="isSelected2(data4.C_tomoney,0)">
                <i></i>
                关闭
              </label>
<div class="input-group m-b" ng-show="isSelected2(data4.C_tomoney,1)">
           <span class="input-group-addon">一积分兑换</span>
            <input type="text" class="form-control" name="C_tomoney_rate" value="{{data4.C_tomoney_rate}}">
            <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">
            <label class="i-checks" style="width: 60px;">
                <input type="radio" name="C_tx" value="1" ng-model="data4.C_tx" ng-checked="isSelected2(data4.C_tx,1)">
                <i></i>
                开启
              </label>
              <label class="i-checks" style="width: 60px;">
                <input type="radio" name="C_tx" value="0" ng-model="data4.C_tx" ng-checked="isSelected2(data4.C_tx,2)">
                <i></i>
                关闭
              </label>
<div class="input-group m-b" ng-show="isSelected2(data4.C_tx,1)">
           <span class="input-group-addon">手续费</span>
            <input type="text" class="form-control" name="C_tx_rate" value="{{data4.C_tx_rate}}">
            <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>
          </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>


          </tab>
          <tab heading="资金明细">

<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 money_list">
       <td>{{x.L_title}}</td>
        <td>{{x.L_change}}元</td>
        <td>{{x.L_no}}</td>
        <td><a href="#/app/member_add/{{x.L_mid}}">{{x.L_member}}</a></td>
        <td>{{x.L_time}}</td>
        <td>
        <a class="btn btn-xs btn-success" ng-show="isSelected2(x.L_sh,0)">已通过</a>
        <a class="btn btn-xs btn-info" ng-show="isSelected2(x.L_sh,1)" ng-click="sh1(x.L_id)">通过</a>
        <a class="btn btn-xs btn-danger" ng-show="isSelected2(x.L_sh,1)" ng-click="sh2(x.L_id)">不通过</a>
        <a class="btn btn-xs btn-danger" ng-show="isSelected2(x.L_sh,2)">未通过</a>
        </td>
            </tr>
          </tbody>
        </table>
          </tab>
          <tab heading="积分明细">
<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 fen_list">
       <td>{{x.L_title}}</td>
        <td>{{x.L_change}}</td>
        <td>{{x.L_no}}</td>
        <td><a href="#/app/member_add/{{x.L_mid}}">{{x.L_member}}</a></td>
        <td>{{x.L_time}}</td>
        <td>
        <a class="btn btn-xs btn-success" ng-show="isSelected2(x.L_sh,0)">已通过</a>
        <a class="btn btn-xs btn-info" ng-show="isSelected2(x.L_sh,1)" ng-click="sh1(x.L_id)">通过</a>
        <a class="btn btn-xs btn-danger" ng-show="isSelected2(x.L_sh,1)" ng-click="sh2(x.L_id)">不通过</a>
        <a class="btn btn-xs btn-danger" ng-show="isSelected2(x.L_sh,2)">未通过</a>
        </td>
            </tr>
          </tbody>
        </table>
          </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="../{{datax.W_logo}}" id="W_logox" class="L_pic" ng-click="showUpload('W_logo');">
           <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" ng-click="showUpload('W_logo');">上传文件</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 spellcheck="false" 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" ng-click="showUpload('S_pic');">
            <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" ng-click="showUpload('S_pic');">上传文件</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>
         <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_from}}">{{x.M_fname}}</a></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">

<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">
            <input type="text" class="form-control {{lcss}}" id="U_title" name="U_title" value="{{data.U_title}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">标题（第二语言）<a href="javascript:;" onclick="translatex('U_title')" class="btn btn-xs btn-info">翻译</a></label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" id="U_titlex" 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">
            <input type="text" class="form-control" name="U_url" value="{{data.U_url}}">
          </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" id="hue-demo" class="form-control" name="U_color" value="{{data.U_color}}">
          </div>
          </div>
          <script>
$('#hue-demo').minicolors({
                    change: function(hex, opacity) {
                        if( !hex ) return;
                        if( opacity ) hex += ', ' + opacity;
                        try {
                            console.log(hex);
                        } catch(e) {}
                    },
                    theme: 'bootstrap'
                });
          </script>
          <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" ng-click="showUpload('U_ico');">上传文件</button>
              </span>
            </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="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=""><span ng-bind-html="ntitle(C_sort)"></span>列表</a></li>
        <li><a href="#/app/nsort_list/"><span ng-bind-html="ntitle(C_sort)"></span>分类</a></li>
        <li ng-show="isSelected2(C_sort,2)"><a href="#/app/tag/">标签管理</a></li>
        <li><a href="#/app/collection/">文章采集</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}}<span ng-bind-html="ntitle(C_sort)"></span>
        </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"><span ng-bind-html="ntitle(C_sort)"></span>标题</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"><span ng-bind-html="ntitle(C_sort)"></span>作者</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"><span ng-bind-html="ntitle(C_sort)"></span>分类</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">
          <optgroup ng-repeat="x in nsort_lists" label="{{x.S_title}}">
<option ng-repeat="y in x.nsort_list" value="{{y.S_id}}" ng-selected="isSelected2(data.N_sort,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">
            <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"><span ng-bind-html="ntitle(C_sort)"></span>配图</label>
          <div class="col-sm-10">
          <img ng-src="../{{data.N_pic}}" id="N_picx" class="L_pic" ng-click="showUpload('N_pic');">
            <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" ng-click="showUpload('N_pic');">上传文件</button>
              </span>
            </div>
          </div>
          </div>
          
          <hr>
          <div class="hr-more">高级设置</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_type" ng-model="data.N_type" value="0" ng-checked="isSelected2(data.N_type,0)"><i></i>普通新闻</label>
          <label class="i-checks"><input type="radio" name="N_type" ng-model="data.N_type" value="1" ng-checked="isSelected2(data.N_type,1)"><i></i>招聘信息</label>
          <label class="i-checks"><input type="radio" name="N_type" ng-model="data.N_type" value="2" ng-checked="isSelected2(data.N_type,2)"><i></i>文件下载</label>
          <label class="i-checks"><input type="radio" name="N_type" ng-model="data.N_type" value="3" ng-checked="isSelected2(data.N_type,3)"><i></i>视频播放</label>
          <label class="i-checks"><input type="radio" name="N_type" ng-model="data.N_type" value="4" ng-checked="isSelected2(data.N_type,4)"><i></i>通知公告</label>
          </div>
          </div>


          <div class="form-group" ng-show="isSelected2(data.N_type,1)">
          <label class="col-sm-2 control-label">招聘信息</label>
          <div class="col-sm-10">
          <div class="col-lg-4 col-md-6">
         <div class="input-group" style="margin: 5px;">
<span class="input-group-addon">招聘职位</span><input type="text" value="{{data.N_job1}}" class="form-control" name="N_job1" placeholder="例：产品经理" value=""></div>
          </div>
          <div class="col-lg-4 col-md-6">
          <div class="input-group" style="margin: 5px;">
<span class="input-group-addon">招聘人数</span><input type="text" value="{{data.N_job2}}" class="form-control" name="N_job2" placeholder="例：10人" value=""></div>
          </div>
          <div class="col-lg-4 col-md-6">
          <div class="input-group" style="margin: 5px;">
<span class="input-group-addon">工作地点</span><input type="text" value="{{data.N_job3}}" class="form-control" name="N_job3" placeholder="例：广东深圳" value=""></div>
          </div>
          <div class="col-lg-4 col-md-6">
          <div class="input-group" style="margin: 5px;">
<span class="input-group-addon">薪资水平</span><input type="text" value="{{data.N_job4}}" class="form-control" name="N_job4" placeholder="例：20K/月" value=""></div>
          </div>
          <div class="col-lg-4 col-md-6">
          <div class="input-group" style="margin: 5px;">
<span class="input-group-addon">学历要求</span><input type="text" value="{{data.N_job5}}" class="form-control" name="N_job5" placeholder="例：研究生或以上" value=""></div>
          </div>
          <div class="col-lg-4 col-md-6">
          <div class="input-group" style="margin: 5px;">
<span class="input-group-addon">经验要求</span><input type="text" value="{{data.N_job6}}" class="form-control" name="N_job6" placeholder="例：5年" value=""></div>
          </div>
          <div class="col-lg-4 col-md-6">
          <div class="input-group" style="margin: 5px;">
<span class="input-group-addon">年龄要求</span><input type="text" value="{{data.N_job7}}" class="form-control" name="N_job7" placeholder="例：25~60岁" value=""></div>
          </div>
          <div class="col-lg-4 col-md-6">
          <div class="input-group" style="margin: 5px;">
<span class="input-group-addon">性别要求</span><input type="text" value="{{data.N_job8}}" class="form-control" name="N_job8" placeholder="例：男女不限" value=""></div>
          </div>
          <div class="col-lg-4 col-md-6">
          <div class="input-group" style="margin: 5px;">
<span class="input-group-addon">语言要求</span><input type="text" value="{{data.N_job9}}" class="form-control" name="N_job9" placeholder="例：普通话/英语" value=""></div>
          </div>
          </div>
          </div>


          <div class="form-group" ng-show="isSelected2(data.N_type,2)">
          <label class="col-sm-2 control-label">软件下载</label>
          <div class="col-sm-10">
          <div class="col-lg-4 col-md-6">
          <div class="input-group" style="margin: 5px;">
<span class="input-group-addon">文件名称</span><input type="text" value="{{data.N_file1}}" class="form-control" name="N_file1" placeholder="例：XX助手" value=""></div>
          </div>
          <div class="col-lg-4 col-md-6">
          <div class="input-group" style="margin: 5px;">
<span class="input-group-addon">文件大小</span><input type="text" value="{{data.N_file2}}" class="form-control" name="N_file2" placeholder="例：20M" value=""></div>
          </div>
          <div class="col-lg-4 col-md-6">
          <div class="input-group" style="margin: 5px;">
<span class="input-group-addon">版本号</span><input type="text" value="{{data.N_file3}}" class="form-control" name="N_file3" placeholder="例：V1.0.0" value=""></div>
          </div>
          <div class="col-lg-4 col-md-6">
          <div class="input-group" style="margin: 5px;">
<span class="input-group-addon">语言</span><input type="text" value="{{data.N_file4}}" class="form-control" name="N_file4" placeholder="例：中文/英语" value=""></div>
          </div>
          <div class="col-lg-4 col-md-6">
          <div class="input-group" style="margin: 5px;">
<span class="input-group-addon">运行环境</span><input type="text" value="{{data.N_file5}}" class="form-control" name="N_file5" placeholder="例：windows" value=""></div>
          </div>
          <div class="col-lg-4 col-md-6">
          <div class="input-group" style="margin: 5px;">
<span class="input-group-addon">下载</span><input type="text" value="{{data.N_file6}}" class="form-control" name="N_file6" id="N_file6" value=""><span class="input-group-btn">
                <button class="btn btn-info" type="button" ng-click="showUpload('N_file6');">上传文件</button>
              </span></div>
          </div>
          </div>
          </div>


          <div class="form-group" ng-show="isSelected2(data.N_type,3)">
          <label class="col-sm-2 control-label">视频播放</label>
          <div class="col-sm-10">
          <textarea class="form-control" placeholder="请上传MP4视频或者粘贴视频代码" id="N_video" name="N_video">{{data.N_video}}</textarea>
          <button class="btn btn-info" type="button" ng-click="showUpload('N_video');" style="margin:10px 0;">上传视频</button>
          </div>
          </div>



          <div class="form-group">
          <label class="col-sm-2 control-label">标题颜色</label>
          <div class="col-sm-10">
            <input id="hue-demo" data-control="hue" type="text" class="form-control" name="N_color" value="{{data.N_color}}">
          </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_strong" ng-checked="isSelected(data.N_strong)">
              <i></i>
            </label>
            <input type="hidden" value="0" name="N_strong">
          </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" ng-show="isSelected2(C_sort,2)">
          <label class="col-sm-2 control-label">文章标签</label>
          <div class="col-sm-10">
          <span ng-bind-html="trust(data.tag)"></span> <a href="javascript:;" ng-click="tag()" class="btn btn-info btn-xs">管理标签</a>
          </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">
            <input type="text" class="form-control" name="N_link" value="{{data.N_link}}" placeholder="一般情况下留空，如需跳转请填写链接地址">
          </div>
          </div>

          <hr>
          <div class="hr-more">SEO设置</div>
          <div class="form-group">
          <label class="col-sm-2 control-label">SEO设置<br>页面标题title</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="N_pagetitle" value="{{data.N_pagetitle}}" placeholder="留空则调用新闻标题">
          </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}}" placeholder="多个词用半角逗号隔开">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">SEO设置<br>描述description</label>
          <div class="col-sm-10">
            <textarea spellcheck="false" class="form-control {{lcss}}" rows="3" name="N_description" ng-model="data.N_description" placeholder="留空则自动提取文章前100字"></textarea>
          </div>
          </div>


          <hr>
          <div class="hr-more">设置隐藏内容</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_hideon" ng-model="data.N_hideon" value="1" ng-checked="isSelected2(data.N_hideon,1)"><i></i>开启</label>
          <label class="i-checks"><input type="radio" name="N_hideon" ng-model="data.N_hideon" value="0" ng-checked="isSelected2(data.N_hideon,0)"><i></i>关闭</label>
          <span style="padding-left:10px;color: #0099ff; " ng-show="isSelected2(data.N_hideon,1)">*使用此功能前请到基本设置配置好“7支付”接口</span>
          </div>
          </div>

          <div class="form-group" ng-show="isSelected2(data.N_hideon,1)">
          <label class="col-sm-2 control-label">内容售价</label>
          <div class="col-sm-10">
          <div class="input-group">
            <input type="text" class="form-control" name="N_price" value="{{data.N_price}}" placeholder="填写大于0的数字">
            <span class="input-group-addon">元</span>
          </div>
          </div>
          </div>

          <div class="form-group" ng-show="isSelected2(data.N_hideon,1)">
          <label class="col-sm-2 control-label">收款样式</label>
          <div class="col-sm-10">
          <label class="i-checks"><input type="radio" name="N_hidetype" value="div" ng-checked="isSelected2(data.N_hidetype,'div')"><i></i>区块式</label>
          <label class="i-checks"><input type="radio" name="N_hidetype" value="btn" ng-checked="isSelected2(data.N_hidetype,'btn')"><i></i>按钮式</label>
          <label class="i-checks"><input type="radio" name="N_hidetype" value="flt" ng-checked="isSelected2(data.N_hidetype,'flt')"><i></i>浮动式</label>
          </div>
          </div>
          <div class="form-group" ng-show="isSelected2(data.N_hideon,1)">
          <label class="col-sm-2 control-label">内容介绍</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="N_hideintro" value="{{data.N_hideintro}}" placeholder="隐藏内容的简单介绍">
          </div>
          </div>
          <div class="form-group" ng-show="isSelected2(data.N_hideon,1)">
          <label class="col-sm-2 control-label">隐藏内容</label>
          <div class="col-sm-10">
            <textarea spellcheck="false" class="form-control" rows="3" name="N_hide" ng-model="data.N_hide" placeholder="用户支付后自动显示隐藏内容"></textarea>
          </div>
          </div>
          <hr>
          <div class="form-group">
          <label class="col-sm-2 control-label"><span ng-bind-html="ntitle(C_sort)"></span>内容</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']});
$('#hue-demo').minicolors({
                    change: function(hex, opacity) {
                        if( !hex ) return;
                        if( opacity ) hex += ', ' + opacity;
                        try {
                            console.log(hex);
                        } catch(e) {}
                    },
                    theme: 'bootstrap'
                });
          </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=""><span ng-bind-html="ntitle(C_sort)"></span>列表</a></li>
        <li><a href="#/app/nsort_list/"><span ng-bind-html="ntitle(C_sort)"></span>分类</a></li>
        <li ng-show="isSelected2(C_sort,2)"><a href="#/app/tag/">标签管理</a></li>
        <li><a href="#/app/collection/">文章采集</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" ng-repeat="x in nsort_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.nsort_list" href="#/app/news_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/news_add/' class='edit'><i class='fa fa-plus'></i> 新增<span ng-bind-html="ntitle(C_sort)"></span></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">
         <span ng-bind-html="ntitle(C_sort)"></span>列表
        </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>
         <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 spellcheck="false" 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_type)"></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-6 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-6 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> 新增<span ng-bind-html="ntitle(C_sort)"></span></a>
    </div>
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li><a href="#/app/news_list///"><span ng-bind-html="ntitle(C_sort)"></span>列表</a></li>
        <li class="active"><a href="" ><span ng-bind-html="ntitle(C_sort)"></span>分类</a></li>
        <li ng-show="isSelected2(C_sort,2)"><a href="#/app/tag/">标签管理</a></li>
        <li><a href="#/app/collection/">文章采集</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}}<span ng-bind-html="ntitle(C_sort)"></span>分类
        </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 nsort_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"><span ng-bind-html="ntitle(C_sort)"></span>分类标题</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="S_title" id="S_title" value="{{data.S_title}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">标题（第二语言）<a href="javascript:;" onclick="translatex('S_title')" class="btn btn-xs btn-info">翻译</a></label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="S_entitle" id="S_titlex" 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">
          <label class="i-checks" style="width: 60px;">
                <input type="radio" name="S_show" value="1" ng-model="data.S_show" ng-checked="isSelected2(data.S_show,1)">
                <i></i>
                展示
              </label>

              <label class="i-checks" style="width: 60px;">
                <input type="radio" name="S_show" value="0" ng-model="data.S_show" ng-checked="isSelected2(data.S_show,2)">
                <i></i>
                关闭
              </label>
          </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" ng-click="showUpload('S_pic');">
            <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" ng-click="showUpload('S_pic');">上传文件</button>
              </span>
            </div>
          </div>
          </div>
            <hr>
            <div class="hr-more">SEO设置</div>
          <div class="form-group">
          <label class="col-sm-2 control-label">SEO设置<br>页面标题title</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="S_pagetitle" value="{{data.S_pagetitle}}" placeholder="留空则调用新闻分类标题">
          </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}}" placeholder="多个词用半角逗号隔开">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">SEO设置<br>描述description</label>
          <div class="col-sm-10">
            <textarea spellcheck="false"  class="form-control {{lcss}}" name="S_description"  required>{{data.S_description}}</textarea>
          </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///"><span ng-bind-html="ntitle(C_sort)"></span>列表</a></li>
        <li class="active"><a href=""><span ng-bind-html="ntitle(C_sort)"></span>分类</a></li>
        <li ng-show="isSelected2(C_sort,2)"><a href="#/app/tag/">标签管理</a></li>
        <li><a href="#/app/collection/">文章采集</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">
         <span ng-bind-html="ntitle(C_sort)"></span>分类列表
        </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 nsort_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/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>
        <tr ng-repeat="y in x.nsort_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 nsort_lists" ng-selected="isSelected2(y.S_sub,z.S_id)" value="{{z.S_id}}">{{z.S_title}}</option>
        </select>
        </td>
        <td><a href="#/app/nsort_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/nsort_add/' class='edit'><i class='fa fa-plus'></i> 新增<span ng-bind-html="ntitle(C_sort)"></span>分类</a>
    </div>
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li><a href="#/app/product_list///"><span ng-bind-html="ptitle(C_sort)"></span>列表</a></li>
        <li><a href="#/app/psort_list/"><span ng-bind-html="ptitle(C_sort)"></span>分类</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-hide="isSelected(auth)||isfrom(C_from)">
<img ng-src='http://www.s-cms.cn/media/x12.png' width='100'>
<div style='float:left;margin-left:10px;'><b>插件名称</b>：S-CMS完整商业授权<br>
<b>插件介绍</b>：购买完整授权后可免费使用所有模板和插件（含电脑端和手机端），时长永久。通过<a href="http://www.s-cms.cn" target="_blank">官网</a>购买更优惠<br>
<b>插件价格</b>：598元<br>
<a class="del" href="javascript:;" ng-click="getauth()"><i class="fa fa-shopping-cart"></i> 购买</a></div>
<div style='font: 0px/0px sans-serif;clear: both;display: block'> </div>
</div>

<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='' class='p_pic' id='picpic1_"+i+"x' onclick='showUpload(\"picpic1_"+i+"\");'>"
 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+"\");'>上传文件</button></span></div><br><input type='text' name='itrpic1_"+i+"' id='itrpic1_"+i+"' value='' class='form-control' placeholder='文字描述'>";
 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///"><span ng-bind-html="ptitle(C_sort)"></span>列表</a></li>
        <li><a href="#/app/psort_list/"><span ng-bind-html="ptitle(C_sort)"></span>分类</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}}<span ng-bind-html="ptitle(C_sort)"></span>
        </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"><span ng-bind-html="ptitle(C_sort)"></span>标题</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"><span ng-bind-html="ptitle(C_sort)"></span>图片</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">
          <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"><span ng-bind-html="ptitle(C_sort)"></span>分类</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">跳转链接</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="P_link" value="{{data.P_link}}" placeholder="一般情况下留空，如需跳转请填写链接地址">
          </div>
          </div>
          <div ng-show="isSelected2(C_sort,1)">
          <hr>
          <div class="hr-more">购买设置</div>
          <div class="form-group">
          <label class="col-sm-2 control-label">开启购买</label>
          <div class="col-sm-10">
          <label class="i-checks" style="width: 60px;">
                <input type="radio" name="P_buy" value="1" ng-model="data.P_buy" ng-checked="isSelected2(data.P_buy,1)">
                <i></i>
                开启
              </label>

              <label class="i-checks" style="width: 60px;">
                <input type="radio" name="P_buy" value="0" ng-model="data.P_buy" ng-checked="isSelected2(data.P_buy,2)">
                <i></i>
                关闭
              </label>

          </div>
          </div>
          <div class="form-group" ng-show="isSelected2(data.P_buy,1)">
          <label class="col-sm-2 control-label"><span ng-bind-html="ptitle(C_sort)"></span>价格</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}}">
            <span class="input-group-addon">元</span>
          </div>
          </div>
          </div>
          
          <div class="form-group" ng-show="isSelected2(data.P_buy,1)">
          <label class="col-sm-2 control-label">开启免登录购买</label>
          <div class="col-sm-10">

          <label class="i-checks" style="width: 60px;">
                <input type="radio" name="P_unlogin" value="1" ng-model="data.P_unlogin" ng-checked="isSelected2(data.P_unlogin,1)">
                <i></i>
                开启
              </label>

              <label class="i-checks" style="width: 60px;">
                <input type="radio" name="P_unlogin" value="0" ng-model="data.P_unlogin" ng-checked="isSelected2(data.P_unlogin,0)">
                <i></i>
                关闭
              </label>

<span style="padding-left:10px;color: #0099ff; " ng-show="isSelected2(data.P_buy,1)&&isSelected2(data.P_unlogin,1)">*使用此功能前请到基本设置配置好“7支付”接口</span>
          </div>
          </div>

          <div class="form-group" ng-show="isSelected2(data.P_buy,1)&&isSelected2(data.P_unlogin,1)">
          <label class="col-sm-2 control-label">填写收货信息</label>
          <div class="col-sm-10">

          <label class="i-checks" style="width: 60px;">
                <input type="checkbox" name="P_name" value="1" ng-checked="isSelected(data.P_name)">
                <i></i>
                姓名
              </label>

              <label class="i-checks" style="width: 60px;">
                <input type="checkbox" name="P_email" value="1" ng-checked="isSelected(data.P_email)">
                <i></i>
                邮箱
              </label>

              <label class="i-checks" style="width: 60px;">
                <input type="checkbox" name="P_mobile" value="1" ng-checked="isSelected(data.P_mobile)">
                <i></i>
                手机
              </label>
              <label class="i-checks" style="width: 60px;">
                <input type="checkbox" name="P_address" value="1" ng-checked="isSelected(data.P_address)">
                <i></i>
                地址
              </label>
              <label class="i-checks" style="width: 60px;">
                <input type="checkbox" name="P_postcode" value="1" ng-checked="isSelected(data.P_postcode)">
                <i></i>
                邮编
              </label>
              <label class="i-checks" style="width: 60px;">
                <input type="checkbox" name="P_qq" value="1" ng-checked="isSelected(data.P_qq)">
                <i></i>
                QQ
              </label>
              <label class="i-checks" style="width: 60px;">
                <input type="checkbox" name="P_remark" value="1" ng-checked="isSelected(data.P_remark)">
                <i></i>
                备注
              </label>
          </div>
          </div>
          <div class="form-group" ng-show="isSelected2(data.P_buy,1)&&isSelected2(data.P_unlogin,1)">
          <label class="col-sm-2 control-label">商品类型</label>
          <div class="col-sm-10">

          <label class="i-checks" style="width: 100px;">
                <input type="radio" name="P_sence" value="1" ng-model="data.P_sence" ng-checked="isSelected2(data.P_sence,1)">
                <i></i>
                虚拟商品
              </label>

              <label class="i-checks" style="width: 100px;">
                <input type="radio" name="P_sence" value="2" ng-model="data.P_sence" ng-checked="isSelected2(data.P_sence,2)">
                <i></i>
                实物商品
              </label>

          </div>
          </div>
          <div class="form-group" ng-show="isSelected2(data.P_buy,1)&&isSelected2(data.P_unlogin,1)&&isSelected2(data.P_sence,1)">
          <label class="col-sm-2 control-label">发货内容</label>
          <div class="col-sm-10">
            <textarea spellcheck="false" class="form-control {{lcss}}" rows="3" name="P_sell" ng-model="data.P_sell" placeholder="虚拟商品填写发货内容，自动发货"></textarea>
          </div>
          </div>

          <div class="form-group" ng-show="isSelected2(data.P_buy,1)&&isSelected2(data.P_unlogin,1)&&isSelected2(data.P_sence,2)">
          <label class="col-sm-2 control-label">发货内容</label>
          <div class="col-sm-10">
            用户购买完成后，手动填写单号并发货
          </div>
          </div>
          </div>
          <hr>
          <div class="hr-more">SEO设置</div>
          <div class="form-group">
          <label class="col-sm-2 control-label">SEO设置<br>页面标题title</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="P_pagetitle" value="{{data.P_pagetitle}}" placeholder="留空则调用产品标题">
          </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}}" placeholder="多个词用半角逗号隔开">
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label">SEO设置<br>描述description</label>
          <div class="col-sm-10">
            <textarea spellcheck="false" class="form-control {{lcss}}" rows="3" name="P_description" ng-model="data.P_description" placeholder="留空则自动提取文章前100字"></textarea>
          </div>
          </div>

          <hr>
          
          
          <div class="form-group">
          <label class="col-sm-2 control-label"><span ng-bind-html="ptitle(C_sort)"></span>介绍</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"><span ng-bind-html="ptitle(C_sort)"></span>属性</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;" />
            <a href="help.asp?page=3.3" class="btn btn-xs btn-default" target="_blank">帮助？</a> 
          </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=""><span ng-bind-html="ptitle(C_sort)"></span>列表</a></li>
        <li><a href="#/app/psort_list/"><span ng-bind-html="ptitle(C_sort)"></span>分类</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">
         批量新增<span ng-bind-html="ptitle(C_sort)"></span>
        </div>
<div class="panel-body">
<form class="form-horizontal" id="form1">
          <div class="form-group">
          <label class="col-sm-2 control-label"><span ng-bind-html="ptitle(C_sort)"></span>分类</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=""><span ng-bind-html="ptitle(C_sort)"></span>列表</a></li>
        <li><a href="#/app/psort_list/"><span ng-bind-html="ptitle(C_sort)"></span>分类</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-star m-r-xs"></i> {{y.S_title}}
        </a>
      </div>

 </div>
 </div>
 <a href='#/app/product_add/' class='edit'><i class='fa fa-plus'></i> 新增<span ng-bind-html="ptitle(C_sort)"></span></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">
         <span ng-bind-html="ptitle(C_sort)"></span>列表
        </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 ng-show="isSelected2(C_sort,1)">价格</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 spellcheck="false" 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 ng-show="isSelected2(C_sort,1)">
        <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-6 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-6 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> 新增<span ng-bind-html="ptitle(C_sort)"></span></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///"><span ng-bind-html="ptitle(C_sort)"></span>列表</a></li>
        <li class="active"><a href="#/app/psort_list/"><span ng-bind-html="ptitle(C_sort)"></span>分类</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}}<span ng-bind-html="ptitle(C_sort)"></span>分类
        </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"><span ng-bind-html="ptitle(C_sort)"></span>分类标题</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="S_title" id="S_title" value="{{data.S_title}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">标题（第二语言）<a href="javascript:;" onclick="translatex('S_title')" class="btn btn-xs btn-info">翻译</a></label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="S_entitle" id="S_titlex" 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">
          <label class="i-checks" style="width: 60px;">
                <input type="radio" name="S_show" value="1" ng-model="data.S_show" ng-checked="isSelected2(data.S_show,1)">
                <i></i>
                展示
              </label>

              <label class="i-checks" style="width: 60px;">
                <input type="radio" name="S_show" value="0" ng-model="data.S_show" ng-checked="isSelected2(data.S_show,2)">
                <i></i>
                关闭
              </label>
          </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" ng-click="showUpload('S_pic');">
            <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" ng-click="showUpload('S_pic');">上传文件</button>
              </span>
            </div>
          </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>
                <span ng-bind-html="ptitle(C_sort)" style="margin: 0px;"></span>
              </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>
            <hr>
            <div class="hr-more">SEO设置</div>
          <div class="form-group">
          <label class="col-sm-2 control-label">SEO设置<br>页面标题title</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="S_pagetitle" value="{{data.S_pagetitle}}" placeholder="留空则调用产品分类标题">
          </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}}" placeholder="多个词用半角逗号隔开">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">SEO设置<br>描述description</label>
          <div class="col-sm-10">
            <textarea spellcheck="false"  class="form-control {{lcss}}" name="S_description"  required>{{data.S_description}}</textarea>
          </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///"><span ng-bind-html="ptitle(C_sort)"></span>列表</a></li>
        <li class="active"><a href=""><span ng-bind-html="ptitle(C_sort)"></span>分类</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">
         <span ng-bind-html="ptitle(C_sort)"></span>分类列表
        </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> 新增<span ng-bind-html="ptitle(C_sort)"></span>分类</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 spellcheck="false" 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 spellcheck="false" 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 bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li class="active"><a href="#/app/form_list/">表单管理</a></li>
        <li><a href="#/app/query_list/">防伪码查询</a></li>
      </ul>
    </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 ng-bind-html="ttitle(C_sort)"></span> <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 ng-bind-html="ntitle(C_sort)"></span> <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 ng-bind-html="ptitle(C_sort)"></span> <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///"><span ng-bind-html="ptitle(C_sort)"></span>列表</a></li>
        <li><a href="#/app/psort_list/"><span ng-bind-html="ptitle(C_sort)"></span>分类</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">sitemap</label>
          <div class="col-sm-10">
            <textarea spellcheck="false"  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 spellcheck="false" 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" ng-click="showUpload('S_pic')">
            <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" ng-click="showUpload('S_pic')">上传文件</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">
         {{path}}
         <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 ng-src='{{x.pic}}' height='10'> <a href="javascript:;" ng-click="file(x.type,x.name)">{{x.name}}</a></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] && !isfrom(C_from)">￥{{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] && !isfrom(C_from)">￥{{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 spellcheck="false" 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>
        <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>{{x.sort}}</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="add" ng-show="isSelected2(x.folername,data.C_template)"><i class="fa fa-sign-out"></i> 导入</a></td>
          <td><a href="javascript:;" ng-click="refresh(x.folername)" class="edit"><i class="fa fa-refresh"></i> 更新</a></td>
        <td><a href="javascript:;" ng-click="readme(x.folername)" class="add"><i class="fa fa-send"></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>说明：<br>（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',x.folername)" 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}}<span ng-bind-html="ttitle(C_sort)"></span>
        </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"><span ng-bind-html="ttitle(C_sort)"></span>标题</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" id="T_title" name="T_title" value="{{data.T_title}}" required>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">标题（第二语言）<a href="javascript:;" onclick="translatex('T_title')" class="btn btn-xs btn-info">翻译</a></label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" id="T_titlex" name="T_entitle" value="{{data.T_entitle}}" required>
          </div>
          </div>
         
          <div class="form-group">
          <label class="col-sm-2 control-label"><span ng-bind-html="ttitle(C_sort)"></span>配图</label>
          <div class="col-sm-10">
          <img ng-src="../{{data.T_pic}}" id="T_picx" class="L_pic" ng-click="showUpload('T_pic');">
            <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" ng-click="showUpload('T_pic');">上传文件</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="T_link" ng-model="data.T_link" placeholder="一般情况下留空，如需跳转请填写链接地址">
          </div>
          </div>
          <hr>
          <div class="hr-more">SEO设置</div>
          <div class="form-group">
          <label class="col-sm-2 control-label">SEO设置<br>页面标题title</label>
          <div class="col-sm-10">
            <input type="text" class="form-control {{lcss}}" name="T_pagetitle" ng-model="data.T_pagetitle" placeholder="留空则调用简介标题">
          </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" placeholder="多个词用半角逗号隔开">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">SEO设置<br>描述description</label>
          <div class="col-sm-10">
            <textarea spellcheck="false" class="form-control {{lcss}}" rows="3" name="T_description" ng-model="data.T_description" placeholder="留空则自动提取文章前100字"></textarea>
          </div>
          </div>
          <hr>
          <div class="form-group">
          <label class="col-sm-2 control-label"><span ng-bind-html="ttitle(C_sort)"></span>内容</label>
          <div class="col-sm-10">
          <textarea spellcheck="false" 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">
         <span ng-bind-html="ttitle(C_sort)"></span>列表
        </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> 新增<span ng-bind-html="ttitle(C_sort)"></span></a>
    </div>
  
  </div>
  
  

  
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li><a href="#/app/product_list///"><span ng-bind-html="ptitle(C_sort)"></span>列表</a></li>
        <li><a href="#/app/psort_list/"><span ng-bind-html="ptitle(C_sort)"></span>分类</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">
        <form id="form">
          <div class="radio">
选择需要生成静态的语言版本：
              <label class="i-checks" style="width: 80px;">
                <input type="checkbox" name="T_lang" value="0" ng-checked="ishave(C_lang,0)">
                <i></i>
                简体中文
              </label>
              <label class="i-checks" style="width: 80px;">
                <input type="checkbox" name="T_lang" value="2" ng-checked="ishave(C_lang,2)">
                <i></i>
                繁体中文
              </label>
              <label class="i-checks" style="width: 80px;">
                <input type="checkbox" name="T_lang" value="1" ng-checked="ishave(C_lang,1)">
                <i></i>
                English
              </label>
            </div>
          </form>
        </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><span ng-bind-html="ttitle(C_sort)"></span>页面</td><td></td><td><a href="javascript:;" ng-click="creat('text')" class="add"><i class="fa fa-wrench"></i> 生成内容页</a></td></tr>
      <tr><td><span ng-bind-html="ntitle(C_sort)"></span>页面</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><span ng-bind-html="ptitle(C_sort)"></span>页面</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" ng-click="showUpload('C_wcode');">
            <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" ng-click="showUpload('C_wcode');">上传文件</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> <a href="help.asp?page=1.1.2" target="_blank" class="btn btn-xs btn-default">帮助？</a>
          </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 - <span ng-bind-html="ttitle(C_sort)"></span> / N - <span ng-bind-html="ntitle(C_sort)"></span> / P - <span ng-bind-html="ptitle(C_sort)"></span> / 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 spellcheck="false" 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.图文素材来自<span ng-bind-html="ttitle(C_sort)"></span>、<span ng-bind-html="ntitle(C_sort)"></span>、<span ng-bind-html="ptitle(C_sort)"></span>、表单、联系模块<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///"><span ng-bind-html="ptitle(C_sort)"></span>列表</a></li>
        <li><a href="#/app/psort_list/"><span ng-bind-html="ptitle(C_sort)"></span>分类</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 ng-show="isSelected2(C_sort,1)">
                          <a ui-sref="app.lv"><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>
                        
                      </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><span ng-bind-html="ttitle(C_sort)"></span></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><span ng-bind-html="ntitle(C_sort)"></span></b>[<a ui-sref="app.news_list">列表</a>/<a ui-sref="app.nsort_list">分类</a>/<a ui-sref="app.collection">采集</a>]
                        </li>
                        <li>
                          <i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i><b><span ng-bind-html="ptitle(C_sort)"></span></b>[<a ui-sref="app.product_list">列表</a>/<a ui-sref="app.psort_list">分类</a>/<a ui-sref="app.order_list">订单</a>]
                        </li>

                        <li>
                          <i class="fa fa-fw fa-angle-right text-muted m-r-xs"></i><b>表单</b>[<a ui-sref="app.form_list">表单</a>/<a ui-sref="app.query_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-bookmark-o"></i> 模板插件</div>
                      <ul class="list-unstyled l-h-2x">
                        <li ng-show="istrue2(C_t_show)">
                          <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 ng-show="istrue2(C_x_show)">
                          <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>
                        
                      </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>
                        <li>
                          <a ui-sref="app.data"><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>
            </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.comment">
                  <span class="badge bg-danger pull-right" ng-if="isSelected(pnum)">{{pnum}}</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>
              <li>
                <a ui-sref="app.lv">
                  <span class="badge bg-danger pull-right" ng-if="isSelected(fen_num)">{{fen_num}}</span>
                  <span>积分变动</span>
                </a>
              </li>
              <li>
                <a ui-sref="app.lv">
                  <span class="badge bg-danger pull-right" ng-if="isSelected(money_num)">{{money_num}}</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>

        <form class="navbar-form navbar-form-sm navbar-left shift" ui-shift="prependTo" target=".navbar-collapse" role="search" id="auth" ng-controller="authcode" ng-hide="isSelected(auth)">
          <div class="form-group">
            <div class="input-group">
              <input type="text" class="form-control input-sm bg-light no-border rounded padder" name="code" placeholder="授权码">
              <span class="input-group-btn">
              <button type="button" ng-click="getauth()" class="btn btn-sm bg-light rounded"><i class="fa fa-arrow-circle-right"></i></button>
              </span>
            </div>
          </div>
        </form>

        <div class="nav navbar-nav hidden-xs" ng-hide="isfrom(C_from)||isSelected(auth)">
          <a href class="btn no-shadow navbar-btn" ng-click="getcode()" style="padding: 6px 0px;">
            <i class="fa fa-question-circle fa-fw"></i>
          </a>
        </div>


        <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="../images/0.png"> 简体中文</a>
                <a ng-click="setLang(2)" href="javascript:;"><img src="../images/2.png"> 繁体中文</a>
                <a ng-click="setLang(1)" href="javascript:;"><img src="../images/1.png"> English</a>
                <a ng-click="setLang(3)" 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" ng-show="isSelected2(C_sort,1)">
        <a ui-sref="app.lv">
          <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>
    
    </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 ng-bind-html="ttitle(C_sort)"></span>管理</span>
        </a>
      </li>
      <li ui-sref-active="active">
        <a ui-sref="app.news_list">
          <span><span ng-bind-html="ntitle(C_sort)"></span>/下载</span>
        </a>
      </li>
   <li ui-sref-active="active">
        <a ui-sref="app.product_list">
          <span><span ng-bind-html="ptitle(C_sort)"></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" ng-show="istrue2(C_t_show)">
        <a ui-sref="app.template_list">
          <span>模板管理</span>
        </a>
      </li>
      <li ui-sref-active="active" ng-show="istrue2(C_x_show)">
        <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>
      <li ui-sref-active="active">
        <a ui-sref="app.comment">
          <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>
      
    </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>
      <li ui-sref-active="active">
        <a ui-sref="app.sitemap">
          <span>sitemap</span>
        </a>
      </li>
    </ul>
  </li>
  <li ui-sref-active="active">
    <a ui-sref="app.log">
      <i class="fa fa-clock-o"></i>
      <span class="font-bold" >操作日志</span>
    </a>
  </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)||istrue2(C_auth_close)||isfrom(C_from)">
    <a href="javascript:;" ng-click="getauth()">
      <i class="fa fa-certificate"></i>
      <span class="font-bold" >购买授权</span>
    </a>
  </li>
</ul>
^
<div class="bg-light lter b-b wrapper-md">
  <h1 class="m-n font-thin h3">debug</h1>
</div>
<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>
            <button type="button" class="btn btn-info" ng-click="mdb()">导出mdb</button>
            <a class="btn btn-info" href="dbm.asp" target="blank">在线管理</a>
          </div>
          </div>
  </form>
  </div>
  </div>
    </div>
  </div>

  <div class="row">
    <div class="col-lg-12">
      <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         download
        </div>
        <div class="panel-body">
  <form class="form-horizontal" id="form2" >
          <div class="form-group">
          <label class="col-sm-2 control-label">path</label>
          <div class="col-sm-10">
            <input type="text" class="form-control" name="d" ng-model="d">
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            <button type="button" ng-click="download(d)" class="btn btn-info">download</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///"><span ng-bind-html="ptitle(C_sort)"></span>列表</a></li>
        <li><a href="#/app/psort_list/"><span ng-bind-html="ptitle(C_sort)"></span>分类</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" ng-click="showUpload('excel');">上传文件</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，<span ng-bind-html="ptitle(C_sort)"></span>图需提前上传到media文件夹内</p>
<p>2.“分类”一栏填写<span ng-bind-html="ptitle(C_sort)"></span>分类的数字ID，数字ID可以在<span ng-bind-html="ptitle(C_sort)"></span>分类页查看到;</p>
<p>3.“排序”一栏请填写整数，数字越小排序越靠前</p>
<p>4.“开启购买”一栏请填写0或1，0表示关闭，1表示开启</p>
<p>5.“属性”一栏格式比较复杂，请参考示例Excel，如果不熟悉可以导入excel后再到后台设置<span ng-bind-html="ptitle(C_sort)"></span>属性。</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">
        <div class="row">
    <div class="col-lg-6">
        <form class="form-horizontal" id="form" ng-submit="dataup()">
          <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" id="data">
              <span class="input-group-btn">
                <button class="btn btn-info" type="button" ng-click="showUpload('data');">上传文件</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>

          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            请上传之前备份的txt格式的备份文件
          </div>
          </div>
  </form>
  </div>
  <div class="col-lg-6">
  <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> 
            
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
            为保证网站安全，会在文件名前自动加20位随机字符串
          </div>
          </div>

  </form>
  </div>
  </div>
  </div>
  </div>
  <div class="panel panel-info ng-scope">
        <div class="panel-heading">
         数据库转换（当前数据库：{{C_db}}）
        </div>
        <div class="panel-body">
        <button class="btn btn-info" ng-click="toaccess()" ng-disabled="isSelected2(C_db,'access')">一键转access数据库</button>
        <button class="btn btn-info" ng-click="tosql()" ng-disabled="isSelected2(C_db,'mssql')">一键转MSSQL数据库</button><p style="padding-top:10px; ">说明：数据量小推荐ACCESS数据库 数据量大推荐MSSQL数据库<br>转换前请先备份conn文件夹内的conn.asp和conn2.asp，若转换失败可恢复</p>
  </div>
  </div>

  <div class="panel panel-info ng-scope">
        <div class="panel-heading">
         备份记录
        </div>
        <div class="panel-body">
        <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>
         <th>删除</th>
            </tr>
          </thead>
          <tbody>
      <tr ng-repeat="x in sql_list | orderBy: 'datetime'"" id="item_{{x.filename}}">
       <td>{{x.filename}}.txt</td>
       <td>{{x.datetime}}</td>
       <td>{{x.version}}</td>
        <td>{{x.size}} KB</td>
        <td><a href="javascript:;" ng-click="readsql(x.filename)" class="btn btn-info btn-xs"><i class="fa fa-send"></i> 查看</a></td>
        <td><a href="javascript:;" ng-click="download(x.filename)" class="btn btn-primary btn-xs"><i class="fa fa-download"></i> 下载</a></td>
        <td><a href="javascript:;" ng-click="refresh(x.filename)" class="btn btn-success btn-xs" ng-show="isSelected2(x.version,C_version)"><i class='fa fa-refresh'></i> 恢复</a></td>
        <td><a href="javascript:;" ng-click="del(x.filename)" class="btn btn-danger btn-xs"><i class='fa fa-times-circle'></i> 删除</a></td>
            </tr>
          </tbody>
        </table>

        </div>

  </div>

  </div>
*若当前程序版本（{{C_version}}）与备份时程序版本不一致，则不支持恢复
    </div>
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li ><a href="#/app/link_list/">友链列表</a></li>
        <li class="active"><a href="">友链分类</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="lsort_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>

            </tr>
          </thead>
          <tbody ng-repeat="x in lsort_lists | orderBy: 'S_order'">
      <tr id="item_{{x.S_id}}">
      <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><a href="#/app/lsort_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/lsort_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/link_list/">友链列表</a></li>
        <li class="active"><a href="" >友链分类</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="lsort_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" 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">
            <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///"><span ng-bind-html="ntitle(C_sort)"></span>列表</a></li>
        <li><a href="#/app/nsort_list/"><span ng-bind-html="ntitle(C_sort)"></span>分类</a></li>
        <li class="active" ng-show="isSelected2(C_sort,2)"><a href="#/app/tag/">标签管理</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="tag_Ctrl" >
  <div class="row">
    <div class="col-lg-12 col-md-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">
            <textarea spellcheck="false" class="form-control {{lcss}}" rows="10" name="C_tag" ng-model="C_tag" placeholder="使用半角逗号隔开" popover="词与词之间用半角逗号（,）隔开" popover-trigger="focus" style="margin-bottom:10px; "></textarea>
            <span>词与词之间用半角逗号（,）隔开</span>
          </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="comment_Ctrl" >
  <div class="row">
    <div class="col-lg-12 col-md-12">
    <div class="panel  panel-info ng-scope">
        <div class="panel-heading">
         评论管理
        </div>
        <div class="panel-body">
      <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 comment_list" id="item_{{x.C_id}}">
           <td><img src="{{x.C_head}}" style="height: 40px;width: 40px;border-radius:10px; "></td>
      <td><a href="#/app/member_add/{{x.L_mid}}">{{x.C_member}}</a></td>
        <td><textarea class="form-control" ng-model="x.C_content"></textarea></td>
        <td><input class="form-control" ng-model="x.C_pagetitle"/><a class="btn btn-xs btn-success" style="margin-top:5px; " href="{{x.C_pageurl}}">查看</a></td>
        <td>{{x.C_time}}</td>
        <td>
        <a class="btn btn-xs btn-success" ng-show="isSelected2(x.C_sh,1)">已通过</a>
        <a class="btn btn-xs btn-info" ng-show="isSelected2(x.C_sh,0)" ng-click="sh(x.C_id,'sh1')">通过</a>
        <a class="btn btn-xs btn-danger" ng-show="isSelected2(x.C_sh,0)" ng-click="sh(x.C_id,'sh2')">不通过</a>
        <a class="btn btn-xs btn-danger" ng-show="isSelected2(x.C_sh,2)">未通过</a>
        </td>
        <td><a class="del" ng-click="del(x.C_id)"><i class="fa fa-times-circle"></i> 删除</a></td>
            </tr>
          </tbody>
        </table>
  </div>
</div>
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li ><a href="#/app/form_list/">表单管理</a></li>
        <li class="active"><a href="#/app/query_list/">防伪码查询</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="query_list_Ctrl" >
  <div class="row">

  <div class="col-md-2">
      <div class="panel panel-info ng-scope" >
        <div class="panel-heading">
         防伪码分类 <a href="#/app/qsort_list/" class="btn btn-xs btn-info">编辑分类</a>
        </div>
<div class="table-responsive">
      <div class="list-group" >
        <a  class="list-group-item" ng-repeat="x in qsort_lists" href="#/app/query_list/{{x.S_id}}">
          <span class="badge bg-info">{{x.S_count}}</span>
          <i class="fa fa-link m-r-xs"></i> {{x.S_title}}
        </a>
      </div>

 </div>
 </div>
 <a href='#/app/query_add/' class='edit'><i class='fa fa-plus'></i> 新增防伪码</a>
 <a href='#/app/qsort_add/' class='edit'><i class='fa fa-plus'></i> 新增分类</a>
 <div style="height: 20px;"></div>
 </div>

    <div class="col-lg-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>
            </tr>
          </thead>
          <tbody>
           <tr ng-repeat="x in query_list" id="item_{{x.Q_id}}">
       <td>
              <label class="i-checks">
                <input type="checkbox" name="id" id="id" value="{{x.Q_id}}" ng-checked="all">
                <i></i>
              </label>
        </td>
       <td><input type='text' value='{{x.Q_code}}' name='code_{{x.Q_id}}' class="form-control {{lcss}}" ng-blur="save(lang)"></td>
        <td><input type='text' value='{{x.Q_content}}' name='content_{{x.Q_id}}' class="form-control" ng-blur="save(lang)"></td>
        <td>
        {{x.Q_times}}次
        </td>
        <td><span ng-bind-html="trust(x.Q_sort)"></span></td>
        <td><a href="#/app/query_add/{{x.Q_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="del(x.Q_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/query_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/form_list/">表单管理</a></li>
        <li class="active"><a href="#/app/query_list/">防伪码查询</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="query_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" ng-if="isSelected2(action,'新增')">
          <label class="col-sm-2 control-label">防伪码</label>
          <div class="col-sm-10">
          <textarea class="form-control" name="Q_code" rows="5">{{datax.Q_code}}</textarea>
          *您可以批量增加防伪码，每行一个
          </div>
          </div>

          <div class="form-group" ng-if="isSelected2(action,'编辑')">
          <label class="col-sm-2 control-label">防伪码</label>
          <div class="col-sm-10">
          <input class="form-control" name="Q_code" ng-model="datax.Q_code"/>
          </div>
          </div>

          
          <div class="form-group">
          <label class="col-sm-2 control-label">描述</label>
          <div class="col-sm-10">
            <textarea class="form-control" name="Q_content" rows="5">{{datax.Q_content}}</textarea>
          </div>
          </div>
          <div class="form-group">
          <label class="col-sm-2 control-label">分类</label>
          <div class="col-sm-10">
          <select name="Q_sort" class="form-control ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched">
          <option value="0">请选择分类</option>
          <option ng-repeat="x in qsort_list" value="{{x.S_id}}" ng-selected="isSelected2(datax.Q_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">
            <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/form_list/">表单管理</a></li>
        <li class="active"><a href="#/app/query_list/">防伪码查询</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="qsort_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>

            </tr>
          </thead>
          <tbody ng-repeat="x in qsort_lists">
      <tr id="item_{{x.S_id}}">
      <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_title}}' name='title_{{x.S_id}}' class="form-control" ng-blur="save(lang)"></td>
        <td><input type='text' value='{{x.S_content}}' name='content_{{x.S_id}}' class="form-control" ng-blur="save(lang)"></td>
        
        <td><a href="#/app/qsort_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/qsort_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/form_list/">表单管理</a></li>
        <li class="active"><a href="#/app/query_list/">防伪码查询</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="qsort_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" name="S_content" rows="5">{{data.S_content}}</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><a href=""><span ng-bind-html="ntitle(C_sort)"></span>列表</a></li>
        <li><a href="#/app/nsort_list/"><span ng-bind-html="ntitle(C_sort)"></span>分类</a></li>
        <li ng-show="isSelected2(C_sort,2)"><a href="#/app/tag/">标签管理</a></li>
        <li class="active"><a href="#/app/collection/">文章采集</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="collection_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 collection" id="item_{{x.C_id}}">
       <td>
              <label class="i-checks">
                <input type="checkbox" name="id" id="id" value="{{x.C_id}}" ng-checked="all">
                <i></i>
              </label>
        </td>
       <td>{{x.C_title}}</td>
        <td>{{x.C_url}} <a href="{{x.C_url}}" target="_blank" class="btn btn-xs btn-info">访问</a></td>
        <td>{{x.C_code}}</td>
        <td>{{x.C_pic}}</td>
        <td>{{x.S_title}}</td>
        
        <td><a href="javascript:;" ng-click="start(x.C_id)" class="add"><i class="fa fa-play"></i> 执行</a> <a href="javascript:;" ng-click="test(x.C_id)" class="del"><i class="fa fa-play"></i> 测试执行</a></td>
        <td><a href="#/app/collection_add/{{x.C_id}}" class="edit"><i class="fa fa-edit"></i> 编辑</a></td>
        <td><a href="javascript:;" ng-click="del(x.C_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">
<button type="button" ng-click="startall(lang)" class="add"><i class="fa fa-play"></i> 全部执行</button>
<a href='#/app/collection_add/' class='edit'><i class='fa fa-plus'></i> 新增采集任务</a><br><br>
<p>说明：“测试执行”仅获取第一篇文章并且不写入数据库，供测试数据是否正确。</p>
    </div>
        
  </div>
</div>
^
<div class="wrapper bg-light b-b">
      <ul class="nav nav-pills nav-sm">
        <li><a href=""><span ng-bind-html="ntitle(C_sort)"></span>列表</a></li>
        <li><a href="#/app/nsort_list/"><span ng-bind-html="ntitle(C_sort)"></span>分类</a></li>
        <li ng-show="isSelected2(C_sort,2)"><a href="#/app/tag/">标签管理</a></li>
        <li class="active"><a href="#/app/collection/">文章采集</a></li>
      </ul>
    </div>
<div class="wrapper-md" ng-controller="collection_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"  name="C_title" value="{{data.C_title}}" required>
          </div>
          </div>




          <div class="form-group">
          <label class="col-sm-2 control-label"><b>采集页面url</b><br>（即文章列表页）</label>
          <div class="col-sm-10">

           <div class="input-group">
              <input type="text" class="form-control" name="C_url" ng-model="data.C_url" required>
              <span class="input-group-btn">
                <button class="btn btn-info" type="button" ng-click="getcontent(data.C_url,'utf-8');">获取内容(utf-8)</button>
                <button class="btn btn-success" type="button" ng-click="getcontent(data.C_url,'gb2312');">获取内容(gb2312)</button>
              </span>
            </div>

          </div>
          </div>

        
         <div class="form-group">
          <label class="col-sm-2 control-label">文章分类</label>
          <div class="col-sm-10">
          <select name="C_nsort" class="form-control ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched">
          <optgroup ng-repeat="x in nsort_lists" label="{{x.S_title}}">
<option ng-repeat="y in x.nsort_list" value="{{y.S_id}}" ng-selected="isSelected2(data.C_nsort,y.S_id)">{{y.S_title}}</option>
</optgroup>

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

<hr>
<div class="hr-more">列表页设置</div>
          <div class="form-group">
          <label class="col-sm-2 control-label"><b>文章列表页</b><br>采集区域开始标记</label>
          <div class="col-sm-4">
            <textarea spellcheck="false" class="form-control" rows="3" name="C_start" ng-model="data.C_start"></textarea>
          </div>

          <label class="col-sm-2 control-label"><b>文章列表页</b><br>采集区域结束标记</label>
          <div class="col-sm-4">
            <textarea spellcheck="false" class="form-control" rows="3" name="C_end" ng-model="data.C_end"></textarea>
          </div>
          </div>
<hr>
<div class="hr-more">内容页设置</div>
<div class="form-group">
          <label class="col-sm-2 control-label">内容页编码</label>
          <div class="col-sm-10">
          <label class="i-checks" style="width: 80px;">
                <input type="radio" name="C_code" value="utf-8" ng-checked="isSelected2(data.C_code,'utf-8')">
                <i></i>
                utf-8
              </label>

              <label class="i-checks" style="width: 80px;">
                <input type="radio" name="C_code" value="gb2312" ng-checked="isSelected2(data.C_code,'gb2312')">
                <i></i>
                gb2312
              </label>

          </div>
          </div>


          <div class="form-group">
          <label class="col-sm-2 control-label"><b>文章内容页</b><br>标题开始标记</label>
          <div class="col-sm-4">
            <textarea spellcheck="false" class="form-control" rows="3" name="C_titlestart" ng-model="data.C_titlestart"></textarea>
          </div>

          <label class="col-sm-2 control-label"><b>文章内容页</b><br>标题结束标记</label>
          <div class="col-sm-4">
            <textarea spellcheck="false" class="form-control" rows="3" name="C_titleend" ng-model="data.C_titleend"></textarea>
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label"><b>文章内容页</b><br>内容开始标记</label>
          <div class="col-sm-4">
            <textarea spellcheck="false" class="form-control" rows="3" name="C_contentstart" ng-model="data.C_contentstart"></textarea>
          </div>

          <label class="col-sm-2 control-label"><b>文章内容页</b><br>内容结束标记</label>
          <div class="col-sm-4">
            <textarea spellcheck="false" class="form-control" rows="3" name="C_contentend" ng-model="data.C_contentend"></textarea>
          </div>
          </div>


          <div class="form-group">
          <label class="col-sm-2 control-label">保存远程图片到本地</label>
          <div class="col-sm-10">
          <label class="i-checks" style="width: 60px;">
                <input type="radio" name="C_pic" value="1" ng-model="data.C_pic" ng-checked="isSelected2(data.C_pic,1)">
                <i></i>
                开启
              </label>

              <label class="i-checks" style="width: 60px;">
                <input type="radio" name="C_pic" value="0" ng-model="data.C_pic" ng-checked="isSelected2(data.C_pic,0)">
                <i></i>
                关闭
              </label>
              （图片存放在media文件夹内）
          </div>
          </div>

          <div class="form-group">
          <label class="col-sm-2 control-label"></label>
          <div class="col-sm-10">
          说明：（1）新闻作者为当前管理员（2）新闻发表时间为当前时间（3）新闻配图为文章内第一张图（4）新闻阅读次数默认为100（5）当出现相同文章标题时则不采集<br>
          建议：（1）尽量采集与本站相关内容以免网站降权（2）采集前请了解文章是否允许转载，以免引起法律纠纷
          </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="help.asp?page=3.2.1" target="_blank" class="btn btn-xs btn-default">帮助？</a>
          </div>
          </div>

  </form>
   </div>
    </div>
  </div>
</div>
^
<div class="wrapper-md" ng-controller="log_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>IP</th>
        <th>位置</th>
        <th>时间</th>
        <th>删除</th>
            </tr>
          </thead>
          <tbody>
        <tr ng-repeat="x in log_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>{{x.L_user}}</td>
       <td>{{x.L_action}}</td>
       <td>{{x.L_ip}}</td>
       <td>{{x.L_location}}</td>
       <td>{{x.L_time}}</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>
      </div>
    </div>

          <div class="row">
        <div class="col-sm-6 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-6 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 class="col-sm-12">
        <label class="i-checks">
                <input type="checkbox" ng-model="all">
                <i></i>
                全选
              </label>
<input type="button" value="删除所选" ng-click="delall()" class="del">

      </div>
  </div>

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