<html lang="zh">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>会员中心 - zdmsl<{$dada.sitename}></title>
  <meta content="always" name="referrer">
  <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0">
  <link rel="stylesheet" href="zdmsl<{$dada.siteurl}>zdmsl_templets/member/css/amazeui.min.css"/>
  <link rel="stylesheet" href="zdmsl<{$dada.siteurl}>zdmsl_templets/member/css/admin.css">
  <link rel="stylesheet" href="zdmsl<{$dada.siteurl}>zdmsl_templets/member/css/app.css">
  <script src="zdmsl<{$dada.siteurl}>zdmsl_templets/member/js/echarts.min.js"></script>
</head>
<body data-type="index">
<header class="am-topbar am-topbar-inverse">
  <div class="am-topbar-brand">
    <a href="../" class="tpl-logo" target="_blank" style="margin-top: 10px;">
      <img src="zdmsl<{$dada.siteurl}>zdmsl_include/images/logo.png" alt="logo">
    </a>
  </div>
  <div class="am-icon-list tpl-header-nav-hover-ico am-fl am-margin-right" style="margin-top: 29px;">
  </div>
  <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" data-am-collapse="{target: '#topbar-collapse'}"><span class="am-sr-only">导航切换</span>
    <span class="am-icon-bars"></span></button>
  <div class="am-collapse am-topbar-collapse" id="topbar-collapse">
    <ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list tpl-header-list">
      <li class="am-dropdown" data-am-dropdown="" data-am-dropdown-toggle="">
        <a class="am-dropdown-toggle tpl-header-list-link" href="#">
          <span class="tpl-header-list-user-ico"> <img src="/favicon.ico" alt="logo"></span> <span class="tpl-header-list-user-nick">zdmsl<{$dada.zdmsl_username}></span>
        </a>
        <ul class="am-dropdown-content">
          <li><a href="#" onclick="exit_get();"><span class="am-icon-power-off"></span> 退出</a></li>
        </ul>
      </li>
      <li onclick="if(confirm('确定退出吗?')) return exit_get();"><a href="#" class="tpl-header-list-link">退出
          <span class="am-icon-sign-out tpl-header-list-ico-out-size" style="margin-top: 30px;"></span></a>
      </li>
    </ul>
  </div>
