<!doctype html>
<html>
<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7,chrome=1" />
  <title>战绩总览</title>
  <meta name="description" content="" />
  <meta name="keywords" content="" />
  <link rel="stylesheet" href="css/morris.css" />
  <link rel="stylesheet" href="css/personal.css" />
  <!--[if gt IE 6]><!-->
    <!--<script type="text/javascript">
    !function(t){t.loadScript(["http://szhuodong.duowan.com/feq/lolbox/yy-f2e-header-lolbox.min"])}(function(){function t(t){var e=n(t);document.write(e)}function n(t){for(var n,r="",c=0;n=t[c];c++)r+=e(n);return r}function e(t){var n=[unescape("%3Cscript%20type%3D%22text/javascript%22%20src%3D%22"),"",unescape("%22%3E%3C/script%3E")],e=new Date;return e.setSeconds(0),e.setMilliseconds(0),e=e.getTime(),t+="?t_="+e,n[1]=t,n.join("")}return{loadScript:function(n){n&&n.length&&n instanceof Array&&t(n)}}}())
    </script>-->
<!--<![endif]-->
  <!--[if IE 7]>
    <style>
      .hero-nav,.blacklist{behavior: url(js/PIE.htc);}
    </style>
  <![endif]-->
  <script>var playerMostUsedHero = null,jiathis_config;</script>
</head>
<body style="overflow:hidden;" scroll="no">
  <div class="personal-nav-wrap">    <div class="mod-tabs-hd coll-2">
      <ul class="mod-tabs-trigger J_nav" id="modeTabs">
        <li class="stat-sign" stat-sign="common" stat-desc="常规模式" data-name="historyRecord">
          <a href="javascript:;">战斗记录</a>
        </li>
        <li class="selected stat-sign" stat-sign="zonghe" stat-desc="综合统计" data-name="generalRecord">
          <a href="javascript:;">个人总览</a>
        </li>
        <!--<li class="stat-sign" stat-sign="2015" stat-desc="stat-desc" data-name="goodAt">
          <a href="javascript:;">擅长领域</a>
        </li>
        <li class="stat-sign" data-name="achievement">
          <a href="javascript:;">个人称号</a>
        </li>-->
      </ul>
      <div class="common-page__control clearfix">
        <a href="javascript:;" class="common-page__goBack"></a>
        <a href="javascript:;" class="common-page__reflash"></a>
      </div>
    </div>
  </div>
  <div class="box personal" style="width:600px;padding:15px;">
    <div class="no-data-tip hide">
      <img src="img/clothes-commit-fail.png">
      <p></p>
    </div>
    <div class="box-bd clearfix">
      <div class="intro b-bottom" id="personalInfo">
      </div>
      <div class="mod-tabs clearfix personal-tabs">
        <div class="mod-tabs-bd fighting-history__view"></div>
    </div>
  </div>

<!-- 广告位(下文有js从这里拿节点数据) -->
<!-- <div class="ad-module" style="display: none;"><script type="text/javascript" src="http://gt.yy.com/api/g?loc=xinbanlola3"></script></div> -->
<script id="flagTemp" type="text/template">
  <%
    var flagClass = '', flagMsg = '';
    var largestNum = data.continuousNum;
    
    if(data.statCode == 0) {//败
      if(largestNum >= 10) {
        flagClass = "flag flag4";
        flagMsg = "连跪衰神";
      } else {
        flagClass = "flag flag2";
        flagMsg = translateToCh(largestNum) + "连败";
      }
    } else {//胜
      if(largestNum >= 10) {
        flagClass = "flag flag3";
        flagMsg = "连胜王者";
      } else {
        flagClass = "flag flag1";
        flagMsg = translateToCh(largestNum) + "连胜";
      }
    }

    function translateToCh(num) {
      var chname;

      if(num < 3) return;

      switch(num) {
        case 3: chname = "三";break;
        case 4: chname = "四";break;
        case 5: chname = "五";break;
        case 6: chname = "六";break;
        case 7: chname = "七";break;
        case 8: chname = "八";break;
        case 9: chname = "九";break;
      };

      return chname;
    }
  %>
  <span class="<%=flagClass%>"><i></i><%=flagMsg%></span>
