<?php /*a:1:{s:76:"/data/web/mall.valimart.net/app/admin/view/statgoods/stat_hotgoods_list.html";i:1657785098;}*/ ?>
<div id="container_<?php echo htmlentities($stat_field); ?>" class="w100pre close_float" style="height:400px"></div>

  <table class="ds-default-table">
  	<thead class="thead">
		<tr class="space">
			<th colspan="15"><?php echo htmlentities(lang('statgoods_hot_top_50')); ?></th>
		</tr>
		<tr class="thead sortbar-array">
			<th class="align-center w18pre"><?php echo htmlentities(lang('statstore_number')); ?></th>
            <th class="align-center"><?php echo htmlentities(lang('ds_goods')); ?></th>
            <th class="align-center"><?php echo htmlentities($sort_text); ?></th>
        </tr>
    </thead>
    <tbody id="datatable">
    <?php if(!(empty($statlist) || (($statlist instanceof \think\Collection || $statlist instanceof \think\Paginator ) && $statlist->isEmpty()))): if(is_array($statlist) || $statlist instanceof \think\Collection || $statlist instanceof \think\Paginator): if( count($statlist)==0 ) : echo "" ;else: foreach($statlist as $key=>$v): ?>
          <tr class="hover">
          	<td class="alignleft"><?php echo htmlentities($v['sort']); ?></td>
          	<td class="alignleft">
              <a href="<?php echo url('home/Goods/index',['goods_id'=>$v['goods_id']]); ?>" target="_blank"><?php echo htmlentities($v['goods_name']); ?></a>
            </td>
          	<td><?php echo htmlentities($v[$stat_field]); ?></td>
          </tr>
    <?php endforeach; endif; else: echo "" ;endif; else: ?>
    <tr class="no_data">
        	<td colspan="11"><?php echo htmlentities(lang('no_record')); ?></td>
        </tr>
    <?php endif; ?>
    </tbody>
  </table>

<script>
$(function () {
    $('#container_<?php echo htmlentities($stat_field); ?>').highcharts(<?php echo $stat_json; ?>);
});
</script>