</header>
<div class="tpl-page-container">
  <div class="tpl-left-nav tpl-left-nav-hover">
    <div class="tpl-left-nav-list">
      <ul class="tpl-left-nav-menu">
        <li class="tpl-left-nav-item">
          <a href="./" class="nav-linkzdmsl<{if !$member.model }> activezdmsl<{/if}>">
            <i class="am-icon-home"></i>
            <span>会员中心</span>
          </a>
        </li>
        <li class="tpl-left-nav-item">
          <a href="?model=addwz" class="nav-link tpl-left-nav-link-listzdmsl<{if $member.model=='addwz' }> activezdmsl<{/if}>">
            <i class="am-icon-file-text-o"></i>
            <span>发布文章</span>
            <i class="tpl-left-nav-content tpl-badge-danger">+</i>
          </a>
        </li>
        <li class="tpl-left-nav-item">
          <a href="?model=adddh" class="nav-link tpl-left-nav-link-listzdmsl<{if $member.model=='adddh' }> activezdmsl<{/if}>">
            <i class="am-icon-internet-explorer"></i>
            <span>网址提交</span>
            <i class="tpl-left-nav-content tpl-badge-danger">+</i>
          </a>
        </li>
        <li class="tpl-left-nav-item">
          <a href="javascript:;" class="nav-link tpl-left-nav-link-list">
            <i class="am-icon-list-alt"></i>
            <span>内容列表</span>
            <i class="am-icon-angle-right tpl-left-nav-more-ico am-fr am-margin-right tpl-left-nav-more-ico-rotate"></i>
          </a>
          <ul class="tpl-left-nav-sub-menu" style="display: block;">
            <li>
              zdmsl<{if $member.model=='wzlist' }>
              <a href="?model=wzlist" class="active" title="您已成功发布的文章列表">
                zdmsl<{else}>
                <a href="?model=wzlist" title="您已成功发布的文章列表">
                  zdmsl<{/if}>
                  <i class="am-icon-angle-right"></i>
                  <span>文章列表</span>
                </a>
                zdmsl<{if $member.model=='dhlist' }>
                <a href="?model=dhlist" class="active" title="您已成功提交的网址列表">
                  zdmsl<{else}>
                  <a href="?model=dhlist" title="您已成功提交的网址列表">
                    zdmsl<{/if}>
                    <i class="am-icon-angle-right"></i>
                    <span>网址列表</span>
                  </a>
                  zdmsl<{if $member.model=='yglist' }>
                  <a href="?model=yglist" class="active" title="您已成功购买的资源内容">
                    zdmsl<{else}>
                    <a href="?model=yglist" title="您已成功购买的资源内容">
                      zdmsl<{/if}>
                      <i class="am-icon-angle-right"></i>
                      <span>已购资源</span>
                      <i class="am-icon-star tpl-left-nav-content-ico am-fr am-margin-right"></i>
                    </a>
            </li>
          </ul>
        </li>
      </ul>
    </div>
    <hr>
    <div class="tpl-left-nav-list">
      <ul class="tpl-left-nav-menu">
        <li class="tpl-left-nav-item">
          <a class="nav-link">
            <span class="am-icon-comment-o"></span>
            <b>客服中心</b>
          </a>
        </li>
        <li class="tpl-left-nav-item">
          <a href="tencent://AddContact/?fromId=45&fromSubId=1&subcmd=all&uin=zdmsl<{$dada.qq}>" target="_blank" class="nav-link">
            <img src="zdmsl<{$dada.siteurl}>zdmsl_templets/member/images/qq.gif" alt="QQ客服">
            <span>zdmsl<{$dada.qq}></span>
          </a>
        </li>
        <li class="tpl-left-nav-item">
          <a class="nav-link">
            <img src="zdmsl<{$dada.siteurl}>zdmsl_include/images/weixin.png" alt="微信客服" style="width: 100%">
          </a>
        </li>
      </ul>
    </div>
  </div>
  <div class="tpl-content-wrapper">
    zdmsl<{if !$member.model }>
    <div class="row">
      <div class="am-u-lg-3 am-u-md-6 am-u-sm-12">
        <div class="dashboard-stat blue">
          <div class="visual">
            <i class="am-icon-file-text-o"></i>
          </div>
          <div class="details">
            <div class="number">zdmsl<{$member.wz_num}> 篇文章</div>
            <div class="desc">您已发布</div>
          </div>
          <a class="more" href="./?model=addwz">发布文章</a>
        </div>
      </div>
      <div class="am-u-lg-3 am-u-md-6 am-u-sm-12">
        <div class="dashboard-stat green">
          <div class="visual">
            <i class="am-icon-link"></i>
          </div>
          <div class="details">
            <div class="number">zdmsl<{$member.wz_num}> 条网址</div>
            <div class="desc">您已提交</div>
          </div>
          <a class="more" href="./?model=adddh">网址提交</a>
        </div>
      </div>
      <div class="am-u-lg-3 am-u-md-6 am-u-sm-12">
        <div class="dashboard-stat red">
          <div class="visual">
            <i class="am-icon-jpy"></i>
          </div>
          <div class="details">
            <div class="number">zdmsl<{$member.money}> 元</div>
            <div class="desc">余额</div>
          </div>
          <b class="more">下方可充值</b>
        </div>
      </div>
      <div class="am-u-lg-3 am-u-md-6 am-u-sm-12">
        <div class="dashboard-stat purple">
          <div class="visual">
            <i class="am-icon-user"></i>
          </div>
          <div class="details">
            <div class="number">zdmsl<{$member.login_ip}></div>
            <div class="desc">本次登录IP</div>
          </div>
          <a class="more" href="#">本次登录：zdmsl<{$member.login_date}> 注册时间：zdmsl<{$member.register_date}></a>
        </div>
      </div>
    </div>
    <div class="row">
      <div class="am-u-md-6 am-u-sm-12 row-mb">
        <div class="tpl-portlet">
          <div class="tpl-portlet-title">
            <div class="tpl-caption font-green ">
              <i class="am-icon-cloud-download"></i>
              <span>会员资料</span>
            </div>
          </div>
          <div class="tpl-block">
            <div class="am-g tpl-amazeui-form">
              <div class="am-u-sm-12">
                <form class="am-form am-form-horizontal">
                  <div class="am-form-group">
                    <label for="user-name" class="am-u-sm-3 am-form-label">登录账号</label>
                    <div class="am-u-sm-9">
                      <input type="text" id="user-name" placeholder="登录账号" disabled value="zdmsl<{$dada.zdmsl_username}>">
                    </div>
                  </div>
                  <div class="am-form-group">
                    <label for="user-email" class="am-u-sm-3 am-form-label">电子邮箱</label>
                    <div class="am-u-sm-9">
                      <input type="email" id="user-email" name="email" placeholder="输入您的电子邮箱" value="zdmsl<{$member.mail}>">
                    </div>
                  </div>
                  <div class="am-form-group">
                    <label for="user-phone" class="am-u-sm-3 am-form-label">手机号码</label>
                    <div class="am-u-sm-9">
                      <input type="number" pattern="[0-9]*" id="user-phone" name="phone" placeholder="输入您的手机号码" value="zdmsl<{$member.phone}>">
                    </div>
                  </div>
                  <div class="am-form-group">
                    <label for="user-qq" class="am-u-sm-3 am-form-label">QQ号码</label>
                    <div class="am-u-sm-9">
                      <input type="number" pattern="[0-9]*" id="user-qq" name="qq" placeholder="输入您的QQ号码" value="zdmsl<{$member.qq}>">
                    </div>
                  </div>
                  <div class="am-form-group">
                    <label for="user-emaila" class="am-u-sm-3 am-form-label">邮箱验证码</label>
                    <div class="am-u-sm-9">
                      <input type="number" id="user-emaila" name="emaila" style="width: 46%;display: unset;">
                      <button type="button" class="am-btn am-btn-success" style="width: 50%;display: unset;" name="mail_submit" onclick="mail_get('login.html')">获取验证码</button>
                    </div>
                  </div>
                  <div class="am-form-group">
                    <div class="am-u-sm-9 am-u-sm-push-3">
                      <button type="button" class="am-btn am-btn-primary" name="submit" onclick="data_get('')">保存修改</button>
                    </div>
                  </div>
                </form>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="am-u-md-6 am-u-sm-12 row-mb">
        <div class="tpl-portlet">
          <div class="tpl-portlet-title">
            <div class="tpl-caption font-red ">
              <i class="am-icon-bar-chart"></i>
              <span>充值中心</span>
            </div>
          </div>
          <div class="tpl-scrollable">
            <div class="number-stats">
              <div class="stat-number">
                <div class="number am-text-success am-form" style="display: inline-flex;">
                  <div class="title">充值：</div>
                  <form method="post" enctype="multipart/form-data" target="_blank" action="zdmsl<{$dada.siteurl}>adfabu.html" style="margin: 0;">
                    <input type="hidden" name="zid" value="14" style="display: none;">
                    <input type="hidden" name="url" value="zdmsl<{$member.id}>" style="display: none;">
                    <input type="hidden" name="title" value="zdmsl<{$dada.zdmsl_username}> 会员充值" style="display: none;">
                    <input type="number" name="feiyong" step="0.1" min="zdmsl<{$dada.qc_money}>" required style="width: 200px;height: 30px;display: unset;">
                    <button type="submit" class="am-btn am-btn-warning" id="myInput" style="padding: 0 10px;height: 30px;">发起支付 (最低zdmsl<{$dada.qc_money}>元起充)</button>
                  </form>
                </div>
              </div>
            </div>
            <table class="am-table tpl-table">
              <thead>
              <tr class="tpl-table-uppercase">
                <th>类型</th>
                <th>金额</th>
                <th>余额变化</th>
                <th>时间</th>
                <th>关联内容</th>
              </tr>
              </thead>
              <tbody>
              zdmsl<{foreach from=$member_money key=myId item=member_moneya}>
              <tr>
                <td>
                  zdmsl<{ if $member_moneya.type == "0"}>
                  在线充值
                  zdmsl<{/if}>
                  zdmsl<{ if $member_moneya.type == "1"}>
                  文章发布
                  zdmsl<{/if}>
                  zdmsl<{ if $member_moneya.type == "2"}>
                  网址提交
                  zdmsl<{/if}>
                  zdmsl<{ if $member_moneya.type == "3"}>
                  已购资源
                  zdmsl<{/if}>
                  zdmsl<{ if $member_moneya.type == "4"}>
                  系统调整
                  zdmsl<{/if}>
                </td>
                <td>
                  zdmsl<{ if $member_moneya.type == "0"}>
                  <b style="color: #5eb95e">+zdmsl<{$member_moneya.money}></b>
                  zdmsl<{/if}>
                  zdmsl<{ if $member_moneya.type == "1" || $member_moneya.type == "2" || $member_moneya.type == "3"}>
                  <b style="color: #e7505a">-zdmsl<{$member_moneya.money}></b>
                  zdmsl<{/if}>
                  zdmsl<{ if $member_moneya.type == "4"}>
                  zdmsl<{$member_moneya.money}>
                  zdmsl<{/if}>
                </td>
                <td>zdmsl<{$member_moneya.balance}></td>
                <td>zdmsl<{$member_moneya.date}></td>
                <td>
                  zdmsl<{$member_moneya.data}>
                </td>
              </tr>
              zdmsl<{/foreach}>
              zdmsl<{if !$member_money}>
              <tr>
                <td></td>
                <td></td>
                zdmsl<{ if $member_page.next > 2}>
                <td>没有记录了...</td>
                zdmsl<{else}>
                <td>暂无记录...</td>
                zdmsl<{/if}>
                <td></td>
                <td></td>
              </tr>
              zdmsl<{/if}>
              zdmsl<{ if $member_money || $member_page.next > 2 }>
              <tr>
                <td></td>
                <td>
                  zdmsl<{ if $member_page.last < 2}>
                  <a href="./" class="am-btn am-btn-success">上一页</a>
                  zdmsl<{else}>
                  <a href="./?money_page=zdmsl<{$member_page.last}>" class="am-btn am-btn-success">上一页</a>
                  zdmsl<{/if}>
                </td>
                <td></td>
                <td>
                  zdmsl<{if $member_money }>
                  <a href="./?money_page=zdmsl<{$member_page.next}>" class="am-btn am-btn-success">下一页</a>
                  zdmsl<{else}>
                  <a href="./?money_page=zdmsl<{$member_page.next-1}>" class="am-btn am-btn-success">下一页</a>
                  zdmsl<{/if}>
                </td>
                <td></td>
              </tr>
              zdmsl<{/if}>
              </tbody>
            </table>
          </div>
        </div>
      </div>
    </div>
    <script>
      var message_configs = {html: true};
      function mail_get(url){
        var a1 = document.getElementsByName("email")[0].value.trim();
        var $change_button = $('button[name="mail_submit"]');
        $change_button.prop('disabled', true);
        $.ajax({
          type: "POST", url: url, data: {
            mail: a1, submit: "修改"
          }, dataType: "json", success: function (result){
            if (result.message.type === "success") {
              Qmsg.success(result.message.data, message_configs);
            } else
              if (result.message.type === "warning") {
                Qmsg.warning(result.message.data, message_configs);
              } else
                if (result.message.type === "info") {
                  Qmsg.info(result.message.data, message_configs);
                } else
                  if (result.message.type === "loading") {
                    Qmsg.loading(result.message.data, message_configs);
                  } else
                    if (result.message.type === "error") {
                      Qmsg.error(result.message.data, message_configs);
                    }
            if (result.message.go_url.trim()) {
              setTimeout(function (){
                location.href = result.message.go_url.trim();
              }, 2000);
            }
          }, error: function (){
            Qmsg.error("网络服务异常，请稍后重试...", message_configs);
          }
        });
        setTimeout(function (){
          $change_button.prop('disabled', false);
        }, 3500);
      }
      function data_get(url){
        var a1 = document.getElementsByName("email")[0].value.trim();
        var b2 = document.getElementsByName("phone")[0].value.trim();
        var c3 = document.getElementsByName("qq")[0].value.trim();
        var d4 = document.getElementsByName("emaila")[0].value.trim();
        if (!a1) {
          Qmsg.info("请输入邮箱...", message_configs);
          return;
        } else
          if (!b2) {
            Qmsg.info("请输入手机号...", message_configs);
            return;
          } else
            if (!c3) {
              Qmsg.info("请输入qq号...", message_configs);
              return;
            } else
              if (!d4) {
                Qmsg.info("请输入邮箱验证码...", message_configs);
                return;
              }
        var $change_button = $('button[name="submit"]');
        $change_button.prop('disabled', true);
        $.ajax({
          type: "POST", url: url, data: {
            mail: a1, phone: b2, qq: c3, yanzheng: d4, submit: "修改"
          }, dataType: "json", success: function (result){
            if (result.message.type === "success") {
              Qmsg.success(result.message.data, message_configs);
            } else
              if (result.message.type === "warning") {
                Qmsg.warning(result.message.data, message_configs);
              } else
                if (result.message.type === "info") {
                  Qmsg.info(result.message.data, message_configs);
                } else
                  if (result.message.type === "loading") {
                    Qmsg.loading(result.message.data, message_configs);
                  } else
                    if (result.message.type === "error") {
                      Qmsg.error(result.message.data, message_configs);
                    }
            if (result.message.go_url.trim()) {
              setTimeout(function (){
                location.href = result.message.go_url.trim();
              }, 2000);
            }
          }, error: function (){
            Qmsg.error("网络服务异常，请稍后重试...", message_configs);
          }
        });
        setTimeout(function (){
          $change_button.prop('disabled', false);
        }, 3500);
      }
    </script>
    zdmsl<{/if}>
    zdmsl<{if $member.model == "addwz" }>
    <div class="tpl-portlet-components">
      <div class="portlet-title">
        <div class="caption font-green bold">
          <i class="am-icon-file-text-o"></i>
          发布文章
        </div>
      </div>
      <div class="tpl-block">
        <div class="am-g">
          <div class="tpl-form-body tpl-form-line">
            <form class="am-form tpl-form-line-form" name="form" onsubmit="return submitOnce(this)">
              <div class="am-form-group">
                <label for="user-name" class="am-u-sm-3 am-form-label">标题 <span class="tpl-form-line-small-title">Title</span></label>
                <div class="am-u-sm-9">
                  <input type="text" class="tpl-form-input" id="title" placeholder="请输入标题">
                </div>
              </div>
              <div class="am-form-group">
                <label class="am-u-sm-3 am-form-label">关键字 <span class="tpl-form-line-small-title">keywords</span></label>
                <div class="am-u-sm-9">
                  <input type="text" id="keywords" placeholder="输入关键词英文逗号,分割">
                </div>
              </div>
              <div class="am-form-group">
                <label class="am-u-sm-3 am-form-label">简介描述 <span class="tpl-form-line-small-title">description</span></label>
                <div class="am-u-sm-9">
                  <input type="text" id="description" placeholder="输入简短内容描述">
                </div>
              </div>
              <div class="am-form-group">
                <label for="user-phone" class="am-u-sm-3 am-form-label">选择分类 <span class="tpl-form-line-small-title">dir</span></label>
                <div class="am-u-sm-9">
                  <label>
                    <select data-am-selected="" id="bigname" onchange="change2(document.form.bigname.options[document.form.bigname.selectedIndex].value);">
                      <option value=""></option>
                      zdmsl<{foreach from = $option key = myId item = optiona}>
                      zdmsl<{$optiona}>
                      zdmsl<{/foreach}>
                    </select>
                    <select data-am-selected="" id="dir">
                    </select>
                  </label>
                </div>
              </div>
              <div class="am-form-group">
                <label for="user-intro" class="am-u-sm-3 am-form-label">内容 <span class="tpl-form-line-small-title">body</span></label>
                <div class="am-u-sm-9">
                  <textarea id="article" placeholder="请输入文章内容" style="width: 100%;height: 268px;"></textarea>
                </div>
              </div>
              <div class="am-form-group">
                <div class="am-u-sm-9 am-u-sm-push-3" style="text-align: center;">
                  <button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success" name="submit" onclick="addwz_get()" style="width: 120px;">
                    zdmsl<{if $dada.wz_money=="0"}>免费zdmsl<{else}>zdmsl<{$dada.wz_money}>元zdmsl<{/if}>发布
                  </button>
                </div>
              </div>
            </form>
            <script type="text/javascript" src="../zdmsl_include/ueditor/ueditor.config.js"></script>
            <script type="text/javascript" src="../zdmsl_include/ueditor/ueditor.all.js"></script>
            <script>
              var parts = window.location.href.split('/');
              if (parts.length>4) {
                parts.splice(parts.length - 2);
              } else {
                parts.splice(parts.length - 1);
              }
              var get_url = parts.join('/') + "/zdmsl_include/ueditor/handle.php";
              var ue = UE.getEditor('article', {
                //toolbars: [['fullscreen', 'source', 'undo', 'redo', 'underline', 'bold', 'forecolor', 'emotion', 'autotypeset', 'simpleupload', 'insertimage', 'insertvideo', 'attachment', 'unlink']],
                toolbars: [['fullscreen', 'source', 'undo', 'redo', 'underline', 'bold', 'forecolor', 'emotion', 'autotypeset', 'simpleupload', 'unlink']],
                autoClearinitialContent: true,
                wordCount: false,
                elementPathEnabled: false,
                serverUrl: get_url
              });
            </script>
            <script>
              var message_configs = {html: true};
              function addwz_get(url){
                var title = document.getElementById("title").value.trim();
                var keywords = document.getElementById("keywords").value.trim();
                var description = document.getElementById("description").value.trim();
                var article = UE.getEditor('article').getContent();
                var dir = document.getElementById("dir").value.trim();
                var $change_button = $('button[name="submit"]');
                $change_button.prop('disabled', true);
                $.ajax({
                  type: "POST", url: url, data: {
                    title: title, keywords: keywords, description: description, article: article, dir: dir, submit: "addwz"
                  }, dataType: "json", success: function (result){
                    if (result.message.type === "success") {
                      Qmsg.success(result.message.data, message_configs);
                    } else
                      if (result.message.type === "warning") {
                        Qmsg.warning(result.message.data, message_configs);
                      } else
                        if (result.message.type === "info") {
                          Qmsg.info(result.message.data, message_configs);
                        } else
                          if (result.message.type === "loading") {
                            Qmsg.loading(result.message.data, message_configs);
                          } else
                            if (result.message.type === "error") {
                              Qmsg.error(result.message.data, message_configs);
                            }
                    if (result.message.go_url.trim()) {
                      setTimeout(function (){
                        location.href = result.message.go_url.trim();
                      }, 2000);
                    }
                  }, error: function (){
                    Qmsg.error("网络服务异常，请稍后重试...", message_configs);
                  }
                });
                setTimeout(function (){
                  $change_button.prop('disabled', false);
                }, 3500);
              }
            </script>
            <script>
              window.addEventListener('load', (event) => {
                $(document).keydown(function (event){
                  if (event.keyCode === 13) {
                    $('input[name="submit"]').triggerHandler('click');
                  }
                });
              });
            </script>
          </div>
        </div>
      </div>
    </div>
    zdmsl<{/if}>
    zdmsl<{if $member.model == "adddh" }>
    <div class="tpl-portlet-components" style="min-height: 700px;">
      <div class="portlet-title">
        <div class="caption font-green bold">
          <i class="am-icon-internet-explorer"></i>
          网址提交
        </div>
      </div>
      <div class="tpl-block">
        <div class="am-g">
          <div class="tpl-form-body tpl-form-line">
            <form class="am-form tpl-form-line-form" name="form" onsubmit="return submitOnce(this)">
              <div class="am-form-group">
                <label for="user-name" class="am-u-sm-3 am-form-label">网址 <span class="tpl-form-line-small-title">url</span></label>
                <div class="am-u-sm-5">
                  <input type="text" class="tpl-form-input" id="add_url" placeholder="请输入站点网址支持首页+内页自动获取TDK...">
                </div>
                <div class="am-u-sm-4">
                  <button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-primary" onclick="tdk_get()">提取TDK</button>
                </div>
              </div>
              <div class="am-form-group">
                <label for="user-name" class="am-u-sm-3 am-form-label">标题 <span class="tpl-form-line-small-title">Title</span></label>
                <div class="am-u-sm-9">
                  <input type="text" class="tpl-form-input" id="title" placeholder="请输入标题">
                </div>
              </div>
              <div class="am-form-group">
                <label class="am-u-sm-3 am-form-label">关键字 <span class="tpl-form-line-small-title">keywords</span></label>
                <div class="am-u-sm-9">
                  <input type="text" id="keywords" placeholder="输入关键词英文逗号,分割">
                </div>
              </div>
              <div class="am-form-group">
                <label class="am-u-sm-3 am-form-label">简介描述 <span class="tpl-form-line-small-title">description</span></label>
                <div class="am-u-sm-9">
                  <input type="text" id="description" placeholder="输入简短内容描述">
                </div>
              </div>
              <div class="am-form-group" style="display: none;">
                <div class="am-u-sm-9">
                  <input type="text" id="body" placeholder="输入简短内容描述">
                </div>
              </div>
              <div class="am-form-group">
                <label for="user-phone" class="am-u-sm-3 am-form-label">选择分类 <span class="tpl-form-line-small-title">dir</span></label>
                <div class="am-u-sm-9">
                  <label>
                    <select data-am-selected="" id="bigname" onchange="change2(document.form.bigname.options[document.form.bigname.selectedIndex].value);">
                      <option value=""></option>
                      zdmsl<{foreach from = $option key = myId item = optiona}>
                      zdmsl<{$optiona}>
                      zdmsl<{/foreach}>
                    </select>
                    <select data-am-selected="" id="dir"></select>
                  </label>
                </div>
              </div>
              <div class="am-form-group">
                <div class="am-u-sm-9 am-u-sm-push-3">
                  <button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success" name="submit" onclick="adddh_get()" style="width: 120px;">
                    zdmsl<{if $dada.wz_money=="0"}>免费zdmsl<{else}>zdmsl<{$dada.dh_money}>元zdmsl<{/if}>提交
                  </button>
                </div>
              </div>
            </form>
            <script>
              var message_configs = {html: true};
              function adddh_get(url){
                var add_url = document.getElementById("add_url").value.trim();
                var title = document.getElementById("title").value.trim();
                var keywords = document.getElementById("keywords").value.trim();
                var description = document.getElementById("description").value.trim();
                var body = document.getElementById("body").value.trim();
                var dir = document.getElementById("dir").value.trim();
                var $change_button = $('button[name="submit"]');
                $change_button.prop('disabled', true);
                $.ajax({
                  type: "POST", url: url, data: {
                    add_url: add_url, title: title, keywords: keywords, description: description, body: body, dir: dir, submit: "adddh"
                  }, dataType: "json", success: function (result){
                    if (result.message.type === "success") {
                      Qmsg.success(result.message.data, message_configs);
                    } else
                      if (result.message.type === "warning") {
                        Qmsg.warning(result.message.data, message_configs);
                      } else
                        if (result.message.type === "info") {
                          Qmsg.info(result.message.data, message_configs);
                        } else
                          if (result.message.type === "loading") {
                            Qmsg.loading(result.message.data, message_configs);
                          } else
                            if (result.message.type === "error") {
                              Qmsg.error(result.message.data, message_configs);
                            }
                    if (result.message.go_url.trim()) {
                      setTimeout(function (){
                        location.href = result.message.go_url.trim();
                      }, 2000);
                    }
                  }, error: function (){
                    Qmsg.error("网络服务异常，请稍后重试...", message_configs);
                  }
                });
                setTimeout(function (){
                  $change_button.prop('disabled', false);
                }, 3500);
              }
              function tdk_get(url){
                var add_url = document.getElementById("add_url").value.trim();
                if (!add_url || !add_url.toLowerCase().includes("http")) {
                  Qmsg.info("请输入正确的网址...", message_configs);
                  return
                }
                $.ajax({
                  type: "POST", url: url, data: {
                    add_url: add_url, submit: "tdk"
                  }, dataType: "json", success: function (result){
                    document.getElementById("title").value = result.message.title;
                    document.getElementById("keywords").value = result.message.keywords;
                    document.getElementById("description").value = result.message.description;
                    document.getElementById("body").value = result.message.body;
                    Qmsg.success("完成提取", message_configs);
                  }, error: function (){
                    Qmsg.error("网络服务异常，请稍后重试...", message_configs);
                  }
                });
              }
            </script>
            <script>
              window.addEventListener('load', (event) => {
                $(document).keydown(function (event){
                  if (event.keyCode === 13) {
                    $('input[name="submit"]').triggerHandler('click');
                  }
                });
              });
            </script>
          </div>
        </div>
      </div>
    </div>
    zdmsl<{/if}>
    zdmsl<{if $member.model == "addwz" || $member.model == "adddh" }>
    <script>
      var onecount;
      onecount = 0;
      subcat = new Array();
      zdmsl<{foreach from = $subcat key = myId item = subcata}>zdmsl<{$subcata}>zdmsl<{
      /foreach}>
      onecount = zdmsl<{$subcati}>;
      function change2(locationid2){
        document.form.dir.length = 0;
        var locationid2 = locationid2;
        var i;
        for (i = 0; i<onecount; i++) {
          if (subcat[i][1] == locationid2) {
            document.form.dir.options[document.form.dir.length] = new Option(subcat[i][0], subcat[i][2]);
          }
        }
      }
    </script>
    zdmsl<{/if}>
    zdmsl<{if $member.model == "wzlist" }>
    <div class="tpl-portlet-components">
      <div class="portlet-title">
        <div class="caption font-green bold">
          <i class="am-icon-file-text-o"></i>
          文章列表
        </div>
      </div>
      <div class="tpl-block">
        <div class="am-g">
        </div>
        <div class="am-g">
          <div class="am-u-sm-12">
            <form class="am-form">
              <table class="am-table am-table-striped am-table-hover table-main">
                <thead>
                <tr>
                  <th class="table-id">编号</th>
                  <th class="table-title">文章标题</th>
                  <th class="table-type">分类</th>
                  <th class="table-author am-hide-sm-only">作者</th>
                  <th class="table-date am-hide-sm-only">发布时间</th>
                  <th class="table-set">操作</th>
                </tr>
                </thead>
                <tbody>
                zdmsl<{foreach from=$wz_list key=myId item=wz_lista}>
                <tr>
                  <td>zdmsl<{$wz_lista.id}></td>
                  <td><a href="zdmsl<{$wz_lista.url}>" target="_blank">zdmsl<{$wz_lista.bt}></a></td>
                  <td>zdmsl<{$wz_lista.wzfenlei}></td>
                  <td class="am-hide-sm-only">zdmsl<{$dada.zdmsl_username}></td>
                  <td class="am-hide-sm-only">zdmsl<{$wz_lista.sj}></td>
                  <td>
                    <div class="am-btn-toolbar">
                      <div class="am-btn-group am-btn-group-xs">
                        <button class="am-btn am-btn-default am-btn-xs am-text-secondary" disabled><span class="am-icon-pencil-square-o"></span> 编辑</button>
                        <button class="am-btn am-btn-default am-btn-xs am-text-danger am-hide-sm-only" disabled><span class="am-icon-trash-o"></span> 删除</button>
                      </div>
                    </div>
                  </td>
                </tr>
                zdmsl<{/foreach}>
                zdmsl<{if !$wz_list }>
                <tr>
                  <td></td>
                  zdmsl<{ if $wz_page.next > 2}>
                  <td>没有记录了...</td>
                  zdmsl<{else}>
                  <td>暂无记录...</td>
                  zdmsl<{/if}>
                  <td></td>
                  <td></td>
                  <td></td>
                  <td></td>
                </tr>
                zdmsl<{/if}>
                </tbody>
              </table>
              <div class="am-cf">
                <div class="am-fl">
                  <ul class="am-pagination tpl-pagination">
                    <li>
                      zdmsl<{ if $wz_page.last < 2}>
                      <a href="./?model=wzlist">« 上一页</a>
                      zdmsl<{else}>
                      <a href="./?model=wzlist&wz_page=zdmsl<{$wz_page.last}>">« 上一页</a>
                      zdmsl<{/if}>
                    </li>
                    <li>
                      zdmsl<{if $wz_list }>
                      <a href="./?model=wzlist&wz_page=zdmsl<{$wz_page.next}>">下一页 »</a>
                      zdmsl<{else}>
                      <a href="./?model=wzlist&wz_page=zdmsl<{$wz_page.next-1}>">下一页 »</a>
                      zdmsl<{/if}>
                    </li>
                  </ul>
                </div>
              </div>
              <hr>
            </form>
          </div>
        </div>
      </div>
      <div class="tpl-alert"></div>
    </div>
    zdmsl<{/if}>
    zdmsl<{if $member.model == "dhlist" }>
    <div class="tpl-portlet-components">
      <div class="portlet-title">
        <div class="caption font-green bold">
          <i class="am-icon-internet-explorer"></i>
          网址列表
        </div>
      </div>
      <div class="tpl-block">
        <div class="am-g">
        </div>
        <div class="am-g">
          <div class="am-u-sm-12">
            <form class="am-form">
              <table class="am-table am-table-striped am-table-hover table-main">
                <thead>
                <tr>
                  <th class="table-id">编号</th>
                  <th class="table-title">网址标题</th>
                  <th class="table-type">分类</th>
                  <th class="table-author am-hide-sm-only">作者</th>
                  <th class="table-date am-hide-sm-only">提交时间</th>
                  <th class="table-set">操作</th>
                </tr>
                </thead>
                <tbody>
                zdmsl<{foreach from=$dh_list key=myId item=dh_lista}>
                <tr>
                  <td>zdmsl<{$dh_lista.id}></td>
                  <td><a href="zdmsl<{$dh_lista.url}>" target="_blank">zdmsl<{$dh_lista.title}></a></td>
                  <td>zdmsl<{$dh_lista.fenlei}></td>
                  <td class="am-hide-sm-only">zdmsl<{$dada.zdmsl_username}></td>
                  <td class="am-hide-sm-only">zdmsl<{$dh_lista.jiarudate}></td>
                  <td>
                    <div class="am-btn-toolbar">
                      <div class="am-btn-group am-btn-group-xs">
                        <button class="am-btn am-btn-default am-btn-xs am-text-secondary" disabled><span class="am-icon-pencil-square-o"></span> 编辑</button>
                        <button class="am-btn am-btn-default am-btn-xs am-text-danger am-hide-sm-only" disabled><span class="am-icon-trash-o"></span> 删除</button>
                      </div>
                    </div>
                  </td>
                </tr>
                zdmsl<{/foreach}>
                zdmsl<{if !$dh_list }>
                <tr>
                  <td></td>
                  zdmsl<{ if $dh_page.next > 2}>
                  <td>没有记录了...</td>
                  zdmsl<{else}>
                  <td>暂无记录...</td>
                  zdmsl<{/if}>
                  <td></td>
                  <td></td>
                  <td></td>
                  <td></td>
                </tr>
                zdmsl<{/if}>
                </tbody>
              </table>
              <div class="am-cf">
                <div class="am-fl">
                  <ul class="am-pagination tpl-pagination">
                    <li>
                      zdmsl<{ if $dh_page.last < 2}>
                      <a href="./?model=dhlist">« 上一页</a>
                      zdmsl<{else}>
                      <a href="./?model=dhlist&dh_page=zdmsl<{$dh_page.last}>">« 上一页</a>
                      zdmsl<{/if}>
                    </li>
                    <li>
                      zdmsl<{if $dh_list }>
                      <a href="./?model=dhlist&dh_page=zdmsl<{$dh_page.next}>">下一页 »</a>
                      zdmsl<{else}>
                      <a href="./?model=dhlist&dh_page=zdmsl<{$dh_page.next-1}>">下一页 »</a>
                      zdmsl<{/if}>
                    </li>
                  </ul>
                </div>
              </div>
              <hr>
            </form>
          </div>
        </div>
      </div>
      <div class="tpl-alert"></div>
    </div>
    zdmsl<{/if}>
    zdmsl<{if $member.model == "yglist" }>
    <div class="tpl-portlet-components">
      <div class="portlet-title">
        <div class="caption font-green bold">
          <i class="am-icon-jpy"></i>
          已购资源
        </div>
      </div>
      <div class="tpl-block">
        <div class="am-g">
        </div>
        <div class="am-g">
          <div class="am-u-sm-12">
            <form class="am-form">
              <table class="am-table am-table-striped am-table-hover table-main">
                <thead>
                <tr>
                  <th class="table-id">编号</th>
                  <th class="table-title">资源标题</th>
                  <th class="table-type">分类</th>
                  <th class="table-author am-hide-sm-only">作者</th>
                  <th class="table-date am-hide-sm-only">购买时间</th>
                  <th class="table-set">操作</th>
                </tr>
                </thead>
                <tbody>
                zdmsl<{foreach from=$yg_list key=myId item=yg_lista}>
                <tr>
                  <td>zdmsl<{$yg_lista.id}></td>
                  <td>
                    <a href="zdmsl<{$yg_lista.url}>" target="_blank">
                      zdmsl<{if $yg_lista.bt }>
                      zdmsl<{$yg_lista.bt}>
                      zdmsl<{else}>
                      该资源已失效...
                      zdmsl<{/if}>
                    </a>
                  </td>
                  <td>zdmsl<{$yg_lista.wzfenlei}></td>
                  <td class="am-hide-sm-only">
                    zdmsl<{if $yg_lista.member}>
                    zdmsl<{$yg_lista.member}>
                    zdmsl<{else}>
                    zdmsl<{$dada.sitename}>
                    zdmsl<{/if}>
                  </td>
                  <td class="am-hide-sm-only">zdmsl<{$yg_lista.date}></td>
                  <td>
                    <div class="am-btn-toolbar">
                      <div class="am-btn-group am-btn-group-xs">
                        <button class="am-btn am-btn-default am-btn-xs am-text-secondary" disabled><span class="am-icon-pencil-square-o"></span> 编辑</button>
                        <button class="am-btn am-btn-default am-btn-xs am-text-danger am-hide-sm-only" disabled><span class="am-icon-trash-o"></span> 删除</button>
                      </div>
                    </div>
                  </td>
                </tr>
                zdmsl<{/foreach}>
                zdmsl<{if !$yg_list }>
                <tr>
                  <td></td>
                  zdmsl<{ if $yg_page.next > 2}>
                  <td>没有记录了...</td>
                  zdmsl<{else}>
                  <td>暂无记录...</td>
                  zdmsl<{/if}>
                  <td></td>
                  <td></td>
                  <td></td>
                  <td></td>
                </tr>
                zdmsl<{/if}>
                </tbody>
              </table>
              <div class="am-cf">
                <div class="am-fl">
                  <ul class="am-pagination tpl-pagination">
                    <li>
                      zdmsl<{ if $yg_page.last < 2}>
                      <a href="./?model=yglist">« 上一页</a>
                      zdmsl<{else}>
                      <a href="./?model=yglist&yg_page=zdmsl<{$yg_page.last}>">« 上一页</a>
                      zdmsl<{/if}>
                    </li>
                    <li>
                      zdmsl<{if $yg_list }>
                      <a href="./?model=yglist&yg_page=zdmsl<{$yg_page.next}>">下一页 »</a>
                      zdmsl<{else}>
                      <a href="./?model=yglist&yg_page=zdmsl<{$yg_page.next-1}>">下一页 »</a>
                      zdmsl<{/if}>
                    </li>
                  </ul>
                </div>
              </div>
              <hr>
            </form>
          </div>
        </div>
      </div>
      <div class="tpl-alert"></div>
    </div>
    zdmsl<{/if}>
  </div>
