stat.anotice.list.php 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?php defined('InShopNC') or exit('Access Invalid!');?>
  2. <!—到货通知分析—>
  3. <div class="page">
  4. <!— 页面导航 —>
  5. <div class="fixed-bar">
  6. <div class="item-title">
  7. <h3>到货通知分析</h3>
  8. <ul class="tab-base">
  9. <li><a href=" " class="current"><span>到货通知分析</span></a ></li>
  10. </ul>
  11. </div>
  12. </div>
  13. <!— 帮助 —>
  14. <table class="table tb-type2" id="prompt">
  15. <tbody>
  16. <tr class="space odd">
  17. <th colspan="12" class="nobg"> <div class="title nomargin">
  18. <h5><?php echo $lang['nc_prompts'];?></h5>
  19. <span class="arrow"></span> </div>
  20. </th>
  21. </tr>
  22. <tr>
  23. <td>
  24. <ul>
  25. <li>可以查询每个商品的到货通知统计</li>
  26. <li>可以通过筛选条件查询需要的商品的到货通知</li>
  27. </ul>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. <form method="post" id="serch_notice" name="serch_notice">
  33. <input type="hidden" name="form_submit" value="ok">
  34. <table class="tb-type1 noborder search">
  35. <tbody>
  36. <tr>
  37. <td>
  38. <label>到货通知订阅次数:
  39. <select name="sort" id="sort">
  40. <option value="descending">从大到小</option>
  41. <option value="ascending">从小到大</option>
  42. </select>
  43. </label>
  44. </td>
  45. </tr>
  46. <tr>
  47. <td>
  48. <label>商品名称:<input type="text" name="goods_name"></label>
  49. <a href="javascript:void(0);" id="ncsubmit" class="btn-search" title="查询">&nbsp;</a >
  50. </td>
  51. </tr>
  52. </tbody>
  53. </table>
  54. </form>
  55. <script type="text/javascript">
  56. $('#ncsubmit').on('click',function(){
  57. $('#serch_notice').submit();
  58. })
  59. </script>
  60. <form method="post">
  61. <table class="table tb-type2">
  62. <thead>
  63. <tr class="space">
  64. <th colspan="15" class="nobg"><?php echo $lang['nc_list'];?></th>
  65. </tr>
  66. <tr class="thead">
  67. <th class="align-center">商品ID</th>
  68. <th class="align-center">商品名称</th>
  69. <th class="align-center">到货通知订阅次数</th>
  70. </tr>
  71. </thead>
  72. <tbody>
  73. <?php if(!empty($output['list']) && is_array($output['list'])){ ?>
  74. <?php foreach($output['list'] as $item){ ?>
  75. <tr class="hover">
  76. <td class="align-center"><?php echo $item['goods_id'];?></td>
  77. <td class="align-center"><?php echo $item['goods_name'];?></td>
  78. <td class="nowrap align-center"><?php echo $item['nc_count'];?></td>
  79. </tr>
  80. <?php } ?>
  81. <?php }else { ?>
  82. <tr class="no_data">
  83. <td colspan="16"><?php echo $lang['nc_no_record'];?></td>
  84. </tr>
  85. <?php } ?>
  86. </tbody>
  87. <?php if(!empty($output['list']) && is_array($output['list'])){ ?>
  88. <tfoot>
  89. <tr class="tfoot">
  90. <td colspan="16"><div class="pagination"> <?php echo $output['page'];?> </div></td>
  91. </tr>
  92. </tfoot>
  93. <?php } ?>
  94. </table>
  95. </form>
  96. </div>