</script>
<!-- 用户信息渲染模板 -->
<script id="personalInfoTemp" type="text/template">
      <%
        var level = data.level;
        var zdlData = data.tier_rank;
        var global = data.global;
        var tier = zdlData.tier;
        var duanwei = tier.name_cn;
        var url = (data.focus == "0") ? (global.aUrl + "addFocus") : (global.aUrl + "removeFocus");

        var tierName;
        if (zdlData && zdlData['tier'] && zdlData['tier']['const'] > 0) {
          tierName = zdlData['tier']['name_cn'] + ' ' + zdlData['rank']['name'];
        } else {
          tierName = '-';
        }        
      %>
      <div class="info">
        <div class="avatar">
          <a href="<%=global.href%>" class="stat-sign" stat-sign="stand" stat-desc="点击/战绩页">
           <img src="<%=data.url_img%>" />
          </a><div class="p_level"><%=level%></div>
          <img src="img/achievement/placeholder.png" class="userMedal">
        </div>
        <div class="text">
          <div class="name-info clearfix">
            <a class="name" href="javascript:;" title="<%=data.pn%>"><%=data.pn%></a>
            <span class="name-info__nameServer">（<%=data.game_zone.alias%>）</span>
            <span class="userInfo-common__focus <%=data.isSelf ? 'hide' : ''%>">
              <%if(data.followed) {%>
                <a class="attention already" data-action="removeFocus"></a>
              <%} else {%>
                <a class="attention" data-action="addFocus"></a>
              <%} %>
            </span>            
          </div>
          <div class="more-info"">
            <span><%=tierName%></span>
            <span class="line-small"></span>          
            <span>点赞 <%=data.like%></span>
            <span class="line-small"></span>
            <span class="blacklist-content2">
              <label>拉黑 <%=data.unlike%></label>
            </span>
            <!-- <span class="blacklist">隐藏拉黑</span> -->
          </div>
        </div> 
       </div>

      <!-- 段位信息 -->
      <%
        if(tier){
      %>
        <div class="duan-wei clearfix">
          <img src="img/user-common__fighting.png">
          <p class="duan-wei-msg"><%=data.box_score%></p>
        </div>
      <%}%>

      <!-- 常用英雄列表 -->
      <div class="user-hero__box">
        <div class="user-hero__header clearfix">
          <h3>常用英雄</h3>

          <!-- 更多常用英雄URL -->
          <%
            var moreHeroURL = ['championsStat.html?serverName=', data.game_zone.server_name, '&playerName=', data.pn, '&userId=', data.user_id, '&gameZone=', data.game_zone.pinyin].join('');
            var historyRecordURL = ['historyRecord.html?serverName=', data.game_zone.server_name, '&playerName=', data.pn, '&userId=', data.user_id, '&gameZone=', data.game_zone.pinyin].join('');
          %>
          <a href="<%= moreHeroURL %>">更多》</a>
        </div>

        <ul class="user-hero__list clearfix">
          <% 
            var heroListData = data.champion_performance_list.slice(0,5);
            _.each(heroListData, function(item, i){ 
          %>
            <li>
              <a href="<%= historyRecordURL %>&championId=<%= item.champion.id %>">
                <img src="<%= item.champion.url_img['40x40'] %>">
                <div class="user-hero__mask"></div>
                <div class="user-hero__info">
                  <p class="user-hero__info--title">胜率</p>
                  <p><%= item.win_rate %>%</p>
                  <div class="user-hero__info--tips">
                    <p>最近场次: <%= item.times %></p>
                  </div>
                </div>              
              </a>
            </li>
          <% }); %>
        </ul>
      </div>
