|
@@ -0,0 +1,99 @@
|
|
|
+<?php defined('InShopNC') or exit('Access Invalid!');?>
|
|
|
+
|
|
|
+<!—收藏分析—>
|
|
|
+<div class="page">
|
|
|
+ <!— 页面导航 —>
|
|
|
+ <div class="fixed-bar">
|
|
|
+ <div class="item-title">
|
|
|
+ <h3>收藏分析</h3>
|
|
|
+ <ul class="tab-base">
|
|
|
+ <li><a href="index.php?act=stat_anotice&op=index"><span>到货通知分析</span></a ></li>
|
|
|
+ <li><a href="javascript:void(0)" class="current"><span>商品收藏分析</span></a ></li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!— 帮助 —>
|
|
|
+ <table class="table tb-type2" id="prompt">
|
|
|
+ <tbody>
|
|
|
+ <tr class="space odd">
|
|
|
+ <th colspan="12" class="nobg"> <div class="title nomargin">
|
|
|
+ <h5><?php echo $lang['nc_prompts'];?></h5>
|
|
|
+ <span class="arrow"></span> </div>
|
|
|
+ </th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <ul>
|
|
|
+ <li>可以查询每个商品的被收藏的次数</li>
|
|
|
+ <li>可以通过筛选条件查询品牌或商品被收藏的次数</li>
|
|
|
+ </ul>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ <form method="post" id="serch_collection" name="serch_collection">
|
|
|
+ <input type="hidden" name="form_submit" value="ok">
|
|
|
+ <table class="tb-type1 noborder search">
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <label>被收藏次数:
|
|
|
+ <select name="sort" id="sort">
|
|
|
+ <option value="descending">从大到小</option>
|
|
|
+ <option value="ascending">从小到大</option>
|
|
|
+ </select>
|
|
|
+ </label>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <label>商品名称:<input type="text" name="goods_name"></label>
|
|
|
+ <a href="javascript:void(0);" id="ncsubmit" class="btn-search" title="查询"> </a >
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </form>
|
|
|
+ <script type="text/javascript">
|
|
|
+ $('#ncsubmit').on('click',function(){
|
|
|
+ $('#serch_collection').submit();
|
|
|
+ })
|
|
|
+ </script>
|
|
|
+
|
|
|
+ <form method="post">
|
|
|
+ <table class="table tb-type2">
|
|
|
+ <thead>
|
|
|
+ <tr class="space">
|
|
|
+ <th colspan="15" class="nobg"><?php echo $lang['nc_list'];?></th>
|
|
|
+ </tr>
|
|
|
+ <tr class="thead">
|
|
|
+ <th class="align-center">商品ID</th>
|
|
|
+ <th class="align-center">商品名称</th>
|
|
|
+ <th class="align-center">被收藏次数</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <?php if(!empty($output['list']) && is_array($output['list'])){ ?>
|
|
|
+ <?php foreach($output['list'] as $item){ ?>
|
|
|
+ <tr class="hover">
|
|
|
+ <td class="align-center"><?php echo $item['goods_id'];?></td>
|
|
|
+ <td class="align-center"><?php echo $item['goods_name'];?></td>
|
|
|
+ <td class="nowrap align-center"><?php echo $item['nc_count'];?></td>
|
|
|
+ </tr>
|
|
|
+ <?php } ?>
|
|
|
+ <?php }else { ?>
|
|
|
+ <tr class="no_data">
|
|
|
+ <td colspan="16"><?php echo $lang['nc_no_record'];?></td>
|
|
|
+ </tr>
|
|
|
+ <?php } ?>
|
|
|
+ </tbody>
|
|
|
+ <?php if(!empty($output['list']) && is_array($output['list'])){ ?>
|
|
|
+ <tfoot>
|
|
|
+ <tr class="tfoot">
|
|
|
+ <td colspan="16"><div class="pagination"> <?php echo $output['page'];?> </div></td>
|
|
|
+ </tr>
|
|
|
+ </tfoot>
|
|
|
+ <?php } ?>
|
|
|
+ </table>
|
|
|
+ </form>
|
|
|
+</div>
|