人人商城

stat-keyword_hit.html 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {template 'common/header'}
  2. <div class="clearfix">
  3. <div class="stat">
  4. <div class="stat-div">
  5. {template 'platform/stat-keyword_search'}
  6. <div class="sub-item panel panel-default" id="table-list">
  7. <div class="panel-heading">
  8. 详细数据
  9. </div>
  10. <div class="sub-content panel-body table-responsive">
  11. <table class="table table-hover">
  12. <thead class="navbar-inner">
  13. <tr>
  14. <th style="width:100px;" class="row-hover">关键字<i></i></th>
  15. <th>规则<i></i></th>
  16. <th style="width:160px;">模块<i></i></th>
  17. <th style="width:80px;">命中次数<i></i></th>
  18. <th style="width:150px;">最后触发<i></i></th>
  19. <th style="width:100px;">操作</th>
  20. </tr>
  21. </thead>
  22. <tbody>
  23. {loop $list $row}
  24. <tr>
  25. <td class="row-hover">{$keywords[$row['kid']]['content']}</td>
  26. <td>
  27. {if empty($row['rid'])}
  28. N/A
  29. {else}
  30. <a target="main" href="{$rules[$row['rid']]['url']}">{$rules[$row['rid']]['name']}</a>
  31. {/if}
  32. </td>
  33. <td>{if $rules[$row['rid']]['module']}{$rules[$row['rid']]['module']}{else}default{/if}</td>
  34. <td>{$row['hit']}</td>
  35. <td style="font-size:12px; color:#666;">{php echo date('Y-m-d <br /> H:i:s', $row['lastupdate']);}</td>
  36. <td>
  37. <a target="main" href="{php echo url('platform/stat/trend', array('id' => $row['rid']))}" title="使用率走势">使用率走势</a>
  38. </td>
  39. </tr>
  40. {/loop}
  41. </tbody>
  42. </table>
  43. </div>
  44. </div>
  45. {$pager}
  46. </div>
  47. </div>
  48. </div>
  49. {template 'common/footer'}