</script>
<script id="kdaTemp" type="text/template">
    <%
      //场均KDA
      var statKda = data.stat_kda;
      console.log(statKda)
      var honor = statKda.best_kill_in_cn;

      //KDA中 胜负场及胜率
      var winNum = statKda.total_win;
      var loseNum = statKda.total_lose;
      var rate = winNum / (winNum + loseNum) * 100;

      //设置打野浮窗颜色
      var colorsArr = ['#fbb28f','#cea9d7','#fa9f9f','#80c989','#9dc7eb'], setColors = [], setData = [], i=0;
      var statPosition = data.stat_position;

      if(statPosition.total_game != 0) {
        for(var key in statPosition) {
          var value = statPosition[key];
          if(key != 'total_game' && value != 0) {
            var keyTxt = '';

            switch(key) {
              case 'adc': keyTxt = 'ADC';break;
              case 'jungler': keyTxt = '打野';break;
              case 'mid': keyTxt = '中单';break;
              case 'support': keyTxt = '辅助';break;
              case 'top': keyTxt = '上单';break;
            };

            setData.push({
              value: value,
              label: keyTxt
            });

            setColors.push(colorsArr[i++]);
          }
        }
      }

      //打野为0时的处理
      var daYeClass = statPosition.total_game != 0 ? 'hide' : '';

    %>
    <div class="arrow-hover-wrap daye-hover">
      <i class="avatar-arrow"></i>
      <p>近7天召唤师峡谷排位赛与匹配赛使用英雄统计：</p>
      <div class="arrow-hover-content">
        <div class="da-ye-types">
          <%
            _.each(setData, function(item, i) {
          %>
          <a><i style="background-color:<%=setColors[i]%>"></i><%=item.label%></a>
          <%});%>
        </div>
      </div>
    </div>
    <div class="arrow-hover-wrap kda-hover">
      <i class="avatar-arrow"></i>
      <div class="arrow-hover-top">
        <div class="win-lost">
          <p><%=winNum%>胜 / <%=loseNum%>负</p>
          <div class="win-line">
            <em style="width:<%=rate%>%;"></em>
          </div>
        </div>
      </div>
      <p>最近20场召唤师峡谷排位赛与匹配赛的数据表现：</p>
      <div class="arrow-hover-content">
        <div class="da-ye-types">
          <a>击杀（K）:  <span style="color:#408bcb;"><%=statKda.total_k%></span></a>
          <a>死亡（D）:  <span style="color:#408bcb;"><%=statKda.total_d%></span></a>
          <a>助攻（A）:  <span style="color:#408bcb;"><%=statKda.total_a%></span></a>
        </div>
        <div class="formula">
          计算公式：（K+A）/D*3
        </div>
      </div>
    </div>
    <div class="arrow-hover-wrap kill-hover"> 
      <i class="avatar-arrow"></i>
      <p>最近<span style="color:#408bcb;"><%=statKda.total_game%></span>场荣誉成就</p>
      <div class="arrow-hover-content">
        <div class="da-ye-types">
          <a>三杀 <span style="color:#408bcb;"><%=statKda.total_kill3%></span>次</a>
          <a>四杀 <span style="color:#408bcb;"><%=statKda.total_kill4%></span>次</a>
          <a>五杀 <span style="color:#408bcb;"><%=statKda.total_kill5%></span>次</a>
          <a>超神 <span style="color:#408bcb;"><%=statKda.total_brilliant_largest_killing_spree%></span>次</a>
        </div>
      </div>
      <p>自定义成就不显示</p>
    </div>
    <ul>
      <li class="da-ye2 <%=daYeClass%>">
        <div class="percent2">
          <h2>0</h2>
        </div>
      </li>
      <li class="kda-li">
        <p>近<%=statKda.total_game%>场均KDA</p>
        <div class="percent2">
          <h2><%=statKda.average_kda%></h2>
          <p><%=statKda.average_k%>/<%=statKda.average_d%>/<%=statKda.average_a%></p>
        </div>
      </li>
      <li class="kill-li">
        <p>近<%=statKda.total_game%>场荣誉</p>
        <div class="percent2">
          <h2><%=honor ? honor : '无'%></h2>
        </div>
      </li>
    </ul>