</div>
<div style="display: none;">
  <div id="wrapper">
    <div id="scroller">
    </div>
  </div>
  <div id="wrapperA">
    <div id="scroller">
    </div>
  </div>
  <div id="wrapperB">
    <div id="scroller">
    </div>
  </div>
  <div id="tpl-echarts-A">
  </div>
</div>
<script src="zdmsl<{$dada.siteurl}>zdmsl_templets/member/js/jquery.min.js"></script>
<script src="zdmsl<{$dada.siteurl}>zdmsl_templets/member/js/amazeui.min.js"></script>
<script src="zdmsl<{$dada.siteurl}>zdmsl_templets/member/js/iscroll.js"></script>
<script src="zdmsl<{$dada.siteurl}>zdmsl_templets/member/js/app.js"></script>
<link rel="stylesheet" href="zdmsl<{$dada.siteurl}>zdmsl_templets/member/css/message.css">
<script src="zdmsl<{$dada.siteurl}>zdmsl_templets/member/js/message.min.js"></script>
<script>
  var message_configs = {html: true};
  function exit_get(url){
    $.ajax({
      type: "POST", url: url, data: {
        exit: "1"
      }, dataType: "json", success: function (result){
        if (result.message.type === "success") {
          Qmsg.success(result.message.data, message_configs);
        } else
          if (result.message.type === "warning") {
            Qmsg.warning(result.message.data, message_configs);
          } else
            if (result.message.type === "info") {
              Qmsg.info(result.message.data, message_configs);
            } else
              if (result.message.type === "loading") {
                Qmsg.loading(result.message.data, message_configs);
              } else
                if (result.message.type === "error") {
                  Qmsg.error(result.message.data, message_configs);
                }
        if (result.message.go_url.trim()) {
          setTimeout(function (){
            location.href = result.message.go_url.trim();
          }, 2000);
        }
      }, error: function (){
        Qmsg.error("网络服务异常，请稍后重试...", message_configs);
      }
    });
  }
</script>
</body>
</html>