<table class="widefat" cellspacing="0" width="96%">
  <thead>
    <tr>
      <th width="21%">店铺名称</th>
      <th width="11%">佣金比率</th>
      <th width="17%">信用等级(1-20)</th>
      <th width="11%">店铺类型</th>
      <th width="13%">累计推广量</th>
      <th width="17%">店铺内商品总数</th>
      <th width="10%">操作</th>
    </tr>
  </thead>
  <tfoot>
  </tfoot>
  <tbody class="trtoggle">

    <?php
		foreach($query as $row){
	  ?>
    <tr>
      <td><a href="<?php echo $row['click_url'];?>" target="_blank" style="text-decoration:underline" title="查看该店铺"><?php echo $row['shop_title'];?></a></td>
      <td><?php echo $row['commission_rate'];?></td>
      <td><?php echo $row['seller_credit'];?></td>
      <td><?php echo ($row['shop_type'] == 'B')?'<font color="#FF0000">商城卖家</font>':'普通卖家';?></td>
      <td><?php echo $row['auction_count'];?></td>
      <td><?php echo $row['total_auction'];?></td>
      <td><a style="text-decoration:underline" href="javascript:get_url('<?php echo $row['click_url'];?>')">我要推广</a></td>
    </tr>
    <?php
	  }
	  ?>
      <tr>
      <td height="30" colspan="7" align="center" valign="middle" style="text-align:center"><?php echo $paginate;?></td>
    </tr>
  </tbody>
</table>