</script>

<!-- 最近比赛渲染模板 -->
<script id="historyTemp" type="text/template">
     <%_.each(data, function(item) {
        var winClass = item.battle_result ? "" : "red";
        var resultName = item.battle_result ? "胜利" : "失败";
        var champion = item.champion;

        // 比赛时间转换
        var localTime  = moment.utc(item.created).toDate();
        localTime = moment(localTime).format('YYYY-MM-DD HH:mm:ss');
        var timeArr = localTime.split(' ');
        var monDayArr = timeArr[0].split('-');
        var hourMinArr = timeArr[1].split(':');
        var time = monDayArr[1] + '-' + monDayArr[2] + ' ' + hourMinArr[0] + ':' + hourMinArr[1];
     %>
        <li class="clearfix history_li">
          <img src="http://img.lolbox.duowan.com/champions/<%=champion.name%>_40x40.jpg" title="<%=champion.title%>">
          <div class="history_info">
            <p class="type"><%=item.game_type.name_cn%></p>
            <p class="time"><%=time%></p>
          </div>
          <div class="result <%=winClass%>"><%=resultName%></div>
        </li>
    <%});%>
</script>

<!-- 常用英雄渲染模板 -->
<script id="commonHeroTemp" type="text/template">
    <%
      var sn = data.game_zone.server_name;
      var pn = data.pn;
      var baseUrl = data.heroWindowUrl;
      // var data = data.mostUsedHeros;
      var userId = data.user_id;
      var gameZone = data.game_zone.pinyin;
      var keyDatas = data.champion_performance_list, data_len = keyDatas.length;
      var commonHeroUrl = 'championsStat.html?serverName='+encodeURI(sn)+'&playerName='+encodeURI(pn)+'&userId='+userId + '&gameZone='+gameZone;
    %>
    <a class="hero-tip stat-sign" href="<%=commonHeroUrl%>" stat-sign="click/more hero" stat-desc="点击/更多常用英雄">
      <span>常用英雄</span>
    </a>
    <ul class="mod-pic clearfix" id="commonHero">
     <%
      _.each(keyDatas, function(item, i) {
      var firstClass = i === 0 ? "first" : "";
      var champion = item.champion;
      var championId = champion.id;
      var href = 'recordlist.html?serverName='+sn+'&playerName='+pn+'&hero='+champion.name +'&userId='+userId+'&gameZone=' + gameZone + '&championId=' + championId;
     %>
        <li class="mod-pic-li <%=firstClass%>">
          <a class="core" href="<%=href%>">
            <img class="core-img" src="http://img.lolbox.duowan.com/champions/<%=champion.name%>.jpg">
            <p>胜率:<%=item.win_rate%>%</p>
          </a>
        </li>
    <%});
    %>
    </ul>
</script>

