人人商城

stat-rule_hit.html 1.3KB

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