<!-- 近20场比赛 -->
<script id="echarts-tpl" type="text/template">
  <div class="mod-tabs-content no-phone-card">
    <div class="mod-top clearfix">
      <div class="clearfix da-ye-bd">
        <div class="recent-game-wrap fl">
          <div class="charts-round-wrap composite-rate">
            <h3 class="charts-title">综合胜率</h3>
            <div id="compositeRateContainer" class="charts-wrap"></div>
            <div class="round-mask">
                <!--<h3>综合胜率</h3>
                <p><%=data.stat_perf.kda.average_win_rate%>%</p>-->
                <h3><%=data.stat_perf.kda.average_win_rate%>%</h3>
            </div>
            <div class="charts-more">
              <h3>&nbsp;</h3>
              <p>
                <span class="col-l">场均击杀</span>
                <span class="col-r"><%=data.stat_perf.kda.average_k%></span>
              </p>
              <p>
                <span class="col-l">场均死亡</span>
                <span class="col-r"><%=data.stat_perf.kda.average_d%></span>
              </p>
              <p>
                <span class="col-l">场均助攻</span>
                <span class="col-r"><%=data.stat_perf.kda.average_a%></span>
              </p>
            </div>
          </div>
        </div>
        <div class="split-line one"></div>
        <%
          // 确定位置和对应的胜率
          var userPosition = data.stat_perf.position_perf.position_priority[0] || 'adc';
          var userPositonName = {'adc': '输出', 'support': '辅助', 'jungler': '打野'}; // 位置映射关系表
          var totalWinRate = (data.stat_perf.position_perf.win_rate_adc + data.stat_perf.position_perf.win_rate_support + data.stat_perf.position_perf.win_rate_jungler);
          var positionWinRate = data.stat_perf.position_perf['win_rate_'+userPosition]|| 0;

          // 各个位置总胜场计算
          var TotalWin = {};
          TotalWin.totalWinNum_adc = parseInt(data.stat_perf.position_perf.win_adc) + parseInt(data.stat_perf.position_perf.lose_adc);
          TotalWin.totalWinNum_support = parseInt(data.stat_perf.position_perf.win_support) + parseInt(data.stat_perf.position_perf.lose_support);
          TotalWin.totalWinNum_jungler = parseInt(data.stat_perf.position_perf.win_jungler) + parseInt(data.stat_perf.position_perf.lose_jungler);
          var currentPositionWinNum = TotalWin['totalWinNum_'+userPosition]

          // 数据构造
          var Position = data.stat_perf.position_perf;
          var Database = {
            // 饼图名字关系表
            t_chart__name: {
              'jungler': {'name1': '参团率', 'name2': '小龙率', 'name3': 'GANK率'},
              'adc': {'name1': '存活率', 'name2': '参团率', 'name3': '输出率'},
              'support': {'name1': '存活率', 'name2': '参团率', 'name3': '视野率'}
            },

            // 概率关系表
            t_chart_rate: {
              'jungler': {'rate1': Position.rate_assists_jungler, 'rate2': Position.rate_dragon_killed_jungler || 0, 'rate3': Position.rate_gank_jungler},
              'adc': {'rate1': Position.rate_keep_alive_adc, 'rate2': Position.rate_assists_adc, 'rate3': Position.rate_damage_adc},
              'support': {'rate1': Position.rate_keep_alive_support, 'rate2': Position.rate_assists_support, 'rate3': Position.rate_vision_support}
            }
          }   
        %>        
        <div class="jungle-area-wrap fl">
          <div class="charts-round-wrap jungle-area">
            <h3 class="charts-title">战斗力构成</h3>
            <div id="jungleAreaContainer" class="charts-wrap"></div>
            <div class="round-mask" title="最近使用<%=userPositonName[userPosition]%>：<%=currentPositionWinNum%>场">
                <!--<h3><%=userPositonName[userPosition]%>胜率</h3>
                <p class="data-userPosition"><%=positionWinRate.toFixed(1)%>%</p>-->
                <h3 class="data-userPosition" data-percent="<%= data.box_score / 20000 * 100 %>"><%=data.box_score%></h3>
            </div>
            <div class="charts-more best-position__data">
              <h3><a href="http://lol.duowan.com/1611/343923769188.html" target="_blank" style="color: red;font-weight:400;">战斗力波动公告</a></h3>
              <p>
                <span class="col-l">基础分</span>
                <span class="col-r"><%=data.elo_score%></span>
              </p>
              <p>
                <span class="col-l">胜率分</span>
                <span class="col-r"><%=data.win_ratio_score%></span>
              </p>
              <p>
                <span class="col-l">胜场分</span>
                <span class="col-r"><%=data.win_battle_score%></span>
              </p>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="mod-bottom">
      <div class="right-part">
        <div class="right-hd">
          <h2>最近比赛</h2>
          <span class="first-win">
            <span id="firstMsg" class="first-msg"></span>
            <div class="first-win-hover hide">
              <i class="avatar-arrow"></i>
              <span id="firstTime" class="first-time">额外奖励倒计时：<span class="f-time"></span></span>
            </div>
          </span>
          <span id="flag"></span>
          <a id="moreGameResult" class="more" style="padding-right:5px;">更多<i></i></a>
        </div>
        <div class="right-bd">
          <ul id="history">
          </ul>
        </div>
      </div>
      <%
        // 比赛信息表格数据重组 - by zengfukun@foxmail.com

        //---------------------
        //  经典对战
        var class_total = data.total_win_normal + data.total_lose_normal;
        var class_winRate = parseInt((data.total_win_normal / class_total)*100) || 0;

        //极地大乱斗
        var aram_total = data.total_win_aram + data.total_lose_aram;
        var aram_winRate = parseInt((data.total_win_aram / aram_total)*100) || 0;

        //人机
        var bot_total = data.total_win_bot + data.total_lose_bot;
        var bot_winRate = parseInt((data.total_win_bot / bot_total)*100) || 0;

        //S7排位赛
        var S7_total = data.formatted_ranked_history.s7.lo + data.formatted_ranked_history.s7.w;
        var S7_winRate = parseInt((data.formatted_ranked_history.s7.w / S7_total)*100) || 0;

        //S6排位赛
        var S6_total = data.formatted_ranked_history.s6.lo + data.formatted_ranked_history.s6.w;
        var S6_winRate = parseInt((data.formatted_ranked_history.s6.w / S6_total)*100) || 0;

        //S5排位赛
        if ( data.formatted_ranked_history.s5 ){
          var S5_total = data.formatted_ranked_history.s5.lo + data.formatted_ranked_history.s5.w;
          var S5_winRate = parseInt((data.formatted_ranked_history.s5.w / S5_total)*100) || 0;         
        }

        //S4排位赛
        if ( data.formatted_ranked_history.s4 ){
          var S4_total = data.formatted_ranked_history.s4.lo + data.formatted_ranked_history.s4.w;
          var S4_winRate = parseInt((data.formatted_ranked_history.s4.w / S4_total)*100) || 0; 
        }     
      %>
      <div class="left-part clearfix">
        <div class="p-table">
          <div class="table-history">
            <table> 
              <thead>
                <tr>
                  <th width="70">比赛类型</th>
                  <th width="50">总场次</th>
                  <th width="50">胜率</th>
                  <th width="50">胜场</th>
                  <th width="50">负场</th>
                  <th width="50">段位</th>
                  <th class="last" width="50">胜点</th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td width="70">匹配</td>
                  <td width="50"><%=class_total%></td>
                  <td width="50"><%=class_winRate%>%</td>
                  <td class="table-win" width="50"><%=data.total_win_normal%></td>
                  <td class="table-lose" width="50"><%=data.total_lose_normal%></td>
                  <td width="50">--</td>
                  <td class="last" width="50">--</td>
                </tr>
                <tr class="<% if ( data.formatted_ranked_history.s5 ) { %>table-history__lastseason<%}%>">
                  <td width="70" class="toggle-s4-s5">S7排位赛<% if ( data.formatted_ranked_history.s7 ) { %><i class="table-arrow"></i><%}%></td>
                  <td width="50"><%=S7_total%></td>
                  <td width="50"><%=S7_winRate%>%</td>
                  <td class="table-win" width="50"><%=data.formatted_ranked_history.s7.w%></td>
                  <td class="table-lose" width="50"><%=data.formatted_ranked_history.s7.lo%></td>
                  <%
                    // 段位计算
                    var zdlData = data.tier_rank;
                    var tierName;
                    if (zdlData && zdlData['tier'] && zdlData['tier']['const'] > 0) {
                      tierName = zdlData['tier']['name_cn'];
                      if ( zdlData['tier']['const'] < 6 ){
                        tierName += ' ' + zdlData['rank']['name'];
                      }
                    } else {      
                      tierName = '-';
                    }
                  %>
                  <td width="50"><%=tierName%></td>
                  <td class="last" width="50"><%=data.tier_rank.league_points%></td>
                </tr>
                <% if ( data.formatted_ranked_history.s6 ){ %>
                <tr class="s4-s5">
                  <td width="70">S6排位赛</td>
                  <td width="50"><%=S6_total%></td>
                  <td width="50"><%=S6_winRate%></td>
                  <td class="table-win" width="50"><%=data.formatted_ranked_history.s6.w%></td>
                  <td class="table-lose" width="50"><%=data.formatted_ranked_history.s6.lo%></td>
                  <td width="50">--</td>
                  <td class="last" width="50">--</td>
                </tr>
                <% } %>
                <% if ( data.formatted_ranked_history.s5 ){ %>
                <tr class="s4-s5">
                  <td width="70">S5排位赛</td>
                  <td width="50"><%=S5_total%></td>
                  <td width="50"><%=S5_winRate%></td>
                  <td class="table-win" width="50"><%=data.formatted_ranked_history.s5.w%></td>
                  <td class="table-lose" width="50"><%=data.formatted_ranked_history.s5.lo%></td>
                  <td width="50">--</td>
                  <td class="last" width="50">--</td>
                </tr>
                <% } %>
                <tr>
                  <td width="70">大乱斗</td>
                  <td width="50"><%=aram_total%></td>
                  <td width="50"><%=aram_winRate%>%</td>
                  <td class="table-win" width="50"><%=data.total_win_aram%></td>
                  <td class="table-lose" width="50"><%=data.total_lose_aram%></td>
                  <td width="50">--</td>
                  <td class="last" width="50">--</td>
                </tr>
                <tr>
                  <td width="70">人机</td>
                  <td width="50"><%=bot_total%></td>
                  <td width="50"><%=bot_winRate%>%</td>
                  <td class="table-win" width="50"><%=data.total_win_bot%></td>
                  <td class="table-lose" width="50"><%=data.total_lose_bot%></td>
                  <td width="50">--</td>
                  <td class="last" width="50">--</td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
        <!-- <div class="record-ad__wrap"></div> -->
      </div>
    </div>
  </div>  
</script>

<script src="js/jquery-1.11.1.min.js"></script>
<script src="js/jquery-migrate-1.2.1.min.js"></script>
<script src="js/highcharts.js"></script>
<script src="js/jquery.nicescroll.min.js"></script>
<script src="js/jquery.cookie.js"></script>
<script src="js/underscore.js"></script>
<!--<script type="text/javascript" src="http://sz.duowan.com/s/ya/ya.1.3.1-min.js"></script>-->

<!--广告位统计-->
<!--<script src="http://sz.duowan.com/resource/adstat.1.0.0.js"></script>-->
<script src="js/moment.min.js"></script>
<!--<script src="js/new_stat.js"></script>-->
<script src="js/personal_v3.0.js"></script>

<script type="text/javascript">
  $(function() {
    new Personal('tab1');
  });
</script>

<!--海度统计-->
<script type="text/javascript">_hiido_no=0;_hiido_wid=["lbox"];</script>
<script src="http://www.duowan.com/duowan.js" type="text/javascript"></script>
<!--百度统计-->
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?72772dda37b1e926733138415981abcf";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
<!--[if gt IE 6]><!-->
    <!--<script type="text/javascript">
        window.onerror = function(a,b,c){ return true};!function(t){t.loadScript(["http://szhuodong.duowan.com/feq/lolbox/yy-f2e-lolbox.min"])}(function(){function t(e,a){var n=a[e];if(n){e++;var o=document.createElement("script");o.type="text/javascript",o.setAttribute("async","async"),o.onload=o.onreadystatechange=function(){return o.readyState&&"complete"!==o.readyState&&"loaded"!==o.readyState?!1:(o.onload=o.onreadystatechange=null,void t(e,a))};var c=new Date;c.setSeconds(0),c.setMilliseconds(0),c=c.getTime(),o.async=!0,o.src=n+"?_="+c,document.getElementsByTagName("head")[0].appendChild(o)}}return{loadScript:function(e){e&&e.length&&e instanceof Array&&t(0,e)}}}());
    </script>-->
<!--<![endif]-->
</body>
</html>



